{goodsData = val;}"
v-if="goodsFlag" ref="goodsDialog" :selectedWay='goodsData'/>
diff --git a/seller/src/views/goods/goods-seller/goodsOperationFirst.vue b/seller/src/views/goods/goods-seller/goodsOperationFirst.vue
index 64610159..47af4085 100644
--- a/seller/src/views/goods/goods-seller/goodsOperationFirst.vue
+++ b/seller/src/views/goods/goods-seller/goodsOperationFirst.vue
@@ -144,7 +144,7 @@ export default {
pageSize: 10,
pageNumber: 1,
},
- templateTotal:0,
+ templateTotal: 0,
};
},
methods: {
@@ -185,8 +185,8 @@ export default {
GET_GoodsTemplate() {
API_GOODS.getDraftGoodsListData(this.searchParams).then((res) => {
if (res.success) {
- this.goodsTemplates.push(...res.result.records)
- this.templateTotal = res.result.total
+ this.goodsTemplates.push(...res.result.records);
+ this.templateTotal = res.result.total;
}
});
},
@@ -234,13 +234,15 @@ export default {
this.$Message.error("必须选择到三级分类");
return;
} else if (this.category[2].name) {
+ let params = {
+ category: this.category,
+ goodsType: this.goodsType,
+ };
if (this.selectedTemplate.id) {
- this.$emit("change", { tempId: this.selectedTemplate.id });
+ params.tempId = this.selectedTemplate.id;
+ this.$emit("change", params);
} else {
- this.$emit("change", {
- category: this.category,
- goodsType: this.goodsType,
- });
+ this.$emit("change", params);
}
}
},
@@ -252,7 +254,7 @@ export default {
diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
index 9054742b..c546ca7a 100644
--- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue
+++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
@@ -12,8 +12,8 @@
{{
- this.baseInfoForm.categoryName[0]
- }}
+ this.baseInfoForm.categoryName[0]
+ }}
> {{ this.baseInfoForm.categoryName[1] }}
> {{ this.baseInfoForm.categoryName[2] }}
@@ -71,7 +71,7 @@
v-for="(item, index) in goodsUnitList"
:key="index"
:value="item"
- >{{ item }}
+ >{{ item }}
@@ -124,8 +124,8 @@
@on-blur="checkWholesaleNum(index)"
>
{{
- baseInfoForm.goodsUnit || ""
- }}
+ baseInfoForm.goodsUnit || ""
+ }}