소스 검색

提现限制

Kirin 2 년 전
부모
커밋
f2f9608be2
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/admin/view/system/system_store/add.php

+ 2 - 1
app/admin/view/system/system_store/add.php

@@ -320,7 +320,8 @@
                 submit: function () {
                     var that = this;
                     console.log(that.form.cid);
-                    if (!that.form.name) return $eb.message('error', '请填写门店行名称');
+                    if (!that.form.cid) return $eb.message('error', '请选择门店分类');
+                    if (!that.form.name) return $eb.message('error', '请填写门店名称');
                     if (!that.form.phone) return $eb.message('error', '请输入手机号码');
                     if (!that.isPhone(that.form.phone)) return $eb.message('error', '请输入正确的手机号码');
                     if (!that.form.address) return $eb.message('error', '请选择门店地址');