白胚入库切换批次清除数据

master
guoshuang 8 months ago
parent 742c89b7db
commit 6d115dc25e

@ -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) {

Loading…
Cancel
Save