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 })