xiaodai2022 2 rokov pred
rodič
commit
abd767db85

+ 2 - 2
src/views/goodStore/dealGoodsPool/addEdit.vue

@@ -253,7 +253,7 @@ export default {
     },
     platform_codesearchChange(e) {
       const { id, code, label } = e;
-      this.ruleForm.platform = id ||"";
+      this.ruleForm.platform = id || "";
       this.$refs.ruleForm.validateField("platform");
     },
     async submitForm() {
@@ -303,7 +303,7 @@ export default {
               message: htmlList,
             });
           } else {
-            this.$message.warning(res.message);
+            this.$message.warning(message);
           }
         } else {
           console.log("error submit!!");

+ 1 - 2
src/views/goodStore/dealGoodsPool/index.vue

@@ -57,15 +57,14 @@
               :span="3"
               class="fr"
               style="width: 110px; padding: 0 0 0 10px"
+              v-if="powers.some((item) => item == '055')"
              
             >
-              <!-- v-if="powers.some((item) => item == '055')" -->
               <el-button
                 :size="searchSize"
                 type="warning"
                 style="float: right"
                 @click="add_online"
-                 
               >
                 <i class="el-icon-circle-plus-outline"></i>
                 <span>商品上线</span>