lilei %!s(int64=2) %!d(string=hai) anos
pai
achega
84ebf5a0f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: '此产品已被禁用,不可添加!'