overseamom-178 fix 提交成功清空字段信息

master
suiwei 2 years ago
parent 3aa1df600b
commit bfa9b333d4

@ -135,6 +135,7 @@ export default class dnReceiptDom extends BasePage {
async query() { async query() {
this.carNo = ''; this.carNo = '';
this.company = '';
this.showVehicle = false; this.showVehicle = false;
this.showMsg = false; this.showMsg = false;
if (!this.stoNo) { if (!this.stoNo) {
@ -163,6 +164,7 @@ export default class dnReceiptDom extends BasePage {
//SunmitList: any = []; //SunmitList: any = [];
async onOk() { async onOk() {
this.carNo = ''; this.carNo = '';
this.company = '';
this.showVehicle = false; this.showVehicle = false;
this.showMsg = false; this.showMsg = false;
if (!this.stoNo) { if (!this.stoNo) {
@ -205,6 +207,7 @@ export default class dnReceiptDom extends BasePage {
loginName: session.loginName, loginName: session.loginName,
factoryCode: session.factoryCode, factoryCode: session.factoryCode,
stoNo: this.stoNo, stoNo: this.stoNo,
carNo: this.carNo,
carSize: this.company, carSize: this.company,
}; };
await this.model.ConfirmList(SunmitList); await this.model.ConfirmList(SunmitList);
@ -254,6 +257,7 @@ export default class dnReceiptDom extends BasePage {
this.stoItem = {}; this.stoItem = {};
this.barcode = ''; this.barcode = '';
this.carNo = ''; this.carNo = '';
this.company = '';
this.showVehicle = false; this.showVehicle = false;
this.showMsg = false; this.showMsg = false;
//this.SunmitList = []; //this.SunmitList = [];

Loading…
Cancel
Save