From 7c8942942d61657c79f3552875e8e58f2280ba32 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Thu, 11 Jul 2024 17:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=96=E8=BE=91=E5=95=86?= =?UTF-8?q?=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/add_shop.vue | 479 +++++++-------------------------- 1 file changed, 101 insertions(+), 378 deletions(-) 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() {