调整预结算、正式结算
This commit is contained in:
@@ -907,7 +907,8 @@ export default {
|
||||
async loadContracts(projectId, selectFirst = true) {
|
||||
const response = await api.getProjectContracts(projectId);
|
||||
this.contracts = this.responseRecords(response).filter(
|
||||
item => String(item.projectId) === String(projectId)
|
||||
item =>
|
||||
String(item.projectId) === String(projectId) && item.contractCategory === '客户合同'
|
||||
);
|
||||
if (selectFirst) {
|
||||
const first = this.contracts[0];
|
||||
|
||||
Reference in New Issue
Block a user