diff --git a/src/pages/raw/commission/entrant/index.vue b/src/pages/raw/commission/entrant/index.vue index 3efc057..2bb82a8 100644 --- a/src/pages/raw/commission/entrant/index.vue +++ b/src/pages/raw/commission/entrant/index.vue @@ -197,13 +197,17 @@ export default class dnReceiptDom extends BasePage { workArea: session.workareaCode, }; let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content); - res.forEach((item: any) => { + console.log("res res",res[0]); + // 库位列表是undefined 委外入库、委外出库都是同样的问题 + //guoshuang 修改 库位列表undefiend + res[0].forEach((item: any) => { let pickerName: any = {}; pickerName.label = item.locationCode; pickerName.value = item.locationCode + "(" + item.sendSpot + ")"; pickerName.sendSpot = item.sendSpot; this.Location.push(pickerName); }); + console.log("库位列表",this.Location); } //输入单号 查询数据 async query() { diff --git a/src/pages/raw/commission/goOut/index.vue b/src/pages/raw/commission/goOut/index.vue index 4cc5170..8c9d099 100644 --- a/src/pages/raw/commission/goOut/index.vue +++ b/src/pages/raw/commission/goOut/index.vue @@ -197,7 +197,9 @@ export default class dnReceiptDom extends BasePage { workArea: session.workareaCode, }; let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content); - res.forEach((item: any) => { + //库位为undefined,打印的res信息格式为[[],[]],且里面两个arry相同 + //guoshuang 修改 库位列表undefined + res[0].forEach((item: any) => { let pickerName: any = {}; pickerName.label = item.locationCode; pickerName.value = item.locationCode + "(" + item.sendSpot + ")"; diff --git a/src/pages/raw/handover/returning/Time-filter.vue b/src/pages/raw/handover/returning/Time-filter.vue index 8d1b643..1acf8e5 100644 --- a/src/pages/raw/handover/returning/Time-filter.vue +++ b/src/pages/raw/handover/returning/Time-filter.vue @@ -10,6 +10,7 @@ {{ $t("message.screen") }} + {{ - $t("message.po_Return") + $t("message.workArea_Confirm") }} diff --git a/src/pages/raw/handover/returning/config.ts b/src/pages/raw/handover/returning/config.ts index 8e0f831..e6b4240 100644 --- a/src/pages/raw/handover/returning/config.ts +++ b/src/pages/raw/handover/returning/config.ts @@ -6,6 +6,16 @@ export const headers = [ { label: vm.$t('message.InventoryOrderNo'), key: 'label', - width: 650, + width: 216, + }, + { + label: vm.$t('message.InventoryMaterielNo'), + key: 'value', + width: 216, + }, + { + label: "接收人", + key: 'sendSpot', + width: 216, }, ]; diff --git a/src/pages/raw/handover/returning/index.vue b/src/pages/raw/handover/returning/index.vue index 7f2768c..b8adf4e 100644 --- a/src/pages/raw/handover/returning/index.vue +++ b/src/pages/raw/handover/returning/index.vue @@ -17,12 +17,14 @@ :error-type="['toast']" label-width="150rpx" > + + --> + + + + +