调整项目-合同-运单-结算逻辑链

This commit is contained in:
2026-08-21 00:18:05 +08:00
parent fd5b1484e6
commit 5d1d15d3a5
10 changed files with 406 additions and 71 deletions
@@ -680,7 +680,12 @@ export default {
}
},
async loadContracts() {
const res = await getContractList(1, 999, { approvalStatus: 'approved' });
const contractCategory =
this.settlementType === 'payable' ? '承运商合同' : '客户合同';
const res = await getContractList(1, 999, {
approvalStatus: 'approved',
contractCategory,
});
const data = this.unwrapPage(res);
this.contractOptions = data.records || [];
},