|
|
@ -54,7 +54,7 @@
|
|
|
|
<u-input :disabled="true" v-model="form.productDescZh" placeholder="" />
|
|
|
|
<u-input :disabled="true" v-model="form.productDescZh" placeholder="" />
|
|
|
|
</u-form-item>
|
|
|
|
</u-form-item>
|
|
|
|
<u-form-item :label="$t('message.Line')">
|
|
|
|
<u-form-item :label="$t('message.Line')">
|
|
|
|
<u-input :disabled="true" v-model="form.productDescZh" placeholder="" />
|
|
|
|
<u-input :disabled="true" v-model="form.rowItem" placeholder="" />
|
|
|
|
</u-form-item>
|
|
|
|
</u-form-item>
|
|
|
|
<u-row gutter="0">
|
|
|
|
<u-row gutter="0">
|
|
|
|
<u-col :span="6">
|
|
|
|
<u-col :span="6">
|
|
|
@ -169,6 +169,7 @@ export default class stoOutboundDom extends BasePage {
|
|
|
|
productCode: "", // 物料类型name
|
|
|
|
productCode: "", // 物料类型name
|
|
|
|
productDescZh: "",
|
|
|
|
productDescZh: "",
|
|
|
|
scanAmount: 0,
|
|
|
|
scanAmount: 0,
|
|
|
|
|
|
|
|
rowItem: "",
|
|
|
|
barCode: "",
|
|
|
|
barCode: "",
|
|
|
|
};
|
|
|
|
};
|
|
|
|
materialList: any = []; //物料列表
|
|
|
|
materialList: any = []; //物料列表
|
|
|
@ -227,10 +228,12 @@ export default class stoOutboundDom extends BasePage {
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
this.model.materielList.forEach((item: any) => {
|
|
|
|
this.model.materielList.forEach((item: any) => {
|
|
|
|
if (v[0].label == item.materialCode) {
|
|
|
|
if (v[0].label == item.materialCode) {
|
|
|
|
|
|
|
|
console.log("item", item);
|
|
|
|
this.form.productCode = item.materialCode;
|
|
|
|
this.form.productCode = item.materialCode;
|
|
|
|
this.form.productDescZh = item.materialDesc;
|
|
|
|
this.form.productDescZh = item.materialDesc;
|
|
|
|
|
|
|
|
this.form.rowItem = item.rowItem;
|
|
|
|
this.form.orderAmount = item.orderAmount;
|
|
|
|
this.form.orderAmount = item.orderAmount;
|
|
|
|
this.form.scanAmount = parseFloat(item.scanAmount);
|
|
|
|
this.form.scanAmount = parseFloat(item.outAmount);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -246,7 +249,8 @@ export default class stoOutboundDom extends BasePage {
|
|
|
|
if (this.form.productCode == item.label) {
|
|
|
|
if (this.form.productCode == item.label) {
|
|
|
|
this.form.productDescZh = item.materialDesc;
|
|
|
|
this.form.productDescZh = item.materialDesc;
|
|
|
|
this.form.orderAmount = item.orderAmount;
|
|
|
|
this.form.orderAmount = item.orderAmount;
|
|
|
|
this.form.scanAmount = item.scanAmount;
|
|
|
|
this.form.rowItem = item.rowItem;
|
|
|
|
|
|
|
|
this.form.scanAmount = parseFloat(item.outAmount);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -349,11 +353,11 @@ export default class stoOutboundDom extends BasePage {
|
|
|
|
keepBy: session.loginName,
|
|
|
|
keepBy: session.loginName,
|
|
|
|
loginName: session.loginName,
|
|
|
|
loginName: session.loginName,
|
|
|
|
order3: this.form.orderNo,
|
|
|
|
order3: this.form.orderNo,
|
|
|
|
// orderType: 3,
|
|
|
|
|
|
|
|
orderType: 4,
|
|
|
|
orderType: 4,
|
|
|
|
type: 0,
|
|
|
|
type: 0,
|
|
|
|
productCode: item.productCode,
|
|
|
|
productCode: item.productCode,
|
|
|
|
productDescZh: item.productDescZh,
|
|
|
|
productDescZh: item.productDescZh,
|
|
|
|
|
|
|
|
orderItem: this.form.rowItem,
|
|
|
|
originWl: item.locCode,
|
|
|
|
originWl: item.locCode,
|
|
|
|
dockCode: item.dockCode,
|
|
|
|
dockCode: item.dockCode,
|
|
|
|
dockName: item.dockName,
|
|
|
|
dockName: item.dockName,
|
|
|
@ -375,12 +379,13 @@ export default class stoOutboundDom extends BasePage {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.form.barCode = "";
|
|
|
|
this.form.barCode = "";
|
|
|
|
this.form.productCode = "";
|
|
|
|
this.form.productCode = "";
|
|
|
|
|
|
|
|
model.orderInInfo.stoAmount = 0;
|
|
|
|
// this.form.orderNo = null;
|
|
|
|
// this.form.orderNo = null;
|
|
|
|
this.form.scanAmount = 0;
|
|
|
|
this.form.scanAmount = 0;
|
|
|
|
this.form.orderAmount = "";
|
|
|
|
this.form.orderAmount = "";
|
|
|
|
this.form.productDescZh = "";
|
|
|
|
this.form.productDescZh = "";
|
|
|
|
this.selectMaterielList = [];
|
|
|
|
this.selectMaterielList = [];
|
|
|
|
this.$table.onEmpty();
|
|
|
|
(this.form.rowItem = ""), this.$table.onEmpty();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|