wupengfei
2025-05-06 e9dda9e6c52cb737267185f5118ded73c0053115
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<template>
  <ProForm :model="form" label-width="160px" label-position="left" is-read>
    <ChunkCellV2 title="批次信息" style="margin-bottom: 0">
      <BatchInfoView :form="form"></BatchInfoView>
    </ChunkCellV2>
    <ChunkCellV2 title="汇总材料" style="margin-bottom: 0">
      <MaterialInfoView :form="form"></MaterialInfoView>
    </ChunkCellV2>
    <ChunkCellV2 title="汇算材料" style="margin-bottom: 0">
      <SettlementMaterialInfoView :form="form"></SettlementMaterialInfoView>
    </ChunkCellV2>
    <slot></slot>
  </ProForm>
</template>
 
<script setup lang="ts">
import { ProForm, UploadUserFile, ChunkCell } from '@bole-core/components';
import ChunkCellV2 from '@/components/Layout/ChunkCellV2.vue';
import BatchInfoView from './BatchInfoView.vue';
import MaterialInfoView from './MaterialInfoView.vue';
import SettlementMaterialInfoView from './SettlementMaterialInfoView.vue';
import { CustomerApplyFileTypeListItem } from './utils';
 
defineOptions({
  name: 'DetailView',
});
 
type Props = {
  hasForm?: boolean;
  form?: {
    batchNo: string;
    parkName: string;
    parkTypeName: string;
    applyMonth: string;
    applySumAmount: number;
    /** 奖励金分配表 */
    bountyAssignFileUlr: UploadUserFile[];
    /** 奖励金汇总表 */
    bountyCollectFileUrl: UploadUserFile[];
    parkCollectFileList: CustomerApplyFileTypeListItem[];
    /** 是否支持平台充值 */
    suportPlatRecharge?: boolean;
  };
};
 
const props = withDefaults(defineProps<Props>(), {
  hasForm: false,
});
</script>
 
<style lang="scss" scoped>
@use '@/style/common.scss' as *;
 
.page-form-layout {
  .el-form {
    padding-bottom: 22px;
  }
 
  .chunk-cell-table {
    :deep() {
      .chunk-cell-v2-content {
        margin-bottom: 30px;
      }
    }
  }
}
</style>