wangfei 6 anos atrás
pai
commit
394bcb9942

+ 2
- 2
src/pages/system/cardAndCouponManager/cardManager/index.vue Ver arquivo

@@ -62,14 +62,14 @@
62 62
           prop="TotalCount"
63 63
           label="总数量">
64 64
         </el-table-column>
65
-        <el-table-column
65
+        <!-- <el-table-column
66 66
           prop="SentCount"
67 67
           label="已发">
68 68
         </el-table-column>
69 69
         <el-table-column
70 70
           prop="UsedCount"
71 71
           label="实际使用">
72
-        </el-table-column>
72
+        </el-table-column> -->
73 73
         <el-table-column
74 74
           prop="Status"
75 75
           label="状态">

+ 2
- 2
src/pages/system/cardAndCouponManager/couponManager/index.vue Ver arquivo

@@ -64,14 +64,14 @@
64 64
           prop="TotalCount"
65 65
           label="总数量">
66 66
         </el-table-column>
67
-        <el-table-column
67
+        <!-- <el-table-column
68 68
           prop="SentCount"
69 69
           label="已发">
70 70
         </el-table-column>
71 71
         <el-table-column
72 72
           prop="UsedCount"
73 73
           label="实际使用">
74
-        </el-table-column>
74
+        </el-table-column> -->
75 75
         <el-table-column
76 76
           prop="Status"
77 77
           label="状态">

+ 4
- 4
src/pages/system/goodsManager/goodManager/edit.vue Ver arquivo

@@ -63,7 +63,7 @@
63 63
             <div style="width:50%">
64 64
               <el-select v-model="detailSpecs" multiple placeholder="请选择" style="width:100%;">
65 65
                 <el-option
66
-                  v-for="item in specs.list"
66
+                  v-for="item in (Case === '' ? [] : specs.list)"
67 67
                   :key="item.SpecId"
68 68
                   :label="item.SpecName"
69 69
                   :value="item.SpecId">
@@ -78,7 +78,7 @@
78 78
             <div style="width:50%">
79 79
               <el-select v-model="TypeId" placeholder="请选择商品类型">
80 80
                 <el-option
81
-                  v-for="item in types.list"
81
+                  v-for="item in (Case === '' ? [] : types.list)"
82 82
                   :key="item.TypeId"
83 83
                   :label="item.TypeName"
84 84
                   :value="item.TypeId">
@@ -230,10 +230,10 @@ export default {
230 230
     },
231 231
   },
232 232
   created () {
233
-    this.GetGoodTypes({ pagesize: 1000, caseid: this.Case })
234
-    this.GetGoodSpecs({ pagesize: 1000, caseid: this.Case })
235 233
     const { id } = this.$route.query
236 234
     if (id && id !== '') {
235
+      this.GetGoodTypes({ pagesize: 1000, caseid: this.Case })
236
+      this.GetGoodSpecs({ pagesize: 1000, caseid: this.Case })
237 237
       this.GetGoodsByID({ id: id })
238 238
     }
239 239
   }