Commit a5f98c87 by 李伟康

commit 提交

1 parent d0120cd2
......@@ -239,8 +239,7 @@ export default {
startDate: '',
endDate: '',
customerTag: '',
backClass: '',
clickFlag: false
backClass: ''
}
},
mounted () {
......@@ -292,7 +291,7 @@ export default {
this.customerInfo.arrivalDate = e.detail.value
},
async submit () {
if (this.check || this.clickFlag) return
if (this.check) return
try {
this.customerForm.map(e => {
e.error = false
......@@ -311,7 +310,6 @@ export default {
})
if (customerInfo.id) params.id = customerInfo.id
params.customerTagName = params.customerTagName.replace(/|/g, ',')
this.clickFlag = true
uni.showLoading({
mask: true
})
......@@ -322,7 +320,6 @@ export default {
if (res == '1') {
this.$refs.successRef.open()
setTimeout(() => {
this.clickFlag = false
uni.hideLoading()
this.back()
this.$emit('refresh')
......@@ -340,11 +337,9 @@ export default {
}
}
})
this.clickFlag = false
uni.hideLoading()
}
} else {
this.clickFlag = false
uni.hideLoading()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!