From 05660fd8bfa099f2fd75d603b5d679502923887d Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 5 Jul 2023 22:19:34 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8C=89=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E7=99=BB=E8=AE=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/invoiceOrder.js | 41 + src/api/inout/orderDetailBiz.js | 4 + src/views/basic/product/productUdiType.vue | 1 - src/views/inout/DialogInvoiceOrder.vue | 741 ++++++++++++ src/views/inout/InvoiceRegByFp.vue | 719 ++++++++++++ src/views/inout/InvoiceRegByOrder.vue | 1192 ++++++++++++++++++++ src/views/inout/InvoiceRegister.vue | 3 - src/views/inout/InvoiceRegistration.vue | 1187 +------------------ 8 files changed, 2708 insertions(+), 1180 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 diff --git a/src/api/inout/invoiceOrder.js b/src/api/inout/invoiceOrder.js new file mode 100644 index 0000000..db9b006 --- /dev/null +++ b/src/api/inout/invoiceOrder.js @@ -0,0 +1,41 @@ +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 + }); +} + + + + diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index bf93635..c4d7144 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -113,3 +113,7 @@ export function parseInvoice(params) { + + + + diff --git a/src/views/basic/product/productUdiType.vue b/src/views/basic/product/productUdiType.vue index 76df4f0..f27d932 100644 --- a/src/views/basic/product/productUdiType.vue +++ b/src/views/basic/product/productUdiType.vue @@ -219,7 +219,6 @@ export default { }); }, handleSubForm(data, formName) { //新增,编辑 - debugger this.formName = formName; if (formName === "edit") { this.subData = JSON.parse(JSON.stringify(data)); diff --git a/src/views/inout/DialogInvoiceOrder.vue b/src/views/inout/DialogInvoiceOrder.vue new file mode 100644 index 0000000..d2c29dc --- /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 0000000..33b5de6 --- /dev/null +++ b/src/views/inout/InvoiceRegByFp.vue @@ -0,0 +1,719 @@ + + + + + diff --git a/src/views/inout/InvoiceRegByOrder.vue b/src/views/inout/InvoiceRegByOrder.vue new file mode 100644 index 0000000..4e90289 --- /dev/null +++ b/src/views/inout/InvoiceRegByOrder.vue @@ -0,0 +1,1192 @@ + + + + + + diff --git a/src/views/inout/InvoiceRegister.vue b/src/views/inout/InvoiceRegister.vue index cf2a6f1..9a1acdb 100644 --- a/src/views/inout/InvoiceRegister.vue +++ b/src/views/inout/InvoiceRegister.vue @@ -1,8 +1,5 @@