Browse Source

禁用按钮

huangyw 3 years ago
parent
commit
d6add68a30
2 changed files with 3 additions and 3 deletions
  1. BIN
      src/assets/purchase/set.png
  2. 3 3
      src/xt_pages/stock/warehouseManage/query.vue

BIN
src/assets/purchase/set.png View File


+ 3 - 3
src/xt_pages/stock/warehouseManage/query.vue View File

84
               </el-button>
84
               </el-button>
85
             </el-tooltip>
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
               <el-button
88
               <el-button
89
                 v-if="scope.row.StorehouseStatus == 0"
89
                 v-if="scope.row.StorehouseStatus == 0"
90
                 size="small"
90
                 size="small"
91
-                type="danger"
91
+                type="primary"
92
                 @click="toDisable(scope.row, scope.row.$index)"
92
                 @click="toDisable(scope.row, scope.row.$index)"
93
                 ><img
93
                 ><img
94
-                  src="../../../assets/purchase/ban.png"
94
+                  src="../../../assets/purchase/set.png"
95
                   alt=""
95
                   alt=""
96
                   style="width: 12px"
96
                   style="width: 12px"
97
                 />
97
                 />