xyvcard-settle 0.0.68 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -51
- package/dist/{edit-_qW_TUSu.mjs → edit-BEwgEd_o.mjs} +2 -2
- package/dist/{history-DSoZjyeJ.mjs → history-C_5HXL6J.mjs} +1 -1
- package/dist/{history-DjQMPey5.mjs → history-jvrH2cgO.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-5ef0yv2J.mjs → history.vue_vue_type_script_setup_true_lang-DH_3dtkw.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-suUr-9bi.mjs → history.vue_vue_type_script_setup_true_lang-DnFJlmKt.mjs} +5 -3
- package/dist/{index-DB6GmhZC.mjs → index-B3iittmi.mjs} +1 -1
- package/dist/{index-DxaY2msl.mjs → index-B5NKz735.mjs} +9 -9
- package/dist/{index-BLnu6zqx.mjs → index-BKuLZwSH.mjs} +2 -2
- package/dist/{index-BV-bgJoz.mjs → index-BWo8On_9.mjs} +53 -48
- package/dist/{index-BRR6K_Rz.mjs → index-BmblkPbd.mjs} +1 -1
- package/dist/{index-Cv3Q3BLX.mjs → index-BpGvo-GX.mjs} +275 -222
- package/dist/{index-CrAvX4gb.mjs → index-ChWLAHa3.mjs} +13 -10
- package/dist/{index-CgVOuj38.mjs → index-CvTgy-7Y.mjs} +1085 -1026
- package/dist/index-DRHXxUSr.mjs +1024 -0
- package/dist/index-DirVxwtN.mjs +64 -0
- package/dist/{index-DQHNNxEk.mjs → index-Dt1czJXu.mjs} +3 -3
- package/dist/{index-BCNuH7xs.mjs → index-Durx1KEK.mjs} +2 -2
- package/dist/{index-BJ5B9Mo0.mjs → index-FNgKU2Sw.mjs} +1 -1
- package/dist/{index-D3EjTY-C.mjs → index-HTmAeXnm.mjs} +39 -34
- package/dist/{index-BOkiZn0d.mjs → index-aPvqKyMh.mjs} +4 -3
- package/dist/{index-8qD9VcOY.mjs → index-xe86s3fk.mjs} +11 -11
- package/dist/index.mjs +1 -1
- package/dist/info-BoB2AQXl.mjs +4 -0
- package/dist/{merchant-D3ctdb_L.mjs → merchant-CaTTd891.mjs} +1 -1
- package/dist/{merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs → merchant.vue_vue_type_script_setup_true_lang-C-QYcYgJ.mjs} +1 -1
- package/dist/{pay-14RdzHFn.mjs → pay-D5948kuF.mjs} +5 -5
- package/dist/{pay-vKmygRqh.mjs → pay-D8TthcTG.mjs} +6 -6
- package/dist/{payPal-uZjLzAy_.mjs → payPal-BEgZ5r_0.mjs} +6 -6
- package/dist/{payPal-DZCq6NIW.mjs → payPal-D_alptyQ.mjs} +8 -8
- package/dist/refund-Bpnn9evb.mjs +226 -0
- package/dist/refundView-BRKNJqsl.mjs +10 -0
- package/dist/{sale-lKDJnhcE.mjs → sale-CKknju1Y.mjs} +1 -1
- package/dist/{sale.vue_vue_type_script_setup_true_lang-b-hBu610.mjs → sale.vue_vue_type_script_setup_true_lang-CBUSpqm5.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-BLS71Gmq.mjs → today-D6eU0ZUV.mjs} +1 -1
- package/dist/{today-ZBVWvwL4.mjs → today-dyZDLIFv.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BnkSJ9pV.mjs → today.vue_vue_type_script_setup_true_lang-BJk9NO_6.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BLTRtpUi.mjs → today.vue_vue_type_script_setup_true_lang-DWiTnwet.mjs} +15 -13
- package/dist/{trend-f1RTvIBC.mjs → trend-CD-Orlre.mjs} +1 -1
- package/dist/{trend-BLV9su_P.mjs → trend-DCJoR00O.mjs} +1 -1
- package/dist/{trend-D5C46t4B.mjs → trend-DQKmmL12.mjs} +2 -2
- package/dts/src/api/settle/pay-trade/index.d.ts +2 -1
- package/dts/src/api/settle/pay-trade/types.d.ts +28 -0
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/lang/settle/zh-cn.d.ts +10 -0
- package/dts/src/views/payment/pay-trade/refund.vue.d.ts +27 -0
- package/dts/src/views/payment/pay-trade/refundView.vue.d.ts +2 -0
- package/package.json +15 -15
- package/dist/index-7IN_MtAt.mjs +0 -898
- package/dist/index-CGc-CaEO.mjs +0 -91
- package/dist/info-BnEoPHLQ.mjs +0 -4
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { defineComponent as K, mergeModels as _, ref as w, reactive as A, useModel as O, resolveComponent as u, createBlock as U, openBlock as M, withCtx as l, createVNode as t, unref as a, createTextVNode as c, createElementVNode as F, toDisplayString as R } from "vue";
|
|
2
|
+
import { ElMessage as j } from "element-plus";
|
|
3
|
+
import { useI18n as B } from "vue-i18n";
|
|
4
|
+
import { a as E } from "./index-CvTgy-7Y.mjs";
|
|
5
|
+
import { netEncrypt as I } from "jmash-core";
|
|
6
|
+
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
|
+
const S = { class: "dialog-footer" }, x = /* @__PURE__ */ K({
|
|
8
|
+
__name: "refund",
|
|
9
|
+
props: /* @__PURE__ */ _({
|
|
10
|
+
entityKey: {
|
|
11
|
+
type: Object,
|
|
12
|
+
default: () => {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
modelValue: { type: Boolean },
|
|
17
|
+
modelModifiers: {}
|
|
18
|
+
}),
|
|
19
|
+
emits: /* @__PURE__ */ _(["refresh"], ["update:modelValue"]),
|
|
20
|
+
setup(y, { emit: T }) {
|
|
21
|
+
const { t: i } = B(), g = w();
|
|
22
|
+
let o = A({
|
|
23
|
+
requestId: Math.random() * 10 + "",
|
|
24
|
+
refundReason: "",
|
|
25
|
+
encodePwd: ""
|
|
26
|
+
});
|
|
27
|
+
const v = A({
|
|
28
|
+
refundAmount: [
|
|
29
|
+
{
|
|
30
|
+
required: !0,
|
|
31
|
+
message: i("payTrade.refundAmountRequired"),
|
|
32
|
+
trigger: "change"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
refundReason: [
|
|
36
|
+
{
|
|
37
|
+
required: !0,
|
|
38
|
+
message: i("payTrade.refundReasonRequired"),
|
|
39
|
+
trigger: "change"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
encodePwd: [
|
|
43
|
+
{
|
|
44
|
+
required: !0,
|
|
45
|
+
message: i("payTrade.encodePwdRequired"),
|
|
46
|
+
trigger: "change"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}), m = O(y, "modelValue"), s = y, N = T, q = Object.keys(s.entityKey);
|
|
50
|
+
w(q.length >= 1).value && (Object.assign(o, s.entityKey), o.refundAmount = s.entityKey.tradeAmount, console.log("form", o));
|
|
51
|
+
const P = async () => {
|
|
52
|
+
var d;
|
|
53
|
+
await ((d = g.value) == null ? void 0 : d.validate((e) => {
|
|
54
|
+
e && (delete o.tradeAmount, o.encodePwd = I(o.encodePwd), E.refund(o).then((r) => {
|
|
55
|
+
console.log(r), r.status === 200 && (j({
|
|
56
|
+
message: i("common.submitSuccess"),
|
|
57
|
+
type: "success"
|
|
58
|
+
}), m.value && (m.value = !1), N("refresh", r.status === 200));
|
|
59
|
+
}));
|
|
60
|
+
}));
|
|
61
|
+
};
|
|
62
|
+
function b() {
|
|
63
|
+
m.value && (m.value = !1);
|
|
64
|
+
}
|
|
65
|
+
function $(d) {
|
|
66
|
+
let e = Number(d);
|
|
67
|
+
e < 0 ? o.refundAmount = "0.00" : e > s.entityKey.tradeAmount ? o.refundAmount = s.entityKey.tradeAmount : o.refundAmount = e.toFixed(2);
|
|
68
|
+
}
|
|
69
|
+
return (d, e) => {
|
|
70
|
+
const r = u("el-input"), p = u("el-form-item"), f = u("el-col"), h = u("el-row"), k = u("el-form"), V = u("el-button"), C = u("el-dialog");
|
|
71
|
+
return M(), U(C, {
|
|
72
|
+
modelValue: m.value,
|
|
73
|
+
"onUpdate:modelValue": e[6] || (e[6] = (n) => m.value = n),
|
|
74
|
+
onClose: b
|
|
75
|
+
}, {
|
|
76
|
+
footer: l(() => [
|
|
77
|
+
F("div", S, [
|
|
78
|
+
t(V, { onClick: b }, {
|
|
79
|
+
default: l(() => [
|
|
80
|
+
c(R(d.$t("common.cancel")), 1)
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}),
|
|
84
|
+
t(V, {
|
|
85
|
+
type: "primary",
|
|
86
|
+
onClick: P
|
|
87
|
+
}, {
|
|
88
|
+
default: l(() => [
|
|
89
|
+
c(R(d.$t("common.confirm")), 1)
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
})
|
|
93
|
+
])
|
|
94
|
+
]),
|
|
95
|
+
default: l(() => [
|
|
96
|
+
t(k, {
|
|
97
|
+
ref_key: "payTradeFormRef",
|
|
98
|
+
ref: g,
|
|
99
|
+
model: a(o),
|
|
100
|
+
"label-width": "120px",
|
|
101
|
+
rules: v
|
|
102
|
+
}, {
|
|
103
|
+
default: l(() => [
|
|
104
|
+
t(h, null, {
|
|
105
|
+
default: l(() => [
|
|
106
|
+
t(f, { span: 24 }, {
|
|
107
|
+
default: l(() => [
|
|
108
|
+
t(p, {
|
|
109
|
+
label: d.$t("payTrade.orderNo"),
|
|
110
|
+
prop: "orderNo"
|
|
111
|
+
}, {
|
|
112
|
+
default: l(() => [
|
|
113
|
+
t(r, {
|
|
114
|
+
modelValue: a(o).orderNo,
|
|
115
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => a(o).orderNo = n),
|
|
116
|
+
disabled: ""
|
|
117
|
+
}, null, 8, ["modelValue"])
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["label"])
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}),
|
|
124
|
+
t(f, { span: 24 }, {
|
|
125
|
+
default: l(() => [
|
|
126
|
+
t(p, {
|
|
127
|
+
label: d.$t("payTrade.outOrderNo"),
|
|
128
|
+
prop: "outOrderNo"
|
|
129
|
+
}, {
|
|
130
|
+
default: l(() => [
|
|
131
|
+
t(r, {
|
|
132
|
+
modelValue: a(o).outOrderNo,
|
|
133
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => a(o).outOrderNo = n),
|
|
134
|
+
disabled: ""
|
|
135
|
+
}, null, 8, ["modelValue"])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["label"])
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}),
|
|
142
|
+
t(f, { span: 24 }, {
|
|
143
|
+
default: l(() => [
|
|
144
|
+
t(p, {
|
|
145
|
+
label: d.$t("payTrade.refundAmount"),
|
|
146
|
+
prop: "refundAmount"
|
|
147
|
+
}, {
|
|
148
|
+
default: l(() => [
|
|
149
|
+
t(r, {
|
|
150
|
+
modelValue: a(o).refundAmount,
|
|
151
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => a(o).refundAmount = n),
|
|
152
|
+
placeholder: d.$t("payTrade.refundAmountRequired"),
|
|
153
|
+
type: "number",
|
|
154
|
+
step: "0.01",
|
|
155
|
+
min: "0.01",
|
|
156
|
+
max: s.entityKey.tradeAmount,
|
|
157
|
+
onChange: e[3] || (e[3] = (n) => $(n))
|
|
158
|
+
}, {
|
|
159
|
+
suffix: l(() => e[7] || (e[7] = [
|
|
160
|
+
c("元")
|
|
161
|
+
])),
|
|
162
|
+
_: 1
|
|
163
|
+
}, 8, ["modelValue", "placeholder", "max"])
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["label"])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}),
|
|
170
|
+
t(f, { span: 24 }, {
|
|
171
|
+
default: l(() => [
|
|
172
|
+
t(p, {
|
|
173
|
+
label: d.$t("payTrade.refundReason"),
|
|
174
|
+
prop: "refundReason"
|
|
175
|
+
}, {
|
|
176
|
+
default: l(() => [
|
|
177
|
+
t(r, {
|
|
178
|
+
modelValue: a(o).refundReason,
|
|
179
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => a(o).refundReason = n),
|
|
180
|
+
placeholder: d.$t("payTrade.refundReasonRequired"),
|
|
181
|
+
maxlength: "60",
|
|
182
|
+
"show-word-limit": "",
|
|
183
|
+
autocomplete: "new-password",
|
|
184
|
+
clearable: ""
|
|
185
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
}, 8, ["label"])
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}),
|
|
192
|
+
t(f, { span: 24 }, {
|
|
193
|
+
default: l(() => [
|
|
194
|
+
t(p, {
|
|
195
|
+
label: d.$t("payTrade.encodePwd"),
|
|
196
|
+
prop: "encodePwd"
|
|
197
|
+
}, {
|
|
198
|
+
default: l(() => [
|
|
199
|
+
t(r, {
|
|
200
|
+
modelValue: a(o).encodePwd,
|
|
201
|
+
"onUpdate:modelValue": e[5] || (e[5] = (n) => a(o).encodePwd = n),
|
|
202
|
+
placeholder: d.$t("payTrade.encodePwdRequired"),
|
|
203
|
+
"show-password": "",
|
|
204
|
+
autocomplete: "new-password"
|
|
205
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
206
|
+
]),
|
|
207
|
+
_: 1
|
|
208
|
+
}, 8, ["label"])
|
|
209
|
+
]),
|
|
210
|
+
_: 1
|
|
211
|
+
})
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
})
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
}, 8, ["model", "rules"])
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
}, 8, ["modelValue"]);
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
}), X = /* @__PURE__ */ D(x, [["__scopeId", "data-v-4b80f94a"]]);
|
|
224
|
+
export {
|
|
225
|
+
X as default
|
|
226
|
+
};
|
|
@@ -3,7 +3,7 @@ import b from "./assets/78ba92e6c076bd07.png";
|
|
|
3
3
|
import g from "./assets/228d0bfe534e0e61.png";
|
|
4
4
|
import N from "./assets/7537a7335bb17b22.png";
|
|
5
5
|
import { getUserDisplayName as B } from "xyvcard-merchant";
|
|
6
|
-
import { s as C } from "./index-
|
|
6
|
+
import { s as C } from "./index-DirVxwtN.mjs";
|
|
7
7
|
const V = {
|
|
8
8
|
key: 0,
|
|
9
9
|
src: b,
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.login-container[data-v-
|
|
1
|
+
@charset "UTF-8";.login-container[data-v-f656b148]{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:url(./assets/1ceaa63ddb015361.jpg) no-repeat;background-size:100% 100%;overflow:hidden}.login-container_title[data-v-f656b148]{font-weight:600;font-size:21px;color:#103a7d;text-align:center;line-height:40px}.login-top[data-v-f656b148]{position:fixed;left:0;right:0;top:0;padding:10px 30px;box-sizing:border-box;background-color:#09237166;font-weight:600;font-size:17px;color:#fff}.login-top img[data-v-f656b148]{width:45px;height:45px}.login-top .ml-3[data-v-f656b148]{margin-left:10px;margin-right:auto}.qrcode-container[data-v-f656b148]{width:220px;height:220px;position:relative}.qrcode-container img[data-v-f656b148]{width:100%;height:100%}.qrcode-container>div[data-v-f656b148]{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.qrcode-container>div[data-v-f656b148] :last-child{cursor:pointer;color:var(--el-color-primary);margin-left:10px}[data-v-f656b148] .el-tabs__item.is-active,[data-v-f656b148] .el-tabs__item:hover{color:#103a7d}[data-v-f656b148] .el-tabs__active-bar{background-color:#103a7d}[data-v-f656b148] #pane-qrCode{display:flex;align-items:center;justify-content:center;flex-direction:column}[data-v-f656b148] #pane-qrCode img{width:220px;height:220px}[data-v-f656b148] .el-card__body{height:380px;padding:20px;background-color:#fff}[data-v-f656b148] .el-card[device=desktop]{margin-right:150px;margin-left:auto}[data-v-f656b148] .el-input .el-input__inner{--el-input-inner-height: 40px;box-shadow:inset 0 0 0 40px #fff!important}[data-v-f656b148] .el-button{height:40px}.chart-container[data-v-a3c2f023]{width:100%;height:400px;padding-bottom:60px}.chart-container[data-v-98642cc6]{width:100%;height:240px}.chart-container[data-v-f0c8a4a8]{width:100%;height:100%;background:#fff;padding:15px;box-sizing:border-box;position:relative}.app[data-v-f857dfc0]{display:flex;justify-content:space-between;align-items:center;padding-top:10px;padding-left:10px;padding-right:10px}.app-title-time[data-v-f857dfc0]{padding-top:10px;padding-left:10px;padding-right:10px}.app-title[data-v-f857dfc0]{width:50%}.card-number[data-v-f857dfc0]{margin-left:10px;margin-top:-8px;height:410px}.card-never[data-v-f857dfc0]{height:200px;margin-bottom:10px}.tatal[data-v-f857dfc0]{display:flex;flex-direction:column;align-items:center}.title[data-v-f857dfc0]{margin-bottom:10%;font-size:16px;font-weight:700}.text[data-v-f857dfc0]{font-size:25px;font-weight:700}.tatals[data-v-f857dfc0]{display:flex;justify-content:space-around}.card-paypal[data-v-f857dfc0]{position:relative}.card-paypal .pay[data-v-f857dfc0]{position:absolute;top:-9%;left:-8%}.app[data-v-f857dfc0]{display:flex;justify-content:space-between}.card-never[data-v-f857dfc0]{width:100%}.title[data-v-f857dfc0]{display:flex;align-items:center;margin-bottom:50px}.title>span[data-v-f857dfc0]{min-width:100px;margin-right:15px!important}.title .el-date-editor[data-v-f857dfc0]{flex:1;min-width:200px}@media (max-width: 768px){.title>span[data-v-f857dfc0]{margin-bottom:10px}.title .el-date-editor[data-v-f857dfc0]{width:100%}.tatals[data-v-f857dfc0]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.tatals[data-v-f857dfc0]{grid-template-columns:1fr}.tatals .tatal[data-v-f857dfc0]{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee}.tatals .tatal .text[data-v-f857dfc0]{margin-right:15px}}.chart-header[data-v-f857dfc0]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-title[data-v-f857dfc0]{font-size:16px;font-weight:700;color:#333}.chart-container[data-v-ae62ea6c]{width:100%;height:400px;padding-bottom:60px}.chart-container[data-v-15ebef5f]{width:100%;height:215px}.chart-container[data-v-397fef2e]{width:100%;height:100%;background:#fff;padding:15px;box-sizing:border-box;position:relative}.app[data-v-b2c0344e]{display:flex;flex-direction:column;padding:10px}.row-container[data-v-b2c0344e]{display:flex;gap:10px;margin-bottom:10px}.card-never[data-v-b2c0344e]{width:100%}.title[data-v-b2c0344e]{display:flex;align-items:center;margin-bottom:50px}.title .el-date-editor[data-v-b2c0344e]{flex:1;min-width:200px}.card-paypal[data-v-b2c0344e]{position:relative}.card-paypal .pay[data-v-b2c0344e]{position:absolute;top:-8%;left:-10%}.card-number[data-v-b2c0344e]{height:410px}.card-number .taxt_time_laft[data-v-b2c0344e]{display:flex;justify-content:space-between}.title[data-v-b2c0344e]{margin-bottom:8%;font-size:16px;font-weight:700}.title .text_time[data-v-b2c0344e]{font-size:13px;font-weight:400!important}.tatal[data-v-b2c0344e]{display:flex;flex-direction:column;align-items:center}.text[data-v-b2c0344e]{font-size:25px;font-weight:700}.tatals[data-v-b2c0344e]{display:flex;justify-content:space-around}.app-title[data-v-b2c0344e]{width:100%}.app-title-time[data-v-b2c0344e]{padding:10px}.chart-header[data-v-b2c0344e]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-title[data-v-b2c0344e]{font-size:16px;font-weight:700;color:#333}.chart-title .text_time[data-v-b2c0344e]{font-size:13px;font-weight:400!important}.pay-model[data-v-b2c0344e]{display:flex;gap:10px;width:100%}.pay-model .card-number[data-v-b2c0344e]{flex:1;min-width:0;height:410px}@media (max-width: 992px){.pay-model[data-v-b2c0344e]{flex-wrap:wrap}.pay-model .card-number[data-v-b2c0344e]{flex:0 0 calc(50% - 10px)}.pay-model .card-number[data-v-b2c0344e]:last-child:nth-child(odd){flex:0 0 100%}}@media (max-width: 768px){.pay-model .card-number[data-v-b2c0344e]{flex:0 0 100%}}.chart-container[data-v-6f04d6f1]{width:100%;height:100%;background:#fff;padding:15px;box-sizing:border-box;position:relative}.app[data-v-6f52d4ae]{display:flex;flex-direction:column;padding:10px}.row-container[data-v-6f52d4ae]{display:flex;gap:10px;margin-bottom:10px}.card-never[data-v-6f52d4ae]{width:100%}.title[data-v-6f52d4ae]{margin-bottom:8%;font-size:16px;font-weight:700}.title .text_time[data-v-6f52d4ae]{font-size:13px;font-weight:400!important}.tatal[data-v-6f52d4ae]{display:flex;flex-direction:column;align-items:center}.text[data-v-6f52d4ae]{font-size:25px;font-weight:700}.tatals[data-v-6f52d4ae]{display:flex;justify-content:space-around;padding-top:40px;padding-bottom:20px}.app-title[data-v-6f52d4ae]{width:100%}.app-title-time[data-v-6f52d4ae]{padding:10px}.chart-header[data-v-6f52d4ae]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-title[data-v-6f52d4ae]{font-size:16px;font-weight:700;color:#333}.position-center[data-v-617c24b2]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-617c24b2]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-4b80f94a]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-4b80f94a]{position:absolute;right:0;top:0;margin-top:8px}.total-num{margin-left:0!important;margin-right:0!important;text-align:center}.text_right{text-align:right;display:inline-block;min-width:80px}
|
|
@@ -3,7 +3,7 @@ import { useI18n as Z } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as k, clearEmpty as ee, request as te, useTableHooks as le } from "jmash-core";
|
|
4
4
|
import { tokenExt as ae } from "xyvcard-agent";
|
|
5
5
|
import { channelApi as ne } from "xyvcard-merchant";
|
|
6
|
-
import { D as f } from "./index-
|
|
6
|
+
import { D as f } from "./index-CvTgy-7Y.mjs";
|
|
7
7
|
import { g as oe } from "./agent-R-Ml-XTA.mjs";
|
|
8
8
|
class re {
|
|
9
9
|
getKey(d) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as ee, getCurrentInstance as te, ref as C, resolveComponent as s, resolveDirective as M, createBlock as
|
|
1
|
+
import { defineComponent as ee, getCurrentInstance as te, ref as C, resolveComponent as s, resolveDirective as M, createBlock as v, openBlock as d, withCtx as a, createVNode as n, withKeys as A, unref as r, createElementBlock as V, Fragment as ae, renderList as le, createTextVNode as i, toDisplayString as p, withDirectives as k, createCommentVNode as ne, isRef as S } from "vue";
|
|
2
2
|
import { useI18n as oe } from "vue-i18n";
|
|
3
3
|
import { useRouter as re } from "vue-router";
|
|
4
4
|
import { useUserStore as $, clearEmpty as se, request as me, useTableHooks as ue } from "jmash-core";
|
|
5
5
|
import { channelApi as de } from "xyvcard-merchant";
|
|
6
|
-
import { D as c, C as D } from "./index-
|
|
6
|
+
import { D as c, C as D } from "./index-CvTgy-7Y.mjs";
|
|
7
7
|
import { tokenExt as ie } from "xyvcard-agent";
|
|
8
8
|
import { g as pe } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
class ce {
|
|
@@ -91,7 +91,8 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
91
91
|
prop: "transferMoneyAmount",
|
|
92
92
|
width: "120",
|
|
93
93
|
sortable: "custom",
|
|
94
|
-
isColumn: !0
|
|
94
|
+
isColumn: !0,
|
|
95
|
+
align: "right"
|
|
95
96
|
},
|
|
96
97
|
// 手续费
|
|
97
98
|
{
|
|
@@ -99,7 +100,8 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
99
100
|
prop: "feeAmt",
|
|
100
101
|
width: "120",
|
|
101
102
|
sortable: "custom",
|
|
102
|
-
isColumn: !0
|
|
103
|
+
isColumn: !0,
|
|
104
|
+
align: "right"
|
|
103
105
|
},
|
|
104
106
|
// 到账状态
|
|
105
107
|
{
|
|
@@ -163,8 +165,8 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
163
165
|
u.handleSort(l.prop, l.order);
|
|
164
166
|
}
|
|
165
167
|
return (l, t) => {
|
|
166
|
-
const L = s("jmash-select"),
|
|
167
|
-
return d(),
|
|
168
|
+
const L = s("jmash-select"), g = s("el-form-item"), h = s("el-col"), q = s("el-option"), x = s("el-select"), H = s("el-date-picker"), w = s("el-button"), I = s("el-row"), K = s("el-form"), Q = s("jmash-column-select"), O = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), J = s("el-tab-pane"), X = M("hasPerm"), Z = M("loading");
|
|
169
|
+
return d(), v(J, {
|
|
168
170
|
label: "今日到账流水",
|
|
169
171
|
name: "two"
|
|
170
172
|
}, {
|
|
@@ -180,7 +182,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
180
182
|
default: a(() => [
|
|
181
183
|
n(h, { span: 6 }, {
|
|
182
184
|
default: a(() => [
|
|
183
|
-
n(
|
|
185
|
+
n(g, {
|
|
184
186
|
label: l.$t("payTrade.merchantId"),
|
|
185
187
|
prop: "merchantId"
|
|
186
188
|
}, {
|
|
@@ -204,7 +206,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
204
206
|
}),
|
|
205
207
|
n(h, { span: 6 }, {
|
|
206
208
|
default: a(() => [
|
|
207
|
-
n(
|
|
209
|
+
n(g, {
|
|
208
210
|
label: l.$t("settleTradeAnalysis.channelId"),
|
|
209
211
|
prop: "channelId"
|
|
210
212
|
}, {
|
|
@@ -219,7 +221,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
219
221
|
clearable: ""
|
|
220
222
|
}, {
|
|
221
223
|
default: a(() => [
|
|
222
|
-
(d(!0), V(ae, null, le(_.value, (e) => (d(),
|
|
224
|
+
(d(!0), V(ae, null, le(_.value, (e) => (d(), v(q, {
|
|
223
225
|
key: e.channelId,
|
|
224
226
|
label: r(c).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
225
227
|
value: e.channelId
|
|
@@ -235,7 +237,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
235
237
|
}),
|
|
236
238
|
n(h, { span: 6 }, {
|
|
237
239
|
default: a(() => [
|
|
238
|
-
n(
|
|
240
|
+
n(g, {
|
|
239
241
|
label: l.$t("settleTradeReceipt.createTime"),
|
|
240
242
|
prop: "transferMoneyDate"
|
|
241
243
|
}, {
|
|
@@ -257,7 +259,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
257
259
|
}),
|
|
258
260
|
n(h, { span: 6 }, {
|
|
259
261
|
default: a(() => [
|
|
260
|
-
n(
|
|
262
|
+
n(g, { class: "search-btn" }, {
|
|
261
263
|
default: a(() => [
|
|
262
264
|
n(w, {
|
|
263
265
|
type: "primary",
|
|
@@ -313,7 +315,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
313
315
|
})
|
|
314
316
|
]),
|
|
315
317
|
footer: a(() => [
|
|
316
|
-
r(b) > 0 ? (d(),
|
|
318
|
+
r(b) > 0 ? (d(), v(W, {
|
|
317
319
|
key: 0,
|
|
318
320
|
total: r(b),
|
|
319
321
|
"onUpdate:total": t[8] || (t[8] = (e) => S(b) ? b.value = e : null),
|
|
@@ -325,7 +327,7 @@ const fe = new ce(), he = ["onClick"], we = /* @__PURE__ */ ee({
|
|
|
325
327
|
}, null, 8, ["total", "current-page", "page-size"])) : ne("", !0)
|
|
326
328
|
]),
|
|
327
329
|
default: a(() => [
|
|
328
|
-
k((d(),
|
|
330
|
+
k((d(), v(O, {
|
|
329
331
|
ref_key: "multipleTableRef",
|
|
330
332
|
ref: P,
|
|
331
333
|
"row-key": "receiptId",
|
|
@@ -165,7 +165,7 @@ const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
|
|
|
165
165
|
}, null, 512)
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-
|
|
168
|
+
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-f0c8a4a8"]]);
|
|
169
169
|
export {
|
|
170
170
|
F as default
|
|
171
171
|
};
|
|
@@ -189,7 +189,7 @@ const A = new E(), $ = { class: "chart-container" }, z = /* @__PURE__ */ _({
|
|
|
189
189
|
}, null, 512)
|
|
190
190
|
]));
|
|
191
191
|
}
|
|
192
|
-
}), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-
|
|
192
|
+
}), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-6f04d6f1"]]), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
193
193
|
__proto__: null,
|
|
194
194
|
default: F
|
|
195
195
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, getCurrentInstance as y, ref as u, onMounted as b, createElementBlock as D, openBlock as v, createElementVNode as w, nextTick as x } from "vue";
|
|
2
2
|
import { i as _, L as M } from "./index--_Po9Tig.mjs";
|
|
3
|
-
import { s as C } from "./index-
|
|
3
|
+
import { s as C } from "./index-DirVxwtN.mjs";
|
|
4
4
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
|
|
6
6
|
__name: "trend",
|
|
@@ -166,7 +166,7 @@ const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
|
|
|
166
166
|
}, null, 512)
|
|
167
167
|
]));
|
|
168
168
|
}
|
|
169
|
-
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-
|
|
169
|
+
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-397fef2e"]]);
|
|
170
170
|
export {
|
|
171
171
|
F as default
|
|
172
172
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AxiosPromise } from "axios";
|
|
2
|
-
import type { PaymentTradeApi, PaymentTradeModel, PaymentBillsKey, PaymentTradeReq, PaymentTradePage, PaymentTradeExportReq } from "./types";
|
|
2
|
+
import type { PaymentTradeApi, PaymentTradeModel, PaymentBillsKey, PaymentTradeReq, PaymentTradePage, PaymentTradeExportReq, PaymentRefundReq, PaymentRefundModel } from "./types";
|
|
3
3
|
declare class PaymentTradeApiImpl implements PaymentTradeApi {
|
|
4
4
|
getKey(model: PaymentTradeModel): PaymentBillsKey;
|
|
5
5
|
findPage(query?: PaymentTradeReq): AxiosPromise<PaymentTradePage>;
|
|
6
6
|
exportExcel(queryParams: PaymentTradeExportReq): AxiosPromise;
|
|
7
|
+
refund(data: PaymentRefundReq): AxiosPromise<PaymentRefundModel>;
|
|
7
8
|
}
|
|
8
9
|
declare const paymentTradeApi: PaymentTradeApiImpl;
|
|
9
10
|
export { paymentTradeApi };
|
|
@@ -7,6 +7,8 @@ export interface PaymentTradeReq extends EntityReq {
|
|
|
7
7
|
merchantId?: string;
|
|
8
8
|
orderNo?: string;
|
|
9
9
|
outOrderNo?: string;
|
|
10
|
+
accTradeNo?: string;
|
|
11
|
+
tradeNo?: string;
|
|
10
12
|
channelId?: string;
|
|
11
13
|
agentCode?: string;
|
|
12
14
|
termNo?: string;
|
|
@@ -31,6 +33,7 @@ export interface PaymentTradeReq extends EntityReq {
|
|
|
31
33
|
hasPayMode?: boolean;
|
|
32
34
|
hasTradeStatus?: boolean;
|
|
33
35
|
tradeStatus?: string;
|
|
36
|
+
orderTime?: string;
|
|
34
37
|
tokenExt?: string;
|
|
35
38
|
}
|
|
36
39
|
export interface PaymentTradeModel extends EntityModel {
|
|
@@ -95,3 +98,28 @@ export interface PaymentTradeExportReq extends EntityExportReq {
|
|
|
95
98
|
fileName?: string;
|
|
96
99
|
req: PaymentTradeReq;
|
|
97
100
|
}
|
|
101
|
+
export interface PaymentRefundReq {
|
|
102
|
+
tenant?: string;
|
|
103
|
+
requestId?: string;
|
|
104
|
+
orderNo?: string;
|
|
105
|
+
outOrderNo?: string;
|
|
106
|
+
merchantNo?: string;
|
|
107
|
+
originTradeNo?: string;
|
|
108
|
+
refundMethod?: string;
|
|
109
|
+
isCommission?: boolean;
|
|
110
|
+
orderId?: string;
|
|
111
|
+
refundAmount?: number;
|
|
112
|
+
refundReason?: string;
|
|
113
|
+
encodePwd?: string;
|
|
114
|
+
tokenExt?: string;
|
|
115
|
+
notifyUrl?: string;
|
|
116
|
+
tradeAmount?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface PaymentRefundModel {
|
|
119
|
+
orderNo?: string;
|
|
120
|
+
outOrderNo?: string;
|
|
121
|
+
merchantNo?: string;
|
|
122
|
+
refundMethod?: string;
|
|
123
|
+
createTime?: string;
|
|
124
|
+
payerAmount?: number;
|
|
125
|
+
}
|
package/dts/src/constant.d.ts
CHANGED
|
@@ -34,8 +34,12 @@ declare const _default: {
|
|
|
34
34
|
tradeStatus: string;
|
|
35
35
|
orderStatusRead: string;
|
|
36
36
|
tradeStatusRead: string;
|
|
37
|
+
accTradeNo: string;
|
|
37
38
|
tradeNo: string;
|
|
39
|
+
accTradeNoRead: string;
|
|
40
|
+
tradeNoRead: string;
|
|
38
41
|
refundReason: string;
|
|
42
|
+
refundReasonRequired: string;
|
|
39
43
|
description: string;
|
|
40
44
|
qrcodeNo: string;
|
|
41
45
|
payTimeRequired: string;
|
|
@@ -53,6 +57,12 @@ declare const _default: {
|
|
|
53
57
|
orderTime: string;
|
|
54
58
|
startOrderTime: string;
|
|
55
59
|
endOrderTime: string;
|
|
60
|
+
refund: string;
|
|
61
|
+
refundView: string;
|
|
62
|
+
refundAmount: string;
|
|
63
|
+
refundAmountRequired: string;
|
|
64
|
+
encodePwd: string;
|
|
65
|
+
encodePwdRequired: string;
|
|
56
66
|
};
|
|
57
67
|
settleTradeAnalysis: {
|
|
58
68
|
merchantNo: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
entityKey: {
|
|
4
|
+
type: PropType<any>;
|
|
5
|
+
default: () => void;
|
|
6
|
+
};
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
refresh: (...args: any[]) => void;
|
|
12
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
entityKey: {
|
|
15
|
+
type: PropType<any>;
|
|
16
|
+
default: () => void;
|
|
17
|
+
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
23
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
entityKey: any;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-settle",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.70",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -8,22 +8,12 @@
|
|
|
8
8
|
"dist",
|
|
9
9
|
"dts/src"
|
|
10
10
|
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"dev": "vite --host",
|
|
13
|
-
"build": "vite build && pnpm build:dts",
|
|
14
|
-
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
15
|
-
"preview": "vite preview",
|
|
16
|
-
"build-only": "vite build",
|
|
17
|
-
"type-check": "vue-tsc --build --force",
|
|
18
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
19
|
-
"format": "prettier --write src/"
|
|
20
|
-
},
|
|
21
11
|
"peerDependencies": {
|
|
22
12
|
"axios": "^1.9.0",
|
|
23
13
|
"element-plus": "^2.9.10",
|
|
24
|
-
"jmash-core": "^0.1.
|
|
25
|
-
"jmash-dict": "^0.1.
|
|
26
|
-
"jmash-rbac": "^0.1.
|
|
14
|
+
"jmash-core": "^0.1.38",
|
|
15
|
+
"jmash-dict": "^0.1.5",
|
|
16
|
+
"jmash-rbac": "^0.1.25",
|
|
27
17
|
"pinia": "^2.3.1",
|
|
28
18
|
"vue": "^3.5.13",
|
|
29
19
|
"vue-i18n": "^9.14.4",
|
|
@@ -59,5 +49,15 @@
|
|
|
59
49
|
"file-saver": "^2.0.5",
|
|
60
50
|
"nprogress": "^0.2.0",
|
|
61
51
|
"qs": "^6.12.0"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"dev": "vite --host",
|
|
55
|
+
"build": "vite build && pnpm build:dts",
|
|
56
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
57
|
+
"preview": "vite preview",
|
|
58
|
+
"build-only": "vite build",
|
|
59
|
+
"type-check": "vue-tsc --build --force",
|
|
60
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
61
|
+
"format": "prettier --write src/"
|
|
62
62
|
}
|
|
63
|
-
}
|
|
63
|
+
}
|