xyvcard-order 0.0.13 → 0.0.16

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 (35) hide show
  1. package/dist/{deliver-TfrCwaGj.mjs → deliver-DgeAQGWF.mjs} +1 -1
  2. package/dist/{deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs → deliver.vue_vue_type_script_setup_true_lang-C3td_yoA.mjs} +39 -39
  3. package/dist/{edit-BdUVrlcn.mjs → edit-Deg6r27i.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs → edit.vue_vue_type_script_setup_true_lang-UITF3LcS.mjs} +29 -28
  5. package/dist/{index-ByufLV6K.mjs → index-BU69SZYW.mjs} +108 -111
  6. package/dist/{index-PLezrWfs.mjs → index-D3YsBDBM.mjs} +107 -104
  7. package/dist/{index-1R3wKfde.mjs → index-DG1nqqf-.mjs} +514 -541
  8. package/dist/{index-B_-apQkW.mjs → index-DPz3N69v.mjs} +2 -2
  9. package/dist/index.mjs +2 -3
  10. package/dist/{info-DbWhDIS0.mjs → info-B0qHcNt0.mjs} +113 -113
  11. package/dist/{info-DYltAD_A.mjs → info-CnZwG4mF.mjs} +1 -1
  12. package/dist/{info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs → info.vue_vue_type_script_setup_true_lang-DKGqSw6X.mjs} +2 -2
  13. package/dist/{orderList-RTzDSXuR.mjs → orderList-BW_UVwjI.mjs} +1 -1
  14. package/dist/{orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs → orderList.vue_vue_type_script_setup_true_lang-Dee_j5c-.mjs} +197 -214
  15. package/dist/{review-z7cdFET5.mjs → review-DH5466Un.mjs} +1 -1
  16. package/dist/{review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs → review.vue_vue_type_script_setup_true_lang-C5Fb8wnP.mjs} +55 -54
  17. package/dts/src/api/dict.d.ts +0 -6
  18. package/dts/src/api/order-appraises/types.d.ts +1 -5
  19. package/dts/src/api/order-info/index.d.ts +1 -2
  20. package/dts/src/api/order-info/types.d.ts +2 -15
  21. package/dts/src/api/order-logistics/types.d.ts +0 -3
  22. package/dts/src/api/order-refunds/types.d.ts +0 -2
  23. package/dts/src/lang/order/zh-cn.d.ts +0 -1
  24. package/dts/src/router/orderRouter.d.ts +0 -1
  25. package/dts/src/views/order/order-info/change.vue.d.ts +1 -10
  26. package/package.json +5 -5
  27. package/dist/change-ZEjolHT6.mjs +0 -4
  28. package/dist/change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs +0 -190
  29. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  30. package/dts/src/views/order/order-info/canceled.vue.d.ts +0 -2
  31. package/dts/src/views/order/order-info/completed.vue.d.ts +0 -2
  32. package/dts/src/views/order/order-info/unpay.vue.d.ts +0 -2
  33. package/dts/src/views/order/order-info/unpost.vue.d.ts +0 -2
  34. package/dts/src/views/order/order-info/unreceive.vue.d.ts +0 -2
  35. package/dist/{index-CHzhYqx8.mjs → index-CIvF2jlB.mjs} +1 -1
@@ -1,13 +1,12 @@
1
- import { defineComponent as ie, ref as _, getCurrentInstance as me, reactive as q, resolveComponent as v, resolveDirective as pe, createElementBlock as C, openBlock as u, createElementVNode as i, createVNode as n, createBlock as p, createCommentVNode as y, withCtx as o, withKeys as h, unref as a, createTextVNode as s, toDisplayString as l, withDirectives as N, Fragment as fe, renderList as ye, isRef as z } from "vue";
2
- import { ElMessageBox as ve, ElMessage as B } from "element-plus";
3
- import { useRouter as ce } from "vue-router";
4
- import { useI18n as Ie } from "vue-i18n";
5
- import { useTableHooks as Se } from "jmash-core";
6
- import { o as Q } from "./index-1R3wKfde.mjs";
7
- import { D as m, C as S } from "./index-CHzhYqx8.mjs";
8
- import { _ as be } from "./deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs";
9
- import { _ as we } from "./change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs";
10
- const ge = { class: "app-container" }, Ce = { class: "search-container" }, he = { class: "item-spuName" }, ke = { class: "item-salesPrice" }, Ve = { class: "item-specInfo" }, _e = { class: "item-quantity" }, $e = { class: "orderPrice" }, Ee = ["onClick"], Pe = ["onClick"], Te = ["onClick"], qe = /* @__PURE__ */ ie({
1
+ import { defineComponent as ue, ref as P, getCurrentInstance as se, reactive as Y, resolveComponent as y, resolveDirective as ie, createElementBlock as C, openBlock as u, createElementVNode as i, createVNode as n, createBlock as p, createCommentVNode as c, withCtx as a, withKeys as h, unref as o, createTextVNode as s, toDisplayString as l, withDirectives as T, Fragment as me, renderList as pe, isRef as A } from "vue";
2
+ import { ElMessageBox as fe, ElMessage as q } from "element-plus";
3
+ import { useRouter as ye } from "vue-router";
4
+ import { useI18n as ce } from "vue-i18n";
5
+ import { useTableHooks as ve } from "jmash-core";
6
+ import { o as z } from "./index-DG1nqqf-.mjs";
7
+ import { D as m, C as I } from "./index-CIvF2jlB.mjs";
8
+ import { _ as Ie } from "./deliver.vue_vue_type_script_setup_true_lang-C3td_yoA.mjs";
9
+ const Se = { class: "app-container" }, be = { class: "search-container" }, we = { class: "item-spuName" }, ge = { class: "item-salesPrice" }, Ce = { class: "item-specInfo" }, he = { class: "item-quantity" }, ke = { class: "orderPrice" }, _e = ["onClick"], Ve = ["onClick"], $e = ["onClick"], Me = /* @__PURE__ */ ue({
11
10
  __name: "orderList",
12
11
  props: {
13
12
  orderStatus: {
@@ -15,22 +14,22 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
15
14
  default: () => ""
16
15
  }
17
16
  },
18
- setup(j) {
19
- const { t: c } = Ie(), K = ce(), $ = j;
17
+ setup(B) {
18
+ const { t: S } = ce(), Q = ye(), V = B;
20
19
  m.shopBizDict.useValues();
21
- const D = _([]), { proxy: O } = me(), d = _({
20
+ const N = P([]), { proxy: j } = se(), d = P({
22
21
  curPage: 1,
23
22
  pageSize: 10,
24
- orderStatus: $.orderStatus ? $.orderStatus : void 0
23
+ orderStatus: V.orderStatus ? V.orderStatus : void 0
25
24
  }), {
26
25
  tableHooks: f,
27
- multipleTableRef: F,
28
- queryFormRef: H,
29
- listLoading: G,
30
- tableData: J,
31
- total: E
32
- } = Se(c, Q, d);
33
- let k = _([
26
+ multipleTableRef: K,
27
+ queryFormRef: O,
28
+ listLoading: F,
29
+ tableData: H,
30
+ total: $
31
+ } = ve(S, z, d);
32
+ let k = P([
34
33
  {
35
34
  label: "orderInfo.shopName",
36
35
  prop: "shopId",
@@ -96,85 +95,79 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
96
95
  isColumn: !0
97
96
  }
98
97
  ]);
99
- const V = _({
100
- title: c("orderInfo.deliver"),
101
- visible: !1
102
- }), P = _({
103
- title: c("orderInfo.changePrice"),
98
+ const _ = P({
99
+ title: S("orderInfo.deliver"),
104
100
  visible: !1
105
101
  });
106
- let U = q({}), R = q({});
107
- function X(r) {
102
+ let M = Y({}), W = Y({});
103
+ function G(r) {
108
104
  d.value.startCreateTime = r[0], d.value.endCreateTime = r[1];
109
105
  }
110
- function Z() {
111
- D.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", f.resetQuery();
112
- }
113
- function x(r) {
114
- f.selectionRows.value = r;
106
+ function J() {
107
+ N.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", f.resetQuery();
115
108
  }
116
- function ee(r) {
117
- K.push({
109
+ function X(r) {
110
+ Q.push({
118
111
  path: "/raworder/order-info/info",
119
112
  query: { orderId: r.orderId }
120
113
  });
121
114
  }
122
- const te = async (r) => {
123
- ve.confirm(c("orderInfo.confirmCancel"), c("common.cancel"), {
124
- confirmButtonText: c("common.confirm"),
125
- cancelButtonText: c("common.cancel"),
115
+ const Z = async (r) => {
116
+ fe.confirm(S("orderInfo.confirmCancel"), S("common.cancel"), {
117
+ confirmButtonText: S("common.confirm"),
118
+ cancelButtonText: S("common.cancel"),
126
119
  type: "warning"
127
120
  }).then(() => {
128
- Q.cancel({
121
+ z.cancel({
129
122
  orderId: r.orderId
130
123
  }).then((t) => {
131
- t.status === 200 && (B({
132
- message: c("orderInfo.cancelSuccess"),
124
+ t.status === 200 && (q({
125
+ message: S("orderInfo.cancelSuccess"),
133
126
  type: "success"
134
127
  }), f.handleQuery());
135
128
  }).catch((t) => {
136
- console.error("Error canceling order:", t), B({
137
- message: c("orderInfo.cancelFailed"),
129
+ console.error("Error canceling order:", t), q({
130
+ message: S("orderInfo.cancelFailed"),
138
131
  type: "error"
139
132
  });
140
133
  });
141
134
  }).catch(() => {
142
135
  });
143
136
  };
144
- function ae(r) {
137
+ function x(r) {
145
138
  var t;
146
- R.itemId = (t = r.orderItemList) == null ? void 0 : t.results[0].itemId, U.orderId = r.orderId, V.value.visible = !0;
139
+ W.itemId = (t = r.orderItemList) == null ? void 0 : t.results[0].itemId, M.orderId = r.orderId, _.value.visible = !0;
147
140
  }
148
- function A(r) {
141
+ function ee(r) {
149
142
  r && f.getList();
150
143
  }
151
144
  return f.getList(), (r, t) => {
152
- const L = v("jmash-select"), w = v("el-form-item"), b = v("el-col"), M = v("el-input"), W = v("el-row"), oe = v("el-date-picker"), Y = v("el-button"), re = v("el-form"), le = v("jmash-column-select"), I = v("el-tag"), ne = v("jmash-table"), de = v("jmash-pagination"), ue = v("el-card"), T = pe("hasPerm");
153
- return u(), C("div", ge, [
154
- i("div", Ce, [
155
- n(re, {
145
+ const D = y("jmash-select"), w = y("el-form-item"), b = y("el-col"), U = y("el-input"), R = y("el-row"), te = y("el-date-picker"), L = y("el-button"), ae = y("el-form"), oe = y("jmash-column-select"), v = y("el-tag"), re = y("jmash-table"), le = y("jmash-pagination"), ne = y("el-card"), E = ie("hasPerm");
146
+ return u(), C("div", Se, [
147
+ i("div", be, [
148
+ n(ae, {
156
149
  ref_key: "queryFormRef",
157
- ref: H,
150
+ ref: O,
158
151
  model: d.value,
159
152
  inline: !0
160
153
  }, {
161
- default: o(() => [
162
- n(W, null, {
163
- default: o(() => [
154
+ default: a(() => [
155
+ n(R, null, {
156
+ default: a(() => [
164
157
  n(b, { span: 6 }, {
165
- default: o(() => [
158
+ default: a(() => [
166
159
  n(w, {
167
160
  label: r.$t("orderInfo.shopName"),
168
161
  prop: "shopId"
169
162
  }, {
170
- default: o(() => [
171
- n(L, {
163
+ default: a(() => [
164
+ n(D, {
172
165
  modelValue: d.value.shopId,
173
166
  "onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
174
- data: a(m).shopBizDict.values,
167
+ data: o(m).shopBizDict.values,
175
168
  placeholder: r.$t("orderInfo.shopNameRequired"),
176
169
  clearable: "",
177
- onKeyup: t[1] || (t[1] = h((e) => a(f).handleQuery(), ["enter"]))
170
+ onKeyup: t[1] || (t[1] = h((e) => o(f).handleQuery(), ["enter"]))
178
171
  }, null, 8, ["modelValue", "data", "placeholder"])
179
172
  ]),
180
173
  _: 1
@@ -183,18 +176,18 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
183
176
  _: 1
184
177
  }),
185
178
  n(b, { span: 6 }, {
186
- default: o(() => [
179
+ default: a(() => [
187
180
  n(w, {
188
181
  label: r.$t("orderInfo.orderCode"),
189
182
  prop: "likeOrderCode"
190
183
  }, {
191
- default: o(() => [
192
- n(M, {
184
+ default: a(() => [
185
+ n(U, {
193
186
  modelValue: d.value.likeOrderCode,
194
187
  "onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.likeOrderCode = e),
195
188
  placeholder: r.$t("orderInfo.orderCodeRequired"),
196
189
  clearable: "",
197
- onKeyup: t[3] || (t[3] = h((e) => a(f).handleQuery(), ["enter"])),
190
+ onKeyup: t[3] || (t[3] = h((e) => o(f).handleQuery(), ["enter"])),
198
191
  class: "!w-[203px]"
199
192
  }, null, 8, ["modelValue", "placeholder"])
200
193
  ]),
@@ -204,18 +197,18 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
204
197
  _: 1
205
198
  }),
206
199
  n(b, { span: 6 }, {
207
- default: o(() => [
200
+ default: a(() => [
208
201
  n(w, {
209
202
  label: r.$t("orderInfo.spuName"),
210
203
  prop: "likeSpuName"
211
204
  }, {
212
- default: o(() => [
213
- n(M, {
205
+ default: a(() => [
206
+ n(U, {
214
207
  modelValue: d.value.likeSpuName,
215
208
  "onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeSpuName = e),
216
209
  placeholder: r.$t("orderInfo.spuNameRequired"),
217
210
  clearable: "",
218
- onKeyup: t[5] || (t[5] = h((e) => a(f).handleQuery(), ["enter"])),
211
+ onKeyup: t[5] || (t[5] = h((e) => o(f).handleQuery(), ["enter"])),
219
212
  class: "!w-[203px]"
220
213
  }, null, 8, ["modelValue", "placeholder"])
221
214
  ]),
@@ -225,18 +218,18 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
225
218
  _: 1
226
219
  }),
227
220
  n(b, { span: 6 }, {
228
- default: o(() => [
221
+ default: a(() => [
229
222
  n(w, {
230
223
  label: r.$t("orderInfo.likeMobile"),
231
224
  prop: "likeMobile"
232
225
  }, {
233
- default: o(() => [
234
- n(M, {
226
+ default: a(() => [
227
+ n(U, {
235
228
  modelValue: d.value.likeMobile,
236
229
  "onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.likeMobile = e),
237
230
  placeholder: r.$t("orderInfo.likeMobileRequired"),
238
231
  clearable: "",
239
- onKeyup: t[7] || (t[7] = h((e) => a(f).handleQuery(), ["enter"])),
232
+ onKeyup: t[7] || (t[7] = h((e) => o(f).handleQuery(), ["enter"])),
240
233
  class: "!w-[203px]"
241
234
  }, null, 8, ["modelValue", "placeholder"])
242
235
  ]),
@@ -248,25 +241,25 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
248
241
  ]),
249
242
  _: 1
250
243
  }),
251
- n(W, null, {
252
- default: o(() => [
253
- $.orderStatus ? y("", !0) : (u(), p(b, {
244
+ n(R, null, {
245
+ default: a(() => [
246
+ V.orderStatus ? c("", !0) : (u(), p(b, {
254
247
  key: 0,
255
248
  span: 6
256
249
  }, {
257
- default: o(() => [
250
+ default: a(() => [
258
251
  n(w, {
259
252
  label: r.$t("orderInfo.orderStatus"),
260
253
  prop: "orderStatus"
261
254
  }, {
262
- default: o(() => [
263
- n(L, {
255
+ default: a(() => [
256
+ n(D, {
264
257
  modelValue: d.value.orderStatus,
265
258
  "onUpdate:modelValue": t[8] || (t[8] = (e) => d.value.orderStatus = e),
266
- data: a(m).orderStatusEnum.values,
259
+ data: o(m).orderStatusEnum.values,
267
260
  placeholder: r.$t("orderInfo.orderStatusRequired"),
268
261
  clearable: "",
269
- onKeyup: t[9] || (t[9] = h((e) => a(f).handleQuery(), ["enter"]))
262
+ onKeyup: t[9] || (t[9] = h((e) => o(f).handleQuery(), ["enter"]))
270
263
  }, null, 8, ["modelValue", "data", "placeholder"])
271
264
  ]),
272
265
  _: 1
@@ -275,19 +268,19 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
275
268
  _: 1
276
269
  })),
277
270
  n(b, { span: 6 }, {
278
- default: o(() => [
271
+ default: a(() => [
279
272
  n(w, {
280
273
  label: r.$t("orderInfo.paymentStatus"),
281
274
  prop: "paymentStatus"
282
275
  }, {
283
- default: o(() => [
284
- n(L, {
276
+ default: a(() => [
277
+ n(D, {
285
278
  modelValue: d.value.paymentStatus,
286
279
  "onUpdate:modelValue": t[10] || (t[10] = (e) => d.value.paymentStatus = e),
287
- data: a(m).paymentStatusEnum.values,
280
+ data: o(m).paymentStatusEnum.values,
288
281
  placeholder: r.$t("orderInfo.paymentStatusRequired"),
289
282
  clearable: "",
290
- onKeyup: t[11] || (t[11] = h((e) => a(f).handleQuery(), ["enter"]))
283
+ onKeyup: t[11] || (t[11] = h((e) => o(f).handleQuery(), ["enter"]))
291
284
  }, null, 8, ["modelValue", "data", "placeholder"])
292
285
  ]),
293
286
  _: 1
@@ -296,21 +289,21 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
296
289
  _: 1
297
290
  }),
298
291
  n(b, { span: 6 }, {
299
- default: o(() => [
292
+ default: a(() => [
300
293
  n(w, {
301
294
  label: r.$t("orderInfo.orderTime"),
302
295
  prop: "startCreateTime"
303
296
  }, {
304
- default: o(() => [
305
- n(oe, {
306
- modelValue: D.value,
307
- "onUpdate:modelValue": t[12] || (t[12] = (e) => D.value = e),
297
+ default: a(() => [
298
+ n(te, {
299
+ modelValue: N.value,
300
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => N.value = e),
308
301
  type: "daterange",
309
302
  "start-placeholder": r.$t("orderInfo.startCreateTime"),
310
303
  "end-placeholder": r.$t("orderInfo.endCreateTime"),
311
304
  format: "YYYY-MM-DD",
312
305
  "value-format": "YYYY-MM-DD",
313
- onChange: X
306
+ onChange: G
314
307
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
315
308
  ]),
316
309
  _: 1
@@ -319,22 +312,22 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
319
312
  _: 1
320
313
  }),
321
314
  n(b, {
322
- span: $.orderStatus ? 12 : 6
315
+ span: V.orderStatus ? 12 : 6
323
316
  }, {
324
- default: o(() => [
317
+ default: a(() => [
325
318
  n(w, { class: "search-btn" }, {
326
- default: o(() => [
327
- n(Y, {
319
+ default: a(() => [
320
+ n(L, {
328
321
  type: "primary",
329
- onClick: t[13] || (t[13] = (e) => a(f).handleQuery())
322
+ onClick: t[13] || (t[13] = (e) => o(f).handleQuery())
330
323
  }, {
331
- default: o(() => [
324
+ default: a(() => [
332
325
  s(l(r.$t("common.search")), 1)
333
326
  ]),
334
327
  _: 1
335
328
  }),
336
- n(Y, { onClick: Z }, {
337
- default: o(() => [
329
+ n(L, { onClick: J }, {
330
+ default: a(() => [
338
331
  s(l(r.$t("common.reset")), 1)
339
332
  ]),
340
333
  _: 1
@@ -352,33 +345,33 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
352
345
  _: 1
353
346
  }, 8, ["model"])
354
347
  ]),
355
- n(ue, {
348
+ n(ne, {
356
349
  shadow: "never",
357
350
  class: "table-container"
358
351
  }, {
359
- header: o(() => [
360
- n(W, null, {
361
- default: o(() => [
352
+ header: a(() => [
353
+ n(R, null, {
354
+ default: a(() => [
362
355
  n(b, {
363
356
  span: 24,
364
357
  class: "container-float"
365
358
  }, {
366
- default: o(() => [
367
- N((u(), p(Y, {
359
+ default: a(() => [
360
+ T((u(), p(L, {
368
361
  plain: "",
369
362
  type: "primary",
370
- onClick: t[14] || (t[14] = (e) => a(f).handleExport(a(c)("orderInfo.name")))
363
+ onClick: t[14] || (t[14] = (e) => o(f).handleExport(o(S)("orderInfo.name")))
371
364
  }, {
372
- default: o(() => [
365
+ default: a(() => [
373
366
  s(l(r.$t("common.export")), 1)
374
367
  ]),
375
368
  _: 1
376
369
  })), [
377
- [T, ["order:order_info:export"]]
370
+ [E, ["order:order_info:export"]]
378
371
  ]),
379
- n(le, {
380
- modelValue: a(k),
381
- "onUpdate:modelValue": t[15] || (t[15] = (e) => z(k) ? k.value = e : k = e),
372
+ n(oe, {
373
+ modelValue: o(k),
374
+ "onUpdate:modelValue": t[15] || (t[15] = (e) => A(k) ? k.value = e : k = e),
382
375
  "label-name": "order/order-info"
383
376
  }, null, 8, ["modelValue"])
384
377
  ]),
@@ -388,225 +381,215 @@ const ge = { class: "app-container" }, Ce = { class: "search-container" }, he =
388
381
  _: 1
389
382
  })
390
383
  ]),
391
- footer: o(() => [
392
- a(E) > 0 ? (u(), p(de, {
384
+ footer: a(() => [
385
+ o($) > 0 ? (u(), p(le, {
393
386
  key: 0,
394
- total: a(E),
395
- "onUpdate:total": t[16] || (t[16] = (e) => z(E) ? E.value = e : null),
387
+ total: o($),
388
+ "onUpdate:total": t[16] || (t[16] = (e) => A($) ? $.value = e : null),
396
389
  "current-page": d.value.curPage,
397
390
  "onUpdate:currentPage": t[17] || (t[17] = (e) => d.value.curPage = e),
398
391
  "page-size": d.value.pageSize,
399
392
  "onUpdate:pageSize": t[18] || (t[18] = (e) => d.value.pageSize = e),
400
- onPagination: t[19] || (t[19] = (e) => a(f).getList())
401
- }, null, 8, ["total", "current-page", "page-size"])) : y("", !0)
393
+ onPagination: t[19] || (t[19] = (e) => o(f).getList())
394
+ }, null, 8, ["total", "current-page", "page-size"])) : c("", !0)
402
395
  ]),
403
- default: o(() => [
404
- n(ne, {
396
+ default: a(() => [
397
+ n(re, {
405
398
  ref_key: "multipleTableRef",
406
- ref: F,
399
+ ref: K,
407
400
  "row-key": "orderId",
408
- "list-loading": a(G),
409
- data: a(J),
410
- "table-label": a(k),
411
- onSelectionChange: x
401
+ "list-loading": o(F),
402
+ data: o(H),
403
+ "table-label": o(k),
404
+ isSelection: !1
412
405
  }, {
413
- shopId: o((e) => [
414
- i("span", null, l(a(m).shopBizDict.getValue(e.data.row.shopId)), 1)
406
+ shopId: a((e) => [
407
+ i("span", null, l(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
415
408
  ]),
416
- orderItemList: o((e) => [
417
- (u(!0), C(fe, null, ye(e.data.row.orderItemList.results, (g, se) => (u(), C("div", {
418
- key: se,
409
+ orderItemList: a((e) => [
410
+ (u(!0), C(me, null, pe(e.data.row.orderItemList.results, (g, de) => (u(), C("div", {
411
+ key: de,
419
412
  class: "order-item"
420
413
  }, [
421
- i("div", he, " 商品名称: " + l(g.spuName), 1),
422
- i("div", ke, "¥" + l(g.salesPrice), 1),
423
- i("div", Ve, " 规格: " + l(g.specInfo), 1),
424
- i("div", _e, "数量:" + l(g.quantity), 1)
414
+ i("div", we, " 商品名称: " + l(g.spuName), 1),
415
+ i("div", ge, "¥" + l(g.salesPrice), 1),
416
+ i("div", Ce, " 规格: " + l(g.specInfo), 1),
417
+ i("div", he, "数量:" + l(g.quantity), 1)
425
418
  ]))), 128))
426
419
  ]),
427
- orderCodeAndCreateTime: o((e) => [
428
- i("div", null, l(a(O).$moment.formatDate(
420
+ orderCodeAndCreateTime: a((e) => [
421
+ i("div", null, l(o(j).$moment.formatDate(
429
422
  e.data.row.createTime,
430
423
  "YYYY-MM-DD HH:mm:ss"
431
424
  )), 1),
432
425
  i("div", null, l(e.data.row.orderCode), 1)
433
426
  ]),
434
- status: o((e) => [
427
+ status: a((e) => [
435
428
  i("div", null, [
436
429
  s(l(r.$t("orderInfo.orderStatus")) + ": ", 1),
437
- e.data.row.orderStatus === a(S).UNPAY ? (u(), p(I, {
430
+ e.data.row.orderStatus === o(I).UNPAY ? (u(), p(v, {
438
431
  key: 0,
439
432
  type: "danger"
440
433
  }, {
441
- default: o(() => [
442
- s(l(a(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
434
+ default: a(() => [
435
+ s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
443
436
  ]),
444
437
  _: 2
445
- }, 1024)) : y("", !0),
446
- e.data.row.orderStatus === a(S).UNPOST ? (u(), p(I, {
438
+ }, 1024)) : c("", !0),
439
+ e.data.row.orderStatus === o(I).UNPOST ? (u(), p(v, {
447
440
  key: 1,
448
441
  type: "warning"
449
442
  }, {
450
- default: o(() => [
451
- s(l(a(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
443
+ default: a(() => [
444
+ s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
452
445
  ]),
453
446
  _: 2
454
- }, 1024)) : y("", !0),
455
- e.data.row.orderStatus === a(S).UNRECEIVE ? (u(), p(I, {
447
+ }, 1024)) : c("", !0),
448
+ e.data.row.orderStatus === o(I).UNRECEIVE ? (u(), p(v, {
456
449
  key: 2,
457
450
  type: "primary"
458
451
  }, {
459
- default: o(() => [
460
- s(l(a(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
452
+ default: a(() => [
453
+ s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
461
454
  ]),
462
455
  _: 2
463
- }, 1024)) : y("", !0),
464
- e.data.row.orderStatus === a(S).COMPLETE ? (u(), p(I, {
456
+ }, 1024)) : c("", !0),
457
+ e.data.row.orderStatus === o(I).COMPLETE ? (u(), p(v, {
465
458
  key: 3,
466
459
  type: "success"
467
460
  }, {
468
- default: o(() => [
469
- s(l(a(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
461
+ default: a(() => [
462
+ s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
470
463
  ]),
471
464
  _: 2
472
- }, 1024)) : y("", !0),
473
- e.data.row.orderStatus === a(S).CANCEL ? (u(), p(I, {
465
+ }, 1024)) : c("", !0),
466
+ e.data.row.orderStatus === o(I).CANCEL ? (u(), p(v, {
474
467
  key: 4,
475
468
  type: "info"
476
469
  }, {
477
- default: o(() => [
478
- s(l(a(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
470
+ default: a(() => [
471
+ s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
479
472
  ]),
480
473
  _: 2
481
- }, 1024)) : y("", !0)
474
+ }, 1024)) : c("", !0)
482
475
  ]),
483
476
  i("span", null, [
484
477
  s(l(r.$t("orderInfo.paymentStatus")) + ": ", 1),
485
- e.data.row.paymentStatus === a(S).UNPAID ? (u(), p(I, {
478
+ e.data.row.paymentStatus === o(I).UNPAID ? (u(), p(v, {
486
479
  key: 0,
487
480
  type: "danger"
488
481
  }, {
489
- default: o(() => [
490
- s(l(a(m).paymentStatusEnum.getEnumValue(
482
+ default: a(() => [
483
+ s(l(o(m).paymentStatusEnum.getEnumValue(
491
484
  e.data.row.paymentStatus
492
485
  )), 1)
493
486
  ]),
494
487
  _: 2
495
- }, 1024)) : e.data.row.paymentStatus === a(S).PART_PAID ? (u(), p(I, {
488
+ }, 1024)) : e.data.row.paymentStatus === o(I).PART_PAID ? (u(), p(v, {
496
489
  key: 1,
497
490
  type: "info"
498
491
  }, {
499
- default: o(() => [
500
- s(l(a(m).paymentStatusEnum.getEnumValue(
492
+ default: a(() => [
493
+ s(l(o(m).paymentStatusEnum.getEnumValue(
501
494
  e.data.row.paymentStatus
502
495
  )), 1)
503
496
  ]),
504
497
  _: 2
505
- }, 1024)) : e.data.row.paymentStatus === a(S).PAID ? (u(), p(I, {
498
+ }, 1024)) : e.data.row.paymentStatus === o(I).PAID ? (u(), p(v, {
506
499
  key: 2,
507
500
  type: "success"
508
501
  }, {
509
- default: o(() => [
510
- s(l(a(m).paymentStatusEnum.getEnumValue(
502
+ default: a(() => [
503
+ s(l(o(m).paymentStatusEnum.getEnumValue(
511
504
  e.data.row.paymentStatus
512
505
  )), 1)
513
506
  ]),
514
507
  _: 2
515
- }, 1024)) : y("", !0)
508
+ }, 1024)) : c("", !0)
516
509
  ]),
517
510
  i("div", null, [
518
511
  s(l(r.$t("orderInfo.appraisesStatus")) + ": ", 1),
519
- e.data.row.appraisesStatus === !1 ? (u(), p(I, {
512
+ e.data.row.appraisesStatus ? c("", !0) : (u(), p(v, {
520
513
  key: 0,
521
514
  type: "info"
522
515
  }, {
523
- default: o(() => [
524
- s(l(a(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
516
+ default: a(() => [
517
+ s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
525
518
  ]),
526
519
  _: 2
527
- }, 1024)) : y("", !0),
528
- e.data.row.appraisesStatus === !0 ? (u(), p(I, {
520
+ }, 1024)),
521
+ e.data.row.appraisesStatus ? (u(), p(v, {
529
522
  key: 1,
530
523
  type: "success"
531
524
  }, {
532
- default: o(() => [
533
- s(l(a(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
525
+ default: a(() => [
526
+ s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
534
527
  ]),
535
528
  _: 2
536
- }, 1024)) : y("", !0)
529
+ }, 1024)) : c("", !0)
537
530
  ])
538
531
  ]),
539
- salesPrice: o((e) => [
532
+ salesPrice: a((e) => [
540
533
  i("div", null, [
541
534
  i("div", null, l(r.$t("orderInfo.salesPrice")) + ": ¥" + l(e.data.row.salesPrice), 1),
542
535
  i("div", null, l(r.$t("orderInfo.freightPrice")) + ": ¥" + l(e.data.row.freightPrice), 1),
543
536
  i("div", null, l(r.$t("orderInfo.paymentCouponPrice")) + ": ¥" + l(e.data.row.paymentCouponPrice), 1),
544
- i("div", $e, l(r.$t("orderInfo.orderPrice")) + ": ¥" + l(e.data.row.orderPrice), 1)
537
+ i("div", ke, l(r.$t("orderInfo.orderPrice")) + ": ¥" + l(e.data.row.orderPrice), 1)
545
538
  ])
546
539
  ]),
547
- paymentWay: o((e) => [
548
- i("span", null, l(a(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
540
+ paymentWay: a((e) => [
541
+ i("span", null, l(o(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
549
542
  ]),
550
- deliveryWay: o((e) => [
551
- i("span", null, l(a(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
543
+ deliveryWay: a((e) => [
544
+ i("span", null, l(o(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
552
545
  ]),
553
- operation: o((e) => [
554
- N((u(), C("span", {
546
+ operation: a((e) => [
547
+ T((u(), C("span", {
555
548
  class: "el-button-color",
556
- onClick: (g) => ee(e.data.row)
549
+ onClick: (g) => X(e.data.row)
557
550
  }, [
558
551
  s(l(r.$t("common.view")), 1)
559
- ], 8, Ee)), [
560
- [T, ["order:order_info:view"]]
552
+ ], 8, _e)), [
553
+ [E, ["order:order_info:view"]]
561
554
  ]),
562
- e.data.row.orderStatus === a(S).UNPOST ? N((u(), C("span", {
555
+ e.data.row.orderStatus === o(I).UNPOST ? T((u(), C("span", {
563
556
  key: 0,
564
557
  class: "el-button-color dropdown-left",
565
- onClick: (g) => ae(e.data.row)
558
+ onClick: (g) => x(e.data.row)
566
559
  }, [
567
560
  s(l(r.$t("orderInfo.deliver")), 1)
568
- ], 8, Pe)), [
569
- [T, ["order:order_info:delivery"]]
570
- ]) : y("", !0),
571
- e.data.row.orderStatus === a(S).UNPAY ? N((u(), C("span", {
561
+ ], 8, Ve)), [
562
+ [E, ["order:order_info:delivery"]]
563
+ ]) : c("", !0),
564
+ e.data.row.orderStatus === o(I).UNPAY ? T((u(), C("span", {
572
565
  key: 1,
573
566
  class: "el-button-color dropdown-left",
574
- onClick: (g) => te(e.data.row)
567
+ onClick: (g) => Z(e.data.row)
575
568
  }, [
576
569
  s(l(r.$t("orderInfo.cancel")), 1)
577
- ], 8, Te)), [
578
- [T, ["order:order_info:cancel"]]
579
- ]) : y("", !0)
570
+ ], 8, $e)), [
571
+ [E, ["order:order_info:cancel"]]
572
+ ]) : c("", !0)
580
573
  ]),
581
574
  _: 1
582
575
  }, 8, ["list-loading", "data", "table-label"])
583
576
  ]),
584
577
  _: 1
585
578
  }),
586
- V.value.visible ? (u(), p(be, {
579
+ _.value.visible ? (u(), p(Ie, {
587
580
  key: 0,
588
- modelValue: V.value.visible,
589
- "onUpdate:modelValue": t[20] || (t[20] = (e) => V.value.visible = e),
590
- title: V.value.title,
591
- "entity-key": a(U),
592
- "entity-model": a(R),
593
- onRefresh: A,
594
- width: "500px"
595
- }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : y("", !0),
596
- P.value.visible ? (u(), p(we, {
597
- key: 1,
598
- modelValue: P.value.visible,
599
- "onUpdate:modelValue": t[21] || (t[21] = (e) => P.value.visible = e),
600
- title: P.value.title,
601
- "entity-key": a(U),
602
- "entity-model": a(R),
603
- onRefresh: A,
581
+ modelValue: _.value.visible,
582
+ "onUpdate:modelValue": t[20] || (t[20] = (e) => _.value.visible = e),
583
+ title: _.value.title,
584
+ "entity-key": o(M),
585
+ "entity-model": o(W),
586
+ onRefresh: ee,
604
587
  width: "500px"
605
- }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : y("", !0)
588
+ }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : c("", !0)
606
589
  ]);
607
590
  };
608
591
  }
609
592
  });
610
593
  export {
611
- qe as _
594
+ Me as _
612
595
  };