diff --git a/api/httpRequest3.js b/api/httpRequest3.js
index aeec1a3e..49135adb 100644
--- a/api/httpRequest3.js
+++ b/api/httpRequest3.js
@@ -27,15 +27,15 @@ function service(options = {}) {
if(res.data.code==0){
resolve(res.data);
}else {
- reject("系统:"+res.data.msg)
+ reject("系统异常:"+res.data.msg)
}
}else {
- reject("系统:"+ res.data.msg)
+ reject("系统异常:"+ res.data.msg)
}
} else {
- reject("系统:"+res.data.msg)
+ reject("系统异常:"+res.data.msg)
}
};
options.fail = (error) => {
@@ -47,7 +47,7 @@ function service(options = {}) {
} else if (message.includes('Request failed with status code')) {
message = '接口' + message.substr(message.length - 3) + '异常'
}
- reject("系统:"+message);
+ reject("系统异常:"+message);
};
uni.request(options);
});
diff --git a/mycomponents/recommend/recommend.vue b/mycomponents/recommend/recommend.vue
index 1999ba99..3923c217 100644
--- a/mycomponents/recommend/recommend.vue
+++ b/mycomponents/recommend/recommend.vue
@@ -13,7 +13,7 @@
+ :isShowStdPack="false" :isShowStatus="isShowStatus">
@@ -69,6 +69,10 @@
type: Boolean,
default: false
},
+ isShowStatus: {
+ type: Boolean,
+ default: true
+ },
locationTitle: {
type: String,
diff --git a/mycomponents/scan/winScanPackAndPosition.vue b/mycomponents/scan/winScanPackAndPosition.vue
index 8ee30ffa..b3dab933 100644
--- a/mycomponents/scan/winScanPackAndPosition.vue
+++ b/mycomponents/scan/winScanPackAndPosition.vue
@@ -1,6 +1,6 @@
-
+
-
+
+
@@ -42,7 +43,7 @@
import {
goHome,
} from '@/common/basic.js';
-
+
import {
getInventoryStatusDesc,
getDirectoryItemArray
@@ -243,11 +244,15 @@
},
closeScanPopup() {
- this.$refs.scanPopup.closeScanPopup();
+ if (this.$refs.scanPopup != undefined) {
+ this.$refs.scanPopup.closeScanPopup();
+ }
},
scanPopupGetFocus() {
- this.$refs.scanPopup.getfocus();
+ if (this.$refs.scanPopup != undefined) {
+ this.$refs.scanPopup.getfocus();
+ }
},
scanLocationCode(location, code) {
diff --git a/pages/pallet/record/bindPalletRecord.vue b/pages/pallet/record/bindPalletRecord.vue
index 6cfafc89..076051be 100644
--- a/pages/pallet/record/bindPalletRecord.vue
+++ b/pages/pallet/record/bindPalletRecord.vue
@@ -111,7 +111,7 @@
this.tolocationTypeList = res.tolocationTypeList;
this.showFromLocationPopup();
} else {
- this.$refs.comMessage.showBreakMessage(res.message);
+ this.showErrorMessage(res.message)
}
});
},
diff --git a/pages/pallet/record/unBindPalletRecord.vue b/pages/pallet/record/unBindPalletRecord.vue
index c40b08d9..d99d928a 100644
--- a/pages/pallet/record/unBindPalletRecord.vue
+++ b/pages/pallet/record/unBindPalletRecord.vue
@@ -49,7 +49,7 @@
import {
goHome
} from '@/common/basic.js';
-
+
import {
getDirectoryItemArray
} from '@/common/directory.js';
@@ -242,15 +242,19 @@
},
closeScanPopup() {
- this.$refs.scanPopup.closeScanPopup();
+ this.$refs.scanPopup.closeScanPopup();
},
scanPopupGetFocus() {
- this.$refs.scanPopup.getfocus();
+ if (this.$refs.scanPopup != undefined) {
+ this.$refs.scanPopup.getfocus();
+ }
},
scanPopupLoseFocus() {
- this.$refs.scanPopup.losefocus();
+ if (this.$refs.scanPopup != undefined) {
+ this.$refs.scanPopup.losefocus();
+ }
},
@@ -261,7 +265,7 @@
}
},
-
+
showMessage(message) {
setTimeout(r => {
this.scanPopupLoseFocus();
diff --git a/pages/productDismantle/record/productDismantleRecord.vue b/pages/productDismantle/record/productDismantleRecord.vue
index 462309cb..a7a66579 100644
--- a/pages/productDismantle/record/productDismantleRecord.vue
+++ b/pages/productDismantle/record/productDismantleRecord.vue
@@ -119,7 +119,7 @@
this.tolocationTypeList = res.tolocationTypeList;
this.showFromLocationPopup();
} else {
- this.$refs.comMessage.showBreakMessage(res.message);
+ this.showErrorMessage(res.message)
}
});
},
@@ -214,11 +214,15 @@
},
closeScanPopup() {
- this.$refs.scanPopup.closeScanPopup();
+ if (this.$refs.scanPopup != undefined) {
+ this.$refs.scanPopup.closeScanPopup();
+ }
},
scanPopupGetFocus() {
- this.$refs.scanPopup.getfocus();
+ if (this.$refs.scanPopup != undefined) {
+ this.$refs.scanPopup.getfocus();
+ }
},
scanLocationCode(location, code) {
diff --git a/pages/productPutaway/job/productPutawayDetail.vue b/pages/productPutaway/job/productPutawayDetail.vue
index 99c8ffd8..a148423a 100644
--- a/pages/productPutaway/job/productPutawayDetail.vue
+++ b/pages/productPutaway/job/productPutawayDetail.vue
@@ -39,7 +39,7 @@
-
+
diff --git a/pages/productPutaway/record/productPutawayRecord.vue b/pages/productPutaway/record/productPutawayRecord.vue
index f1dbbdca..1ffe223d 100644
--- a/pages/productPutaway/record/productPutawayRecord.vue
+++ b/pages/productPutaway/record/productPutawayRecord.vue
@@ -18,13 +18,13 @@
-
+