diff --git a/src/views/contract/seeContract.vue b/src/views/contract/seeContract.vue index 063b347..97b5520 100644 --- a/src/views/contract/seeContract.vue +++ b/src/views/contract/seeContract.vue @@ -1659,7 +1659,7 @@ } }).catch(error => {}); this.getPurchaseType(); - this.getContracts(); + // this.getContracts(); this.getDepartment(); this.getPurchaseWay(); this.getMoneyWay(); @@ -1669,11 +1669,13 @@ if (this.categoryOptions && this.categoryOptions.length > 0) { this.select.contract_category = this.categoryOptions[0].id; this.handleCategoryChange(); + + this.getContracts(); } }); //页面激活后刷新合同列表 window.onfocus = () => { - this.getContracts(); + // this.getContracts(); }; }, destroyed() {