Преглед изворни кода

商品信息 去掉showcolumn配置

Qukatie пре 3 дана
родитељ
комит
fb95228f7f

+ 24 - 24
src/views/exportTrade/EcommerceStocking/components/goodsInfo.vue

@@ -682,7 +682,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             display: false,
             overHidden: true
@@ -695,7 +695,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             display: false,
             overHidden: true
@@ -708,7 +708,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             display: false,
             overHidden: true
@@ -721,7 +721,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             overHidden: true
           },
@@ -744,7 +744,7 @@ export default {
             disabled: true,
             display: false,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             overHidden: true
           },
           {
@@ -776,7 +776,7 @@ export default {
             overHidden: true,
             hide: true,
             display: false,
-            showColumn: false
+            // showColumn: false
           },
           {
             label: "单品毛利率",
@@ -902,17 +902,17 @@ export default {
 
     if (localStorage.getItem("roleName").indexOf("贸易") == -1 && localStorage.getItem("roleName").indexOf("运营") == -1) {
       this.findObject(this.tableOption.column, "purchaseCost").hide = false;
-      this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
+      // this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
       this.findObject(this.tableOption.column, "partsPrice").hide = false;
-      this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
+      // this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
       this.findObject(this.tableOption.column, "partsCost").hide = false;
-      this.findObject(this.tableOption.column, "partsCost").showColumn = true;
+      // this.findObject(this.tableOption.column, "partsCost").showColumn = true;
       this.findObject(this.tableOption.column, "purchaseAmount").hide = false;
-      this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
+      // this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
       this.findObject(this.tableOption.column, "corpName").hide = false;
-      this.findObject(this.tableOption.column, "corpName").showColumn = true;
+      // this.findObject(this.tableOption.column, "corpName").showColumn = true;
       this.findObject(this.tableOption.column, "productPrice").hide = false;
-      this.findObject(this.tableOption.column, "productPrice").showColumn = true;
+      // this.findObject(this.tableOption.column, "productPrice").showColumn = true;
       this.findObject(this.tableOption.column, "productPrice").display = true;
     }
     this.getWorkDicts("Thread").then(res => {
@@ -1769,17 +1769,17 @@ export default {
       const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
       if (localStorage.getItem("roleName").indexOf("贸易") == -1 && localStorage.getItem("roleName").indexOf("运营") == -1) {
         this.findObject(this.tableOption.column, "purchaseCost").hide = false;
-        this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
+        // this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
         this.findObject(this.tableOption.column, "partsPrice").hide = false;
-        this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
+        // this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
         this.findObject(this.tableOption.column, "partsCost").hide = false;
-        this.findObject(this.tableOption.column, "partsCost").showColumn = true;
+        // this.findObject(this.tableOption.column, "partsCost").showColumn = true;
         this.findObject(this.tableOption.column, "purchaseAmount").hide = false;
-        this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
+        // this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
         this.findObject(this.tableOption.column, "corpName").hide = false;
-        this.findObject(this.tableOption.column, "corpName").showColumn = true;
+        // this.findObject(this.tableOption.column, "corpName").showColumn = true;
         this.findObject(this.tableOption.column, "productPrice").hide = false;
-        this.findObject(this.tableOption.column, "productPrice").showColumn = true;
+        // this.findObject(this.tableOption.column, "productPrice").showColumn = true;
         this.findObject(this.tableOption.column, "productPrice").display = true;
       }
       if (inSave) {
@@ -1803,17 +1803,17 @@ export default {
         });
         if (localStorage.getItem("roleName").indexOf("贸易") == -1 && localStorage.getItem("roleName").indexOf("运营") == -1) {
           this.findObject(this.tableOption.column, "purchaseCost").hide = false;
-          this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
+          // this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
           this.findObject(this.tableOption.column, "partsPrice").hide = false;
-          this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
+          // this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
           this.findObject(this.tableOption.column, "partsCost").hide = false;
-          this.findObject(this.tableOption.column, "partsCost").showColumn = true;
+          // this.findObject(this.tableOption.column, "partsCost").showColumn = true;
           this.findObject(this.tableOption.column, "purchaseAmount").hide = false;
-          this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
+          // this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
           this.findObject(this.tableOption.column, "corpName").hide = false;
-          this.findObject(this.tableOption.column, "corpName").showColumn = true;
+          // this.findObject(this.tableOption.column, "corpName").showColumn = true;
           this.findObject(this.tableOption.column, "productPrice").hide = false;
-          this.findObject(this.tableOption.column, "productPrice").showColumn = true;
+          // this.findObject(this.tableOption.column, "productPrice").showColumn = true;
           this.findObject(this.tableOption.column, "productPrice").display = true;
         }
         this.$message.success("重置成功");

+ 24 - 24
src/views/exportTrade/salesContract/components/goodsInfo.vue

@@ -731,7 +731,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             display: false,
             disabled: true,
             overHidden: true
@@ -744,7 +744,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             display: false,
             overHidden: true
@@ -757,7 +757,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             display: false,
             overHidden: true
@@ -770,7 +770,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             disabled: true,
             overHidden: true
           },
@@ -792,7 +792,7 @@ export default {
             disabled: true,
             display: false,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             overHidden: true
           },
           {
@@ -819,7 +819,7 @@ export default {
             align: "right",
             span: 6,
             hide: true,
-            showColumn: false,
+            // showColumn: false,
             display: false,
             disabled: true,
             overHidden: true
@@ -951,17 +951,17 @@ export default {
     this.goodsOption = await this.getColumnData(this.getColumnName(28), goodsOption);
     if (localStorage.getItem("roleName").indexOf("贸易") == -1 && localStorage.getItem("roleName").indexOf("运营") == -1) {
       this.findObject(this.tableOption.column, "purchaseCost").hide = false;
-      this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
+      // this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
       this.findObject(this.tableOption.column, "partsPrice").hide = false;
-      this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
+      // this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
       this.findObject(this.tableOption.column, "partsCost").hide = false;
-      this.findObject(this.tableOption.column, "partsCost").showColumn = true;
+      // this.findObject(this.tableOption.column, "partsCost").showColumn = true;
       this.findObject(this.tableOption.column, "purchaseAmount").hide = false;
-      this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
+      // this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
       this.findObject(this.tableOption.column, "corpName").hide = false;
-      this.findObject(this.tableOption.column, "corpName").showColumn = true;
+      // this.findObject(this.tableOption.column, "corpName").showColumn = true;
       this.findObject(this.tableOption.column, "productPrice").hide = false;
-      this.findObject(this.tableOption.column, "productPrice").showColumn = true;
+      // this.findObject(this.tableOption.column, "productPrice").showColumn = true;
       this.findObject(this.tableOption.column, "productPrice").display = true;
     }
     this.getWorkDicts("Thread").then(res => {
@@ -2088,17 +2088,17 @@ export default {
       const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
       if (localStorage.getItem("roleName").indexOf("贸易") == -1 && localStorage.getItem("roleName").indexOf("运营") == -1) {
         this.findObject(this.tableOption.column, "purchaseCost").hide = false;
-        this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
+        // this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
         this.findObject(this.tableOption.column, "partsPrice").hide = false;
-        this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
+        // this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
         this.findObject(this.tableOption.column, "partsCost").hide = false;
-        this.findObject(this.tableOption.column, "partsCost").showColumn = true;
+        // this.findObject(this.tableOption.column, "partsCost").showColumn = true;
         this.findObject(this.tableOption.column, "purchaseAmount").hide = false;
-        this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
+        // this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
         this.findObject(this.tableOption.column, "corpName").hide = false;
-        this.findObject(this.tableOption.column, "corpName").showColumn = true;
+        // this.findObject(this.tableOption.column, "corpName").showColumn = true;
         this.findObject(this.tableOption.column, "productPrice").hide = false;
-        this.findObject(this.tableOption.column, "productPrice").showColumn = true;
+        // this.findObject(this.tableOption.column, "productPrice").showColumn = true;
         this.findObject(this.tableOption.column, "productPrice").display = true;
       }
       if (inSave) {
@@ -2122,17 +2122,17 @@ export default {
         });
         if (localStorage.getItem("roleName").indexOf("贸易") == -1 && localStorage.getItem("roleName").indexOf("运营") == -1) {
           this.findObject(this.tableOption.column, "purchaseCost").hide = false;
-          this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
+          // this.findObject(this.tableOption.column, "purchaseCost").showColumn = true;
           this.findObject(this.tableOption.column, "partsPrice").hide = false;
-          this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
+          // this.findObject(this.tableOption.column, "partsPrice").showColumn = true;
           this.findObject(this.tableOption.column, "partsCost").hide = false;
-          this.findObject(this.tableOption.column, "partsCost").showColumn = true;
+          // this.findObject(this.tableOption.column, "partsCost").showColumn = true;
           this.findObject(this.tableOption.column, "purchaseAmount").hide = false;
-          this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
+          // this.findObject(this.tableOption.column, "purchaseAmount").showColumn = true;
           this.findObject(this.tableOption.column, "corpName").hide = false;
-          this.findObject(this.tableOption.column, "corpName").showColumn = true;
+          // this.findObject(this.tableOption.column, "corpName").showColumn = true;
           this.findObject(this.tableOption.column, "productPrice").hide = false;
-          this.findObject(this.tableOption.column, "productPrice").showColumn = true;
+          // this.findObject(this.tableOption.column, "productPrice").showColumn = true;
           this.findObject(this.tableOption.column, "productPrice").display = true;
         }
         this.$message.success("重置成功");