|
|
|
@ -131,10 +131,16 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
materialCode: any = '';
|
|
|
|
|
async propoWindow() {
|
|
|
|
|
this.show = !this.show;
|
|
|
|
|
await this.query();
|
|
|
|
|
// await this.query();
|
|
|
|
|
if (this.PopupList.length == 0) {
|
|
|
|
|
this.PageShow = false;
|
|
|
|
|
} else {
|
|
|
|
|
this.PageShow = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
async query() {
|
|
|
|
|
this.PageShow = false;
|
|
|
|
|
this.PopupList = [];
|
|
|
|
|
let params = {
|
|
|
|
|
prdOrder: this.prdOrder,
|
|
|
|
|
materialCode: this.materialCode,
|
|
|
|
@ -154,6 +160,9 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
}
|
|
|
|
|
Change(e: any) {
|
|
|
|
|
this.PopupList = this.obj[e.current - 1];
|
|
|
|
|
this.PopupList.forEach((item: any) => {
|
|
|
|
|
item.checked = false;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
selectItem(e: any) {
|
|
|
|
|
console.log(e);
|
|
|
|
@ -178,7 +187,6 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.show = !this.show;
|
|
|
|
|
this.model.MaterialList.length = 0;
|
|
|
|
|
this.prdOrder = '';
|
|
|
|
|
this.materialCode = '';
|
|
|
|
|
}
|
|
|
|
|