fix: 功能优化完善。
This commit is contained in:
@@ -164,10 +164,6 @@
|
||||
:key="groupIndex"
|
||||
style="padding: 6px 8px; margin-bottom: 4px; background: #f5f7fa; border-radius: 4px"
|
||||
>
|
||||
<!-- 还款账户信息(同一账户只显示一次) -->
|
||||
<div v-if="group.repaymentAccountName" style="margin-bottom: 4px; color: #409eff; font-weight: 500">
|
||||
还款账户:{{ group.repaymentAccountName }}(余额:{{ group.repaymentAccountBalance }}元)
|
||||
</div>
|
||||
<!-- 该账户下的所有明细 -->
|
||||
<div
|
||||
v-for="(item, itemIndex) in group.items"
|
||||
@@ -177,7 +173,7 @@
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
padding: '4px 0',
|
||||
borderTop: itemIndex > 0 ? '1px dashed #dcdfe6' : 'none'
|
||||
borderBottom: itemIndex < group.items.length - 1 ? '1px dashed #dcdfe6' : 'none'
|
||||
}"
|
||||
>
|
||||
<span style="flex: 1"
|
||||
@@ -185,6 +181,13 @@
|
||||
>
|
||||
<el-button size="small" type="primary" icon="Coin" @click="handleRepayment(item)">还款</el-button>
|
||||
</div>
|
||||
<!-- 还款账户信息(同一账户只显示一次,放在明细后面) -->
|
||||
<div
|
||||
v-if="group.repaymentAccountName"
|
||||
style="margin-top: 4px; padding-top: 4px; color: #409eff; font-weight: 500; border-top: 1px solid #e4e7ed"
|
||||
>
|
||||
还款账户:{{ group.repaymentAccountName }}(余额:{{ group.repaymentAccountBalance }}元)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span v-else v-html="formatMultiLineData(scope.row.detail)"></span>
|
||||
|
||||
Reference in New Issue
Block a user