From c94b77f7eac4d1fb14dfe4d6e939c6fccf15c191 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Wed, 21 Aug 2024 18:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E7=94=9F=E6=B4=BB=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=88=B7=E5=90=8D=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/logic/shop/LocalStoreLogic.php | 1 + .../validate/shop/LocalStoreValidate.php | 4 + app/admin/view/shop/local_store/add.html | 9 + app/admin/view/shop/local_store/edit.html | 332 +++++++++--------- 4 files changed, 183 insertions(+), 163 deletions(-) diff --git a/app/admin/logic/shop/LocalStoreLogic.php b/app/admin/logic/shop/LocalStoreLogic.php index b4565bfa..17e78653 100755 --- a/app/admin/logic/shop/LocalStoreLogic.php +++ b/app/admin/logic/shop/LocalStoreLogic.php @@ -38,6 +38,7 @@ class LocalStoreLogic extends Logic { $form['address'] = $form['full_address']; $form['create_time'] = date('Y-m-d H:i:s'); + $form['store_state'] = 1; unset($form['file']); unset($form['full_address']); diff --git a/app/admin/validate/shop/LocalStoreValidate.php b/app/admin/validate/shop/LocalStoreValidate.php index 77e964bd..94a7cffa 100755 --- a/app/admin/validate/shop/LocalStoreValidate.php +++ b/app/admin/validate/shop/LocalStoreValidate.php @@ -48,6 +48,10 @@ class LocalStoreValidate extends Validate if ($value == 1 && empty($data['largeNumber'])) { return '大额卡号不能为空'; } + + if ($value == 2 && empty($data['bank_user_name'])) { + return '户名不能为空'; + } return true; } } \ No newline at end of file diff --git a/app/admin/view/shop/local_store/add.html b/app/admin/view/shop/local_store/add.html index 07471bd9..b00e4eee 100755 --- a/app/admin/view/shop/local_store/add.html +++ b/app/admin/view/shop/local_store/add.html @@ -54,6 +54,13 @@ +
+ +
+ +
+
+
@@ -197,8 +204,10 @@ form.on('select(bankType)', function(data){ if (data.value == 1) { $("#largeNumberBlock").show() + $("#bank_user_name_block").hide() } else { $("#largeNumberBlock").hide() + $("#bank_user_name_block").show() } }); diff --git a/app/admin/view/shop/local_store/edit.html b/app/admin/view/shop/local_store/edit.html index 38ed60ed..a7f3d8c6 100755 --- a/app/admin/view/shop/local_store/edit.html +++ b/app/admin/view/shop/local_store/edit.html @@ -69,184 +69,188 @@
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- {if $data.businessLicense} -
- img - -
x
-
- {/if} - -
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
-
-
- -
- -
- -
-
- -
- -
- {if $data.selfPhoto} -
- img - -
x
-
- {/if} - -
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
-
-
- -
- -
- {if $data.idFront} -
- img - -
x
-
- {/if} - -
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
-
-
- -
- -
- {if $data.idBack} -
- img - -
x
-
- {/if} - -
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
-
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
-
- -
-
- -
-
- -
+ + +
+
- +
-
-
- -
-
-
- -
-
经度
-
-
-
- -
-
纬度
+ +
+ +
+
+ +
+ +
+ {if $data.businessLicense} +
+ img + +
x
+
+ {/if} + +
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
+
+
+ +
+ +
+ +
+
+ +
+ +
+ {if $data.selfPhoto} +
+ img + +
x
+
+ {/if} + +
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
+
+
+ +
+ +
+ {if $data.idFront} +
+ img + +
x
+
+ {/if} + +
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
+
+
+ +
+ +
+ {if $data.idBack} +
+ img + +
x
+
+ {/if} + +
建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+ +
+
+
+
+ +
+
+
+ +
+
经度
+
+
+
+ +
+
纬度
+
+
+
+
+
+
+
-
-
-
- -
@@ -272,8 +276,10 @@ form.on('select(bankType)', function (data) { if (data.value == 1) { $("#largeNumberBlock").show() + $("#bank_user_name_block").hide() } else { $("#largeNumberBlock").hide() + $("#bank_user_name_block").show() } });