取消暂存功能

master
lijing 7 months ago
parent d81a0cb54e
commit 0708f2cb28

@ -1000,7 +1000,7 @@ export default class PurchaseWHSRM extends BasePage {
// this.formdata.checkResult = '' // this.formdata.checkResult = ''
// } // }
this.show = true; this.show = true;
this.clearMessage(); // this.clearMessage();
} }
// //
determine() { determine() {
@ -1699,7 +1699,7 @@ export default class PurchaseWHSRM extends BasePage {
}); });
this.show = false; this.show = false;
this.clickevent(); // this.clickevent();
this.getlist(); this.getlist();
this.clear(); this.clear();
} else { } else {
@ -1895,20 +1895,20 @@ export default class PurchaseWHSRM extends BasePage {
} }
closepopup() { closepopup() {
// //
this.SaveDraft(); // this.SaveDraft();
this.$nextTick(() => { this.$nextTick(() => {
this.show = false; this.show = false;
this.clickevent(); // this.clickevent();
}); });
} }
onBackPress(e) { onBackPress(e) {
if (e.from === 'backbutton') { if (e.from === 'backbutton') {
if (this.show === true) { if (this.show === true) {
this.SaveDraft(); // this.SaveDraft();
this.$nextTick(() => { this.$nextTick(() => {
this.show = false; this.show = false;
this.clickevent(); // this.clickevent();
}); });
return true; return true;
} else { } else {

Loading…
Cancel
Save