Ver código fonte

禁用按钮

huangyw 3 anos atrás
pai
commit
d6add68a30

BIN
src/assets/purchase/set.png Ver arquivo


+ 3 - 3
src/xt_pages/stock/warehouseManage/query.vue Ver arquivo

@@ -84,14 +84,14 @@
84 84
               </el-button>
85 85
             </el-tooltip>
86 86
 
87
-            <el-tooltip class="item" :content="scope.row.StorehouseStatus == 0?'禁用':'启用'" placement="top-start">
87
+            <el-tooltip class="item" :content="scope.row.StorehouseStatus == 1?'禁用':'启用'" placement="top-start">
88 88
               <el-button
89 89
                 v-if="scope.row.StorehouseStatus == 0"
90 90
                 size="small"
91
-                type="danger"
91
+                type="primary"
92 92
                 @click="toDisable(scope.row, scope.row.$index)"
93 93
                 ><img
94
-                  src="../../../assets/purchase/ban.png"
94
+                  src="../../../assets/purchase/set.png"
95 95
                   alt=""
96 96
                   style="width: 12px"
97 97
                 />