From e1d2d66033f98ebeac7e4724fdead10d75261dc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B3=BD=E8=85=BE?= <1178634255@qq.com>
Date: Tue, 18 Jul 2023 15:44:01 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BE=80=E6=9D=A5=E5=8D=95?=
=?UTF-8?q?=E4=BD=8D=E6=90=9C=E7=B4=A2=E4=BB=A3=E7=A0=81=E5=A4=87=E4=BB=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/basic/basicUnitMaintain.js | 8 +++++
src/views/inout/IoCreateScanOrder.vue | 49 +++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/src/api/basic/basicUnitMaintain.js b/src/api/basic/basicUnitMaintain.js
index c2c04052..f47bee75 100644
--- a/src/api/basic/basicUnitMaintain.js
+++ b/src/api/basic/basicUnitMaintain.js
@@ -7,6 +7,14 @@ export function getBasicUnitMaintains(query) {
params: query
});
}
+
+export function getCorrespondence(query) {
+ return axios({
+ url: "/udiwms/basic/unit/maintain/filter2",
+ method: "get",
+ params: query
+ });
+}
export function getCorpFilter(query) {
return axios({
url: "/sale/info/company/product/corp/filter",
diff --git a/src/views/inout/IoCreateScanOrder.vue b/src/views/inout/IoCreateScanOrder.vue
index 3af121df..9e1042f7 100644
--- a/src/views/inout/IoCreateScanOrder.vue
+++ b/src/views/inout/IoCreateScanOrder.vue
@@ -70,6 +70,34 @@
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
{
+ this.loading = false;
+ this.fromOptions = response.data.list || [];
+ })
+ .catch(() => {
+ this.loading = false;
+ this.fromOptions = [];
+ });
+ },
statusFilterType(status) {
const statusMap = {
2: "warning",