|
|
|
@ -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() {
|
|
|
|
|