From 64476a29ce9fb00590bc9222a76a6c5a622a5d11 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Thu, 2 Mar 2023 10:54:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=82=A3=E8=80=85=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E6=BA=AF=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- src/api/inventory/deviceMAOrder.js | 2 +- src/api/inventory/deviceReceiveOrder.js | 2 +- src/api/inventory/invSickTrace.js | 9 + .../{ => trace}/invUdiTraceOrder.vue | 10 +- .../inventory/trace/sickerUdiTraceOrder.vue | 421 ++++++++++++++++++ 6 files changed, 439 insertions(+), 9 deletions(-) create mode 100644 src/api/inventory/invSickTrace.js rename src/views/inventory/{ => trace}/invUdiTraceOrder.vue (98%) create mode 100644 src/views/inventory/trace/sickerUdiTraceOrder.vue diff --git a/.env.production b/.env.production index 5ee32c9b..75eb363f 100644 --- a/.env.production +++ b/.env.production @@ -4,8 +4,8 @@ VUE_APP_TITLE = UDI管理系统 # 生产环境配置 ENV = 'production' # VUE_APP_BASE_API = 'http://116.204.71.86:9150/UDI_WMS_MC/' -# VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_WMS_MC/' -VUE_APP_BASE_API = 'http://192.168.0.55:9150/UDI_WMS_MC/' +VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_WMS_MC/' +# VUE_APP_BASE_API = 'http://192.168.0.55:9150/UDI_WMS_MC/' # 应用访问路径 例如使用前缀 /admin/ VUE_APP_CONTEXT_PATH = '/UDI_WMS_NEW/' diff --git a/src/api/inventory/deviceMAOrder.js b/src/api/inventory/deviceMAOrder.js index 1f70683d..b5c72512 100644 --- a/src/api/inventory/deviceMAOrder.js +++ b/src/api/inventory/deviceMAOrder.js @@ -1,4 +1,4 @@ -import axios from "../../utils/request"; +import axios from "@/utils/request"; export function getDeviceMAOrderList(params) { return axios({ diff --git a/src/api/inventory/deviceReceiveOrder.js b/src/api/inventory/deviceReceiveOrder.js index 4d06aed4..3a9c1844 100644 --- a/src/api/inventory/deviceReceiveOrder.js +++ b/src/api/inventory/deviceReceiveOrder.js @@ -1,4 +1,4 @@ -import axios from "../../utils/request"; +import axios from "@/utils/request"; export function getDeviceReceiveOrderList(params) { return axios({ diff --git a/src/api/inventory/invSickTrace.js b/src/api/inventory/invSickTrace.js new file mode 100644 index 00000000..b8db0dcf --- /dev/null +++ b/src/api/inventory/invSickTrace.js @@ -0,0 +1,9 @@ +import axios from "@/utils/request"; + +export function filterSickTrace(query) { + return axios({ + url: "/spms/inv/sick/order/trace", + method: "get", + params: query + }); +} diff --git a/src/views/inventory/invUdiTraceOrder.vue b/src/views/inventory/trace/invUdiTraceOrder.vue similarity index 98% rename from src/views/inventory/invUdiTraceOrder.vue rename to src/views/inventory/trace/invUdiTraceOrder.vue index 90775c79..3119cc76 100644 --- a/src/views/inventory/invUdiTraceOrder.vue +++ b/src/views/inventory/trace/invUdiTraceOrder.vue @@ -199,15 +199,15 @@ import { updateExportStatus, uploadOrder, orderDetail, -} from "../../api/inout/order"; +} from "../../../api/inout/order"; import draggable from "vuedraggable"; import {saveAs} from "file-saver"; -import codeDetail from "../inout/IOFinishCode"; -import store from "../../store"; -import {getBussinessType} from "../../api/basic/bussinessType"; +import codeDetail from "../../inout/IOFinishCode"; +import store from "../../../store"; +import {getBussinessType} from "../../../api/basic/bussinessType"; import {filterOrderTrace} from "@/api/inventory/invCodeTrace"; import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"; -import A from "../../plugins/KeyScaner" +import A from "../../../plugins/KeyScaner" const formJson = { site_id: "", diff --git a/src/views/inventory/trace/sickerUdiTraceOrder.vue b/src/views/inventory/trace/sickerUdiTraceOrder.vue new file mode 100644 index 00000000..fd5ea8b6 --- /dev/null +++ b/src/views/inventory/trace/sickerUdiTraceOrder.vue @@ -0,0 +1,421 @@ + + + + + +