✨ 结算单用印类型、合同甲乙丙列表与项目调整材料
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -174,9 +174,6 @@
|
||||
<el-descriptions-item label="项目">{{
|
||||
detailValue('projectName')
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="甲方">{{ detailValue('partyA') }}</el-descriptions-item>
|
||||
<el-descriptions-item label="乙方">{{ detailValue('partyB') }}</el-descriptions-item>
|
||||
<el-descriptions-item label="丙方">{{ detailValue('partyC') || '-' }}</el-descriptions-item>
|
||||
<el-descriptions-item label="合同期限">{{ detailContractPeriod }}</el-descriptions-item>
|
||||
<el-descriptions-item label="合同负责部门">{{
|
||||
detailValue('organizationName')
|
||||
@@ -239,6 +236,29 @@
|
||||
</el-descriptions>
|
||||
</section>
|
||||
|
||||
<section
|
||||
v-for="party in detailPartySections"
|
||||
:key="`detail-${party.role}`"
|
||||
class="contract-manage-form__section contract-manage-form__section--panel"
|
||||
>
|
||||
<div class="dialog-section-title">{{ party.label }}</div>
|
||||
<el-table :data="party.rows" border empty-text="暂无数据">
|
||||
<el-table-column type="index" label="序号" width="70" align="center" />
|
||||
<el-table-column prop="customerName" label="客商名称" min-width="200" align="center">
|
||||
<template #default="{ row }">{{ row.customerName || '-' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="creditCode" label="统一信用代码" min-width="180" align="center">
|
||||
<template #default="{ row }">{{ row.creditCode || '-' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="contactName" label="联系人" min-width="160" align="center">
|
||||
<template #default="{ row }">{{ row.contactName || '-' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="contactPhone" label="联系电话" min-width="150" align="center">
|
||||
<template #default="{ row }">{{ row.contactPhone || '-' }}</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</section>
|
||||
|
||||
<hcs-contract-panel
|
||||
v-if="!isPublicViewPage"
|
||||
:contract="detailRow"
|
||||
@@ -1580,6 +1600,9 @@ export default {
|
||||
billCycleTypeOptions: ['固定截单日', '自然月', '自定义多周期'],
|
||||
detailLoading: false,
|
||||
detailRow: {},
|
||||
detailPartyARows: [],
|
||||
detailPartyBRows: [],
|
||||
detailPartyCRows: [],
|
||||
// 合规(HCS)推送/对账状态;受 thirdParty.hcs.push.immediate-enabled 控制显隐
|
||||
hcsRepushingId: null,
|
||||
hcsImmediateEnabled: false,
|
||||
@@ -1708,6 +1731,13 @@ export default {
|
||||
{ role: 'C', label: '丙方', rows: this.partyCRows },
|
||||
];
|
||||
},
|
||||
detailPartySections() {
|
||||
return [
|
||||
{ role: 'A', label: '甲方', rows: this.detailPartyARows },
|
||||
{ role: 'B', label: '乙方', rows: this.detailPartyBRows },
|
||||
{ role: 'C', label: '丙方', rows: this.detailPartyCRows },
|
||||
];
|
||||
},
|
||||
/**
|
||||
* 计费方案适用客商:
|
||||
* - 客户合同:仅甲方(仅 1 个甲方时编辑器自动选中)
|
||||
@@ -3482,6 +3512,9 @@ export default {
|
||||
invoiceCycle: normalizeOptionalInteger(detail.invoiceCycle),
|
||||
paymentDays: normalizeOptionalInteger(detail.paymentDays),
|
||||
};
|
||||
this.detailPartyARows = this.normalizePartyRows(detail.partyAJson, detail.partyA, true);
|
||||
this.detailPartyBRows = this.normalizePartyRows(detail.partyBJson, detail.partyB, true);
|
||||
this.detailPartyCRows = this.normalizePartyRows(detail.partyCJson, detail.partyC, false);
|
||||
this.detailContractFileRows = normalizeContractFileRows(parseArray(detail.contractFileJson));
|
||||
this.detailAttachmentRows = parseArray(detail.attachmentsJson);
|
||||
this.detailBillingPlanRows = parseArray(detail.billingPlanJson);
|
||||
|
||||
Reference in New Issue
Block a user