From 43e7a6ffb36b0e4273b77f537931688c9db30790 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Mon, 4 Mar 2019 19:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E7=BB=93=E7=AE=97=E7=94=B3?= =?UTF-8?q?=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 26 +- .../InvoiceSettlementApplication.js | 111 +++ .../InvoiceSettlementApprove.js | 0 .../svg/InvoiceSettlementApplication.svg | 1 + .../InvoiceSettlementApplication/index.vue | 743 ++++++++++++++++++ .../InvoiceSettlementApprove/index.vue | 67 ++ 6 files changed, 923 insertions(+), 25 deletions(-) create mode 100644 src/api/PurchasingCenter/InvoiceSettlementApplication.js create mode 100644 src/api/PurchasingCenter/InvoiceSettlementApprove.js create mode 100644 src/icons/svg/InvoiceSettlementApplication.svg create mode 100644 src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue create mode 100644 src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue diff --git a/index.html b/index.html index c727e55c..32210826 100644 --- a/index.html +++ b/index.html @@ -8,31 +8,7 @@
- + diff --git a/src/api/PurchasingCenter/InvoiceSettlementApplication.js b/src/api/PurchasingCenter/InvoiceSettlementApplication.js new file mode 100644 index 00000000..97df2770 --- /dev/null +++ b/src/api/PurchasingCenter/InvoiceSettlementApplication.js @@ -0,0 +1,111 @@ +import request from '@/utils/request' + +// 根据条件查发票结算申请单 +export function searchTable1(...group) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_发票结算申请单_查询数据', + param: `发票号_check=${group[0]}&发票号=${group[1]}`, + Pagination: group[2] + '&' + group[3] + } + }) +} +// 编辑发票结算申请单 +export function submitEdit(...group) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_发票结算申请单_修改数据', + param: `发票号=${group[0]}&发票金额=${group[1]}&已付款项=${group[2]}&尚欠金额=${group[3]}&税额=${group[4]}&是否费用类=${group[5]}&备注=${group[6]}&发票结算申请单流水号=${group[7]}` + } + }) +} +// 删除发票结算申请单 +export function submitDelete(...group) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_发票结算申请单_删除数据', + param: `发票结算申请单流水号=${group[0]}` + } + }) +} +// 提交申请 发票结算申请单 +export function submitApply(...group) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_发票结算申请单_提交申请', + param: `发票结算申请单流水号=${group[0]}&申请人=${group[1]}` + } + }) +} +// 发票结算申请单明细列表 +export function searchTable2(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_发票结算申请单明细_查询数据', + param: `发票结算申请单流水号=${num}` + } + }) +} +// 入库单查询 +export function searchInboundCard(data1, data2) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_采购入库单_入库单查询', + param: '入库单号_check=' + data1 + '&入库单号=' + data2 + } + }) +} +// 入库单明细查询 +export function searchInboundCardDetail(data1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_采购入库单_入库单明细_查询数据', + param: '采购入库单流水号=' + data1 + } + }) +} +// 发票结算申请单明细增加 +export function addTable2(data, group) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_发票结算申请单明细_增加数据', + param: '发票结算申请单流水号=' + data + '&采购入库单流水号组=' + group + } + }) +} +// 发票结算申请单明细删除 +export function deleteTable2(group) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_发票结算申请单明细_删除数据', + param: '发票结算申请单明细流水号组=' + group + } + }) +} diff --git a/src/api/PurchasingCenter/InvoiceSettlementApprove.js b/src/api/PurchasingCenter/InvoiceSettlementApprove.js new file mode 100644 index 00000000..e69de29b diff --git a/src/icons/svg/InvoiceSettlementApplication.svg b/src/icons/svg/InvoiceSettlementApplication.svg new file mode 100644 index 00000000..6640f8dc --- /dev/null +++ b/src/icons/svg/InvoiceSettlementApplication.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue new file mode 100644 index 00000000..be937a36 --- /dev/null +++ b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue @@ -0,0 +1,743 @@ + + + + + diff --git a/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue new file mode 100644 index 00000000..d0ae0558 --- /dev/null +++ b/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue @@ -0,0 +1,67 @@ + + + + +