|
|
|
@ -128,6 +128,8 @@ export default class returningDom extends BasePage {
|
|
|
|
|
* 工位退料人名称
|
|
|
|
|
*/
|
|
|
|
|
operatorName = '';
|
|
|
|
|
// 筛选带回数据
|
|
|
|
|
data: any = {};
|
|
|
|
|
/**
|
|
|
|
|
* 退料类型选择
|
|
|
|
|
*/
|
|
|
|
@ -159,11 +161,14 @@ export default class returningDom extends BasePage {
|
|
|
|
|
//页面初始化 获取可选库位
|
|
|
|
|
let means: any = JSON.parse(localStorage.getItem('__GWMS_APP_STATE_DATA__') as any);
|
|
|
|
|
let sendSpot = JSON.parse(localStorage.getItem('sendSpot') as any);
|
|
|
|
|
//guoshuang 修改退料 筛选后选择一条可以将相关信息赋值到退料页面
|
|
|
|
|
this.form.wlName = JSON.parse(sessionStorage.getItem('data') as any).value;
|
|
|
|
|
this.form.prdOrder = JSON.parse(sessionStorage.getItem('data') as any).label;
|
|
|
|
|
this.form.sendSpot = JSON.parse(sessionStorage.getItem('data') as any).sendSpot;
|
|
|
|
|
this.form.amount = JSON.parse(sessionStorage.getItem('data') as any).amount;
|
|
|
|
|
if (JSON.parse(sessionStorage.getItem('data') as any)) {
|
|
|
|
|
this.data = JSON.parse(sessionStorage.getItem('data') as any)
|
|
|
|
|
this.form.prdOrder = this.data.label;
|
|
|
|
|
this.form.wlName = this.data.value;
|
|
|
|
|
this.form.sendSpot = this.data.sendSpot;
|
|
|
|
|
this.form.amount = this.data.amount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.form.prdOrder != null) {
|
|
|
|
|
model.queryOrderInInfo(this.form.prdOrder);
|
|
|
|
|
}
|
|
|
|
|