From 7606cab67e02c47eacdc172cb4286ea20261645d Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 19 Nov 2024 18:07:40 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E7=BC=96=E7=A0=81=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/picking/outbound/code-outbound.vue | 409 ++++++++++--------- src/pages/picking/outbound/details.vue | 4 +- src/services/picking/outbound.js | 10 + src/utils/http.js | 2 +- 4 files changed, 239 insertions(+), 186 deletions(-) diff --git a/src/pages/picking/outbound/code-outbound.vue b/src/pages/picking/outbound/code-outbound.vue index 8c6f68b..19a80c6 100644 --- a/src/pages/picking/outbound/code-outbound.vue +++ b/src/pages/picking/outbound/code-outbound.vue @@ -1,177 +1,241 @@ diff --git a/src/pages/picking/outbound/details.vue b/src/pages/picking/outbound/details.vue index 4cea7fe..3d4bcbd 100644 --- a/src/pages/picking/outbound/details.vue +++ b/src/pages/picking/outbound/details.vue @@ -8,7 +8,7 @@ - + 查询 @@ -168,7 +168,7 @@ const onCodingItem = (item) => { if (manageType === 0) { codingUrl = '/pages/picking/outbound/code-outbound' // 编码出库 } - if (manageType === 1) { + if (manageType == 1) { codingUrl = '/pages/picking/outbound/num-outbound' // 数量出库 } diff --git a/src/services/picking/outbound.js b/src/services/picking/outbound.js index 546fc58..24682dd 100644 --- a/src/services/picking/outbound.js +++ b/src/services/picking/outbound.js @@ -29,3 +29,13 @@ export const setOutboundNumAPI = (data) => { data, }) } +/** + * 领料出库 ---- 编码出库 ---- 获取编码设备列表 + */ +export const getCodeDeviceListAPI = (data) => { + return http({ + method: 'GET', + url: '/material/ma_machine/list', + data, + }) +} diff --git a/src/utils/http.js b/src/utils/http.js index 794e46f..fa31ac1 100644 --- a/src/utils/http.js +++ b/src/utils/http.js @@ -6,7 +6,7 @@ import { useMemberStore } from '@/stores' * baseURL 设置请求ip地址和端口 */ const ENV = process.env.NODE_ENV -const baseURL = ENV === 'development' ? '/api' : '***' +const baseURL = ENV === 'development' ? 'http://192.168.2.76:18080' : '***' /** * httpInterceptor 分别拦截 request 和 uploadFile 请求 From dad0c6708d01edb89b4aa975a6c04a741313458d Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Wed, 20 Nov 2024 10:18:19 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 2 +- src/pages/login/index.vue | 3 ++- src/services/index.js | 1 + src/utils/http.js | 9 +++++++-- vite.config.js | 3 ++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 9c80382..0c2e437 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,7 +2,7 @@ "version" : "1.0", "configurations" : [ { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" }, { diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index fc535a0..b8c4ffe 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -20,9 +20,10 @@