确认弹窗的取消按钮bug修复

yangwl
zhaoxiaolin 1 year ago
parent 0219b43ac8
commit 2ca99f1b7d

@ -747,6 +747,7 @@ export default {
}
}
this.loading = true;
let _this = this;
const workorderIds = row.workorderCode || this.codes;
this.$modal.confirm('是否确认下发生产工单编号为"' + workorderIds + '"的数据项?').then(function () {
@ -755,8 +756,16 @@ export default {
this.loading = false;
this.getList();
this.$modal.msgSuccess("下发成功");
}).catch(() => {
});
}).catch(
function (e) {
if (e == 'cancel') {
_this.loading = false;
} else if(e == 'close') {
_this.loading = false;
}
}
);
},
// -
handleUpdate(row) {

Loading…
Cancel
Save