|
|
|
@ -185,6 +185,7 @@ export default class WhiteInstorage extends BasePage {
|
|
|
|
|
warehouselist = [];
|
|
|
|
|
planQuantity = 0;
|
|
|
|
|
actplanQuantity = 0;
|
|
|
|
|
cunchuQuantity = 0;
|
|
|
|
|
// remove: any = {};
|
|
|
|
|
// async onReady() {
|
|
|
|
|
// await this.model.queryLocation();
|
|
|
|
@ -246,9 +247,9 @@ export default class WhiteInstorage extends BasePage {
|
|
|
|
|
warehouseChange(e: any) {
|
|
|
|
|
console.log('e', e);
|
|
|
|
|
this.cimWl = e.pickerName;
|
|
|
|
|
this.planQuantity = e.pickerName.batchQuantity - parseFloat(e.pickerName.realityNumber);
|
|
|
|
|
//this.planQuantity = e.pickerName.batchQuantity - parseFloat(e.pickerName.realityNumber);
|
|
|
|
|
///切换批次,入库托盘全部清掉
|
|
|
|
|
this.actplanQuantity = this.planQuantity;
|
|
|
|
|
this.actplanQuantity = this.cunchuQuantity;
|
|
|
|
|
this.list = [];
|
|
|
|
|
}
|
|
|
|
|
//取消按钮
|
|
|
|
@ -269,6 +270,7 @@ export default class WhiteInstorage extends BasePage {
|
|
|
|
|
if (model.orderNoItemList) {
|
|
|
|
|
this.orderNoItemList = model.orderNoItemList;
|
|
|
|
|
this.actplanQuantity = this.orderNoItemList.attr1;
|
|
|
|
|
this.cunchuQuantity = this.orderNoItemList.attr1;
|
|
|
|
|
// this.number1 = this.orderNoItemList.attr3;
|
|
|
|
|
} else {
|
|
|
|
|
this.orderNoItemList = {};
|
|
|
|
@ -350,15 +352,15 @@ export default class WhiteInstorage extends BasePage {
|
|
|
|
|
//this.getlist();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
async getlist() {
|
|
|
|
|
await (this.model as any).list(this.orderNo);
|
|
|
|
|
if (model.productCodeList.length > 0) {
|
|
|
|
|
this.list = model.productCodeList;
|
|
|
|
|
} else {
|
|
|
|
|
this.list = [];
|
|
|
|
|
}
|
|
|
|
|
console.log(model.productCodeList);
|
|
|
|
|
}
|
|
|
|
|
// async getlist() {
|
|
|
|
|
// await (this.model as any).list(this.orderNo);
|
|
|
|
|
// if (model.productCodeList.length > 0) {
|
|
|
|
|
// this.list = model.productCodeList;
|
|
|
|
|
// } else {
|
|
|
|
|
// this.list = [];
|
|
|
|
|
// }
|
|
|
|
|
// console.log(model.productCodeList);
|
|
|
|
|
// }
|
|
|
|
|
async rukubutn() {
|
|
|
|
|
this.form5 = {};
|
|
|
|
|
if (this.orderNo == '' || this.orderNo.length == 0) {
|
|
|
|
|