diff --git a/src/pages/raw/warehouse/rowCollect/index.vue b/src/pages/raw/warehouse/rowCollect/index.vue index fb24aef..332d72a 100644 --- a/src/pages/raw/warehouse/rowCollect/index.vue +++ b/src/pages/raw/warehouse/rowCollect/index.vue @@ -131,7 +131,7 @@ export default class KanDanHandOver extends BasePage { this.Some.fileNo = ' '; this.wl = {}; this.MaterialList = []; - this.query() + this.query(); } } } diff --git a/src/pages/raw/warehouse/rowScrap/index.vue b/src/pages/raw/warehouse/rowScrap/index.vue index 73a23f6..0a7ac43 100644 --- a/src/pages/raw/warehouse/rowScrap/index.vue +++ b/src/pages/raw/warehouse/rowScrap/index.vue @@ -135,7 +135,7 @@ export default class KanDanHandOver extends BasePage { this.Some.fileNo = ' '; this.wl = {}; this.MaterialList = []; - this.query() + this.query(); } } } diff --git a/src/pages/raw/warehouse/rowTransfer/index.vue b/src/pages/raw/warehouse/rowTransfer/index.vue index 4ccb338..c993c8c 100644 --- a/src/pages/raw/warehouse/rowTransfer/index.vue +++ b/src/pages/raw/warehouse/rowTransfer/index.vue @@ -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(); } } } diff --git a/src/pages/raw/warehouse/rowTransfer/model.ts b/src/pages/raw/warehouse/rowTransfer/model.ts index 26cb7c0..bce6af3 100644 --- a/src/pages/raw/warehouse/rowTransfer/model.ts +++ b/src/pages/raw/warehouse/rowTransfer/model.ts @@ -84,7 +84,7 @@ export class rowTransfer extends VuexModule { //清除数据 @MutationAction async empty() { - const materielList = []; + const materielList = null; return { materielList }; } }