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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
| <template>
| <el-bus-crud ref="crud" v-bind="tableConfig" />
| </template>
|
| <script>
| import { getPartnerListConfig } from '@/utils/form-item-config'
| export default {
| data() {
| return {
| tableConfig: {
| url: 'flower/v2/report/order/detail/page',
| hasEdit: false,
| hasNew: false,
| hasDelete: false,
| hasView: false,
| hasExport: true,
| hasOperation: false,
| exportUrl: 'flower/v2/report/order/detail/export',
| exportText: '导出',
| columns: [
| { label: '订单号', prop: 'orderNo', minWidth: 150, fixed: 'left' },
| {
| label: '下单用户',
| prop: 'customer',
| minWidth: '150px',
| fixed: 'left',
| },
| { label: '收货人地址', prop: 'address', minWidth: '220px' },
| { label: '合伙人', prop: 'partnerName', minWidth: '120px' },
| { label: '下单时间', prop: 'orderDate', minWidth: '180px' },
| { label: '订单金额', prop: 'orderTotal', minWidth: '120px' },
| { label: '订单金额(实付)', prop: 'totalAmount', minWidth: '120px' },
| {
| label: '花农底价',
| prop: 'orderSupplierPriceAmount',
| minWidth: '120px',
| },
| {
| label: '平台区间加价',
| prop: 'orderMarkupOneAmount',
| minWidth: '120px',
| },
| {
| label: '平台加价',
| prop: 'orderMarkupTwoAmount',
| minWidth: '120px',
| },
| {
| label: '平台区域加价',
| prop: 'platformAreaFeeAmount',
| minWidth: '120px',
| },
| {
| label: '合伙人加价',
| prop: 'orderMarkupPartnerAmount',
| minWidth: '120px',
| },
| {
| label: '合伙人区间加价',
| prop: 'partnerSectionFeeAmount',
| minWidth: '120px',
| },
|
| { label: '优惠合计', prop: 'orderDiscountTotalFee', minWidth: 120,},
| { label: '会员折扣', prop: 'orderPriceDiscountAmount', minWidth: 120,},
| { label: '优惠券', prop: 'orderCouponAmountTotal',minWidth: '100px',},
|
| { label: '质检总扣款', prop: 'orderCheckTotalFee', minWidth: 120 },
| { label: '质检降级扣款', prop: 'orderCheckFee', minWidth: '100px' },
| { label: '质检缺货扣款', prop: 'orderLackFeeSupplier', minWidth: '100px',},
| { label: '质检补货扣款', prop: 'orderReplaceFee', minWidth: '100px' },
|
| { label: '售后总扣款', prop: 'orderTotalFee', minWidth: 150 },
| { label: '售后供应商扣款', prop: 'orderFeeSupplier', minWidth: 150 },
| { label: '售后平台扣款', prop: 'orderFeePlatform', minWidth: 150 },
| { label: '售后合伙人扣款', prop: 'orderFeePartner', minWidth: 150 },
| { label: '售后打包扣款', prop: 'orderFeePlatformPack', minWidth: 150 },
| { label: '售后质检扣款', prop: 'orderFeePlatformCheck', minWidth: 150 },
| { label: '售后物流扣款', prop: 'orderFeePlatformTransport', minWidth: 150 },
| { label: '售后打包运费扣款', prop: 'orderFeePackingTransport', minWidth: 150 },
|
| {
| label: '总包干费',
| prop: 'partnerTotalFeeAmount',
| minWidth: '100px',
| },
| { label: '总销售扎数', prop: 'orderNum', minWidth: '100px' },
| { label: '实际销售扎数', prop: 'realSaleNum', minWidth: '100px' },
| { label: '缺货扎数', prop: 'orderLackNum', minWidth: 120 },
| { label: '降级扎数', prop: 'orderReduceNum', minWidth: 120 },
| { label: '补货扎数', prop: 'orderReplaceNum', minWidth: 120 },
|
| {
| label: '利润',
| prop: 'profitFeeAmount',
| minWidth: '100px',
| fixed: 'right',
| },
| {
| label: '结算状态',
| prop: 'settleStatusStr',
| minWidth: '120px',
| fixed: 'right',
| },
| ],
| searchForm: [
| {
| type: 'row',
| span: 6,
| items: [
| {
| label: '下单日期',
| id: 'calDate',
| component: 'el-date-picker',
| type: 'date',
| el: {
| valueFormat: 'yyyy-MM-dd',
| style: 'width:100%',
| clearable: false,
| },
| default: this.$route.params.date,
| },
| {
| ...getPartnerListConfig(),
| default: this.$route.query.partnerId || '',
| },
| ],
| },
| ],
| },
| }
| },
| head() {
| return {
| title: '订单结算明细',
| }
| },
| }
| </script>
|
|