xyvcard-order 0.0.6 → 0.0.7

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 (46) hide show
  1. package/dist/{canceled-CAEulpM1.mjs → canceled-DkLaSCTM.mjs} +1 -1
  2. package/dist/{canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs → canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs} +86 -86
  3. package/dist/{change-CH-CF_q-.mjs → change-D_G7h-Nt.mjs} +1 -1
  4. package/dist/{change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs → change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs} +23 -23
  5. package/dist/{completed-B70yQ6oI.mjs → completed-D1_MyTO_.mjs} +1 -1
  6. package/dist/{unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs → completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs} +74 -74
  7. package/dist/{deliver-Bp2Ckw4g.mjs → deliver-DqqGFB3x.mjs} +1 -1
  8. package/dist/{deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs → deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs} +58 -59
  9. package/dist/{edit-DyFqRxsE.mjs → edit-MJXLcLm4.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs → edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs} +6 -6
  11. package/dist/index-CHzhYqx8.mjs +114 -0
  12. package/dist/{index-BnhfSp6U.mjs → index-DAb5kkOk.mjs} +3 -23
  13. package/dist/{index-B3HKfAop.mjs → index-DDG2eFhK.mjs} +94 -94
  14. package/dist/{index-DHJFncJ6.mjs → index-Dy-lHz4D.mjs} +99 -106
  15. package/dist/{index-BGDa_EK1.mjs → index-ZL41UIHr.mjs} +146 -164
  16. package/dist/index.mjs +12 -117
  17. package/dist/info-Cl9HaMCm.mjs +327 -0
  18. package/dist/{info-BmqDpsnn.mjs → info-CxZXerj5.mjs} +1 -1
  19. package/dist/info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs +178 -0
  20. package/dist/{review-Dr4_ycsb.mjs → review-Bc-YCZ1X.mjs} +1 -1
  21. package/dist/{review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs → review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs} +56 -57
  22. package/dist/style.css +1 -1
  23. package/dist/{unpay-WAsbEXlr.mjs → unpay-3tbx6NWV.mjs} +1 -1
  24. package/dist/{unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs → unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs} +72 -72
  25. package/dist/{unpost-BocJwYcE.mjs → unpost-DOQ_sNYN.mjs} +1 -1
  26. package/dist/{unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs → unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs} +84 -84
  27. package/dist/{unreceive-BLcvdJxY.mjs → unreceive-WZteM54K.mjs} +1 -1
  28. package/dist/{completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs → unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs} +76 -76
  29. package/dist/{viewLogist-D9-zqepw.mjs → viewLogist-lN1KX2qM.mjs} +1 -1
  30. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs +93 -0
  31. package/dts/src/api/dict.d.ts +3 -0
  32. package/dts/src/api/index.d.ts +2 -1
  33. package/dts/src/api/order-appraises/types.d.ts +1 -0
  34. package/dts/src/api/order-info/types.d.ts +2 -1
  35. package/dts/src/api/order-logistics/index.d.ts +1 -5
  36. package/dts/src/api/order-logistics/types.d.ts +3 -62
  37. package/dts/src/api/order-refunds/index.d.ts +0 -2
  38. package/dts/src/constant.d.ts +12 -10
  39. package/dts/src/lang/order/zh-cn.d.ts +2 -2
  40. package/dts/src/main.d.ts +0 -1
  41. package/package.json +5 -4
  42. package/dist/index-suIgymdy.mjs +0 -93
  43. package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +0 -41
  44. package/dist/info-Ba-BgJkw.mjs +0 -368
  45. package/dist/info.vue_vue_type_script_setup_true_lang-CHaAOFGr.mjs +0 -188
  46. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +0 -127
@@ -1,31 +1,31 @@
1
- import { defineComponent as Z, getCurrentInstance as x, ref as T, resolveComponent as p, resolveDirective as ee, openBlock as i, createElementBlock as V, createElementVNode as u, createVNode as n, withCtx as t, unref as o, withKeys as C, createTextVNode as s, toDisplayString as l, withDirectives as R, createBlock as f, isRef as W, createCommentVNode as c, Fragment as te, renderList as ae } from "vue";
1
+ import { defineComponent as Z, getCurrentInstance as x, ref as P, resolveComponent as p, resolveDirective as ee, openBlock as i, createElementBlock as V, createElementVNode as u, createVNode as n, withCtx as t, unref as o, withKeys as g, createTextVNode as s, toDisplayString as l, withDirectives as R, createBlock as f, isRef as U, createCommentVNode as I, Fragment as te, renderList as ae } from "vue";
2
2
  import { useRouter as oe } from "vue-router";
3
3
  import { useTableHooks as le } from "jmash-core";
4
4
  import { useI18n as re } from "vue-i18n";
5
5
  import { o as ne } from "./index-DyFAVz8t.mjs";
6
- import { D as m, C as b } from "./index-suIgymdy.mjs";
7
- const de = { class: "app-container" }, ue = { class: "search-container" }, se = { class: "item-spuName" }, ie = { class: "item-salesPrice" }, me = { class: "item-specInfo" }, pe = { class: "item-quantity" }, fe = { class: "orderPrice" }, ye = ["onClick"], Ce = /* @__PURE__ */ Z({
8
- __name: "unreceive",
6
+ import { D as m, C as b } from "./index-CHzhYqx8.mjs";
7
+ const de = { class: "app-container" }, ue = { class: "search-container" }, se = { class: "item-spuName" }, ie = { class: "item-salesPrice" }, me = { class: "item-specInfo" }, pe = { class: "item-quantity" }, fe = { class: "orderPrice" }, ye = ["onClick"], ge = /* @__PURE__ */ Z({
8
+ __name: "completed",
9
9
  setup(ve) {
10
- const { t: P } = re(), { proxy: Y } = x();
10
+ const { t: T } = re(), { proxy: L } = x();
11
11
  m.shopBizDict.useValues();
12
- const h = T([]), d = T({
12
+ const h = P([]), d = P({
13
13
  curPage: 1,
14
14
  pageSize: 10,
15
- orderStatus: b.unreceive
16
- }), q = oe(), {
15
+ orderStatus: b.COMPLETE
16
+ }), M = oe(), {
17
17
  tableHooks: y,
18
- multipleTableRef: M,
19
- queryFormRef: L,
20
- listLoading: U,
21
- tableData: z,
18
+ multipleTableRef: Y,
19
+ queryFormRef: A,
20
+ listLoading: W,
21
+ tableData: q,
22
22
  total: _
23
- } = le(P, ne, d);
24
- let I = T([
23
+ } = le(T, ne, d);
24
+ let C = P([
25
25
  {
26
26
  label: "orderInfo.shopName",
27
27
  prop: "shopId",
28
- width: "200",
28
+ width: "250",
29
29
  slotName: "shopId",
30
30
  columnType: "slot",
31
31
  isColumn: !0
@@ -41,7 +41,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
41
41
  {
42
42
  label: "orderInfo.orderCodeAndCreateTime",
43
43
  prop: "orderCodeAndCreateTime",
44
- width: "250",
44
+ width: "200",
45
45
  slotName: "orderCodeAndCreateTime",
46
46
  columnType: "slot",
47
47
  isColumn: !0
@@ -65,7 +65,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
65
65
  {
66
66
  label: "orderInfo.paymentWay",
67
67
  prop: "paymentWay",
68
- width: "150",
68
+ width: "120",
69
69
  slotName: "paymentWay",
70
70
  columnType: "slot",
71
71
  isColumn: !0
@@ -73,29 +73,29 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
73
73
  {
74
74
  label: "orderInfo.deliveryWay",
75
75
  prop: "deliveryWay",
76
- width: "150",
76
+ width: "120",
77
77
  slotName: "deliveryWay",
78
78
  columnType: "slot",
79
79
  isColumn: !0
80
80
  },
81
81
  {
82
82
  label: "common.operate",
83
- width: "80",
83
+ width: "200",
84
84
  slotName: "operation",
85
85
  columnType: "slot",
86
86
  fixed: "right",
87
87
  isColumn: !0
88
88
  }
89
89
  ]);
90
- function j(r) {
90
+ function z(r) {
91
91
  d.value.startCreateTime = r[0], d.value.endCreateTime = r[1];
92
92
  }
93
- function Q() {
93
+ function j() {
94
94
  h.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", y.resetQuery();
95
95
  }
96
- function A(r) {
97
- q.push({
98
- path: "/order/order-info/info",
96
+ function Q(r) {
97
+ M.push({
98
+ path: "/raworder/order-info/info",
99
99
  query: { orderId: r.orderId }
100
100
  });
101
101
  }
@@ -103,17 +103,17 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
103
103
  y.selectionRows.value = r;
104
104
  }
105
105
  return y.getList(), (r, a) => {
106
- const N = p("jmash-select"), S = p("el-form-item"), w = p("el-col"), k = p("el-input"), $ = p("el-row"), K = p("el-date-picker"), E = p("el-button"), H = p("el-form"), F = p("jmash-column-select"), v = p("el-tag"), O = p("jmash-table"), G = p("jmash-pagination"), J = p("el-card"), D = ee("hasPerm");
106
+ const N = p("jmash-select"), S = p("el-form-item"), w = p("el-col"), k = p("el-input"), E = p("el-row"), K = p("el-date-picker"), $ = p("el-button"), O = p("el-form"), H = p("jmash-column-select"), v = p("el-tag"), F = p("jmash-table"), G = p("jmash-pagination"), J = p("el-card"), D = ee("hasPerm");
107
107
  return i(), V("div", de, [
108
108
  u("div", ue, [
109
- n(H, {
109
+ n(O, {
110
110
  ref_key: "queryFormRef",
111
- ref: L,
111
+ ref: A,
112
112
  model: d.value,
113
113
  inline: !0
114
114
  }, {
115
115
  default: t(() => [
116
- n($, null, {
116
+ n(E, null, {
117
117
  default: t(() => [
118
118
  n(w, { span: 6 }, {
119
119
  default: t(() => [
@@ -128,7 +128,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
128
128
  data: o(m).shopBizDict.values,
129
129
  placeholder: r.$t("orderInfo.shopNameRequired"),
130
130
  clearable: "",
131
- onKeyup: a[1] || (a[1] = C((e) => o(y).handleQuery(), ["enter"]))
131
+ onKeyup: a[1] || (a[1] = g((e) => o(y).handleQuery(), ["enter"]))
132
132
  }, null, 8, ["modelValue", "data", "placeholder"])
133
133
  ]),
134
134
  _: 1
@@ -148,7 +148,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
148
148
  "onUpdate:modelValue": a[2] || (a[2] = (e) => d.value.likeOrderCode = e),
149
149
  placeholder: r.$t("orderInfo.orderCodeRequired"),
150
150
  clearable: "",
151
- onKeyup: a[3] || (a[3] = C((e) => o(y).handleQuery(), ["enter"])),
151
+ onKeyup: a[3] || (a[3] = g((e) => o(y).handleQuery(), ["enter"])),
152
152
  class: "!w-[203px]"
153
153
  }, null, 8, ["modelValue", "placeholder"])
154
154
  ]),
@@ -169,7 +169,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
169
169
  "onUpdate:modelValue": a[4] || (a[4] = (e) => d.value.likeSpuName = e),
170
170
  placeholder: r.$t("orderInfo.spuNameRequired"),
171
171
  clearable: "",
172
- onKeyup: a[5] || (a[5] = C((e) => o(y).handleQuery(), ["enter"])),
172
+ onKeyup: a[5] || (a[5] = g((e) => o(y).handleQuery(), ["enter"])),
173
173
  class: "!w-[203px]"
174
174
  }, null, 8, ["modelValue", "placeholder"])
175
175
  ]),
@@ -190,7 +190,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
190
190
  "onUpdate:modelValue": a[6] || (a[6] = (e) => d.value.likeMobile = e),
191
191
  placeholder: r.$t("orderInfo.likeMobileRequired"),
192
192
  clearable: "",
193
- onKeyup: a[7] || (a[7] = C((e) => o(y).handleQuery(), ["enter"])),
193
+ onKeyup: a[7] || (a[7] = g((e) => o(y).handleQuery(), ["enter"])),
194
194
  class: "!w-[203px]"
195
195
  }, null, 8, ["modelValue", "placeholder"])
196
196
  ]),
@@ -202,7 +202,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
202
202
  ]),
203
203
  _: 1
204
204
  }),
205
- n($, null, {
205
+ n(E, null, {
206
206
  default: t(() => [
207
207
  n(w, { span: 6 }, {
208
208
  default: t(() => [
@@ -217,7 +217,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
217
217
  data: o(m).paymentStatusEnum.values,
218
218
  placeholder: r.$t("orderInfo.paymentStatusRequired"),
219
219
  clearable: "",
220
- onKeyup: a[9] || (a[9] = C((e) => o(y).handleQuery(), ["enter"]))
220
+ onKeyup: a[9] || (a[9] = g((e) => o(y).handleQuery(), ["enter"]))
221
221
  }, null, 8, ["modelValue", "data", "placeholder"])
222
222
  ]),
223
223
  _: 1
@@ -241,7 +241,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
241
241
  "end-placeholder": r.$t("orderInfo.endCreateTime"),
242
242
  format: "YYYY-MM-DD",
243
243
  "value-format": "YYYY-MM-DD",
244
- onChange: j
244
+ onChange: z
245
245
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
246
246
  ]),
247
247
  _: 1
@@ -253,7 +253,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
253
253
  default: t(() => [
254
254
  n(S, { class: "search-btn" }, {
255
255
  default: t(() => [
256
- n(E, {
256
+ n($, {
257
257
  type: "primary",
258
258
  onClick: a[11] || (a[11] = (e) => o(y).handleQuery())
259
259
  }, {
@@ -262,7 +262,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
262
262
  ]),
263
263
  _: 1
264
264
  }),
265
- n(E, { onClick: Q }, {
265
+ n($, { onClick: j }, {
266
266
  default: t(() => [
267
267
  s(l(r.$t("common.reset")), 1)
268
268
  ]),
@@ -287,7 +287,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
287
287
  class: "table-container"
288
288
  }, {
289
289
  header: t(() => [
290
- n($, null, {
290
+ n(E, null, {
291
291
  default: t(() => [
292
292
  n(w, { span: 17 }),
293
293
  n(w, {
@@ -295,10 +295,10 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
295
295
  class: "container-float"
296
296
  }, {
297
297
  default: t(() => [
298
- R((i(), f(E, {
298
+ R((i(), f($, {
299
299
  plain: "",
300
300
  type: "primary",
301
- onClick: a[12] || (a[12] = (e) => o(y).handleExport(o(P)("orderInfo.name")))
301
+ onClick: a[12] || (a[12] = (e) => o(y).handleExport(o(T)("orderInfo.name")))
302
302
  }, {
303
303
  default: t(() => [
304
304
  s(l(r.$t("common.export")), 1)
@@ -307,9 +307,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
307
307
  })), [
308
308
  [D, ["order:order_info:export"]]
309
309
  ]),
310
- n(F, {
311
- modelValue: o(I),
312
- "onUpdate:modelValue": a[13] || (a[13] = (e) => W(I) ? I.value = e : I = e),
310
+ n(H, {
311
+ modelValue: o(C),
312
+ "onUpdate:modelValue": a[13] || (a[13] = (e) => U(C) ? C.value = e : C = e),
313
313
  "label-name": "order/order-info"
314
314
  }, null, 8, ["modelValue"])
315
315
  ]),
@@ -323,41 +323,41 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
323
323
  o(_) > 0 ? (i(), f(G, {
324
324
  key: 0,
325
325
  total: o(_),
326
- "onUpdate:total": a[14] || (a[14] = (e) => W(_) ? _.value = e : null),
326
+ "onUpdate:total": a[14] || (a[14] = (e) => U(_) ? _.value = e : null),
327
327
  "current-page": d.value.curPage,
328
328
  "onUpdate:currentPage": a[15] || (a[15] = (e) => d.value.curPage = e),
329
329
  "page-size": d.value.pageSize,
330
330
  "onUpdate:pageSize": a[16] || (a[16] = (e) => d.value.pageSize = e),
331
331
  onPagination: a[17] || (a[17] = (e) => o(y).getList())
332
- }, null, 8, ["total", "current-page", "page-size"])) : c("", !0)
332
+ }, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
333
333
  ]),
334
334
  default: t(() => [
335
- n(O, {
335
+ n(F, {
336
336
  ref_key: "multipleTableRef",
337
- ref: M,
337
+ ref: Y,
338
338
  "row-key": "orderId",
339
- "list-loading": o(U),
340
- data: o(z),
341
- "table-label": o(I),
339
+ "list-loading": o(W),
340
+ data: o(q),
341
+ "table-label": o(C),
342
342
  onSelectionChange: B
343
343
  }, {
344
344
  shopId: t((e) => [
345
345
  u("span", null, l(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
346
346
  ]),
347
347
  orderItemList: t((e) => [
348
- (i(!0), V(te, null, ae(e.data.row.orderItemList.results, (g, X) => (i(), V("div", {
348
+ (i(!0), V(te, null, ae(e.data.row.orderItemList.results, (c, X) => (i(), V("div", {
349
349
  key: X,
350
350
  class: "order-item"
351
351
  }, [
352
- u("div", se, l(g.spuName), 1),
353
- u("div", ie, "¥" + l(g.salesPrice), 1),
354
- u("div", me, l(g.specInfo), 1),
355
- u("div", pe, "数量:" + l(g.quantity), 1)
352
+ u("div", se, l(c.spuName), 1),
353
+ u("div", ie, "¥" + l(c.salesPrice), 1),
354
+ u("div", me, l(c.specInfo), 1),
355
+ u("div", pe, "数量:" + l(c.quantity), 1)
356
356
  ]))), 128))
357
357
  ]),
358
358
  orderCodeAndCreateTime: t((e) => [
359
359
  u("span", null, [
360
- s(l(o(Y).$moment.formatDate(
360
+ s(l(o(L).$moment.formatDate(
361
361
  e.data.row.createTime,
362
362
  "YYYY-MM-DD HH:mm:ss"
363
363
  )) + " ", 1),
@@ -368,7 +368,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
368
368
  status: t((e) => [
369
369
  u("div", null, [
370
370
  s(l(r.$t("orderInfo.orderStatus")) + ": ", 1),
371
- e.data.row.orderStatus === o(b).unpay ? (i(), f(v, {
371
+ e.data.row.orderStatus === o(b).UNPAY ? (i(), f(v, {
372
372
  key: 0,
373
373
  type: "danger"
374
374
  }, {
@@ -376,8 +376,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
376
376
  s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
377
377
  ]),
378
378
  _: 2
379
- }, 1024)) : c("", !0),
380
- e.data.row.orderStatus === o(b).unpost ? (i(), f(v, {
379
+ }, 1024)) : I("", !0),
380
+ e.data.row.orderStatus === o(b).UNPOST ? (i(), f(v, {
381
381
  key: 1,
382
382
  type: "warning"
383
383
  }, {
@@ -385,8 +385,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
385
385
  s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
386
386
  ]),
387
387
  _: 2
388
- }, 1024)) : c("", !0),
389
- e.data.row.orderStatus === o(b).unreceive ? (i(), f(v, {
388
+ }, 1024)) : I("", !0),
389
+ e.data.row.orderStatus === o(b).UNRECEIVE ? (i(), f(v, {
390
390
  key: 2,
391
391
  type: "primary"
392
392
  }, {
@@ -394,8 +394,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
394
394
  s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
395
395
  ]),
396
396
  _: 2
397
- }, 1024)) : c("", !0),
398
- e.data.row.orderStatus === o(b).complete ? (i(), f(v, {
397
+ }, 1024)) : I("", !0),
398
+ e.data.row.orderStatus === o(b).COMPLETE ? (i(), f(v, {
399
399
  key: 3,
400
400
  type: "success"
401
401
  }, {
@@ -403,8 +403,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
403
403
  s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
404
404
  ]),
405
405
  _: 2
406
- }, 1024)) : c("", !0),
407
- e.data.row.orderStatus === o(b).cancel ? (i(), f(v, {
406
+ }, 1024)) : I("", !0),
407
+ e.data.row.orderStatus === o(b).CANCEL ? (i(), f(v, {
408
408
  key: 4,
409
409
  type: "info"
410
410
  }, {
@@ -412,11 +412,11 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
412
412
  s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
413
413
  ]),
414
414
  _: 2
415
- }, 1024)) : c("", !0)
415
+ }, 1024)) : I("", !0)
416
416
  ]),
417
417
  u("span", null, [
418
418
  s(l(r.$t("orderInfo.paymentStatus")) + ": ", 1),
419
- e.data.row.paymentStatus === o(b).unpaid ? (i(), f(v, {
419
+ e.data.row.paymentStatus === o(b).UNPAID ? (i(), f(v, {
420
420
  key: 0,
421
421
  type: "danger"
422
422
  }, {
@@ -426,7 +426,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
426
426
  )), 1)
427
427
  ]),
428
428
  _: 2
429
- }, 1024)) : e.data.row.paymentStatus === o(b).partPaid ? (i(), f(v, {
429
+ }, 1024)) : e.data.row.paymentStatus === o(b).PART_PAID ? (i(), f(v, {
430
430
  key: 1,
431
431
  type: "info"
432
432
  }, {
@@ -436,7 +436,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
436
436
  )), 1)
437
437
  ]),
438
438
  _: 2
439
- }, 1024)) : e.data.row.paymentStatus === o(b).paid ? (i(), f(v, {
439
+ }, 1024)) : e.data.row.paymentStatus === o(b).PAID ? (i(), f(v, {
440
440
  key: 2,
441
441
  type: "success"
442
442
  }, {
@@ -446,7 +446,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
446
446
  )), 1)
447
447
  ]),
448
448
  _: 2
449
- }, 1024)) : c("", !0)
449
+ }, 1024)) : I("", !0)
450
450
  ]),
451
451
  u("div", null, [
452
452
  s(l(r.$t("orderInfo.appraisesStatus")) + ": ", 1),
@@ -458,7 +458,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
458
458
  s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
459
459
  ]),
460
460
  _: 2
461
- }, 1024)) : c("", !0),
461
+ }, 1024)) : I("", !0),
462
462
  e.data.row.appraisesStatus === !0 ? (i(), f(v, {
463
463
  key: 1,
464
464
  type: "success"
@@ -467,7 +467,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
467
467
  s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
468
468
  ]),
469
469
  _: 2
470
- }, 1024)) : c("", !0)
470
+ }, 1024)) : I("", !0)
471
471
  ])
472
472
  ]),
473
473
  salesPrice: t((e) => [
@@ -487,7 +487,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
487
487
  operation: t((e) => [
488
488
  R((i(), V("span", {
489
489
  class: "el-button-color dropdown-left",
490
- onClick: (g) => A(e.data.row)
490
+ onClick: (c) => Q(e.data.row)
491
491
  }, [
492
492
  s(l(r.$t("common.view")), 1)
493
493
  ], 8, ye)), [
@@ -504,5 +504,5 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
504
504
  }
505
505
  });
506
506
  export {
507
- Ce as _
507
+ ge as _
508
508
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs";
1
+ import { _ as f } from "./deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,11 @@
1
- import { _ as U } from "./index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs";
2
- import { defineComponent as B, mergeModels as b, ref as I, reactive as N, useModel as F, resolveComponent as i, openBlock as f, createBlock as y, withCtx as o, createElementVNode as K, createVNode as t, createTextVNode as T, toDisplayString as k, unref as e, createCommentVNode as D } from "vue";
3
- import { ElMessage as A } from "element-plus";
4
- import { useI18n as X } from "vue-i18n";
5
- import { D as Y, C as _ } from "./index-suIgymdy.mjs";
6
- import { o as z } from "./index-DyFAVz8t.mjs";
7
- const G = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
1
+ import { defineComponent as P, mergeModels as v, ref as b, reactive as T, useModel as U, resolveComponent as d, openBlock as f, createBlock as y, withCtx as o, createElementVNode as B, createVNode as t, createTextVNode as N, toDisplayString as h, unref as e, createCommentVNode as E } from "vue";
2
+ import { ElMessage as F } from "element-plus";
3
+ import { useI18n as K } from "vue-i18n";
4
+ import { D as Y, C as _ } from "./index-CHzhYqx8.mjs";
5
+ import { o as A } from "./index-DyFAVz8t.mjs";
6
+ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
8
7
  __name: "deliver",
9
- props: /* @__PURE__ */ b({
8
+ props: /* @__PURE__ */ v({
10
9
  entityKey: {
11
10
  type: Object,
12
11
  default: () => {
@@ -21,99 +20,99 @@ const G = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
21
20
  modelValue: { type: Boolean },
22
21
  modelModifiers: {}
23
22
  }),
24
- emits: /* @__PURE__ */ b(["refresh"], ["update:modelValue"]),
25
- setup(g, { emit: h }) {
26
- const { t: m } = X(), v = I();
27
- let l = N({
23
+ emits: /* @__PURE__ */ v(["refresh"], ["update:modelValue"]),
24
+ setup(g, { emit: k }) {
25
+ const { t: i } = K(), I = b();
26
+ let l = T({
28
27
  postType: ""
29
28
  });
30
- const q = N({
29
+ const D = T({
31
30
  postType: [
32
31
  {
33
32
  required: !0,
34
- message: m("orderInfo.postTypeRequired"),
33
+ message: i("orderInfo.postTypeRequired"),
35
34
  trigger: "change"
36
35
  }
37
36
  ],
38
- logisticCode: [
37
+ logisticsCode: [
39
38
  {
40
39
  required: !0,
41
- message: m("orderInfo.logisticCodeRequired"),
40
+ message: i("orderInfo.logisticCodesRequired"),
42
41
  trigger: "change"
43
42
  }
44
43
  ],
45
44
  logisticsNo: [
46
45
  {
47
46
  required: !0,
48
- message: m("orderInfo.logisticsNoRequired"),
47
+ message: i("orderInfo.logisticsNoRequired"),
49
48
  trigger: "blur"
50
49
  }
51
50
  ]
52
- }), n = F(g, "modelValue"), u = g, M = h, $ = Object.keys(u.entityKey), w = I($.length >= 1), E = async () => {
53
- var r;
54
- await ((r = v.value) == null ? void 0 : r.validate((s) => {
55
- s && w.value && z.orderPost({
51
+ }), n = U(g, "modelValue"), u = g, q = k, M = Object.keys(u.entityKey), R = b(M.length >= 1), S = async () => {
52
+ var s;
53
+ await ((s = I.value) == null ? void 0 : s.validate((r) => {
54
+ r && R.value && A.orderPost({
56
55
  orderId: u.entityKey.orderId,
57
56
  orderItemId: u.entityModel.itemId,
58
57
  ...l
59
- }).then((a) => {
60
- console.log(a), a.status === 200 && (A({
61
- message: m("common.submitSuccess"),
58
+ }).then((m) => {
59
+ m.status === 200 && (F({
60
+ message: i("common.submitSuccess"),
62
61
  type: "success"
63
- }), n.value && (n.value = !1), M("refresh", a.status === 200));
62
+ }), n.value && (n.value = !1), q("refresh", m.status === 200));
64
63
  });
65
64
  }));
66
65
  };
67
66
  function V() {
68
67
  n.value && (n.value = !1);
69
68
  }
70
- return (r, s) => {
71
- const a = U, c = i("el-form-item"), p = i("el-col"), R = i("jmash-dict-select"), j = i("el-input"), O = i("el-row"), P = i("el-form"), C = i("el-button"), S = i("el-dialog");
72
- return f(), y(S, {
69
+ return (s, r) => {
70
+ const m = d("jmash-enum-radio"), p = d("el-form-item"), c = d("el-col"), j = d("jmash-dict-select"), O = d("el-input"), $ = d("el-row"), w = d("el-form"), C = d("el-button"), L = d("el-dialog");
71
+ return f(), y(L, {
73
72
  modelValue: n.value,
74
- "onUpdate:modelValue": s[3] || (s[3] = (d) => n.value = d),
73
+ "onUpdate:modelValue": r[3] || (r[3] = (a) => n.value = a),
75
74
  onClose: V
76
75
  }, {
77
76
  footer: o(() => [
78
- K("div", G, [
77
+ B("div", G, [
79
78
  t(C, { onClick: V }, {
80
79
  default: o(() => [
81
- T(k(r.$t("common.cancel")), 1)
80
+ N(h(s.$t("common.cancel")), 1)
82
81
  ]),
83
82
  _: 1
84
83
  }),
85
84
  t(C, {
86
85
  type: "primary",
87
- onClick: E
86
+ onClick: S
88
87
  }, {
89
88
  default: o(() => [
90
- T(k(r.$t("common.confirm")), 1)
89
+ N(h(s.$t("common.confirm")), 1)
91
90
  ]),
92
91
  _: 1
93
92
  })
94
93
  ])
95
94
  ]),
96
95
  default: o(() => [
97
- t(P, {
96
+ t(w, {
98
97
  ref_key: "deliveryForm",
99
- ref: v,
98
+ ref: I,
100
99
  model: e(l),
101
100
  "label-width": "120px",
102
- rules: q
101
+ rules: D
103
102
  }, {
104
103
  default: o(() => [
105
- t(O, null, {
104
+ t($, null, {
106
105
  default: o(() => [
107
- t(p, { span: 24 }, {
106
+ t(c, { span: 24 }, {
108
107
  default: o(() => [
109
- t(c, {
110
- label: r.$t("orderInfo.postType"),
108
+ t(p, {
109
+ label: s.$t("orderInfo.postType"),
111
110
  prop: "postType"
112
111
  }, {
113
112
  default: o(() => [
114
- t(a, {
113
+ t(m, {
115
114
  modelValue: e(l).postType,
116
- "onUpdate:modelValue": s[0] || (s[0] = (d) => e(l).postType = d),
115
+ "onUpdate:modelValue": r[0] || (r[0] = (a) => e(l).postType = a),
117
116
  data: e(Y).postTypeEnum.values
118
117
  }, null, 8, ["modelValue", "data"])
119
118
  ]),
@@ -122,20 +121,20 @@ const G = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
122
121
  ]),
123
122
  _: 1
124
123
  }),
125
- e(l).postType === e(_).logisticsDelivery ? (f(), y(p, {
124
+ e(l).postType === e(_).LOGISTICS_DELIVERY ? (f(), y(c, {
126
125
  key: 0,
127
126
  span: 24
128
127
  }, {
129
128
  default: o(() => [
130
- t(c, {
131
- label: r.$t("orderInfo.logisticCode"),
132
- prop: "logisticCode"
129
+ t(p, {
130
+ label: s.$t("orderInfo.logisticsCode"),
131
+ prop: "logisticsCode"
133
132
  }, {
134
133
  default: o(() => [
135
- t(R, {
136
- modelValue: e(l).logisticCode,
137
- "onUpdate:modelValue": s[1] || (s[1] = (d) => e(l).logisticCode = d),
138
- placeholder: r.$t("orderInfo.logisticCodeRequired"),
134
+ t(j, {
135
+ modelValue: e(l).logisticsCode,
136
+ "onUpdate:modelValue": r[1] || (r[1] = (a) => e(l).logisticsCode = a),
137
+ placeholder: s.$t("orderInfo.logisticCodesRequired"),
139
138
  clearable: "",
140
139
  "type-code": e(_).EXPRESS_COMPANY_CODE
141
140
  }, null, 8, ["modelValue", "placeholder", "type-code"])
@@ -144,21 +143,21 @@ const G = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
144
143
  }, 8, ["label"])
145
144
  ]),
146
145
  _: 1
147
- })) : D("", !0),
148
- e(l).postType === e(_).logisticsDelivery ? (f(), y(p, {
146
+ })) : E("", !0),
147
+ e(l).postType === e(_).LOGISTICS_DELIVERY ? (f(), y(c, {
149
148
  key: 1,
150
149
  span: 24
151
150
  }, {
152
151
  default: o(() => [
153
- t(c, {
154
- label: r.$t("orderInfo.logisticsNo"),
152
+ t(p, {
153
+ label: s.$t("orderInfo.logisticsNo"),
155
154
  prop: "logisticsNo"
156
155
  }, {
157
156
  default: o(() => [
158
- t(j, {
157
+ t(O, {
159
158
  modelValue: e(l).logisticsNo,
160
- "onUpdate:modelValue": s[2] || (s[2] = (d) => e(l).logisticsNo = d),
161
- placeholder: r.$t("orderInfo.logisticsNoRequired"),
159
+ "onUpdate:modelValue": r[2] || (r[2] = (a) => e(l).logisticsNo = a),
160
+ placeholder: s.$t("orderInfo.logisticsNoRequired"),
162
161
  clearable: "",
163
162
  class: "!w-[203px]"
164
163
  }, null, 8, ["modelValue", "placeholder"])
@@ -167,7 +166,7 @@ const G = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
167
166
  }, 8, ["label"])
168
167
  ]),
169
168
  _: 1
170
- })) : D("", !0)
169
+ })) : E("", !0)
171
170
  ]),
172
171
  _: 1
173
172
  })
@@ -181,5 +180,5 @@ const G = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
181
180
  }
182
181
  });
183
182
  export {
184
- x as _
183
+ W as _
185
184
  };