diff --git a/jjj_erp_admin/src/views/product/base/mfrs/index.vue b/jjj_erp_admin/src/views/product/base/mfrs/index.vue index 67a7de3..ced01ad 100644 --- a/jjj_erp_admin/src/views/product/base/mfrs/index.vue +++ b/jjj_erp_admin/src/views/product/base/mfrs/index.vue @@ -32,62 +32,65 @@
- 新增新增 +
+ + -
- - - - + - - - - - - - - - - - - + + + + + + + + diff --git a/jjj_erp_admin/src/views/product/base/product/add.vue b/jjj_erp_admin/src/views/product/base/product/add.vue index a33d7ac..b17c4e7 100644 --- a/jjj_erp_admin/src/views/product/base/product/add.vue +++ b/jjj_erp_admin/src/views/product/base/product/add.vue @@ -529,27 +529,18 @@ export default { this.form.image.splice(index, 1); }, openProductUpload: function (file_type, file_name, file_index) { + console.log(1); this.file_name = file_name; this.file_index = file_index || 0; if (file_type == "image") { - if (file_name == "sku") { - this.config = { - total: 1, - fileType: "image", - }; - } else { - this.config = { - total: 9, - fileType: "image", - }; - } - } else { + console.log(2); this.config = { - total: 1, - fileType: "video", + total: 9, + fileType: "image", }; } this.isProductUpload = true; + console.log("isProductUpload", this.isProductUpload); }, handNum(index) { this.form.options[index].optionId = index + 65; diff --git a/jjj_erp_admin/src/views/product/base/product/edit.vue b/jjj_erp_admin/src/views/product/base/product/edit.vue index 89d33ef..4b447af 100644 --- a/jjj_erp_admin/src/views/product/base/product/edit.vue +++ b/jjj_erp_admin/src/views/product/base/product/edit.vue @@ -74,7 +74,7 @@ @@ -104,7 +104,7 @@ @@ -113,7 +113,7 @@ @@ -124,7 +124,7 @@ @@ -135,7 +135,7 @@ @@ -144,7 +144,7 @@
@@ -171,7 +171,7 @@