lilei 2 năm trước cách đây
mục cha
commit
7b34dbe492
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1682317720524
+  "version": 1682320275862
 }

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

@@ -99,7 +99,7 @@
               size="small"
               type="link"
               :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)"
             >{{record.enableFlag==1?'禁用':'启用'}}</a-button>
             <a-button