瀏覽代碼

禁用按钮

huangyw 3 年之前
父節點
當前提交
d6add68a30
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 二進制
      src/assets/purchase/set.png
  2. 3 3
      src/xt_pages/stock/warehouseManage/query.vue

二進制
src/assets/purchase/set.png 查看文件


+ 3 - 3
src/xt_pages/stock/warehouseManage/query.vue 查看文件

@@ -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
                 />