Commit a8d4dc326b651b40d91f48d5e2191b26ebf04002

Authored by shaofan
1 parent 1f9c1b4a

修复弹窗

src/views/merchant/FundReconciliation.vue
... ... @@ -116,7 +116,7 @@
116 116 </div>
117 117 </a-card>
118 118  
119   - <a-modal v-model:open="detailVisible" :title="detailTitle" :footer="null" width="920px">
  119 + <a-modal v-model:open="detailVisible" :title="detailTitle" :footer="null" width="1120px">
120 120 <div class="soft-page-stack">
121 121 <div class="soft-note-card">
122 122 <strong>{{ detailTitle }}</strong>
... ... @@ -129,6 +129,7 @@
129 129 :loading="detailLoading"
130 130 rowKey="orderId"
131 131 :pagination="detailPagination"
  132 + :scroll="detailTableScroll"
132 133 @change="handleDetailTableChange"
133 134 >
134 135 <template #bodyCell="{ column, record }">
... ... @@ -237,28 +238,30 @@ const riderColumns = [
237 238 const detailColumns = computed(() => {
238 239 if (activeDetailTab.value === 'merchant') {
239 240 return [
240   - { title: '订单ID', dataIndex: 'orderId', width: 100 },
241   - { title: '订单号', dataIndex: 'orderNo', ellipsis: true },
242   - { title: '支付时间', key: 'payTime', width: 170 },
243   - { title: '完成时间', key: 'completeTime', width: 170 },
244   - { title: '状态', key: 'status', width: 120 },
245   - { title: '订单金额', key: 'orderAmount', width: 120 },
246   - { title: '配送费', key: 'deliveryAmount', width: 120 },
247   - { title: '退款金额', key: 'refundAmount', width: 120 },
  241 + { title: '订单ID', dataIndex: 'orderId', width: 90 },
  242 + { title: '订单号', dataIndex: 'orderNo', ellipsis: true, width: 180 },
  243 + { title: '支付时间', key: 'payTime', width: 160 },
  244 + { title: '完成时间', key: 'completeTime', width: 160 },
  245 + { title: '状态', key: 'status', width: 100 },
  246 + { title: '订单金额', key: 'orderAmount', width: 110 },
  247 + { title: '配送费', key: 'deliveryAmount', width: 110 },
  248 + { title: '退款金额', key: 'refundAmount', width: 110 },
248 249 ]
249 250 }
250 251 return [
251   - { title: '订单ID', dataIndex: 'orderId', width: 100 },
252   - { title: '订单号', dataIndex: 'orderNo', ellipsis: true },
253   - { title: '完成时间', key: 'completeTime', width: 170 },
254   - { title: '状态', key: 'status', width: 120 },
255   - { title: '配送费', key: 'deliveryAmount', width: 120 },
256   - { title: '骑手收入', key: 'riderIncomeAmount', width: 120 },
257   - { title: '退款影响金额', key: 'refundAmount', width: 130 },
258   - { title: '可结算参考金额', key: 'settleableAmount', width: 140 },
  252 + { title: '订单ID', dataIndex: 'orderId', width: 90 },
  253 + { title: '订单号', dataIndex: 'orderNo', ellipsis: true, width: 180 },
  254 + { title: '完成时间', key: 'completeTime', width: 160 },
  255 + { title: '状态', key: 'status', width: 100 },
  256 + { title: '配送费', key: 'deliveryAmount', width: 110 },
  257 + { title: '骑手收入', key: 'riderIncomeAmount', width: 110 },
  258 + { title: '退款影响金额', key: 'refundAmount', width: 120 },
  259 + { title: '可结算参考金额', key: 'settleableAmount', width: 130 },
259 260 ]
260 261 })
261 262  
  263 +const detailTableScroll = computed(() => ({ x: activeDetailTab.value === 'merchant' ? 1020 : 1000 }))
  264 +
262 265 const pagination = computed<TablePaginationConfig>(() => ({
263 266 current: currentPage.value,
264 267 pageSize: pageSize.value,
... ...