xyvcard-order 0.0.21 → 0.0.23

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