|
@@ -107,7 +107,7 @@
|
|
|
contactName: [{ required: true, message: '请输入联系人姓名', trigger: 'change' }],
|
|
|
settleType: [{ required: true, message: '请选择收结算方式', trigger: 'change' }],
|
|
|
customerSn: [{ required: true, message: '请选择关联客户', trigger: 'change' }],
|
|
|
- creditLimit: [{ required: true, message: '请输入授信额度', trigger: 'change' }],
|
|
|
+ // creditLimit: [{ required: true, message: '请输入授信金额', trigger: 'change' }],
|
|
|
},
|
|
|
areaIdArr: [], // 省市区id数组
|
|
|
labelArr: [],
|
|
@@ -182,6 +182,7 @@
|
|
|
settleStyleChange(ind){
|
|
|
this.form.settleType = this.settleStyleList[ind].code || undefined
|
|
|
this.form.settleTypeDictValue = this.settleStyleList[ind].dispName || undefined
|
|
|
+ this.form.creditLimit = ''
|
|
|
},
|
|
|
// 选择关联客户
|
|
|
chooseCustome(){
|
|
@@ -194,7 +195,7 @@
|
|
|
const _this = this
|
|
|
this.$refs.uForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
- if(_this.form.creditLimit >= 100){
|
|
|
+ if((_this.form.creditLimit >= 100 && _this.form.settleType == 'CREDIT') || _this.form.settleType !== 'CREDIT'){
|
|
|
clzConfirm({
|
|
|
title: '提示',
|
|
|
content: '审核通过后,即可成为认证门店,确认审核通过吗?',
|
|
@@ -205,7 +206,10 @@
|
|
|
}
|
|
|
})
|
|
|
}else{
|
|
|
- uni.showToast({icon: 'none',title: "授信金额必需大于等于100"})
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ title: '请输入授信金额'
|
|
|
+ })
|
|
|
}
|
|
|
} else {
|
|
|
console.log('验证失败');
|