diff --git a/pages/management/inscanerror.vue b/pages/management/inscanerror.vue
index 01af448..20529e4 100644
--- a/pages/management/inscanerror.vue
+++ b/pages/management/inscanerror.vue
@@ -30,12 +30,12 @@
-
-
+
+
-
+
@@ -112,20 +112,20 @@
let res = await getCacheLine(id)
this.options2 = [...res]
},
- async _inOutExceptionInstQuery () {
- let res = await inOutExceptionInstQuery(this.index2)
- this.dataList = [...res]
- },
+ // async _inOutExceptionInstQuery () {
+ // let res = await inOutExceptionInstQuery(this.index2)
+ // this.dataList = [...res]
+ // },
async toSure () {
this.disabled = true
- if (!this.pkId) {
- uni.showToast({
- title: '请选择',
- icon: 'none'
- })
- this.disabled = false
- return
- }
+ // if (!this.pkId) {
+ // uni.showToast({
+ // title: '请选择',
+ // icon: 'none'
+ // })
+ // this.disabled = false
+ // return
+ // }
if (!this.index2) {
uni.showToast({
title: '请选择缓存线',
@@ -151,9 +151,8 @@
return
}
try {
- let res = await inOutExceptionInstConfirm(this.index2, this.val1, this.pkId, this.index3)
+ let res = await inOutExceptionInstConfirm(this.index2, this.val1, this.index3)
this.disabled = false
- this.toSearch()
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/utils/getData2.js b/utils/getData2.js
index cd32ab7..91c3e4c 100644
--- a/utils/getData2.js
+++ b/utils/getData2.js
@@ -67,12 +67,11 @@ export const inOutExceptionInstQuery = (wcode) => request({
}
})
// 1.3确认
-export const inOutExceptionInstConfirm = (wcode, vcode, pcode, type) => request({
+export const inOutExceptionInstConfirm = (wcode, vcode, type) => request({
url:'api/cacheLineHand/inOutExceptionInstConfirm',
data: {
wcsdevice_code: wcode,
vehicle_code: vcode,
- position_code: pcode,
type: type
}
})
diff --git a/utils/request.js b/utils/request.js
index 81fe058..3e37a71 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -65,9 +65,9 @@ const request = (params) => {
showCancel: false
})
store.dispatch('delUserInfo')
- uni.redirectTo({
- url: '/pages/login/login'
- })
+ // uni.redirectTo({
+ // url: '/pages/login/login'
+ // })
} else if (res[1] && res[1].statusCode === 200) {
let {
data: dataType