原材料报废,移库,领用完成后清数据查单号

master
guoshuang 3 years ago
parent 5157d2384e
commit f303fc64ce

@ -131,7 +131,7 @@ export default class KanDanHandOver extends BasePage {
this.Some.fileNo = ' '; this.Some.fileNo = ' ';
this.wl = {}; this.wl = {};
this.MaterialList = []; this.MaterialList = [];
this.query() this.query();
} }
} }
} }

@ -135,7 +135,7 @@ export default class KanDanHandOver extends BasePage {
this.Some.fileNo = ' '; this.Some.fileNo = ' ';
this.wl = {}; this.wl = {};
this.MaterialList = []; this.MaterialList = [];
this.query() this.query();
} }
} }
} }

@ -116,11 +116,16 @@ export default class KanDanHandOver extends BasePage {
arr.push(this.orderlist); arr.push(this.orderlist);
await model.onTakeoutConfirm(arr); await model.onTakeoutConfirm(arr);
if (model.code == '1') { if (model.code == '1') {
this.customToast(this.$t('message.Warehouse_Tip9') as string); //this.customToast(this.$t('message.Warehouse_Tip9') as string);
model.empty(); uni.showToast({ icon: 'success', title: this.$t('message.Warehouse_Tip9') as string });
setTimeout(() => { //model.empty();
this.toPage(this.page.raw.warehouse.rowTransfer.index); this.orderlist = {};
}, 2000); this.model.materielList.length = 0;
this.NEWqty = '';
// setTimeout(() => {
// this.toPage(this.page.raw.warehouse.rowTransfer.index);
// }, 2000);
this.query();
} }
} }
} }

@ -84,7 +84,7 @@ export class rowTransfer extends VuexModule {
//清除数据 //清除数据
@MutationAction @MutationAction
async empty() { async empty() {
const materielList = []; const materielList = null;
return { materielList }; return { materielList };
} }
} }

Loading…
Cancel
Save