|
|
|
@ -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() {
|
|
|
|
|