|
|
|
@ -277,6 +277,8 @@ export default class receiveSRM extends BasePage {
|
|
|
|
|
};
|
|
|
|
|
await this.model.PurchaseOrderPda(query);
|
|
|
|
|
let prodlist = model.orderNoItemList;
|
|
|
|
|
if (this.prodlist.length > 0) {
|
|
|
|
|
this.isdisabled = false;
|
|
|
|
|
this.reducelist = this.uniqueArray(prodlist);
|
|
|
|
|
this.reducelist.forEach((item) => {
|
|
|
|
|
item.value = item.materialCode.slice(item.materialCode.search(/[1-9]/));
|
|
|
|
@ -298,6 +300,14 @@ export default class receiveSRM extends BasePage {
|
|
|
|
|
|
|
|
|
|
//查询标志卡
|
|
|
|
|
this.querycard();
|
|
|
|
|
} else {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请去到货登记!',
|
|
|
|
|
type: 'default',
|
|
|
|
|
duration: 3000,
|
|
|
|
|
});
|
|
|
|
|
this.isdisabled = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//查询标志卡
|
|
|
|
|
async querycard() {
|
|
|
|
|