|
|
@ -200,6 +200,11 @@ export default class dnReceiptDom extends BasePage {
|
|
|
|
item.value = item.poNo;
|
|
|
|
item.value = item.poNo;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.poList = arr;
|
|
|
|
this.poList = arr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 自动化流程改造测试
|
|
|
|
|
|
|
|
this.poListChoice({
|
|
|
|
|
|
|
|
pickerName: this.poList.find(() => true),
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 去除重复 方法
|
|
|
|
// 去除重复 方法
|
|
|
|
// 传入数组 list 及要去重的属性 valueKey
|
|
|
|
// 传入数组 list 及要去重的属性 valueKey
|
|
|
@ -233,6 +238,10 @@ export default class dnReceiptDom extends BasePage {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// 自动化流程改造测试
|
|
|
|
|
|
|
|
this.materialChoice({
|
|
|
|
|
|
|
|
pickerName: this.materialList.find(() => true),
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//选择物料后触发的回调事件 本次数量:receiptAmount 需求数量:requestAmount
|
|
|
|
//选择物料后触发的回调事件 本次数量:receiptAmount 需求数量:requestAmount
|
|
|
|
async materialChoice(e: any) {
|
|
|
|
async materialChoice(e: any) {
|
|
|
@ -240,6 +249,11 @@ export default class dnReceiptDom extends BasePage {
|
|
|
|
this.every = { ...e.pickerName };
|
|
|
|
this.every = { ...e.pickerName };
|
|
|
|
// 查询时初始化仓库
|
|
|
|
// 查询时初始化仓库
|
|
|
|
this.Location = await this.initLocation(this.every);
|
|
|
|
this.Location = await this.initLocation(this.every);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 自动化流程改造测试
|
|
|
|
|
|
|
|
this.LocationChoice({
|
|
|
|
|
|
|
|
pickerName: this.Location.find(() => true),
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//选择库位后触发的回调事件
|
|
|
|
//选择库位后触发的回调事件
|
|
|
|
LocationChoice(e: any) {
|
|
|
|
LocationChoice(e: any) {
|
|
|
|