diff --git a/src/views/product/add_shop.vue b/src/views/product/add_shop.vue index 381ceec..c2c6ab7 100644 --- a/src/views/product/add_shop.vue +++ b/src/views/product/add_shop.vue @@ -1,21 +1,10 @@ @@ -678,7 +397,7 @@ export default { stockNumber: 0, firstShared: 0, barCode: `${localStorage.getItem("shopId")}${dayjs().valueOf()}`, - suit: 1 + // suit: 1 }, tableAddShopIndex: null, isEditor: false, @@ -855,6 +574,10 @@ export default { this.isEditor = true; this.form.skuList = skuList.map((item, index) => { specInfo[index].id = item.id; + specInfo[index].productId = item.productId; + specInfo[index].realSalesNumber = item.productId; + specInfo[index].shopId = item.shopId; + specInfo[index].warnLine = item.warnLine; return specInfo[index]; }); this.originSkuList = [...this.form.skuList]; @@ -1087,7 +810,7 @@ export default { size: 100 }); this.specList = res.content; - } catch (error) {} + } catch (error) { } }, // 获取单位 async tbShopUnit() { @@ -1099,7 +822,7 @@ export default { size: 100 }); this.units = res.content; - } catch (error) {} + } catch (error) { } }, // 商品分类列表 async tbShopCategoryGet() {