@yoooloo42/joker 1.0.295 → 1.0.296
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/dist/index.cjs.js +7 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -15
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -48099,18 +48099,14 @@ var amountBox = {
|
|
|
48099
48099
|
let {
|
|
48100
48100
|
scopeThis
|
|
48101
48101
|
} = _ref;
|
|
48102
|
-
let
|
|
48103
|
-
// 未支付
|
|
48104
|
-
started = 0,
|
|
48102
|
+
let started = 0,
|
|
48105
48103
|
// 支付中
|
|
48106
48104
|
succeeded = 0,
|
|
48107
48105
|
// 支付成功
|
|
48108
48106
|
failed = 0; // 支付失败
|
|
48109
48107
|
|
|
48110
48108
|
scopeThis.tableData.data.forEach(i => {
|
|
48111
|
-
if (i.status_code === '
|
|
48112
|
-
unpaid = unpaid + i.amount;
|
|
48113
|
-
} else if (i.status_code === '1') {
|
|
48109
|
+
if (i.status_code === '1') {
|
|
48114
48110
|
started = started + i.amount;
|
|
48115
48111
|
} else if (i.status_code === '2') {
|
|
48116
48112
|
succeeded = succeeded + i.amount;
|
|
@@ -48119,11 +48115,11 @@ var amountBox = {
|
|
|
48119
48115
|
}
|
|
48120
48116
|
});
|
|
48121
48117
|
return {
|
|
48122
|
-
sum: succeeded + started + unpaid,
|
|
48123
|
-
succeeded,
|
|
48124
48118
|
started,
|
|
48119
|
+
succeeded,
|
|
48125
48120
|
failed,
|
|
48126
|
-
|
|
48121
|
+
// 未支付
|
|
48122
|
+
unpaid: scopeThis.initBox.deal - succeeded - started
|
|
48127
48123
|
};
|
|
48128
48124
|
}
|
|
48129
48125
|
};
|
|
@@ -48205,9 +48201,8 @@ return (_ctx, _cache) => {
|
|
|
48205
48201
|
_cache[3] || (_cache[3] = vue.createElementVNode("thead", null, [
|
|
48206
48202
|
vue.createElementVNode("tr", null, [
|
|
48207
48203
|
vue.createElementVNode("th", null, "订单金额(应收应付)"),
|
|
48208
|
-
vue.createElementVNode("th", null, "支付金额合计"),
|
|
48209
|
-
vue.createElementVNode("th", null, "支付成功"),
|
|
48210
48204
|
vue.createElementVNode("th", null, "支付中"),
|
|
48205
|
+
vue.createElementVNode("th", null, "支付成功"),
|
|
48211
48206
|
vue.createElementVNode("th", null, "支付失败"),
|
|
48212
48207
|
vue.createElementVNode("th", null, "未支付")
|
|
48213
48208
|
])
|
|
@@ -48219,13 +48214,10 @@ return (_ctx, _cache) => {
|
|
|
48219
48214
|
}, vue.toDisplayString(Math.floor(scopeThis.initBox.deal) / 100), 5 /* TEXT, STYLE */),
|
|
48220
48215
|
vue.createElementVNode("td", {
|
|
48221
48216
|
style: vue.normalizeStyle(style.value.amount)
|
|
48222
|
-
}, vue.toDisplayString(Math.floor(scopeThis.amountBox.
|
|
48217
|
+
}, vue.toDisplayString(Math.floor(scopeThis.amountBox.started) / 100), 5 /* TEXT, STYLE */),
|
|
48223
48218
|
vue.createElementVNode("td", {
|
|
48224
48219
|
style: vue.normalizeStyle(style.value.amount)
|
|
48225
48220
|
}, vue.toDisplayString(Math.floor(scopeThis.amountBox.succeeded) / 100), 5 /* TEXT, STYLE */),
|
|
48226
|
-
vue.createElementVNode("td", {
|
|
48227
|
-
style: vue.normalizeStyle(style.value.amount)
|
|
48228
|
-
}, vue.toDisplayString(Math.floor(scopeThis.amountBox.started) / 100), 5 /* TEXT, STYLE */),
|
|
48229
48221
|
vue.createElementVNode("td", {
|
|
48230
48222
|
style: vue.normalizeStyle(style.value.amount)
|
|
48231
48223
|
}, vue.toDisplayString(Math.floor(scopeThis.amountBox.failed) / 100), 5 /* TEXT, STYLE */),
|