lilei 2 år sedan
förälder
incheckning
2f26a53bb6
2 ändrade filer med 12 tillägg och 1 borttagningar
  1. 1 1
      public/version.json
  2. 11 0
      src/views/numsGoodsShelves/shelfSet/set.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1682066718051
+  "version": 1682211661350
 }

+ 11 - 0
src/views/numsGoodsShelves/shelfSet/set.vue

@@ -94,6 +94,13 @@
           bordered>
           <!-- 操作 -->
           <template slot="action" slot-scope="text, record">
+            <a-button
+              size="small"
+              type="link"
+              class="button-error"
+              v-if="!(record.shelfProductApiEntity&&record.shelfProductApiEntity.qty)"
+              @click="handleEnable(record)"
+            >禁用</a-button>
             <a-button
               size="small"
               type="link"
@@ -233,6 +240,10 @@ export default {
         this.modalType = 'add'
         this.openHwModal = true
       }
+    },
+    // 禁用启用
+    handleEnable(row){
+
     },
     // 编辑货位
     editHW (row) {