From e0ee28b253a61621fcc7ad0ff147abed95df82a6 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Thu, 13 Jul 2023 17:33:44 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8D=95=E6=8D=AE=E8=8D=89=E7=A8=BF=E4=BF=9D=E5=AD=98=EF=BC=8C?= =?UTF-8?q?=E5=86=8D=E6=AC=A1=E6=89=93=E5=BC=80=20=E5=BE=80=E6=9D=A5?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20=E6=98=BE=E7=A4=BA=E6=9C=89=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/DialogCreateOrder.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index 2e0c56cf..a931fd32 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -1466,12 +1466,13 @@ export default { if (this.$isNotBlank(this.orderFormData.checkPreInOrders)) { this.checkPreInArray = this.orderFormData.split(","); } + this.findMethod(this.orderFormData.fromCorp); this.curAction = {} this.refreshCodesPanel(); //加载选择框候选数据 this.findInvListByUser(); this.initBusType(); - this.findMethod(this.orderFormData.fromCorp); + // this.findMethod(this.orderFormData.fromCorp); this.findFromInvList(); } else { //新增页面 From 962073207ced4fd6397b4389cdc342ed76240183 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, 13 Jul 2023 17:48:40 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/invoiceOrder.js | 50 + src/api/inout/order.js | 9 + src/api/inout/orderDetailBiz.js | 23 + src/views/inout/DialogInvoiceOrder.vue | 741 ++++++++++ src/views/inout/InvoiceRegByFp.vue | 777 +++++++++++ src/views/inout/InvoiceRegByOrder.vue | 1199 ++++++++++++++++ src/views/inout/InvoiceRegCkeck.vue | 800 +++++++++++ src/views/inout/InvoiceRegistration.vue | 1219 +---------------- .../inout/InvoiceRegistrationDetermine.vue | 2 +- src/views/inout/InvoiceSelectRegByOrder.vue | 1069 +++++++++++++++ src/views/inventory/supInoutSearchOrder.vue | 6 +- 11 files changed, 4683 insertions(+), 1212 deletions(-) create mode 100644 src/api/inout/invoiceOrder.js create mode 100644 src/views/inout/DialogInvoiceOrder.vue create mode 100644 src/views/inout/InvoiceRegByFp.vue create mode 100644 src/views/inout/InvoiceRegByOrder.vue create mode 100644 src/views/inout/InvoiceRegCkeck.vue create mode 100644 src/views/inout/InvoiceSelectRegByOrder.vue diff --git a/src/api/inout/invoiceOrder.js b/src/api/inout/invoiceOrder.js new file mode 100644 index 00000000..b80a91c7 --- /dev/null +++ b/src/api/inout/invoiceOrder.js @@ -0,0 +1,50 @@ +import axios from "@/utils/request"; + +//获取发票列表 +export function groupInvoice(params) { + return axios({ + url: "/udiwms/inout/order/group/invoice", + method: "get", + params: params + }); +} + +//获取发票对应产品明细 +export function productDetail(params) { + return axios({ + url: "/udiwms/inout/invoice/product/detail", + method: "get", + params: params + }); +} + +//获取发票对应单据 +export function orderDetail(params) { + return axios({ + url: "/udiwms/inout/invoice/order/detail", + method: "get", + params: params + }); +} + + +export function deleteInvoice(data) { + return axios({ + url: "/udiwms/inout/invoice/delete", + method: "post", + data: data + }); +} + + +export function saveInvoice(query) { + return axios({ + url: "/udiwms/inout/invoice/saveInvoice", + method: "post", + data: query + }); +} + + + + diff --git a/src/api/inout/order.js b/src/api/inout/order.js index 903376ab..fe9f8131 100644 --- a/src/api/inout/order.js +++ b/src/api/inout/order.js @@ -156,6 +156,15 @@ export function filterOrderList(query) { }); } +export function filterInvoiceList(query) { + return axios({ + url: "/udiwms/inout/order/filterInvoiceList", + method: "get", + params: query + }); +} + + export function getUserBean(query) { return axios({ url: "/udiwms/inout/order/getUserBean", diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index 400e9548..f90a0a3a 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -90,6 +90,29 @@ export function getWaitAllocateList(params) { }); } +export function uploadInvoice(params) { + return axios({ + url: "/udiwms/inout/invoice/uploadInvoice", + method: "post", + data: params + }); +} + +export function deleteInvoiceByOrderFk(params) { + return axios({ + url: "/udiwms/inout/invoice/deleteInvoiceByOrderFk", + method: "post", + data: params + }); +} + +export function checkInvoiceCode(params) { + return axios({ + url: "/udiwms/inout/invoice/checkInvoiceCode", + method: "post", + data: params + }); +} export function updateOrder(params) { return axios({ diff --git a/src/views/inout/DialogInvoiceOrder.vue b/src/views/inout/DialogInvoiceOrder.vue new file mode 100644 index 00000000..e366a232 --- /dev/null +++ b/src/views/inout/DialogInvoiceOrder.vue @@ -0,0 +1,741 @@ + + + + + diff --git a/src/views/inout/InvoiceRegByFp.vue b/src/views/inout/InvoiceRegByFp.vue new file mode 100644 index 00000000..31ee6622 --- /dev/null +++ b/src/views/inout/InvoiceRegByFp.vue @@ -0,0 +1,777 @@ + + + + + diff --git a/src/views/inout/InvoiceRegByOrder.vue b/src/views/inout/InvoiceRegByOrder.vue new file mode 100644 index 00000000..7e22f44d --- /dev/null +++ b/src/views/inout/InvoiceRegByOrder.vue @@ -0,0 +1,1199 @@ + + + + + + diff --git a/src/views/inout/InvoiceRegCkeck.vue b/src/views/inout/InvoiceRegCkeck.vue new file mode 100644 index 00000000..c5a24cd5 --- /dev/null +++ b/src/views/inout/InvoiceRegCkeck.vue @@ -0,0 +1,800 @@ + + + + + diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue index dceff7c9..de572022 100644 --- a/src/views/inout/InvoiceRegistration.vue +++ b/src/views/inout/InvoiceRegistration.vue @@ -1,1215 +1,31 @@ + + + diff --git a/src/views/inventory/supInoutSearchOrder.vue b/src/views/inventory/supInoutSearchOrder.vue index 8133fcef..a7f311c3 100644 --- a/src/views/inventory/supInoutSearchOrder.vue +++ b/src/views/inventory/supInoutSearchOrder.vue @@ -108,9 +108,9 @@ - - + + + From bb320ae78c0b8271b93ad5b56f5abc756666367f Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Thu, 13 Jul 2023 18:03:27 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E7=99=BB=E8=AE=B0=20=E9=87=8D=E5=A4=8D=E5=8B=BE=E9=80=89?= =?UTF-8?q?=E7=89=A9=E8=B5=84=20=E5=86=8D=E6=AC=A1=E7=99=BB=E8=AE=B0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceCkeck.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index 447d3d75..2c429238 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -306,6 +306,7 @@ export default { }, data() { return { + check:false, idList: [], invoiceRow: [], statusCode: null, @@ -484,7 +485,7 @@ export default { components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer}, methods: { onSubmit() { - if (this.invoiceRow == null) { + if (!this.check) { this.$message.error("请选择要登记的物资! "); return false; } @@ -675,6 +676,7 @@ export default { this.getBizDetailList(row); }, handleSelectionUdiChange(val) { + this.check=!this.check this.invoiceRow = val; // this.$emit("upData",this.invoiceRow); },