Jelajahi Sumber

修改客户信息编辑校验

achao 2 tahun lalu
induk
melakukan
fd7e4a76b1
1 mengubah file dengan 62 tambahan dan 62 penghapusan
  1. 62 62
      src/views/customerFundManagement/customerFundEdit.vue

+ 62 - 62
src/views/customerFundManagement/customerFundEdit.vue

@@ -346,68 +346,68 @@ export default {
         })
         })
     },
     },
     commit() {
     commit() {
-      if (!this.imageUrl3) {
-        this.$message({
-          message: '请上传银行卡正面',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        !this.customerList.customerName &&
-        this.customerList.customerType == '个人客户'
-      ) {
-        this.$message({
-          message: '请输入客户姓名',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        !this.customerList.compName &&
-        this.customerList.customerType == '企业客户'
-      ) {
-        this.$message({
-          message: '请输入公司名称',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.customerList.bankCard) {
-        this.$message({
-          message: '请输入输入银行卡号',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.customerList.bankDeposit) {
-        this.$message({
-          message: '请输入开户行',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.customerList.bankDepositBranch) {
-        this.$message({
-          message: '请输入开户支行',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.customerList.customerPhone) {
-        this.$message({
-          message: '请输入手机号',
-          type: 'warning',
-        })
-        return
-      }
-      if (this.customerList.customerPhone.length != 11) {
-        this.$message({
-          message: '输入的手机号有误,请重新输入',
-          type: 'warning',
-        })
-        return
-      }
+      // if (!this.imageUrl3) {
+      //   this.$message({
+      //     message: '请上传银行卡正面',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (
+      //   !this.customerList.customerName &&
+      //   this.customerList.customerType == '个人客户'
+      // ) {
+      //   this.$message({
+      //     message: '请输入客户姓名',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (
+      //   !this.customerList.compName &&
+      //   this.customerList.customerType == '企业客户'
+      // ) {
+      //   this.$message({
+      //     message: '请输入公司名称',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (!this.customerList.bankCard) {
+      //   this.$message({
+      //     message: '请输入输入银行卡号',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (!this.customerList.bankDeposit) {
+      //   this.$message({
+      //     message: '请输入开户行',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (!this.customerList.bankDepositBranch) {
+      //   this.$message({
+      //     message: '请输入开户支行',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (!this.customerList.customerPhone) {
+      //   this.$message({
+      //     message: '请输入手机号',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (this.customerList.customerPhone.length != 11) {
+      //   this.$message({
+      //     message: '输入的手机号有误,请重新输入',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
       this.customerList.compId = localStorage.getItem('ws-pf_compId')
       this.customerList.compId = localStorage.getItem('ws-pf_compId')
 
 
       this.$confirm('确定修改客户信息?', '提示', {
       this.$confirm('确定修改客户信息?', '提示', {