master
lynn 7 months ago
parent 71e2067aa3
commit aa2fad8692

@ -1659,7 +1659,7 @@
} }
}).catch(error => {}); }).catch(error => {});
this.getPurchaseType(); this.getPurchaseType();
this.getContracts(); // this.getContracts();
this.getDepartment(); this.getDepartment();
this.getPurchaseWay(); this.getPurchaseWay();
this.getMoneyWay(); this.getMoneyWay();
@ -1669,11 +1669,13 @@
if (this.categoryOptions && this.categoryOptions.length > 0) { if (this.categoryOptions && this.categoryOptions.length > 0) {
this.select.contract_category = this.categoryOptions[0].id; this.select.contract_category = this.categoryOptions[0].id;
this.handleCategoryChange(); this.handleCategoryChange();
this.getContracts();
} }
}); });
// //
window.onfocus = () => { window.onfocus = () => {
this.getContracts(); // this.getContracts();
}; };
}, },
destroyed() { destroyed() {

Loading…
Cancel
Save