diff --git a/src/views/invoicing/components/addConsTakin.vue b/src/views/invoicing/components/addConsTakin.vue index ce33793..fd9edd0 100644 --- a/src/views/invoicing/components/addConsTakin.vue +++ b/src/views/invoicing/components/addConsTakin.vue @@ -1,36 +1,68 @@ - - - - - - - - - - - - - - - - - - - - 取 消 - 确 定 - - - - - - - - ¥{{ formatDecimal(scope.row.price) }} - - - - - - - ¥{{ formatDecimal(scope.row.lpAmount) }} - - - - - - - - - + + + ¥{{ formatDecimal(scope.row.price) }} + + + + + + + ¥{{ formatDecimal(scope.row.lpAmount) }} + + + + + + + + + \ No newline at end of file + diff --git a/src/views/product/add_shop.vue b/src/views/product/add_shop.vue index 7ea4564..381ceec 100644 --- a/src/views/product/add_shop.vue +++ b/src/views/product/add_shop.vue @@ -222,6 +222,14 @@ > + + + + + + + + 起售数量 + + + + + + 库存数量 @@ -466,7 +486,7 @@ @@ -657,7 +677,8 @@ export default { originPrice: 0, stockNumber: 0, firstShared: 0, - barCode: `${localStorage.getItem("shopId")}${dayjs().valueOf()}` + barCode: `${localStorage.getItem("shopId")}${dayjs().valueOf()}`, + suit: 1 }, tableAddShopIndex: null, isEditor: false, @@ -992,10 +1013,15 @@ export default { this.form.skuList = newarr.map(item => { this.originSkuList.map(val => { if (item.specSnap == val.specSnap) { - for (let key in item) { + for (let key in val) { item[key] = val[key]; } item.id = val.id; + } else { + item.productId = this.$route.query.goods_id; + item.realSalesNumber = ""; + item.shopId = localStorage.getItem("shopId"); + item.warnLine = ""; } });