|
|
|
@ -123,12 +123,15 @@ export default class productCheckReceipt extends BasePage {
|
|
|
|
|
await this.model.queryOrderNo(this.orderNumber);
|
|
|
|
|
this.productCodeList = this.model.productCodeList[0];
|
|
|
|
|
this.histroyItem = this.model.orderNoItemList[0];
|
|
|
|
|
this.boxjilu = this.histroyItem.boxOrder + '/' + this.histroyItem.boxNumber;
|
|
|
|
|
this.supplierCode = this.histroyItem.supplierCode;
|
|
|
|
|
}
|
|
|
|
|
histroyItem: any = {};
|
|
|
|
|
selectProductCode(e: any) {
|
|
|
|
|
this.model.productCodeList.forEach((item: any) => {
|
|
|
|
|
if (item.rowItem == e.pickerName.value) {
|
|
|
|
|
this.histroyItem = item;
|
|
|
|
|
this.boxjilu = this.histroyItem.boxOrder + '/' + this.histroyItem.boxNumber;
|
|
|
|
|
this.productCodeList = item;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -155,6 +158,14 @@ export default class productCheckReceipt extends BasePage {
|
|
|
|
|
rowItem: this.productCodeList.value,
|
|
|
|
|
boxCode: this.boxCode,
|
|
|
|
|
materialCode: this.histroyItem.materialCode,
|
|
|
|
|
materialDesc: this.histroyItem.materialDesc,
|
|
|
|
|
supplierCode: this.supplierCode,
|
|
|
|
|
createDate: this.histroyItem.createDate,
|
|
|
|
|
supplierName: this.histroyItem.supplierName,
|
|
|
|
|
reqDate: this.histroyItem.reqDate,
|
|
|
|
|
createBy: this.histroyItem.createBy,
|
|
|
|
|
// boxNumber: this.histroyItem.boxNumber,
|
|
|
|
|
// boxOrder: this.histroyItem.boxOrder,
|
|
|
|
|
};
|
|
|
|
|
await this.model.OnSubmit(params);
|
|
|
|
|
if (this.model.SubmitCode == '1') {
|
|
|
|
@ -171,6 +182,8 @@ export default class productCheckReceipt extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
console.log('456', findvalue);
|
|
|
|
|
this.boxjilu = findvalue[0].boxOrder + '/' + findvalue[0].boxNumber;
|
|
|
|
|
this.histroyItem.boxOrder = findvalue[0].boxOrder;
|
|
|
|
|
this.histroyItem.boxNumber = findvalue[0].boxNumber;
|
|
|
|
|
this.barCodeNumber = findvalue[0].barCodeNumber;
|
|
|
|
|
this.supplierCode = findvalue[0].supplierCode;
|
|
|
|
|
//this.boxjilu = this.boxreturndata.boxOrder + '/' + this.boxreturndata.boxNumber;
|
|
|
|
|