|
@@ -338,19 +338,15 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
skuStockList() {
|
|
|
- // if (this.value&&this.value.skuStockList[0]&&this.value.skuStockList[0].productId){
|
|
|
- // console.log('调用')
|
|
|
-
|
|
|
- // };
|
|
|
|
|
|
return this.value.skuStockList;
|
|
|
},
|
|
|
},
|
|
|
created() {},
|
|
|
mounted() {
|
|
|
- console.log(this.value.skuStockList);
|
|
|
this.handleEditCreated();
|
|
|
this.getProductAttrCateList();
|
|
|
+
|
|
|
},
|
|
|
watch: {
|
|
|
productId: function (newValue) {
|
|
@@ -382,7 +378,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getProductAttrList(type, cid) {
|
|
|
- console.log("getProductAttrList", "调用");
|
|
|
let param = { pageNum: 1, pageSize: 100, type: type };
|
|
|
fetchProductAttrList(cid, param).then((response) => {
|
|
|
let list = response.data.list;
|