From ebd9a355270569c60b089e39ae08cb4cd7a4e218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Wed, 17 May 2023 16:16:21 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E8=AE=BE=E7=BD=AE=E5=8A=9F=E8=83=BD=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/basicUnitMaintain.js | 8 + src/api/inout/orderMuti.js | 71 +++++++ src/views/inout/muti/ioOrderMutiSet.vue | 164 ++++++++++++++++ src/views/inout/muti/ioOrderMutiSetDialog.vue | 176 ++++++++++++++++++ 4 files changed, 419 insertions(+) create mode 100644 src/api/inout/orderMuti.js create mode 100644 src/views/inout/muti/ioOrderMutiSet.vue create mode 100644 src/views/inout/muti/ioOrderMutiSetDialog.vue diff --git a/src/api/basic/basicUnitMaintain.js b/src/api/basic/basicUnitMaintain.js index 0355fc24..19a5d97d 100644 --- a/src/api/basic/basicUnitMaintain.js +++ b/src/api/basic/basicUnitMaintain.js @@ -104,6 +104,14 @@ export function getCorpList(query) { }); } +export function selectCorpList(query) { + return axios({ + url: "/udiwms/basic/unit/maintain/selectCorpList", + method: "post", + data: query + }); +} + diff --git a/src/api/inout/orderMuti.js b/src/api/inout/orderMuti.js new file mode 100644 index 00000000..77b9a8d8 --- /dev/null +++ b/src/api/inout/orderMuti.js @@ -0,0 +1,71 @@ +import axios from '@/utils/request' + +export function filterList(query) { + return axios({ + url: "/udiwms/inout/muti/filterList", + method: "get", + params: query + }); +} + +export function addMuti(query) { + return axios({ + url: "/udiwms/inout/muti/add", + method: "post", + data: query + }); +} + +export function updateMuti(query) { + return axios({ + url: "/udiwms/inout/muti/update", + method: "post", + data: query + }); +} + +export function detailMuti(query) { + return axios({ + url: "/udiwms/inout/muti/detail", + method: "post", + data: query + }); +} + + + +export function findByCode(query) { + return axios( + { + url: "/udiwms/basic/findByCode", + method: "get", + params: query + } + ); +} + +export function getCodeList(params) { + return axios({ + url: "/udiwms/inout/code/filterList", + method: "get", + params: params + }); +} + +export function findByOrderId(params) { + return axios({ + url: "/udiwms/inout/code/findByOrderId", + method: "get", + params: params + }); +} + +export function getCodeListForEdit(params){ + return axios({ + url: "/udiwms/inout/code/getCodeListForEdit", + method: "get", + params: params + }); +} + + diff --git a/src/views/inout/muti/ioOrderMutiSet.vue b/src/views/inout/muti/ioOrderMutiSet.vue new file mode 100644 index 00000000..78d2df6c --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiSet.vue @@ -0,0 +1,164 @@ + + + + + + + diff --git a/src/views/inout/muti/ioOrderMutiSetDialog.vue b/src/views/inout/muti/ioOrderMutiSetDialog.vue new file mode 100644 index 00000000..39620155 --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiSetDialog.vue @@ -0,0 +1,176 @@ + + + + + From 987a45c61c829924c3632e2c29fc9a1635700e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Thu, 18 May 2023 17:58:48 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/orderMuti.js | 104 +++++- src/views/inout/muti/ioOrderMuti.vue | 288 +++++++++++++++ src/views/inout/muti/ioOrderMutiAudit.vue | 13 + .../inout/muti/ioOrderMutiAuditDialog.vue | 13 + .../inout/muti/ioOrderMutiEditDialog.vue | 333 ++++++++++++++++++ .../muti/ioOrderMutiEditSelectDialog.vue | 123 +++++++ src/views/inout/muti/ioOrderMutiSelect.vue | 13 + src/views/inout/muti/ioOrderMutiSet.vue | 2 +- src/views/inout/muti/ioOrderMutiSetDialog.vue | 5 +- 9 files changed, 879 insertions(+), 15 deletions(-) create mode 100644 src/views/inout/muti/ioOrderMuti.vue create mode 100644 src/views/inout/muti/ioOrderMutiAudit.vue create mode 100644 src/views/inout/muti/ioOrderMutiAuditDialog.vue create mode 100644 src/views/inout/muti/ioOrderMutiEditDialog.vue create mode 100644 src/views/inout/muti/ioOrderMutiEditSelectDialog.vue create mode 100644 src/views/inout/muti/ioOrderMutiSelect.vue diff --git a/src/api/inout/orderMuti.js b/src/api/inout/orderMuti.js index 77b9a8d8..60e4f600 100644 --- a/src/api/inout/orderMuti.js +++ b/src/api/inout/orderMuti.js @@ -34,12 +34,33 @@ export function detailMuti(query) { -export function findByCode(query) { +export function addOrderMuti(query) { return axios( { - url: "/udiwms/basic/findByCode", - method: "get", - params: query + url: "/udiwms/inout/order/muti/addOrderMuti", + method: "post", + data: query + } + ); +} + +export function updateOrderMuti(query) { + return axios( + { + url: "/udiwms/inout/order/muti/updateOrderMuti", + method: "post", + data: query + } + ); +} + + +export function filterMutiDetailList(query) { + return axios( + { + url: "/udiwms/inout/order/muti/filterMutiDetailList", + method: "post", + data: query } ); } @@ -52,20 +73,83 @@ export function getCodeList(params) { }); } -export function findByOrderId(params) { +export function checkUdi(params) { return axios({ - url: "/udiwms/inout/code/findByOrderId", - method: "get", - params: params + url: "/udiwms/inout/order/muti/checkUdi", + method: "post", + data: params }); } -export function getCodeListForEdit(params){ +export function filterMutiList(params){ return axios({ - url: "/udiwms/inout/code/getCodeListForEdit", + url: "/udiwms/inout/order/muti/filterMutiList", method: "get", params: params }); } +export function selectMutiList(query) { + return axios( + { + url: "/udiwms/inout/order/muti/selectMutiList", + method: "post", + data: query + } + ); +} + +export function addMutiDetail(query) { + return axios( + { + url: "/udiwms/inout/order/muti/addMutiDetail", + method: "post", + data: query + } + ); +} + +export function selectMutiDetailList(query) { + return axios( + { + url: "/udiwms/inout/order/muti/selectMutiDetailList", + method: "post", + data: query + } + ); +} + +export function delectMutiDelect(query) { + return axios( + { + url: "/udiwms/inout/order/muti/delectMutiDelect", + method: "post", + data: query + } + ); +} + +export function getMark(query) { + return axios( + { + url: "/udiwms/inout/order/muti/getMark", + method: "get", + params: query + } + ); +} + +export function delectMuti(query) { + return axios( + { + url: "/udiwms/inout/order/muti/delectMuti", + method: "post", + data: query + } + ); +} + + + + diff --git a/src/views/inout/muti/ioOrderMuti.vue b/src/views/inout/muti/ioOrderMuti.vue new file mode 100644 index 00000000..dea9350d --- /dev/null +++ b/src/views/inout/muti/ioOrderMuti.vue @@ -0,0 +1,288 @@ + + + + + + + diff --git a/src/views/inout/muti/ioOrderMutiAudit.vue b/src/views/inout/muti/ioOrderMutiAudit.vue new file mode 100644 index 00000000..62030410 --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiAudit.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/inout/muti/ioOrderMutiAuditDialog.vue b/src/views/inout/muti/ioOrderMutiAuditDialog.vue new file mode 100644 index 00000000..9049da55 --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiAuditDialog.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/inout/muti/ioOrderMutiEditDialog.vue b/src/views/inout/muti/ioOrderMutiEditDialog.vue new file mode 100644 index 00000000..e492e5fe --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiEditDialog.vue @@ -0,0 +1,333 @@ + + + + + diff --git a/src/views/inout/muti/ioOrderMutiEditSelectDialog.vue b/src/views/inout/muti/ioOrderMutiEditSelectDialog.vue new file mode 100644 index 00000000..25cc82e0 --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiEditSelectDialog.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/src/views/inout/muti/ioOrderMutiSelect.vue b/src/views/inout/muti/ioOrderMutiSelect.vue new file mode 100644 index 00000000..92be5e51 --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiSelect.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/inout/muti/ioOrderMutiSet.vue b/src/views/inout/muti/ioOrderMutiSet.vue index 78d2df6c..afd57f3c 100644 --- a/src/views/inout/muti/ioOrderMutiSet.vue +++ b/src/views/inout/muti/ioOrderMutiSet.vue @@ -8,7 +8,7 @@ 查询 - 新增 + 新增 diff --git a/src/views/inout/muti/ioOrderMutiSetDialog.vue b/src/views/inout/muti/ioOrderMutiSetDialog.vue index 39620155..27990ba4 100644 --- a/src/views/inout/muti/ioOrderMutiSetDialog.vue +++ b/src/views/inout/muti/ioOrderMutiSetDialog.vue @@ -24,7 +24,7 @@ - + { }); }, - lokk(){ - console.log(this.inputQuery) - }, findFromInvList(val) { let cQuery = { corpType: 4, From 9735c0fcc2714bce87f74d78a443881cccee8006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Fri, 19 May 2023 17:45:16 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/orderMuti.js | 11 + src/views/inout/muti/ioOrderMuti.vue | 9 + src/views/inout/muti/ioOrderMutiAudit.vue | 259 ++++++++++++++++- .../inout/muti/ioOrderMutiAuditDialog.vue | 203 ++++++++++++- .../inout/muti/ioOrderMutiEditDialog.vue | 10 +- src/views/inout/muti/ioOrderMutiSelect.vue | 271 +++++++++++++++++- .../inout/muti/ioOrderMutiSelectDialog.vue | 210 ++++++++++++++ src/views/inout/muti/ioOrderMutiSet.vue | 9 + src/views/inout/muti/ioOrderMutiSetDialog.vue | 17 +- 9 files changed, 990 insertions(+), 9 deletions(-) create mode 100644 src/views/inout/muti/ioOrderMutiSelectDialog.vue diff --git a/src/api/inout/orderMuti.js b/src/api/inout/orderMuti.js index 60e4f600..888f4d7d 100644 --- a/src/api/inout/orderMuti.js +++ b/src/api/inout/orderMuti.js @@ -149,6 +149,17 @@ export function delectMuti(query) { ); } +export function auditMuti(query) { + return axios( + { + url: "/udiwms/inout/order/muti/auditMuti", + method: "post", + data: query + } + ); +} + + diff --git a/src/views/inout/muti/ioOrderMuti.vue b/src/views/inout/muti/ioOrderMuti.vue index dea9350d..f211a4fe 100644 --- a/src/views/inout/muti/ioOrderMuti.vue +++ b/src/views/inout/muti/ioOrderMuti.vue @@ -144,6 +144,7 @@ export default { mark: null, totalCount:null, useCount:null, + status:0, page: 1, limit: 10, }, @@ -205,6 +206,7 @@ export default { orderIdFk: null, relIdFk: null, mark: null, + status:0, page: 1, limit: 10, } @@ -241,6 +243,13 @@ export default { this.orderMutiVisible = true; }, getList() { + if (this.actDateRange != null) { + this.filterQuery.startDate = this.actDateRange[0]; + this.filterQuery.endDate = this.actDateRange[1]; + } else { + this.filterQuery.startDate = null; + this.filterQuery.endDate = null; + } this.loading = true; selectMutiList(this.filterQuery) .then((response) => { diff --git a/src/views/inout/muti/ioOrderMutiAudit.vue b/src/views/inout/muti/ioOrderMutiAudit.vue index 62030410..6452cbfb 100644 --- a/src/views/inout/muti/ioOrderMutiAudit.vue +++ b/src/views/inout/muti/ioOrderMutiAudit.vue @@ -1,10 +1,267 @@ + + diff --git a/src/views/inout/muti/ioOrderMutiAuditDialog.vue b/src/views/inout/muti/ioOrderMutiAuditDialog.vue index 9049da55..9dae2d6e 100644 --- a/src/views/inout/muti/ioOrderMutiAuditDialog.vue +++ b/src/views/inout/muti/ioOrderMutiAuditDialog.vue @@ -1,10 +1,211 @@ diff --git a/src/views/inout/muti/ioOrderMutiEditDialog.vue b/src/views/inout/muti/ioOrderMutiEditDialog.vue index e492e5fe..3868d19c 100644 --- a/src/views/inout/muti/ioOrderMutiEditDialog.vue +++ b/src/views/inout/muti/ioOrderMutiEditDialog.vue @@ -9,11 +9,11 @@ - + - 添加 + 添加 @@ -316,14 +316,14 @@ export default { }, components: {ioOrderMutiEditSelectDialog}, created() { - debugger - this.inputQuery = this.filterQuery - this.pId=this.inputQuery.id if(this.formName==2){ + this.inputQuery = this.filterQuery + this.pId=this.inputQuery.id this.selectMutiDetailList() }else{ this.getMark(); } + }, } diff --git a/src/views/inout/muti/ioOrderMutiSelect.vue b/src/views/inout/muti/ioOrderMutiSelect.vue index 92be5e51..e61113c3 100644 --- a/src/views/inout/muti/ioOrderMutiSelect.vue +++ b/src/views/inout/muti/ioOrderMutiSelect.vue @@ -1,10 +1,279 @@ + + diff --git a/src/views/inout/muti/ioOrderMutiSelectDialog.vue b/src/views/inout/muti/ioOrderMutiSelectDialog.vue new file mode 100644 index 00000000..2d0b9c08 --- /dev/null +++ b/src/views/inout/muti/ioOrderMutiSelectDialog.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/src/views/inout/muti/ioOrderMutiSet.vue b/src/views/inout/muti/ioOrderMutiSet.vue index afd57f3c..f1ce1155 100644 --- a/src/views/inout/muti/ioOrderMutiSet.vue +++ b/src/views/inout/muti/ioOrderMutiSet.vue @@ -17,6 +17,11 @@ + + +