lilei il y a 2 ans
Parent
commit
84ebf5a0f5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: '此产品已被禁用,不可添加!'