matchBillDetail.js
12.3 KB
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_match = require("../../common/match.js");
require("../../common/request.js");
require("../../config.js");
require("../../common/login.js");
require("../../common/api.js");
if (!Array) {
const _easycom_uni_list_item2 = common_vendor.resolveComponent("uni-list-item");
const _easycom_uni_list2 = common_vendor.resolveComponent("uni-list");
const _easycom_uni_collapse_item2 = common_vendor.resolveComponent("uni-collapse-item");
const _easycom_uni_collapse2 = common_vendor.resolveComponent("uni-collapse");
(_easycom_uni_list_item2 + _easycom_uni_list2 + _easycom_uni_collapse_item2 + _easycom_uni_collapse2)();
}
const _easycom_uni_list_item = () => "../../uni_modules/uni-list/components/uni-list-item/uni-list-item.js";
const _easycom_uni_list = () => "../../uni_modules/uni-list/components/uni-list/uni-list.js";
const _easycom_uni_collapse_item = () => "../../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js";
const _easycom_uni_collapse = () => "../../uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js";
if (!Math) {
(_easycom_uni_list_item + _easycom_uni_list + _easycom_uni_collapse_item + _easycom_uni_collapse)();
}
const _sfc_main = {
__name: "matchBillDetail",
setup(__props) {
const data = common_vendor.reactive({
billData: {},
cpt: {},
order: {},
totalFee: {},
billId: "",
teamFee: {},
otherFee: {},
cptInsuranceFee: {},
cptDepositFee: {},
cptCompatibleFee: {},
cptRegistrationFee: {}
});
const { billData, cpt, order, totalFee, billId, teamFee, otherFee, cptRegistrationFee, cptInsuranceFee, cptDepositFee, cptCompatibleFee } = common_vendor.toRefs(data);
common_vendor.onLoad((option) => {
console.log(option);
if (option.id) {
billId.value = option.id;
getData(billId.value);
}
});
function getData(n) {
common_match.getMyOrderDetail(n).then((res) => {
billData.value = res.data;
cpt.value = res.data.cpt;
order.value = res.data.order;
totalFee.value = res.data.totalFee;
teamFee.value = res.data.totalFee.teamFee;
otherFee.value = res.data.totalFee.otherFee;
cptInsuranceFee.value = res.data.totalFee.cptInsuranceFee;
cptRegistrationFee.value = res.data.totalFee.cptRegistrationFee;
cptDepositFee.value = res.data.totalFee.cptDepositFee;
cptCompatibleFee.value = res.data.totalFee.cptCompatibleFee;
});
}
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.t(common_vendor.unref(cpt).name),
b: common_vendor.t(common_vendor.unref(order).id),
c: common_vendor.t(common_vendor.unref(order).commitTime),
d: common_vendor.unref(order).groupName
}, common_vendor.unref(order).groupName ? {
e: common_vendor.t(common_vendor.unref(order).groupName)
} : {}, {
f: common_vendor.unref(order).needPay != "0"
}, common_vendor.unref(order).needPay != "0" ? common_vendor.e({
g: common_vendor.unref(order).payType == "0"
}, common_vendor.unref(order).payType == "0" ? {} : {}, {
h: common_vendor.unref(order).payType == "1"
}, common_vendor.unref(order).payType == "1" ? {} : {}, {
i: common_vendor.unref(order).payType == "2"
}, common_vendor.unref(order).payType == "2" ? {} : {}) : {}, {
j: common_vendor.unref(order).needPay != "0"
}, common_vendor.unref(order).needPay != "0" ? common_vendor.e({
k: common_vendor.unref(order).payStatus == "0"
}, common_vendor.unref(order).payStatus == "0" ? {} : {}, {
l: common_vendor.unref(order).payStatus == "1"
}, common_vendor.unref(order).payStatus == "1" ? {} : {}, {
m: common_vendor.unref(order).payStatus == "2"
}, common_vendor.unref(order).payStatus == "2" ? {} : {}, {
n: common_vendor.unref(order).payStatus == "3"
}, common_vendor.unref(order).payStatus == "3" ? {} : {}, {
o: common_vendor.unref(order).payStatus == "4"
}, common_vendor.unref(order).payStatus == "4" ? {} : {}, {
p: common_vendor.unref(order).payStatus == "5"
}, common_vendor.unref(order).payStatus == "5" ? {} : {}, {
q: common_vendor.unref(order).payStatus == "6"
}, common_vendor.unref(order).payStatus == "6" ? {} : {}) : {}, {
r: common_vendor.unref(order).payTime
}, common_vendor.unref(order).payTime ? {
s: common_vendor.t(common_vendor.unref(order).payTime)
} : {}, {
t: common_vendor.unref(order).needPay == "0"
}, common_vendor.unref(order).needPay == "0" ? {} : {}, {
v: common_vendor.unref(order).needPay != "0"
}, common_vendor.unref(order).needPay != "0" ? {
w: common_vendor.t(common_vendor.unref(order).totalAmount)
} : {}, {
x: common_vendor.unref(order).totalPayAmount
}, common_vendor.unref(order).totalPayAmount ? {
y: common_vendor.t(common_vendor.unref(order).totalPayAmount)
} : {}, {
z: common_vendor.unref(order).payType == "2"
}, common_vendor.unref(order).payType == "2" ? {} : {}, {
A: common_vendor.unref(order).payType == "2"
}, common_vendor.unref(order).payType == "2" ? {
B: common_vendor.t(common_vendor.unref(billData).orgBankAccount),
C: common_vendor.t(common_vendor.unref(billData).orgBankName),
D: common_vendor.t(common_vendor.unref(billData).orgBankAccountNum)
} : {}, {
E: common_vendor.unref(order).needPay != "0"
}, common_vendor.unref(order).needPay != "0" ? common_vendor.e({
F: common_vendor.t(common_vendor.unref(cptRegistrationFee).name),
G: common_vendor.unref(cptRegistrationFee).count
}, common_vendor.unref(cptRegistrationFee).count ? {
H: common_vendor.t(common_vendor.unref(cptRegistrationFee).count)
} : {}, {
I: common_vendor.t(common_vendor.unref(cptRegistrationFee).totalFee),
J: common_vendor.f(common_vendor.unref(cptRegistrationFee).info, (m, index, i0) => {
return {
a: index,
b: "84e98f5c-3-" + i0 + ",84e98f5c-2",
c: common_vendor.p({
border: false,
thumb: m.personInfo.picUrl,
["thumb-size"]: "lg",
title: m.personInfo.realName,
["right-text"]: "¥" + m.registrationFee
})
};
}),
K: common_vendor.p({
border: false
}),
L: common_vendor.p({
border: false,
["title-border"]: "none"
}),
M: common_vendor.unref(cptCompatibleFee).totalFee > "0"
}, common_vendor.unref(cptCompatibleFee).totalFee > "0" ? common_vendor.e({
N: common_vendor.t(common_vendor.unref(cptCompatibleFee).name),
O: common_vendor.unref(cptCompatibleFee).count
}, common_vendor.unref(cptCompatibleFee).count ? {
P: common_vendor.t(common_vendor.unref(cptCompatibleFee).count)
} : {}, {
Q: common_vendor.t(common_vendor.unref(cptCompatibleFee).totalFee),
R: common_vendor.f(common_vendor.unref(cptCompatibleFee).info, (m, index, i0) => {
var _a, _b;
return {
a: index,
b: "84e98f5c-7-" + i0 + ",84e98f5c-6",
c: common_vendor.p({
border: false,
thumb: (_a = m.personInfo) == null ? void 0 : _a.picUrl,
title: (_b = m.personInfo) == null ? void 0 : _b.realName,
["thumb-size"]: "lg",
["right-text"]: "¥" + m.compatibleFee
})
};
}),
S: common_vendor.p({
border: false
}),
T: common_vendor.p({
border: false,
["title-border"]: "none"
})
}) : {}, {
U: common_vendor.unref(cptInsuranceFee).totalFee > "0"
}, common_vendor.unref(cptInsuranceFee).totalFee > "0" ? common_vendor.e({
V: common_vendor.t(common_vendor.unref(cptInsuranceFee).name),
W: common_vendor.unref(cptInsuranceFee).count
}, common_vendor.unref(cptInsuranceFee).count ? {
X: common_vendor.t(common_vendor.unref(cptInsuranceFee).count)
} : {}, {
Y: common_vendor.t(common_vendor.unref(cptInsuranceFee).totalFee),
Z: common_vendor.f(common_vendor.unref(cptInsuranceFee).info, (m, index, i0) => {
return {
a: m.buyFlag == "1",
b: index,
c: "84e98f5c-11-" + i0 + ",84e98f5c-10",
d: common_vendor.p({
border: false,
["right-text"]: "¥" + m.insuranceFee,
title: m.personInfo.realName,
note: m.personInfo.idcCode,
thumb: m.personInfo.picUrl,
["thumb-size"]: "lg"
})
};
}),
aa: common_vendor.p({
border: false
}),
ab: common_vendor.p({
border: false,
["title-border"]: "none"
})
}) : {}, {
ac: common_vendor.unref(otherFee).totalFee > "0"
}, common_vendor.unref(otherFee).totalFee > "0" ? common_vendor.e({
ad: common_vendor.t(common_vendor.unref(otherFee).name),
ae: common_vendor.unref(otherFee).count
}, common_vendor.unref(otherFee).count ? {
af: common_vendor.t(common_vendor.unref(otherFee).count)
} : {}, {
ag: common_vendor.t(common_vendor.unref(otherFee).totalFee),
ah: common_vendor.f(common_vendor.unref(otherFee).info, (m, index, i0) => {
return {
a: index,
b: "84e98f5c-15-" + i0 + ",84e98f5c-14",
c: common_vendor.p({
border: false,
thumb: m.personInfo.picUrl,
["thumb-size"]: "lg",
title: m.personInfo.realName,
["right-text"]: "¥" + m.otherFee
})
};
}),
ai: common_vendor.p({
border: false
}),
aj: common_vendor.p({
border: false,
["title-border"]: "none"
})
}) : {}) : {}, {
ak: common_vendor.unref(order).needPay != "0"
}, common_vendor.unref(order).needPay != "0" ? common_vendor.e({
al: common_vendor.unref(cptRegistrationFee).totalFee > 0
}, common_vendor.unref(cptRegistrationFee).totalFee > 0 ? {
am: common_vendor.t(common_vendor.unref(cptRegistrationFee).name),
an: common_vendor.t(common_vendor.unref(cptRegistrationFee).totalFee)
} : {}, {
ao: common_vendor.unref(cptCompatibleFee).totalFee > 0
}, common_vendor.unref(cptCompatibleFee).totalFee > 0 ? {
ap: common_vendor.t(common_vendor.unref(cptCompatibleFee).name),
aq: common_vendor.t(common_vendor.unref(cptCompatibleFee).totalFee)
} : {}, {
ar: common_vendor.unref(cptInsuranceFee).totalFee > 0
}, common_vendor.unref(cptInsuranceFee).totalFee > 0 ? {
as: common_vendor.t(common_vendor.unref(cptInsuranceFee).name),
at: common_vendor.t(common_vendor.unref(cptInsuranceFee).totalFee)
} : {}, {
av: common_vendor.unref(otherFee).totalFee > 0
}, common_vendor.unref(otherFee).totalFee > 0 ? {
aw: common_vendor.t(common_vendor.unref(otherFee).name),
ax: common_vendor.t(common_vendor.unref(otherFee).totalFee)
} : {}, {
ay: common_vendor.unref(teamFee).totalFee > 0
}, common_vendor.unref(teamFee).totalFee > 0 ? {
az: common_vendor.t(common_vendor.unref(teamFee).name),
aA: common_vendor.t(common_vendor.unref(teamFee).totalFee)
} : {}, {
aB: common_vendor.unref(cptDepositFee).totalFee > 0
}, common_vendor.unref(cptDepositFee).totalFee > 0 ? {
aC: common_vendor.t(common_vendor.unref(cptDepositFee).name),
aD: common_vendor.t(common_vendor.unref(cptDepositFee).totalFee)
} : {}, {
aE: common_vendor.unref(order).totalPayAmount
}, common_vendor.unref(order).totalPayAmount ? {
aF: common_vendor.t(common_vendor.unref(order).totalPayAmount)
} : {}, {
aG: common_vendor.t(common_vendor.unref(order).totalAmount)
}) : {});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-84e98f5c"], ["__file", "/Users/yangyang/project/j-mini/Venue/pages/usercenter/matchBillDetail.vue"]]);
wx.createPage(MiniProgramPage);