From c79dbcda45bab336de94b6c7e13993f26b14b1f6 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Wed, 6 Mar 2024 17:33:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=A3=E7=A0=81=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/ioDepartmentOrder.js | 17 +++ src/components/inout/baziPanel.vue | 63 +++++++++ src/views/inout/DialogCreateOrder.vue | 9 ++ src/views/inout/IoDepartmentOrder.vue | 188 ++++++++++++++++++++++++++ 4 files changed, 277 insertions(+) create mode 100644 src/api/inout/ioDepartmentOrder.js create mode 100644 src/components/inout/baziPanel.vue create mode 100644 src/views/inout/IoDepartmentOrder.vue diff --git a/src/api/inout/ioDepartmentOrder.js b/src/api/inout/ioDepartmentOrder.js new file mode 100644 index 00000000..ad256252 --- /dev/null +++ b/src/api/inout/ioDepartmentOrder.js @@ -0,0 +1,17 @@ +import axios from '@/utils/request' + +export function getSkSickerList(data) { + return axios({ + url: "/udiwms/inout/ioDepartmentOrder/getSkSickerList", + method: "post", + data: data + }); +} + +export function getOrderListbyCode(data) { + return axios({ + url: "/udiwms/inout/ioDepartmentOrder/getOrderListbyCode", + method: "get", + data: data + }); +} diff --git a/src/components/inout/baziPanel.vue b/src/components/inout/baziPanel.vue new file mode 100644 index 00000000..86bc1371 --- /dev/null +++ b/src/components/inout/baziPanel.vue @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + 处理单据 + + + + + + + + + diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index d9739d26..c0c53119 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -675,6 +675,10 @@ export default { type: Object, required: true, }, + sickerAdNum: { + type: Object, + required: true, + }, viewType: { //1、新增业务单据页面,2.新增扫码单据页面,3、正常单据处理页面,4.待配货页面,5:有三期验收,6:无三期验收;7.待校验页面 type: Object, @@ -1794,6 +1798,7 @@ export default { this.viewBizVisible = true; } this.orderFormData.orderType = this.viewType; + this.orderFormData.sickerAdNum = this.sickerAdNum; this.getConfig(); if (this.$isNotBlank(this.orderQuery.billNo)) { //编辑页面 @@ -1826,6 +1831,10 @@ export default { this.orderFormData.deptCode = this.$store.getters.deptCode; this.orderFormData.invCode = this.$store.getters.locInvCode; this.findInvListByUser(); + if (this.orderFormData.sickerAdNum != null){ + this.findSickMethod(this.orderFormData.sickerAdNum) + this.orderFormData.fromCorp = sickerAdNum + } } }, diff --git a/src/views/inout/IoDepartmentOrder.vue b/src/views/inout/IoDepartmentOrder.vue new file mode 100644 index 00000000..9ae96e16 --- /dev/null +++ b/src/views/inout/IoDepartmentOrder.vue @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + 显示/隐藏搜索栏 + 重置 + + 查询 + + + + + + + + + + + + + + + + + + + + + + + +