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

master
guoshuang 3 years ago
parent 5157d2384e
commit f303fc64ce

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

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

@ -116,11 +116,16 @@ export default class KanDanHandOver extends BasePage {
arr.push(this.orderlist);
await model.onTakeoutConfirm(arr);
if (model.code == '1') {
this.customToast(this.$t('message.Warehouse_Tip9') as string);
model.empty();
setTimeout(() => {
this.toPage(this.page.raw.warehouse.rowTransfer.index);
}, 2000);
//this.customToast(this.$t('message.Warehouse_Tip9') as string);
uni.showToast({ icon: 'success', title: this.$t('message.Warehouse_Tip9') as string });
//model.empty();
this.orderlist = {};
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
async empty() {
const materielList = [];
const materielList = null;
return { materielList };
}
}

Loading…
Cancel
Save