xyvcard-order 0.0.12 → 0.0.14

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.
Files changed (57) hide show
  1. package/dist/{change-3TnGoLNv.mjs → change-DGamLhRi.mjs} +1 -1
  2. package/dist/change.vue_vue_type_script_setup_true_lang-C8lf4PIw.mjs +170 -0
  3. package/dist/{deliver-CgSCkEMe.mjs → deliver-c_zzsilY.mjs} +1 -1
  4. package/dist/{deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs → deliver.vue_vue_type_script_setup_true_lang-DAoCkmOi.mjs} +35 -35
  5. package/dist/{edit-BgR1glUx.mjs → edit-mVQUFq0q.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs → edit.vue_vue_type_script_setup_true_lang-AHBcvcRn.mjs} +31 -31
  7. package/dist/{index-BLTeDGPq.mjs → index-BlR9fPfK.mjs} +127 -131
  8. package/dist/index-CxzT_Hk2.mjs +62 -0
  9. package/dist/index-D3YsBDBM.mjs +373 -0
  10. package/dist/index-IiHp9Y40.mjs +1475 -0
  11. package/dist/index.mjs +263 -258
  12. package/dist/info-BgzKwnii.mjs +328 -0
  13. package/dist/{info-3uYTUNzE.mjs → info-BpYW4SHu.mjs} +1 -1
  14. package/dist/info.vue_vue_type_script_setup_true_lang-BioQaXDt.mjs +177 -0
  15. package/dist/orderList-CNj8AcQQ.mjs +4 -0
  16. package/dist/orderList.vue_vue_type_script_setup_true_lang-C0EyjiIS.mjs +609 -0
  17. package/dist/{reply-9iq8g6ah.mjs → reply-BWKE7lzJ.mjs} +1 -1
  18. package/dist/{reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs → reply.vue_vue_type_script_setup_true_lang-AnsyNIM8.mjs} +15 -13
  19. package/dist/{review-DY1KQI3U.mjs → review-DH5466Un.mjs} +1 -1
  20. package/dist/{review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs → review.vue_vue_type_script_setup_true_lang-C5Fb8wnP.mjs} +81 -77
  21. package/dist/style.css +1 -1
  22. package/dist/{viewLogist-Cxu-IV-d.mjs → viewLogist-CHiDaaZx.mjs} +1 -1
  23. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CkSqEuA1.mjs +93 -0
  24. package/dts/src/api/dict.d.ts +0 -6
  25. package/dts/src/api/order-appraises/types.d.ts +3 -3
  26. package/dts/src/api/order-info/types.d.ts +8 -1
  27. package/dts/src/api/order-logistics/types.d.ts +2 -0
  28. package/dts/src/api/order-refunds/types.d.ts +3 -0
  29. package/dts/src/lang/order/zh-cn.d.ts +6 -1
  30. package/dts/src/router/orderRouter.d.ts +0 -1
  31. package/dts/src/views/order/order-info/change.vue.d.ts +1 -10
  32. package/dts/src/{components/EnumRadio/index.vue.d.ts → views/order/order-info/orderList.vue.d.ts} +7 -11
  33. package/dts/src/views/order/order-info/viewLogist.vue.d.ts +1 -1
  34. package/package.json +6 -9
  35. package/dist/canceled-CTHGNWuB.mjs +0 -4
  36. package/dist/canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs +0 -507
  37. package/dist/change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs +0 -190
  38. package/dist/completed-BnD0Wh1K.mjs +0 -4
  39. package/dist/completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs +0 -507
  40. package/dist/index-CfEKTjAd.mjs +0 -1361
  41. package/dist/index-DaOMDld4.mjs +0 -668
  42. package/dist/index-S4jzuvn6.mjs +0 -375
  43. package/dist/info-DXX50Xfh.mjs +0 -328
  44. package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +0 -178
  45. package/dist/unpay-Bc8ekFnl.mjs +0 -4
  46. package/dist/unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs +0 -557
  47. package/dist/unpost-Bj10_WvZ.mjs +0 -4
  48. package/dist/unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs +0 -538
  49. package/dist/unreceive-CUiJvXq1.mjs +0 -4
  50. package/dist/unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs +0 -507
  51. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +0 -91
  52. package/dts/src/views/order/order-info/canceled.vue.d.ts +0 -2
  53. package/dts/src/views/order/order-info/completed.vue.d.ts +0 -2
  54. package/dts/src/views/order/order-info/unpay.vue.d.ts +0 -2
  55. package/dts/src/views/order/order-info/unpost.vue.d.ts +0 -2
  56. package/dts/src/views/order/order-info/unreceive.vue.d.ts +0 -2
  57. package/dist/{index-CHzhYqx8.mjs → index-CIvF2jlB.mjs} +1 -1
@@ -1,33 +1,33 @@
1
- import { defineComponent as oe, getCurrentInstance as re, ref as h, reactive as ne, onMounted as ae, watch as ue, resolveComponent as s, resolveDirective as de, openBlock as p, createElementBlock as k, createElementVNode as i, createVNode as o, withCtx as r, unref as a, withKeys as _, createTextVNode as S, toDisplayString as u, isRef as U, createBlock as T, createCommentVNode as C, withDirectives as se } from "vue";
2
- import { useRoute as ie } from "vue-router";
3
- import { ElMessageBox as me, ElMessage as q } from "element-plus";
4
- import { useTableHooks as fe } from "jmash-core";
5
- import { useI18n as pe } from "vue-i18n";
1
+ import { defineComponent as le, getCurrentInstance as oe, ref as h, reactive as re, onMounted as ne, watch as ae, resolveComponent as s, resolveDirective as de, createElementBlock as k, openBlock as p, createElementVNode as i, createVNode as o, createBlock as S, createCommentVNode as C, withCtx as r, withKeys as _, unref as a, createTextVNode as T, toDisplayString as d, withDirectives as ue, isRef as U } from "vue";
2
+ import { useRoute as se } from "vue-router";
3
+ import { ElMessageBox as ie, ElMessage as q } from "element-plus";
4
+ import { useTableHooks as me } from "jmash-core";
5
+ import { useI18n as fe } from "vue-i18n";
6
6
  import { o as M } from "./index-DAb5kkOk.mjs";
7
- import { _ as ce } from "./review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs";
8
- import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs";
9
- import { D as v, C as z } from "./index-CHzhYqx8.mjs";
10
- const ye = { class: "app-container" }, be = { class: "search-container" }, Re = ["onClick"], he = ["onClick"], Ce = ["onClick"], Ne = /* @__PURE__ */ oe({
7
+ import { _ as pe } from "./review.vue_vue_type_script_setup_true_lang-C5Fb8wnP.mjs";
8
+ import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-BioQaXDt.mjs";
9
+ import { D as c, C as z } from "./index-CIvF2jlB.mjs";
10
+ const ce = { class: "app-container" }, ye = { class: "search-container" }, be = ["onClick"], Re = ["onClick"], he = ["onClick"], De = /* @__PURE__ */ le({
11
11
  __name: "index",
12
- setup(we) {
13
- const { t: m } = pe(), I = ie(), { proxy: B } = re();
14
- v.shopBizDict.useValues();
12
+ setup(Ce) {
13
+ const { t: m } = fe(), I = se(), { proxy: B } = oe();
14
+ c.shopBizDict.useValues();
15
15
  const $ = h([]), n = h({
16
16
  curPage: 1,
17
17
  pageSize: 10
18
18
  }), {
19
- tableHooks: d,
19
+ tableHooks: u,
20
20
  multipleTableRef: Q,
21
21
  queryFormRef: j,
22
22
  listLoading: A,
23
23
  tableData: K,
24
- total: w
25
- } = fe(m, M, n);
24
+ total: g
25
+ } = me(m, M, n);
26
26
  let y = h([
27
27
  {
28
28
  label: "orderInfo.shopName",
29
29
  prop: "shopId",
30
- width: "250",
30
+ minWidth: "200",
31
31
  slotName: "shopId",
32
32
  columnType: "slot",
33
33
  isColumn: !0
@@ -35,7 +35,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
35
35
  {
36
36
  label: "orderRefunds.createTime",
37
37
  prop: "createTime",
38
- width: "200",
38
+ width: "160",
39
39
  slotName: "createTime",
40
40
  columnType: "slot",
41
41
  isColumn: !0
@@ -43,7 +43,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
43
43
  {
44
44
  label: "orderRefunds.order",
45
45
  prop: "order",
46
- width: "250",
46
+ minWidth: "270",
47
47
  slotName: "order",
48
48
  columnType: "slot",
49
49
  isColumn: !0
@@ -51,7 +51,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
51
51
  {
52
52
  label: "orderRefunds.refundStatus",
53
53
  prop: "status",
54
- width: "100",
54
+ width: "90",
55
55
  slotName: "refundStatus",
56
56
  columnType: "slot",
57
57
  isColumn: !0
@@ -59,13 +59,13 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
59
59
  {
60
60
  label: "orderRefunds.refundAmount",
61
61
  prop: "refundAmount",
62
- width: "100",
62
+ width: "90",
63
63
  isColumn: !0
64
64
  },
65
65
  {
66
66
  label: "orderRefunds.refundCode",
67
67
  prop: "refundCode",
68
- width: "250",
68
+ width: "210",
69
69
  isColumn: !0
70
70
  },
71
71
  {
@@ -82,7 +82,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
82
82
  },
83
83
  {
84
84
  label: "common.operate",
85
- width: "200",
85
+ width: "130",
86
86
  slotName: "operation",
87
87
  columnType: "slot",
88
88
  fixed: "right",
@@ -96,12 +96,12 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
96
96
  title: m("orderRefunds.info"),
97
97
  visible: !1
98
98
  });
99
- let g = ne({});
100
- function L(t) {
101
- g.refundId = t.refundId, b.value.visible = !0;
99
+ let w = re({});
100
+ function L(l) {
101
+ w.refundId = l.refundId, b.value.visible = !0;
102
102
  }
103
- const H = async (t) => {
104
- me.confirm(
103
+ const W = async (l) => {
104
+ ie.confirm(
105
105
  m("orderRefunds.refundConfirm"),
106
106
  m("orderRefunds.refund"),
107
107
  {
@@ -111,15 +111,15 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
111
111
  }
112
112
  ).then(() => {
113
113
  M.refund({
114
- refundId: t.refundId,
114
+ refundId: l.refundId,
115
115
  requestId: Math.random() * 10 + ""
116
- }).then((l) => {
117
- l.status === 200 && (q({
116
+ }).then((t) => {
117
+ t.status === 200 && (q({
118
118
  message: m("orderRefunds.refundSuccess"),
119
119
  type: "success"
120
- }), d.handleQuery());
121
- }).catch((l) => {
122
- console.error("Error canceling order:", l), q({
120
+ }), u.handleQuery());
121
+ }).catch((t) => {
122
+ console.error("Error canceling order:", t), q({
123
123
  message: m("orderRefunds.refundFailed"),
124
124
  type: "error"
125
125
  });
@@ -127,40 +127,37 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
127
127
  }).catch(() => {
128
128
  });
129
129
  };
130
- function O(t) {
131
- g.refundId = t.refundId, R.value.visible = !0;
132
- }
133
- function F(t) {
134
- n.value.startCreateTime = t[0], n.value.endCreateTime = t[1];
130
+ function H(l) {
131
+ w.refundId = l.refundId, R.value.visible = !0;
135
132
  }
136
- function W() {
137
- $.value = [], n.value.startCreateTime = "", n.value.endCreateTime = "", d.resetQuery();
133
+ function O(l) {
134
+ n.value.startCreateTime = l[0], n.value.endCreateTime = l[1];
138
135
  }
139
- function G(t) {
140
- d.selectionRows.value = t;
136
+ function F() {
137
+ $.value = [], n.value.startCreateTime = "", n.value.endCreateTime = "", u.resetQuery();
141
138
  }
142
- function D(t) {
143
- t && d.getList();
139
+ function D(l) {
140
+ l && u.getList();
144
141
  }
145
- return ae(() => {
146
- const t = I.query.refundStatus;
147
- t && (n.value = {
142
+ return ne(() => {
143
+ const l = I.query.refundStatus;
144
+ l && (n.value = {
148
145
  ...n.value,
149
- refundStatus: t
150
- }, d.handleQuery());
151
- }), ue(
146
+ refundStatus: l
147
+ }, u.handleQuery());
148
+ }), ae(
152
149
  () => I.query.refundStatus,
153
- (t) => {
154
- t && (n.value = {
150
+ (l) => {
151
+ l && (n.value = {
155
152
  ...n.value,
156
- refundStatus: t
157
- }), d.handleQuery();
153
+ refundStatus: l
154
+ }), u.handleQuery();
158
155
  }
159
- ), d.getList(), (t, l) => {
160
- const N = s("jmash-select"), c = s("el-form-item"), f = s("el-col"), P = s("el-input"), V = s("el-row"), J = s("el-date-picker"), Y = s("el-button"), X = s("el-form"), Z = s("jmash-column-select"), x = s("jmash-table"), ee = s("jmash-pagination"), te = s("el-card"), le = de("hasPerm");
161
- return p(), k("div", ye, [
162
- i("div", be, [
163
- o(X, {
156
+ ), u.getList(), (l, t) => {
157
+ const N = s("jmash-select"), v = s("el-form-item"), f = s("el-col"), P = s("el-input"), V = s("el-row"), G = s("el-date-picker"), Y = s("el-button"), J = s("el-form"), X = s("jmash-column-select"), Z = s("jmash-table"), x = s("jmash-pagination"), ee = s("el-card"), te = de("hasPerm");
158
+ return p(), k("div", ce, [
159
+ i("div", ye, [
160
+ o(J, {
164
161
  ref_key: "queryFormRef",
165
162
  ref: j,
166
163
  model: n.value,
@@ -171,18 +168,18 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
171
168
  default: r(() => [
172
169
  o(f, { span: 6 }, {
173
170
  default: r(() => [
174
- o(c, {
175
- label: t.$t("orderRefunds.shopName"),
171
+ o(v, {
172
+ label: l.$t("orderRefunds.shopName"),
176
173
  prop: "shopId"
177
174
  }, {
178
175
  default: r(() => [
179
176
  o(N, {
180
177
  modelValue: n.value.shopId,
181
- "onUpdate:modelValue": l[0] || (l[0] = (e) => n.value.shopId = e),
182
- data: a(v).shopBizDict.values,
183
- placeholder: t.$t("orderRefunds.shopNameRequired"),
178
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.shopId = e),
179
+ data: a(c).shopBizDict.values,
180
+ placeholder: l.$t("orderRefunds.shopNameRequired"),
184
181
  clearable: "",
185
- onKeyup: l[1] || (l[1] = _((e) => a(d).handleQuery(), ["enter"]))
182
+ onKeyup: t[1] || (t[1] = _((e) => a(u).handleQuery(), ["enter"]))
186
183
  }, null, 8, ["modelValue", "data", "placeholder"])
187
184
  ]),
188
185
  _: 1
@@ -192,17 +189,17 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
192
189
  }),
193
190
  o(f, { span: 6 }, {
194
191
  default: r(() => [
195
- o(c, {
196
- label: t.$t("orderRefunds.refundCode"),
192
+ o(v, {
193
+ label: l.$t("orderRefunds.refundCode"),
197
194
  prop: "likeOrderCode"
198
195
  }, {
199
196
  default: r(() => [
200
197
  o(P, {
201
198
  modelValue: n.value.likeOrderCode,
202
- "onUpdate:modelValue": l[2] || (l[2] = (e) => n.value.likeOrderCode = e),
203
- placeholder: t.$t("orderRefunds.refundCodeRequired"),
199
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.likeOrderCode = e),
200
+ placeholder: l.$t("orderRefunds.refundCodeRequired"),
204
201
  clearable: "",
205
- onKeyup: l[3] || (l[3] = _((e) => a(d).handleQuery(), ["enter"])),
202
+ onKeyup: t[3] || (t[3] = _((e) => a(u).handleQuery(), ["enter"])),
206
203
  class: "!w-[203px]"
207
204
  }, null, 8, ["modelValue", "placeholder"])
208
205
  ]),
@@ -213,17 +210,17 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
213
210
  }),
214
211
  o(f, { span: 6 }, {
215
212
  default: r(() => [
216
- o(c, {
217
- label: t.$t("orderRefunds.spuName"),
213
+ o(v, {
214
+ label: l.$t("orderRefunds.spuName"),
218
215
  prop: "likeSpuName"
219
216
  }, {
220
217
  default: r(() => [
221
218
  o(P, {
222
219
  modelValue: n.value.likeSpuName,
223
- "onUpdate:modelValue": l[4] || (l[4] = (e) => n.value.likeSpuName = e),
224
- placeholder: t.$t("orderRefunds.spuNameRequired"),
220
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.likeSpuName = e),
221
+ placeholder: l.$t("orderRefunds.spuNameRequired"),
225
222
  clearable: "",
226
- onKeyup: l[5] || (l[5] = _((e) => a(d).handleQuery(), ["enter"])),
223
+ onKeyup: t[5] || (t[5] = _((e) => a(u).handleQuery(), ["enter"])),
227
224
  class: "!w-[203px]"
228
225
  }, null, 8, ["modelValue", "placeholder"])
229
226
  ]),
@@ -234,18 +231,18 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
234
231
  }),
235
232
  o(f, { span: 6 }, {
236
233
  default: r(() => [
237
- o(c, {
238
- label: t.$t("orderRefunds.refundStatus"),
234
+ o(v, {
235
+ label: l.$t("orderRefunds.refundStatus"),
239
236
  prop: "refundStatus"
240
237
  }, {
241
238
  default: r(() => [
242
239
  o(N, {
243
240
  modelValue: n.value.refundStatus,
244
- "onUpdate:modelValue": l[6] || (l[6] = (e) => n.value.refundStatus = e),
245
- data: a(v).refundApplyEnum.values,
246
- placeholder: t.$t("orderRefunds.refundStatusRequired"),
241
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => n.value.refundStatus = e),
242
+ data: a(c).refundApplyEnum.values,
243
+ placeholder: l.$t("orderRefunds.refundStatusRequired"),
247
244
  clearable: "",
248
- onKeyup: l[7] || (l[7] = _((e) => a(d).handleQuery(), ["enter"]))
245
+ onKeyup: t[7] || (t[7] = _((e) => a(u).handleQuery(), ["enter"]))
249
246
  }, null, 8, ["modelValue", "data", "placeholder"])
250
247
  ]),
251
248
  _: 1
@@ -260,20 +257,20 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
260
257
  default: r(() => [
261
258
  o(f, { span: 6 }, {
262
259
  default: r(() => [
263
- o(c, {
264
- label: t.$t("orderRefunds.refundsTime"),
260
+ o(v, {
261
+ label: l.$t("orderRefunds.refundsTime"),
265
262
  prop: "startCreateTime"
266
263
  }, {
267
264
  default: r(() => [
268
- o(J, {
265
+ o(G, {
269
266
  modelValue: $.value,
270
- "onUpdate:modelValue": l[8] || (l[8] = (e) => $.value = e),
267
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => $.value = e),
271
268
  type: "daterange",
272
- "start-placeholder": t.$t("orderRefunds.startCreateTime"),
273
- "end-placeholder": t.$t("orderRefunds.endCreateTime"),
269
+ "start-placeholder": l.$t("orderRefunds.startCreateTime"),
270
+ "end-placeholder": l.$t("orderRefunds.endCreateTime"),
274
271
  format: "YYYY-MM-DD",
275
272
  "value-format": "YYYY-MM-DD",
276
- onChange: F
273
+ onChange: O
277
274
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
278
275
  ]),
279
276
  _: 1
@@ -283,20 +280,20 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
283
280
  }),
284
281
  o(f, { span: 18 }, {
285
282
  default: r(() => [
286
- o(c, { class: "search-btn" }, {
283
+ o(v, { class: "search-btn" }, {
287
284
  default: r(() => [
288
285
  o(Y, {
289
286
  type: "primary",
290
- onClick: l[9] || (l[9] = (e) => a(d).handleQuery())
287
+ onClick: t[9] || (t[9] = (e) => a(u).handleQuery())
291
288
  }, {
292
289
  default: r(() => [
293
- S(u(t.$t("common.search")), 1)
290
+ T(d(l.$t("common.search")), 1)
294
291
  ]),
295
292
  _: 1
296
293
  }),
297
- o(Y, { onClick: W }, {
294
+ o(Y, { onClick: F }, {
298
295
  default: r(() => [
299
- S(u(t.$t("common.reset")), 1)
296
+ T(d(l.$t("common.reset")), 1)
300
297
  ]),
301
298
  _: 1
302
299
  })
@@ -312,24 +309,23 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
312
309
  ]),
313
310
  _: 1
314
311
  }, 8, ["model"]),
315
- l[17] || (l[17] = i("div", { class: "clear" }, null, -1))
312
+ t[17] || (t[17] = i("div", { class: "clear" }, null, -1))
316
313
  ]),
317
- o(te, {
314
+ o(ee, {
318
315
  shadow: "never",
319
316
  class: "table-container"
320
317
  }, {
321
318
  header: r(() => [
322
319
  o(V, null, {
323
320
  default: r(() => [
324
- o(f, { span: 17 }),
325
321
  o(f, {
326
- span: 7,
322
+ span: 24,
327
323
  class: "container-float"
328
324
  }, {
329
325
  default: r(() => [
330
- o(Z, {
326
+ o(X, {
331
327
  modelValue: a(y),
332
- "onUpdate:modelValue": l[10] || (l[10] = (e) => U(y) ? y.value = e : y = e),
328
+ "onUpdate:modelValue": t[10] || (t[10] = (e) => U(y) ? y.value = e : y = e),
333
329
  "label-name": "order/order-refunds"
334
330
  }, null, 8, ["modelValue"])
335
331
  ]),
@@ -340,95 +336,95 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
340
336
  })
341
337
  ]),
342
338
  footer: r(() => [
343
- a(w) > 0 ? (p(), T(ee, {
339
+ a(g) > 0 ? (p(), S(x, {
344
340
  key: 0,
345
- total: a(w),
346
- "onUpdate:total": l[11] || (l[11] = (e) => U(w) ? w.value = e : null),
341
+ total: a(g),
342
+ "onUpdate:total": t[11] || (t[11] = (e) => U(g) ? g.value = e : null),
347
343
  "current-page": n.value.curPage,
348
- "onUpdate:currentPage": l[12] || (l[12] = (e) => n.value.curPage = e),
344
+ "onUpdate:currentPage": t[12] || (t[12] = (e) => n.value.curPage = e),
349
345
  "page-size": n.value.pageSize,
350
- "onUpdate:pageSize": l[13] || (l[13] = (e) => n.value.pageSize = e),
351
- onPagination: l[14] || (l[14] = (e) => a(d).getList())
346
+ "onUpdate:pageSize": t[13] || (t[13] = (e) => n.value.pageSize = e),
347
+ onPagination: t[14] || (t[14] = (e) => a(u).getList())
352
348
  }, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
353
349
  ]),
354
350
  default: r(() => [
355
- o(x, {
351
+ o(Z, {
356
352
  ref_key: "multipleTableRef",
357
353
  ref: Q,
358
354
  "row-key": "refundId",
359
355
  "list-loading": a(A),
360
356
  data: a(K),
361
357
  "table-label": a(y),
362
- onSelectionChange: G
358
+ isSelection: !1
363
359
  }, {
364
360
  shopId: r((e) => [
365
- i("span", null, u(a(v).shopBizDict.getValue(e.data.row.shopId)), 1)
361
+ i("span", null, d(a(c).shopBizDict.getValue(e.data.row.shopId)), 1)
366
362
  ]),
367
363
  createTime: r((e) => [
368
- i("span", null, u(a(B).$moment.formatDate(
364
+ i("span", null, d(a(B).$moment.formatDate(
369
365
  e.data.row.createTime,
370
366
  "YYYY-MM-DD HH:mm:ss"
371
367
  )), 1)
372
368
  ]),
373
369
  order: r((e) => [
374
370
  i("div", null, [
375
- i("div", null, u(t.$t("orderRefunds.orderCode")) + ":" + u(e.data.row.orderCode), 1),
376
- i("div", null, u(t.$t("orderRefunds.orderPrice")) + ":¥" + u(e.data.row.orderPrice), 1),
377
- i("div", null, u(t.$t("orderRefunds.freightPrice")) + ":+¥" + u(e.data.row.freightPrice), 1),
378
- i("div", null, u(t.$t("orderRefunds.paymentCouponPrice")) + ":-¥" + u(e.data.row.paymentCouponPrice), 1),
379
- i("div", null, u(t.$t("orderRefunds.paymentWay")) + ": " + u(a(v).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
371
+ i("div", null, d(l.$t("orderRefunds.orderCode")) + ":" + d(e.data.row.orderCode), 1),
372
+ i("div", null, d(l.$t("orderRefunds.orderPrice")) + ":¥" + d(e.data.row.orderPrice), 1),
373
+ i("div", null, d(l.$t("orderRefunds.freightPrice")) + ":¥" + d(e.data.row.freightPrice), 1),
374
+ i("div", null, d(l.$t("orderRefunds.paymentCouponPrice")) + ":¥" + d(e.data.row.paymentCouponPrice), 1),
375
+ i("div", null, d(l.$t("orderRefunds.paymentWay")) + ": " + d(a(c).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
380
376
  ])
381
377
  ]),
382
378
  refundStatus: r((e) => [
383
- i("span", null, u(a(v).refundApplyEnum.getEnumValue(e.data.row.status)), 1)
379
+ i("span", null, d(a(c).refundApplyEnum.getEnumValue(e.data.row.status)), 1)
384
380
  ]),
385
381
  operation: r((e) => [
386
- se((p(), k("span", {
382
+ ue((p(), k("span", {
387
383
  class: "el-button-color",
388
- onClick: (E) => O(e.data.row)
384
+ onClick: (E) => H(e.data.row)
389
385
  }, [
390
- S(u(t.$t("common.view")), 1)
391
- ], 8, Re)), [
392
- [le, ["order:order_refunds:view"]]
386
+ T(d(l.$t("common.view")), 1)
387
+ ], 8, be)), [
388
+ [te, ["order:order_refunds:view"]]
393
389
  ]),
394
390
  e.data.row.status === a(z).APPLY ? (p(), k("span", {
395
391
  key: 0,
396
392
  class: "el-button-color dropdown-left",
397
393
  onClick: (E) => L(e.data.row)
398
- }, u(t.$t("orderRefunds.refundReview")), 9, he)) : C("", !0),
394
+ }, d(l.$t("orderRefunds.refundReview")), 9, Re)) : C("", !0),
399
395
  e.data.row.status === a(z).PASS ? (p(), k("span", {
400
396
  key: 1,
401
397
  class: "el-button-color dropdown-left",
402
- onClick: (E) => H(e.data.row)
403
- }, u(t.$t("orderRefunds.refund")), 9, Ce)) : C("", !0)
398
+ onClick: (E) => W(e.data.row)
399
+ }, d(l.$t("orderRefunds.refund")), 9, he)) : C("", !0)
404
400
  ]),
405
401
  _: 1
406
402
  }, 8, ["list-loading", "data", "table-label"])
407
403
  ]),
408
404
  _: 1
409
405
  }),
410
- b.value.visible ? (p(), T(ce, {
406
+ b.value.visible ? (p(), S(pe, {
411
407
  key: 0,
412
408
  modelValue: b.value.visible,
413
- "onUpdate:modelValue": l[15] || (l[15] = (e) => b.value.visible = e),
409
+ "onUpdate:modelValue": t[15] || (t[15] = (e) => b.value.visible = e),
414
410
  title: b.value.title,
415
- "entity-key": a(g),
411
+ "entity-key": a(w),
416
412
  onRefresh: D,
417
413
  width: "800px"
418
414
  }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
419
- R.value.visible ? (p(), T(ve, {
415
+ R.value.visible ? (p(), S(ve, {
420
416
  key: 1,
421
417
  modelValue: R.value.visible,
422
- "onUpdate:modelValue": l[16] || (l[16] = (e) => R.value.visible = e),
418
+ "onUpdate:modelValue": t[16] || (t[16] = (e) => R.value.visible = e),
423
419
  title: R.value.title,
424
- "entity-key": a(g),
420
+ "entity-key": a(w),
425
421
  onRefresh: D,
426
- width: "600px"
422
+ width: "900px"
427
423
  }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
428
424
  ]);
429
425
  };
430
426
  }
431
427
  });
432
428
  export {
433
- Ne as default
429
+ De as default
434
430
  };
@@ -0,0 +1,62 @@
1
+ import { defineComponent as N, ref as k, onMounted as E, resolveComponent as p, createElementBlock as _, openBlock as t, createVNode as d, withCtx as r, createBlock as l, createCommentVNode as i, Fragment as y, renderList as V, unref as T } from "vue";
2
+ import { useRoute as U } from "vue-router";
3
+ import "element-plus";
4
+ import { C as a, D as B } from "./index-CIvF2jlB.mjs";
5
+ import { _ as f } from "./orderList.vue_vue_type_script_setup_true_lang-C0EyjiIS.mjs";
6
+ const L = { class: "app-container" }, D = /* @__PURE__ */ N({
7
+ __name: "index",
8
+ setup(M) {
9
+ const e = k(5), u = U(), v = {
10
+ 0: a.UNPAY,
11
+ 1: a.UNPOST,
12
+ 2: a.UNRECEIVE,
13
+ 3: a.COMPLETE,
14
+ 4: a.CANCEL
15
+ };
16
+ function b(m) {
17
+ e.value = m.paneName;
18
+ }
19
+ return E(() => {
20
+ u.query.activeTab && (e.value = Number(u.query.activeTab));
21
+ }), (m, s) => {
22
+ const c = p("el-tab-pane"), C = p("el-tabs");
23
+ return t(), _("div", L, [
24
+ d(C, {
25
+ modelValue: e.value,
26
+ "onUpdate:modelValue": s[0] || (s[0] = (o) => e.value = o),
27
+ type: "border-card",
28
+ onTabClick: b
29
+ }, {
30
+ default: r(() => [
31
+ d(c, {
32
+ label: "全部订单",
33
+ name: 5
34
+ }, {
35
+ default: r(() => [
36
+ e.value === 5 ? (t(), l(f, { key: 0 })) : i("", !0)
37
+ ]),
38
+ _: 1
39
+ }),
40
+ (t(!0), _(y, null, V(T(B).orderStatusEnum.values, (o, n) => (t(), l(c, {
41
+ key: n,
42
+ label: o.value,
43
+ name: n
44
+ }, {
45
+ default: r(() => [
46
+ e.value === n ? (t(), l(f, {
47
+ key: 0,
48
+ "order-status": v[e.value]
49
+ }, null, 8, ["order-status"])) : i("", !0)
50
+ ]),
51
+ _: 2
52
+ }, 1032, ["label", "name"]))), 128))
53
+ ]),
54
+ _: 1
55
+ }, 8, ["modelValue"])
56
+ ]);
57
+ };
58
+ }
59
+ });
60
+ export {
61
+ D as default
62
+ };