lilei 2 年 前
コミット
84ebf5a0f5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      pages/batchShelves/scanProduct.vue

+ 1 - 1
pages/batchShelves/scanProduct.vue

@@ -193,7 +193,7 @@
 					shelfCartSn: item?item.shelfCartSn:undefined
 				}
 				console.log(params)
-				if(item.shelfProductApi&&item.shelfProductApi.enableFlag==0){
+				if(this.isDisable){
 					uni.showToast({
 						icon:'none',
 						title: '此产品已被禁用,不可添加!'