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