|
|
@ -184,7 +184,7 @@ export default class dnReceiptDom extends BasePage {
|
|
|
|
//所选择的库位
|
|
|
|
//所选择的库位
|
|
|
|
wlCode: any = "";
|
|
|
|
wlCode: any = "";
|
|
|
|
//页面初始化
|
|
|
|
//页面初始化
|
|
|
|
async onShow() {
|
|
|
|
async onReady() {
|
|
|
|
//页面初始化 获取可选库位
|
|
|
|
//页面初始化 获取可选库位
|
|
|
|
let means: any = JSON.parse(
|
|
|
|
let means: any = JSON.parse(
|
|
|
|
localStorage.getItem("__GWMS_APP_STATE_DATA__") as any
|
|
|
|
localStorage.getItem("__GWMS_APP_STATE_DATA__") as any
|
|
|
@ -199,7 +199,7 @@ export default class dnReceiptDom extends BasePage {
|
|
|
|
let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content);
|
|
|
|
let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content);
|
|
|
|
//库位为undefined,打印的res信息格式为[[],[]],且里面两个arry相同
|
|
|
|
//库位为undefined,打印的res信息格式为[[],[]],且里面两个arry相同
|
|
|
|
//guoshuang 修改 库位列表undefined
|
|
|
|
//guoshuang 修改 库位列表undefined
|
|
|
|
res[0].forEach((item: any) => {
|
|
|
|
res.forEach((item: any) => {
|
|
|
|
let pickerName: any = {};
|
|
|
|
let pickerName: any = {};
|
|
|
|
pickerName.label = item.locationCode;
|
|
|
|
pickerName.label = item.locationCode;
|
|
|
|
pickerName.value = item.locationCode + "(" + item.sendSpot + ")";
|
|
|
|
pickerName.value = item.locationCode + "(" + item.sendSpot + ")";
|
|
|
@ -216,6 +216,7 @@ export default class dnReceiptDom extends BasePage {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.materialList = [];
|
|
|
|
let res = await this.model.queryOutsourcing(this.form.documentNo);
|
|
|
|
let res = await this.model.queryOutsourcing(this.form.documentNo);
|
|
|
|
this.material = res.data;
|
|
|
|
this.material = res.data;
|
|
|
|
this.material.forEach((item: any) => {
|
|
|
|
this.material.forEach((item: any) => {
|
|
|
|