Commit 0c4b66d5 by zhangxw

Merge branch 'SAAS+V4.51.0-0331' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.51.0-0331
2 parents fa62d66f a0068fb1
...@@ -38,6 +38,7 @@ import { ...@@ -38,6 +38,7 @@ import {
export default { export default {
data() { data() {
return { return {
isFlag: true,
warningForm: { warningForm: {
id: "", id: "",
merchantNo: "", merchantNo: "",
...@@ -155,6 +156,8 @@ export default { ...@@ -155,6 +156,8 @@ export default {
this.oldVal[name] = this.warningForm[name] this.oldVal[name] = this.warningForm[name]
}, },
async handleAddConfirm() { async handleAddConfirm() {
if (this.isFlag) {
this.isFlag = false
try { try {
let params = { let params = {
id: this.warningForm.id, id: this.warningForm.id,
...@@ -172,6 +175,9 @@ export default { ...@@ -172,6 +175,9 @@ export default {
} }
} catch (error) { } catch (error) {
this.$message.error(error) this.$message.error(error)
} finally {
this.isFlag = true
}
} }
}, },
handleClose() { handleClose() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!