xyvcard-order 0.0.5 → 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 (47) 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-Dvf0V5EP.mjs → index-DAb5kkOk.mjs} +11 -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-CL3mlOnd.mjs → index-ZL41UIHr.mjs} +162 -148
  16. package/dist/index.mjs +147 -248
  17. package/dist/info-Cl9HaMCm.mjs +327 -0
  18. package/dist/{info-DtOaZ-hg.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-DjGDxyqZ.mjs → review-Bc-YCZ1X.mjs} +1 -1
  21. package/dist/{review.vue_vue_type_script_setup_true_lang-CKGCdXD5.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 +2 -3
  38. package/dts/src/api/order-refunds/types.d.ts +5 -0
  39. package/dts/src/constant.d.ts +12 -10
  40. package/dts/src/lang/order/zh-cn.d.ts +6 -2
  41. package/dts/src/main.d.ts +0 -1
  42. package/package.json +5 -4
  43. package/dist/index-suIgymdy.mjs +0 -93
  44. package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +0 -41
  45. package/dist/info-Ba-BgJkw.mjs +0 -368
  46. package/dist/info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs +0 -188
  47. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +0 -127
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs";
1
+ import { _ as f } from "./canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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 w, 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({
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
8
  __name: "canceled",
9
9
  setup(ve) {
10
- const { t: P } = re(), { proxy: Y } = x();
10
+ const { t: N } = re(), { proxy: A } = 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.cancel
16
- }), q = oe(), {
15
+ orderStatus: b.CANCEL
16
+ }), L = oe(), {
17
17
  tableHooks: y,
18
- multipleTableRef: M,
19
- queryFormRef: L,
20
- listLoading: U,
21
- tableData: z,
18
+ multipleTableRef: Y,
19
+ queryFormRef: M,
20
+ listLoading: W,
21
+ tableData: q,
22
22
  total: _
23
- } = le(P, ne, d);
24
- let I = T([
23
+ } = le(N, ne, d);
24
+ let S = 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
+ L.push({
98
+ path: "/raworder/order-info/info",
99
99
  query: { orderId: r.orderId }
100
100
  });
101
101
  }
@@ -103,32 +103,32 @@ 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"), c = 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 T = p("jmash-select"), C = p("el-form-item"), w = p("el-col"), k = p("el-input"), $ = p("el-row"), K = p("el-date-picker"), E = 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: M,
112
112
  model: d.value,
113
113
  inline: !0
114
114
  }, {
115
115
  default: t(() => [
116
116
  n($, null, {
117
117
  default: t(() => [
118
- n(c, { span: 6 }, {
118
+ n(w, { span: 6 }, {
119
119
  default: t(() => [
120
- n(S, {
120
+ n(C, {
121
121
  label: r.$t("orderInfo.shopName"),
122
122
  prop: "shopId"
123
123
  }, {
124
124
  default: t(() => [
125
- n(N, {
125
+ n(T, {
126
126
  modelValue: d.value.shopId,
127
127
  "onUpdate:modelValue": a[0] || (a[0] = (e) => d.value.shopId = e),
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
@@ -136,9 +136,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
136
136
  ]),
137
137
  _: 1
138
138
  }),
139
- n(c, { span: 6 }, {
139
+ n(w, { span: 6 }, {
140
140
  default: t(() => [
141
- n(S, {
141
+ n(C, {
142
142
  label: r.$t("orderInfo.orderCode"),
143
143
  prop: "likeOrderCode"
144
144
  }, {
@@ -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
  ]),
@@ -157,9 +157,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
157
157
  ]),
158
158
  _: 1
159
159
  }),
160
- n(c, { span: 6 }, {
160
+ n(w, { span: 6 }, {
161
161
  default: t(() => [
162
- n(S, {
162
+ n(C, {
163
163
  label: r.$t("orderInfo.spuName"),
164
164
  prop: "likeSpuName"
165
165
  }, {
@@ -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
  ]),
@@ -178,9 +178,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
178
178
  ]),
179
179
  _: 1
180
180
  }),
181
- n(c, { span: 6 }, {
181
+ n(w, { span: 6 }, {
182
182
  default: t(() => [
183
- n(S, {
183
+ n(C, {
184
184
  label: r.$t("orderInfo.likeMobile"),
185
185
  prop: "likeMobile"
186
186
  }, {
@@ -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
  ]),
@@ -204,20 +204,20 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
204
204
  }),
205
205
  n($, null, {
206
206
  default: t(() => [
207
- n(c, { span: 6 }, {
207
+ n(w, { span: 6 }, {
208
208
  default: t(() => [
209
- n(S, {
209
+ n(C, {
210
210
  label: r.$t("orderInfo.paymentStatus"),
211
211
  prop: "paymentStatus"
212
212
  }, {
213
213
  default: t(() => [
214
- n(N, {
214
+ n(T, {
215
215
  modelValue: d.value.paymentStatus,
216
216
  "onUpdate:modelValue": a[8] || (a[8] = (e) => d.value.paymentStatus = e),
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
@@ -225,9 +225,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
225
225
  ]),
226
226
  _: 1
227
227
  }),
228
- n(c, { span: 6 }, {
228
+ n(w, { span: 6 }, {
229
229
  default: t(() => [
230
- n(S, {
230
+ n(C, {
231
231
  label: r.$t("orderInfo.orderTime"),
232
232
  prop: "startCreateTime"
233
233
  }, {
@@ -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
@@ -249,9 +249,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
249
249
  ]),
250
250
  _: 1
251
251
  }),
252
- n(c, { span: 12 }, {
252
+ n(w, { span: 12 }, {
253
253
  default: t(() => [
254
- n(S, { class: "search-btn" }, {
254
+ n(C, { class: "search-btn" }, {
255
255
  default: t(() => [
256
256
  n(E, {
257
257
  type: "primary",
@@ -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(E, { onClick: j }, {
266
266
  default: t(() => [
267
267
  s(l(r.$t("common.reset")), 1)
268
268
  ]),
@@ -289,8 +289,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
289
289
  header: t(() => [
290
290
  n($, null, {
291
291
  default: t(() => [
292
- n(c, { span: 17 }),
293
- n(c, {
292
+ n(w, { span: 17 }),
293
+ n(w, {
294
294
  span: 7,
295
295
  class: "container-float"
296
296
  }, {
@@ -298,7 +298,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
298
298
  R((i(), f(E, {
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(N)("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(S),
312
+ "onUpdate:modelValue": a[13] || (a[13] = (e) => U(S) ? S.value = e : S = 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"])) : w("", !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(S),
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(A).$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)) : w("", !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)) : w("", !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)) : w("", !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)) : w("", !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)) : w("", !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)) : w("", !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)) : w("", !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)) : w("", !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 "./change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs";
1
+ import { _ as f } from "./change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -48,38 +48,38 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
48
48
  ]
49
49
  }), s = j(p, "modelValue"), w = M, n = p, $ = Object.keys(n.entityKey), _ = I($.length >= 1);
50
50
  F([() => n.entityKey, () => n.entityModel], async () => {
51
- var t;
51
+ var e;
52
52
  if (_.value) {
53
- const { data: i } = await N.findById(n.entityKey), e = (t = i.orderItemList) == null ? void 0 : t.results.find(
53
+ const { data: i } = await N.findById(n.entityKey), t = (e = i.orderItemList) == null ? void 0 : e.results.find(
54
54
  (d) => d.itemId === n.entityModel.itemId
55
55
  );
56
- e && (r.items[0].spuName = e.spuName, r.items[0].salesPrice = Number(e.salesPrice), r.items[0].freightPrice = Number(e.freightPrice));
56
+ t && (r.items[0].spuName = t.spuName, r.items[0].salesPrice = Number(t.salesPrice), r.items[0].freightPrice = Number(t.freightPrice));
57
57
  }
58
58
  }, {
59
59
  immediate: !0,
60
60
  deep: !0
61
61
  });
62
62
  const q = async () => {
63
- var t;
64
- await ((t = g.value) == null ? void 0 : t.validate((i) => {
63
+ var e;
64
+ await ((e = g.value) == null ? void 0 : e.validate((i) => {
65
65
  i && _.value && N.orderPrice({
66
- items: r.items.map((e) => ({
67
- ...e,
66
+ items: r.items.map((t) => ({
67
+ ...t,
68
68
  orderItemId: n.entityModel.itemId
69
69
  }))
70
- }).then((e) => {
71
- console.log(e), e.status === 200 && (E({
70
+ }).then((t) => {
71
+ t.status === 200 && (E({
72
72
  message: c("common.submitSuccess"),
73
73
  type: "success"
74
- }), s.value && (s.value = !1), w("refresh", e.status === 200));
74
+ }), s.value && (s.value = !1), w("refresh", t.status === 200));
75
75
  });
76
76
  }));
77
77
  };
78
78
  function y() {
79
79
  s.value && (s.value = !1);
80
80
  }
81
- return (t, i) => {
82
- const e = a("el-form-item"), d = a("el-col"), h = a("el-input"), B = a("el-row"), D = a("el-form"), P = a("el-button"), K = a("el-dialog");
81
+ return (e, i) => {
82
+ const t = a("el-form-item"), d = a("el-col"), h = a("el-input"), B = a("el-row"), D = a("el-form"), P = a("el-button"), K = a("el-dialog");
83
83
  return O(), U(K, {
84
84
  modelValue: s.value,
85
85
  "onUpdate:modelValue": i[2] || (i[2] = (u) => s.value = u),
@@ -89,7 +89,7 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
89
89
  v("div", A, [
90
90
  l(P, { onClick: y }, {
91
91
  default: o(() => [
92
- C(f(t.$t("common.cancel")), 1)
92
+ C(f(e.$t("common.cancel")), 1)
93
93
  ]),
94
94
  _: 1
95
95
  }),
@@ -98,7 +98,7 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
98
98
  onClick: q
99
99
  }, {
100
100
  default: o(() => [
101
- C(f(t.$t("common.confirm")), 1)
101
+ C(f(e.$t("common.confirm")), 1)
102
102
  ]),
103
103
  _: 1
104
104
  })
@@ -117,12 +117,12 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
117
117
  default: o(() => [
118
118
  l(d, { span: 24 }, {
119
119
  default: o(() => [
120
- l(e, {
121
- label: t.$t("orderInfo.spuName"),
120
+ l(t, {
121
+ label: e.$t("orderInfo.spuName"),
122
122
  prop: "spuName"
123
123
  }, {
124
124
  default: o(() => [
125
- v("span", null, ":" + f(m(r).items[0].spuName), 1)
125
+ v("span", null, f(m(r).items[0].spuName), 1)
126
126
  ]),
127
127
  _: 1
128
128
  }, 8, ["label"])
@@ -131,15 +131,15 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
131
131
  }),
132
132
  l(d, { span: 24 }, {
133
133
  default: o(() => [
134
- l(e, {
135
- label: t.$t("orderInfo.sellPrice"),
134
+ l(t, {
135
+ label: e.$t("orderInfo.sellPrice"),
136
136
  prop: "salesPrice"
137
137
  }, {
138
138
  default: o(() => [
139
139
  l(h, {
140
140
  modelValue: m(r).items[0].salesPrice,
141
141
  "onUpdate:modelValue": i[0] || (i[0] = (u) => m(r).items[0].salesPrice = u),
142
- placeholder: t.$t("orderInfo.sellPriceRequired"),
142
+ placeholder: e.$t("orderInfo.sellPriceRequired"),
143
143
  clearable: "",
144
144
  type: "number"
145
145
  }, null, 8, ["modelValue", "placeholder"])
@@ -151,15 +151,15 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
151
151
  }),
152
152
  l(d, { span: 24 }, {
153
153
  default: o(() => [
154
- l(e, {
155
- label: t.$t("orderInfo.freightPrice"),
154
+ l(t, {
155
+ label: e.$t("orderInfo.freightPrice"),
156
156
  prop: "freightPrice"
157
157
  }, {
158
158
  default: o(() => [
159
159
  l(h, {
160
160
  modelValue: m(r).items[0].freightPrice,
161
161
  "onUpdate:modelValue": i[1] || (i[1] = (u) => m(r).items[0].freightPrice = u),
162
- placeholder: t.$t("orderInfo.freightPriceRequired"),
162
+ placeholder: e.$t("orderInfo.freightPriceRequired"),
163
163
  clearable: "",
164
164
  type: "number"
165
165
  }, null, 8, ["modelValue", "placeholder"])
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs";
1
+ import { _ as f } from "./completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs";
2
2
  export {
3
3
  f as default
4
4
  };