diff --git a/src/views/PurchasingCenter/PurchaseContractApproval/index.vue b/src/views/PurchasingCenter/PurchaseContractApproval/index.vue index 6a913066..70be29f5 100644 --- a/src/views/PurchasingCenter/PurchaseContractApproval/index.vue +++ b/src/views/PurchasingCenter/PurchaseContractApproval/index.vue @@ -197,6 +197,7 @@ export default { }, methods: { fetchData() { + this.person = [] initBuyer().then(response => { for (let i = 0; i < response.data.length; i++) { this.person.push({ @@ -206,6 +207,7 @@ export default { }) } }) + this.contractNum = [] initContract().then(response => { for (let i = 0; i < response.data.length; i++) { this.contractNum.push({ @@ -244,7 +246,12 @@ export default { if (response.data[0].result === '1') { this.$message.success('审批成功') this.dialogVisible3 = false + this.fetchData() // 重新初始化 + this.contractNumValue = '' + this.personValue = '' + this.supplierName = '' this.searchTable1() + this.returns = '' } else { this.$message.error('审批失败') } }) } else {