修复供应链无法导入委托商品的bug

This commit is contained in:
weipengfei 2023-10-27 18:43:50 +08:00
parent 366793e9cc
commit fb50530bb3
1 changed files with 4 additions and 1 deletions

View File

@ -142,7 +142,10 @@
} }
}, },
onLoad(option) { onLoad(option) {
// console.log(option); console.log(option);
if(option.type=="TypeSupplyChain"||option.type=="TypeTownSupplyChain"){
this.where.product_type = 99;
}
this.mer_id = option.mer_id this.mer_id = option.mer_id
this.getList(); this.getList();
this.data.product_id = option.product_id this.data.product_id = option.product_id