|
@@ -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('确定修改客户信息?', '提示', {
|