From 19cb4dd866befb55f7714d69ba5068ca38adbd11 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Fri, 15 Mar 2019 09:08:18 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettlementApplication/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue index ea119788..3cd8fa9b 100644 --- a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue +++ b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue @@ -161,7 +161,7 @@ @@ -304,7 +304,7 @@ @@ -326,6 +326,7 @@ export default { name: '', // 发票结算申请 data() { return { + disabled: false, contractType: '采购合同', invoiceNum: '', total1: 0, @@ -547,6 +548,7 @@ export default { if (response.data[0].result === '1') { this.$message.success('提交成功') this.searchTable1() + this.tableData2 = [] } else { this.$message.error('提交失败') } }) } @@ -562,6 +564,7 @@ export default { this.invoiceNumber = row.发票号 this.supplierName = row.供应商名称 this.supplierValue = row.供应商流水号 + Number(row.是否提交申请) === 1 ? this.disabled = true : this.disabled = false searchTable2(row.发票结算申请单流水号).then(response => { this.tableData2 = response.data }) From ecb2095a7334bafdb5d5a3dc041a728ff93ace2d Mon Sep 17 00:00:00 2001 From: chenjianan Date: Fri, 15 Mar 2019 09:42:58 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=8F=91=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettlementApprove.js | 12 -- .../InvoiceSettlementApplication/index.vue | 35 ++--- .../InvoiceSettlementApprove/index.vue | 130 ++++-------------- 3 files changed, 44 insertions(+), 133 deletions(-) diff --git a/src/api/PurchasingCenter/InvoiceSettlementApprove.js b/src/api/PurchasingCenter/InvoiceSettlementApprove.js index 6c8898e1..15f3e5ac 100644 --- a/src/api/PurchasingCenter/InvoiceSettlementApprove.js +++ b/src/api/PurchasingCenter/InvoiceSettlementApprove.js @@ -25,18 +25,6 @@ export function searchTable2(num) { } }) } -// 入库单明细查询 -export function searchInboundCardDetail(data1) { - return request({ - url: '', - method: 'post', - data: { - type: '1', - name: '库存管理_采购入库单_入库单明细_查询数据', - param: '采购入库单流水号=' + data1 - } - }) -} // 执行审批 export function excuteApprove(...data) { return request({ diff --git a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue index 3cd8fa9b..0503011f 100644 --- a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue +++ b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue @@ -122,7 +122,7 @@

发票结算申请单明细

发票号: - 追加入库记录 + 追加入库记录 - + @@ -92,16 +97,6 @@ {{ scope.row.审批3时间 ? scope.row.审批3时间 : '—' }} - - - - - - + + diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue index f4c9bae2..c464d35e 100644 --- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue +++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue @@ -74,15 +74,7 @@ - +