lilei 2 年之前
父節點
當前提交
7b34dbe492
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      public/version.json
  2. 1 1
      src/views/numsGoodsShelves/shelfSet/set.vue

+ 1 - 1
public/version.json

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

+ 1 - 1
src/views/numsGoodsShelves/shelfSet/set.vue

@@ -99,7 +99,7 @@
               size="small"
               size="small"
               type="link"
               type="link"
               :class="record.enableFlag==1?'button-error':'button-primary'"
               :class="record.enableFlag==1?'button-error':'button-primary'"
-              v-if="record.shelfProductApiEntity&&!(record.shelfProductApiEntity.qty)&&record.shelfProductApiEntity.productSn"
+              v-if="record.shelfProductApiEntity&&(!record.shelfProductApiEntity.qty||(record.enableFlag==0&&record.shelfProductApiEntity.qty))&&record.shelfProductApiEntity.productSn"
               @click="handleEnable(record)"
               @click="handleEnable(record)"
             >{{record.enableFlag==1?'禁用':'启用'}}</a-button>
             >{{record.enableFlag==1?'禁用':'启用'}}</a-button>
             <a-button
             <a-button