From bcc37509d4ae66657b4ab3e511327c20ce53e709 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 28 Mar 2023 17:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E7=A0=81=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/management/inscanerror.vue | 67 ++++++++++++++++++++++++------- pages/management/outscanerror.vue | 66 +++++++++++++++++++++++------- utils/getData2.js | 29 ++++++++----- 3 files changed, 124 insertions(+), 38 deletions(-) diff --git a/pages/management/inscanerror.vue b/pages/management/inscanerror.vue index c626a9b..eb5be31 100644 --- a/pages/management/inscanerror.vue +++ b/pages/management/inscanerror.vue @@ -4,11 +4,17 @@ - + + + + + + + @@ -55,7 +61,7 @@ + + diff --git a/pages/management/outscanerror.vue b/pages/management/outscanerror.vue index be8714a..1785b92 100644 --- a/pages/management/outscanerror.vue +++ b/pages/management/outscanerror.vue @@ -4,11 +4,17 @@ - + + + + + + + @@ -57,7 +63,7 @@ + + \ No newline at end of file diff --git a/utils/getData2.js b/utils/getData2.js index 9a122d1..30aa58a 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -9,18 +9,29 @@ export const handLogin = (user, password) => request({ } }) -/** 入箱扫码异常 */ -export const inOutExceptionInstQuery = (user, password) => request({ - url:'mobile/auth/login', +/** 扫码异常 */ +// 1.1缓存线下拉框 +export const getCacheLine = (area) => request({ + url:'api/cacheLineHand/getCacheLine', data: { - username: user, - password: password + product_area: area } }) -export const instOperation = (user, password) => request({ - url:'mobile/auth/login', +// 1.2指令查询 +export const inOutExceptionInstQuery = (type, wcode, vcode) => request({ + url:'api/cacheLineHand/inOutExceptionInstQuery', data: { - username: user, - password: password + form: { + inOut_type: type, + wcsdevice_code: wcode, + vehicle_code: vcode + } + } +}) +// 1.3确认 +export const inOutExceptionInstConfirm = (obj) => request({ + url:'api/cacheLineHand/inOutExceptionInstConfirm', + data: { + form: obj } }) \ No newline at end of file