diff --git a/src/mycomponents/scan/winComScanBalanceLocation.vue b/src/mycomponents/scan/winComScanBalanceLocation.vue index 807fddf8..8e80ff8f 100644 --- a/src/mycomponents/scan/winComScanBalanceLocation.vue +++ b/src/mycomponents/scan/winComScanBalanceLocation.vue @@ -238,9 +238,9 @@ getBasicItemByCode(itemCode).then(res => { if (res.data != null && res.data.list.length > 0) { var result = res.data.list[0]; - var status = result.status; + var status = result.available; var type = result.type; - if (status == "ENABLE") { + if (status == "TRUE") { if (checkDirectoryItemExist(this.itemTypesList, type)) { callBack() } else { diff --git a/src/mycomponents/scan/winScanItem.vue b/src/mycomponents/scan/winScanItem.vue index 39dd7d31..abda6b65 100644 --- a/src/mycomponents/scan/winScanItem.vue +++ b/src/mycomponents/scan/winScanItem.vue @@ -110,14 +110,14 @@ uni.hideLoading(); if (res.data != null && res.data.list.length > 0) { var result =res.data.list[0]; - var status =result.status; + var status =result.available; var type = result.type; var itemCode = result.code var itemName =result.name var uom = result.uom var std = result.uom result.package = scanResult.package - if(status=="ENABLE"){ + if(status=="TRUE"){ if(checkDirectoryItemExist(this.itemCodeTypeList,type)){ this.result =result; this.callBack() diff --git a/src/pages/count/job/countBlindDetail.vue b/src/pages/count/job/countBlindDetail.vue index 7894f617..61c1ca16 100644 --- a/src/pages/count/job/countBlindDetail.vue +++ b/src/pages/count/job/countBlindDetail.vue @@ -1,26 +1,28 @@