xyvcard-order 0.0.6 → 0.0.8

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 (48) hide show
  1. package/dist/{canceled-CAEulpM1.mjs → canceled-CTHGNWuB.mjs} +1 -1
  2. package/dist/{canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs → canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs} +88 -89
  3. package/dist/{change-CH-CF_q-.mjs → change-3TnGoLNv.mjs} +1 -1
  4. package/dist/{change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs → change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs} +51 -47
  5. package/dist/{completed-B70yQ6oI.mjs → completed-BnD0Wh1K.mjs} +1 -1
  6. package/dist/{completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs → completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs} +75 -76
  7. package/dist/{deliver-Bp2Ckw4g.mjs → deliver-DZDmtbHY.mjs} +1 -1
  8. package/dist/{deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs → deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs} +58 -59
  9. package/dist/{edit-DyFqRxsE.mjs → edit-BgR1glUx.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs → edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs} +7 -7
  11. package/dist/index-BTfCAYQ-.mjs +419 -0
  12. package/dist/index-CHzhYqx8.mjs +114 -0
  13. package/dist/{index-B3HKfAop.mjs → index-CaKojOfx.mjs} +237 -250
  14. package/dist/{index-DyFAVz8t.mjs → index-CfEKTjAd.mjs} +1 -1
  15. package/dist/{index-BnhfSp6U.mjs → index-DAb5kkOk.mjs} +3 -23
  16. package/dist/{index-DHJFncJ6.mjs → index-S4jzuvn6.mjs} +154 -157
  17. package/dist/index.mjs +12 -117
  18. package/dist/{info-BmqDpsnn.mjs → info-3uYTUNzE.mjs} +1 -1
  19. package/dist/info-DiPfhbtx.mjs +328 -0
  20. package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +178 -0
  21. package/dist/{review-Dr4_ycsb.mjs → review-DY1KQI3U.mjs} +1 -1
  22. package/dist/{review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs → review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs} +91 -90
  23. package/dist/style.css +1 -1
  24. package/dist/{unpay-WAsbEXlr.mjs → unpay-Bc8ekFnl.mjs} +1 -1
  25. package/dist/{unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs → unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs} +203 -216
  26. package/dist/{unpost-BocJwYcE.mjs → unpost-DE4VcTu2.mjs} +1 -1
  27. package/dist/{unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs → unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs} +99 -100
  28. package/dist/{unreceive-BLcvdJxY.mjs → unreceive-CUiJvXq1.mjs} +1 -1
  29. package/dist/{unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs → unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs} +76 -77
  30. package/dist/{viewLogist-D9-zqepw.mjs → viewLogist-Cxu-IV-d.mjs} +1 -1
  31. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +91 -0
  32. package/dts/src/api/dict.d.ts +3 -0
  33. package/dts/src/api/index.d.ts +2 -1
  34. package/dts/src/api/order-appraises/types.d.ts +1 -0
  35. package/dts/src/api/order-info/types.d.ts +2 -1
  36. package/dts/src/api/order-logistics/index.d.ts +1 -5
  37. package/dts/src/api/order-logistics/types.d.ts +3 -62
  38. package/dts/src/api/order-refunds/index.d.ts +0 -2
  39. package/dts/src/constant.d.ts +12 -10
  40. package/dts/src/lang/order/zh-cn.d.ts +2 -2
  41. package/dts/src/main.d.ts +0 -1
  42. package/package.json +5 -4
  43. package/dist/index-BGDa_EK1.mjs +0 -439
  44. package/dist/index-suIgymdy.mjs +0 -93
  45. package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +0 -41
  46. package/dist/info-Ba-BgJkw.mjs +0 -368
  47. package/dist/info.vue_vue_type_script_setup_true_lang-CHaAOFGr.mjs +0 -188
  48. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +0 -127
@@ -1,33 +1,33 @@
1
- import { defineComponent as de, getCurrentInstance as ue, ref as E, reactive as q, resolveComponent as f, resolveDirective as se, openBlock as s, createElementBlock as C, createElementVNode as i, createVNode as n, withCtx as a, unref as o, withKeys as k, createTextVNode as d, toDisplayString as l, withDirectives as P, createBlock as y, isRef as L, createCommentVNode as c, Fragment as ie, renderList as me } from "vue";
2
- import { useRouter as pe } from "vue-router";
3
- import { ElMessageBox as fe, ElMessage as U } from "element-plus";
4
- import { useTableHooks as ye } from "jmash-core";
5
- import { useI18n as ce } from "vue-i18n";
6
- import { o as z } from "./index-DyFAVz8t.mjs";
7
- import { _ as ve } from "./change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs";
8
- import { D as m, C as g } from "./index-suIgymdy.mjs";
9
- const ge = { class: "app-container" }, we = { class: "search-container" }, Ie = { class: "item-spuName" }, be = { class: "item-salesPrice" }, he = { class: "item-specInfo" }, Ce = { class: "item-quantity" }, Se = ["onClick"], _e = { class: "orderPrice" }, ke = ["onClick"], Ve = ["onClick"], qe = /* @__PURE__ */ de({
1
+ import { defineComponent as ne, getCurrentInstance as de, ref as $, reactive as M, resolveComponent as f, resolveDirective as ue, openBlock as i, createElementBlock as h, createElementVNode as s, createVNode as n, withCtx as a, unref as o, withKeys as _, createTextVNode as u, toDisplayString as r, withDirectives as R, createBlock as y, isRef as Y, createCommentVNode as v, Fragment as se, renderList as ie } from "vue";
2
+ import { useRouter as me } from "vue-router";
3
+ import { ElMessageBox as pe, ElMessage as A } from "element-plus";
4
+ import { useTableHooks as fe } from "jmash-core";
5
+ import { useI18n as ye } from "vue-i18n";
6
+ import { o as L } from "./index-CfEKTjAd.mjs";
7
+ import { _ as ce } from "./change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs";
8
+ import { D as m, C as g } from "./index-CHzhYqx8.mjs";
9
+ const ve = { class: "app-container" }, Ie = { class: "search-container" }, we = { class: "item-spuName" }, ge = { class: "item-salesPrice" }, be = { class: "item-specInfo" }, Ce = { class: "item-quantity" }, Se = { class: "orderPrice" }, he = ["onClick"], _e = ["onClick"], Ue = /* @__PURE__ */ ne({
10
10
  __name: "unpay",
11
- setup($e) {
12
- const { t: w } = ce(), { proxy: B } = ue();
11
+ setup(ke) {
12
+ const { t: I } = ye(), { proxy: W } = de();
13
13
  m.shopBizDict.useValues();
14
- const T = E([]), u = E({
14
+ const E = $([]), d = $({
15
15
  curPage: 1,
16
16
  pageSize: 10,
17
- orderStatus: g.unpay
18
- }), j = pe(), {
17
+ orderStatus: g.UNPAY
18
+ }), q = me(), {
19
19
  tableHooks: p,
20
- multipleTableRef: Q,
21
- queryFormRef: K,
22
- listLoading: A,
23
- tableData: F,
24
- total: V
25
- } = ye(w, z, u);
26
- let S = E([
20
+ multipleTableRef: z,
21
+ queryFormRef: B,
22
+ listLoading: j,
23
+ tableData: Q,
24
+ total: k
25
+ } = fe(I, L, d);
26
+ let S = $([
27
27
  {
28
28
  label: "orderInfo.shopName",
29
29
  prop: "shopId",
30
- width: "200",
30
+ width: "250",
31
31
  slotName: "shopId",
32
32
  columnType: "slot",
33
33
  isColumn: !0
@@ -43,7 +43,7 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
43
43
  {
44
44
  label: "orderInfo.orderCodeAndCreateTime",
45
45
  prop: "orderCodeAndCreateTime",
46
- width: "250",
46
+ width: "200",
47
47
  slotName: "orderCodeAndCreateTime",
48
48
  columnType: "slot",
49
49
  isColumn: !0
@@ -67,7 +67,7 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
67
67
  {
68
68
  label: "orderInfo.paymentWay",
69
69
  prop: "paymentWay",
70
- width: "150",
70
+ width: "120",
71
71
  slotName: "paymentWay",
72
72
  columnType: "slot",
73
73
  isColumn: !0
@@ -75,95 +75,92 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
75
75
  {
76
76
  label: "orderInfo.deliveryWay",
77
77
  prop: "deliveryWay",
78
- width: "150",
78
+ width: "120",
79
79
  slotName: "deliveryWay",
80
80
  columnType: "slot",
81
81
  isColumn: !0
82
82
  },
83
83
  {
84
84
  label: "common.operate",
85
- width: "150",
85
+ width: "200",
86
86
  slotName: "operation",
87
87
  columnType: "slot",
88
88
  fixed: "right",
89
89
  isColumn: !0
90
90
  }
91
91
  ]);
92
- const _ = E({
93
- title: w("orderInfo.changePrice"),
92
+ const V = $({
93
+ title: I("orderInfo.changePrice"),
94
94
  visible: !1
95
95
  });
96
- let R = q({}), W = q({});
97
- function H(r, t) {
98
- W.itemId = t.itemId, R.orderId = r.orderId, _.value.visible = !0;
99
- }
100
- function O(r) {
101
- u.value.startCreateTime = r[0], u.value.endCreateTime = r[1];
96
+ let K = M({}), O = M({});
97
+ function F(l) {
98
+ d.value.startCreateTime = l[0], d.value.endCreateTime = l[1];
102
99
  }
103
- function G() {
104
- T.value = [], u.value.startCreateTime = "", u.value.endCreateTime = "", p.resetQuery();
100
+ function H() {
101
+ E.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", p.resetQuery();
105
102
  }
106
- function J(r) {
107
- j.push({
108
- path: "/order/order-info/info",
109
- query: { orderId: r.orderId }
103
+ function G(l) {
104
+ q.push({
105
+ path: "/raworder/order-info/info",
106
+ query: { orderId: l.orderId }
110
107
  });
111
108
  }
112
- const X = async (r) => {
113
- fe.confirm(w("orderInfo.confirmCancel"), w("common.cancel"), {
114
- confirmButtonText: w("common.confirm"),
115
- cancelButtonText: w("common.cancel"),
109
+ const J = async (l) => {
110
+ pe.confirm(I("orderInfo.confirmCancel"), I("common.cancel"), {
111
+ confirmButtonText: I("common.confirm"),
112
+ cancelButtonText: I("common.cancel"),
116
113
  type: "warning"
117
114
  }).then(() => {
118
- z.cancel({
119
- orderId: r.orderId
115
+ L.cancel({
116
+ orderId: l.orderId
120
117
  }).then((t) => {
121
- t.status === 200 && (U({
122
- message: w("orderInfo.cancelSuccess"),
118
+ t.status === 200 && (A({
119
+ message: I("orderInfo.cancelSuccess"),
123
120
  type: "success"
124
121
  }), p.handleQuery());
125
122
  }).catch((t) => {
126
- console.error("Error canceling order:", t), U({
127
- message: w("orderInfo.cancelFailed"),
123
+ console.error("Error canceling order:", t), A({
124
+ message: I("orderInfo.cancelFailed"),
128
125
  type: "error"
129
126
  });
130
127
  });
131
128
  }).catch(() => {
132
129
  });
133
130
  };
134
- function Z(r) {
135
- p.selectionRows.value = r;
131
+ function X(l) {
132
+ p.selectionRows.value = l;
136
133
  }
137
- function x(r) {
138
- r && p.getList();
134
+ function Z(l) {
135
+ l && p.getList();
139
136
  }
140
- return p.getList(), (r, t) => {
141
- const Y = f("jmash-select"), b = f("el-form-item"), I = f("el-col"), N = f("el-input"), D = f("el-row"), ee = f("el-date-picker"), M = f("el-button"), te = f("el-form"), ae = f("jmash-column-select"), v = f("el-tag"), oe = f("jmash-table"), re = f("jmash-pagination"), le = f("el-card"), $ = se("hasPerm");
142
- return s(), C("div", ge, [
143
- i("div", we, [
144
- n(te, {
137
+ return p.getList(), (l, t) => {
138
+ const U = f("jmash-select"), b = f("el-form-item"), w = f("el-col"), P = f("el-input"), T = f("el-row"), x = f("el-date-picker"), N = f("el-button"), ee = f("el-form"), te = f("jmash-column-select"), c = f("el-tag"), ae = f("jmash-table"), oe = f("jmash-pagination"), le = f("el-card"), D = ue("hasPerm");
139
+ return i(), h("div", ve, [
140
+ s("div", Ie, [
141
+ n(ee, {
145
142
  ref_key: "queryFormRef",
146
- ref: K,
147
- model: u.value,
143
+ ref: B,
144
+ model: d.value,
148
145
  inline: !0
149
146
  }, {
150
147
  default: a(() => [
151
- n(D, null, {
148
+ n(T, null, {
152
149
  default: a(() => [
153
- n(I, { span: 6 }, {
150
+ n(w, { span: 6 }, {
154
151
  default: a(() => [
155
152
  n(b, {
156
- label: r.$t("orderInfo.shopName"),
153
+ label: l.$t("orderInfo.shopName"),
157
154
  prop: "shopId"
158
155
  }, {
159
156
  default: a(() => [
160
- n(Y, {
161
- modelValue: u.value.shopId,
162
- "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.shopId = e),
157
+ n(U, {
158
+ modelValue: d.value.shopId,
159
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
163
160
  data: o(m).shopBizDict.values,
164
- placeholder: r.$t("orderInfo.shopNameRequired"),
161
+ placeholder: l.$t("orderInfo.shopNameRequired"),
165
162
  clearable: "",
166
- onKeyup: t[1] || (t[1] = k((e) => o(p).handleQuery(), ["enter"]))
163
+ onKeyup: t[1] || (t[1] = _((e) => o(p).handleQuery(), ["enter"]))
167
164
  }, null, 8, ["modelValue", "data", "placeholder"])
168
165
  ]),
169
166
  _: 1
@@ -171,19 +168,19 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
171
168
  ]),
172
169
  _: 1
173
170
  }),
174
- n(I, { span: 6 }, {
171
+ n(w, { span: 6 }, {
175
172
  default: a(() => [
176
173
  n(b, {
177
- label: r.$t("orderInfo.orderCode"),
174
+ label: l.$t("orderInfo.orderCode"),
178
175
  prop: "likeOrderCode"
179
176
  }, {
180
177
  default: a(() => [
181
- n(N, {
182
- modelValue: u.value.likeOrderCode,
183
- "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.likeOrderCode = e),
184
- placeholder: r.$t("orderInfo.orderCodeRequired"),
178
+ n(P, {
179
+ modelValue: d.value.likeOrderCode,
180
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.likeOrderCode = e),
181
+ placeholder: l.$t("orderInfo.orderCodeRequired"),
185
182
  clearable: "",
186
- onKeyup: t[3] || (t[3] = k((e) => o(p).handleQuery(), ["enter"])),
183
+ onKeyup: t[3] || (t[3] = _((e) => o(p).handleQuery(), ["enter"])),
187
184
  class: "!w-[203px]"
188
185
  }, null, 8, ["modelValue", "placeholder"])
189
186
  ]),
@@ -192,19 +189,19 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
192
189
  ]),
193
190
  _: 1
194
191
  }),
195
- n(I, { span: 6 }, {
192
+ n(w, { span: 6 }, {
196
193
  default: a(() => [
197
194
  n(b, {
198
- label: r.$t("orderInfo.spuName"),
195
+ label: l.$t("orderInfo.spuName"),
199
196
  prop: "likeSpuName"
200
197
  }, {
201
198
  default: a(() => [
202
- n(N, {
203
- modelValue: u.value.likeSpuName,
204
- "onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.likeSpuName = e),
205
- placeholder: r.$t("orderInfo.spuNameRequired"),
199
+ n(P, {
200
+ modelValue: d.value.likeSpuName,
201
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeSpuName = e),
202
+ placeholder: l.$t("orderInfo.spuNameRequired"),
206
203
  clearable: "",
207
- onKeyup: t[5] || (t[5] = k((e) => o(p).handleQuery(), ["enter"])),
204
+ onKeyup: t[5] || (t[5] = _((e) => o(p).handleQuery(), ["enter"])),
208
205
  class: "!w-[203px]"
209
206
  }, null, 8, ["modelValue", "placeholder"])
210
207
  ]),
@@ -213,19 +210,19 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
213
210
  ]),
214
211
  _: 1
215
212
  }),
216
- n(I, { span: 6 }, {
213
+ n(w, { span: 6 }, {
217
214
  default: a(() => [
218
215
  n(b, {
219
- label: r.$t("orderInfo.likeMobile"),
216
+ label: l.$t("orderInfo.likeMobile"),
220
217
  prop: "likeMobile"
221
218
  }, {
222
219
  default: a(() => [
223
- n(N, {
224
- modelValue: u.value.likeMobile,
225
- "onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.likeMobile = e),
226
- placeholder: r.$t("orderInfo.likeMobileRequired"),
220
+ n(P, {
221
+ modelValue: d.value.likeMobile,
222
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.likeMobile = e),
223
+ placeholder: l.$t("orderInfo.likeMobileRequired"),
227
224
  clearable: "",
228
- onKeyup: t[7] || (t[7] = k((e) => o(p).handleQuery(), ["enter"])),
225
+ onKeyup: t[7] || (t[7] = _((e) => o(p).handleQuery(), ["enter"])),
229
226
  class: "!w-[203px]"
230
227
  }, null, 8, ["modelValue", "placeholder"])
231
228
  ]),
@@ -237,22 +234,22 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
237
234
  ]),
238
235
  _: 1
239
236
  }),
240
- n(D, null, {
237
+ n(T, null, {
241
238
  default: a(() => [
242
- n(I, { span: 6 }, {
239
+ n(w, { span: 6 }, {
243
240
  default: a(() => [
244
241
  n(b, {
245
- label: r.$t("orderInfo.paymentStatus"),
242
+ label: l.$t("orderInfo.paymentStatus"),
246
243
  prop: "paymentStatus"
247
244
  }, {
248
245
  default: a(() => [
249
- n(Y, {
250
- modelValue: u.value.paymentStatus,
251
- "onUpdate:modelValue": t[8] || (t[8] = (e) => u.value.paymentStatus = e),
246
+ n(U, {
247
+ modelValue: d.value.paymentStatus,
248
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => d.value.paymentStatus = e),
252
249
  data: o(m).paymentStatusEnum.values,
253
- placeholder: r.$t("orderInfo.paymentStatusRequired"),
250
+ placeholder: l.$t("orderInfo.paymentStatusRequired"),
254
251
  clearable: "",
255
- onKeyup: t[9] || (t[9] = k((e) => o(p).handleQuery(), ["enter"]))
252
+ onKeyup: t[9] || (t[9] = _((e) => o(p).handleQuery(), ["enter"]))
256
253
  }, null, 8, ["modelValue", "data", "placeholder"])
257
254
  ]),
258
255
  _: 1
@@ -260,23 +257,22 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
260
257
  ]),
261
258
  _: 1
262
259
  }),
263
- n(I, { span: 6 }, {
260
+ n(w, { span: 6 }, {
264
261
  default: a(() => [
265
262
  n(b, {
266
- label: r.$t("orderInfo.orderTime"),
263
+ label: l.$t("orderInfo.orderTime"),
267
264
  prop: "startCreateTime"
268
265
  }, {
269
266
  default: a(() => [
270
- n(ee, {
271
- modelValue: T.value,
272
- "onUpdate:modelValue": t[10] || (t[10] = (e) => T.value = e),
273
- class: "dropdown-left",
267
+ n(x, {
268
+ modelValue: E.value,
269
+ "onUpdate:modelValue": t[10] || (t[10] = (e) => E.value = e),
274
270
  type: "daterange",
275
- "start-placeholder": r.$t("orderInfo.startCreateTime"),
276
- "end-placeholder": r.$t("orderInfo.endCreateTime"),
271
+ "start-placeholder": l.$t("orderInfo.startCreateTime"),
272
+ "end-placeholder": l.$t("orderInfo.endCreateTime"),
277
273
  format: "YYYY-MM-DD",
278
274
  "value-format": "YYYY-MM-DD",
279
- onChange: O
275
+ onChange: F
280
276
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
281
277
  ]),
282
278
  _: 1
@@ -284,22 +280,22 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
284
280
  ]),
285
281
  _: 1
286
282
  }),
287
- n(I, { span: 12 }, {
283
+ n(w, { span: 12 }, {
288
284
  default: a(() => [
289
285
  n(b, { class: "search-btn" }, {
290
286
  default: a(() => [
291
- n(M, {
287
+ n(N, {
292
288
  type: "primary",
293
289
  onClick: t[11] || (t[11] = (e) => o(p).handleQuery())
294
290
  }, {
295
291
  default: a(() => [
296
- d(l(r.$t("common.search")), 1)
292
+ u(r(l.$t("common.search")), 1)
297
293
  ]),
298
294
  _: 1
299
295
  }),
300
- n(M, { onClick: G }, {
296
+ n(N, { onClick: H }, {
301
297
  default: a(() => [
302
- d(l(r.$t("common.reset")), 1)
298
+ u(r(l.$t("common.reset")), 1)
303
299
  ]),
304
300
  _: 1
305
301
  })
@@ -315,36 +311,36 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
315
311
  ]),
316
312
  _: 1
317
313
  }, 8, ["model"]),
318
- t[19] || (t[19] = i("div", { class: "clear" }, null, -1))
314
+ t[19] || (t[19] = s("div", { class: "clear" }, null, -1))
319
315
  ]),
320
316
  n(le, {
321
317
  shadow: "never",
322
318
  class: "table-container"
323
319
  }, {
324
320
  header: a(() => [
325
- n(D, null, {
321
+ n(T, null, {
326
322
  default: a(() => [
327
- n(I, { span: 17 }),
328
- n(I, {
323
+ n(w, { span: 17 }),
324
+ n(w, {
329
325
  span: 7,
330
326
  class: "container-float"
331
327
  }, {
332
328
  default: a(() => [
333
- P((s(), y(M, {
329
+ R((i(), y(N, {
334
330
  plain: "",
335
331
  type: "primary",
336
- onClick: t[12] || (t[12] = (e) => o(p).handleExport(o(w)("orderInfo.name")))
332
+ onClick: t[12] || (t[12] = (e) => o(p).handleExport(o(I)("orderInfo.name")))
337
333
  }, {
338
334
  default: a(() => [
339
- d(l(r.$t("common.export")), 1)
335
+ u(r(l.$t("common.export")), 1)
340
336
  ]),
341
337
  _: 1
342
338
  })), [
343
- [$, ["order:order_info:export"]]
339
+ [D, ["order:order_info:export"]]
344
340
  ]),
345
- n(ae, {
341
+ n(te, {
346
342
  modelValue: o(S),
347
- "onUpdate:modelValue": t[13] || (t[13] = (e) => L(S) ? S.value = e : S = e),
343
+ "onUpdate:modelValue": t[13] || (t[13] = (e) => Y(S) ? S.value = e : S = e),
348
344
  "label-name": "order/order-info"
349
345
  }, null, 8, ["modelValue"])
350
346
  ]),
@@ -355,195 +351,186 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
355
351
  })
356
352
  ]),
357
353
  footer: a(() => [
358
- o(V) > 0 ? (s(), y(re, {
354
+ o(k) > 0 ? (i(), y(oe, {
359
355
  key: 0,
360
- total: o(V),
361
- "onUpdate:total": t[14] || (t[14] = (e) => L(V) ? V.value = e : null),
362
- "current-page": u.value.curPage,
363
- "onUpdate:currentPage": t[15] || (t[15] = (e) => u.value.curPage = e),
364
- "page-size": u.value.pageSize,
365
- "onUpdate:pageSize": t[16] || (t[16] = (e) => u.value.pageSize = e),
356
+ total: o(k),
357
+ "onUpdate:total": t[14] || (t[14] = (e) => Y(k) ? k.value = e : null),
358
+ "current-page": d.value.curPage,
359
+ "onUpdate:currentPage": t[15] || (t[15] = (e) => d.value.curPage = e),
360
+ "page-size": d.value.pageSize,
361
+ "onUpdate:pageSize": t[16] || (t[16] = (e) => d.value.pageSize = e),
366
362
  onPagination: t[17] || (t[17] = (e) => o(p).getList())
367
- }, null, 8, ["total", "current-page", "page-size"])) : c("", !0)
363
+ }, null, 8, ["total", "current-page", "page-size"])) : v("", !0)
368
364
  ]),
369
365
  default: a(() => [
370
- n(oe, {
366
+ n(ae, {
371
367
  ref_key: "multipleTableRef",
372
- ref: Q,
368
+ ref: z,
373
369
  "row-key": "orderId",
374
- "list-loading": o(A),
375
- data: o(F),
370
+ "list-loading": o(j),
371
+ data: o(Q),
376
372
  "table-label": o(S),
377
- onSelectionChange: Z
373
+ onSelectionChange: X
378
374
  }, {
379
375
  shopId: a((e) => [
380
- i("span", null, l(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
376
+ s("span", null, r(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
381
377
  ]),
382
378
  orderItemList: a((e) => [
383
- (s(!0), C(ie, null, me(e.data.row.orderItemList.results, (h, ne) => (s(), C("div", {
384
- key: ne,
379
+ (i(!0), h(se, null, ie(e.data.row.orderItemList.results, (C, re) => (i(), h("div", {
380
+ key: re,
385
381
  class: "order-item"
386
382
  }, [
387
- i("div", Ie, l(h.spuName), 1),
388
- i("div", be, "¥" + l(h.salesPrice), 1),
389
- i("div", he, l(h.specInfo), 1),
390
- i("div", Ce, "数量:" + l(h.quantity), 1),
391
- e.data.row.orderStatus === o(g).unpay ? P((s(), C("div", {
392
- key: 0,
393
- class: "el-button-color change-price-btn",
394
- onClick: (Ee) => H(e.data.row, h)
395
- }, [
396
- d(l(r.$t("orderInfo.changePrice")), 1)
397
- ], 8, Se)), [
398
- [$, ["order:order_info:changePrice"]]
399
- ]) : c("", !0)
383
+ s("div", we, r(C.spuName), 1),
384
+ s("div", ge, "¥" + r(C.salesPrice), 1),
385
+ s("div", be, r(C.specInfo), 1),
386
+ s("div", Ce, "数量:" + r(C.quantity), 1)
400
387
  ]))), 128))
401
388
  ]),
402
389
  orderCodeAndCreateTime: a((e) => [
403
- i("span", null, [
404
- d(l(o(B).$moment.formatDate(
390
+ s("span", null, [
391
+ u(r(o(W).$moment.formatDate(
405
392
  e.data.row.createTime,
406
393
  "YYYY-MM-DD HH:mm:ss"
407
394
  )) + " ", 1),
408
- t[20] || (t[20] = i("br", null, null, -1)),
409
- d(" " + l(e.data.row.orderCode), 1)
395
+ t[20] || (t[20] = s("br", null, null, -1)),
396
+ u(" " + r(e.data.row.orderCode), 1)
410
397
  ])
411
398
  ]),
412
399
  status: a((e) => [
413
- i("div", null, [
414
- d(l(r.$t("orderInfo.orderStatus")) + ": ", 1),
415
- e.data.row.orderStatus === o(g).unpay ? (s(), y(v, {
400
+ s("div", null, [
401
+ u(r(l.$t("orderInfo.orderStatus")) + ": ", 1),
402
+ e.data.row.orderStatus === o(g).UNPAY ? (i(), y(c, {
416
403
  key: 0,
417
404
  type: "danger"
418
405
  }, {
419
406
  default: a(() => [
420
- d(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
407
+ u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
421
408
  ]),
422
409
  _: 2
423
- }, 1024)) : c("", !0),
424
- e.data.row.orderStatus === o(g).unpost ? (s(), y(v, {
410
+ }, 1024)) : v("", !0),
411
+ e.data.row.orderStatus === o(g).UNPOST ? (i(), y(c, {
425
412
  key: 1,
426
413
  type: "warning"
427
414
  }, {
428
415
  default: a(() => [
429
- d(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
416
+ u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
430
417
  ]),
431
418
  _: 2
432
- }, 1024)) : c("", !0),
433
- e.data.row.orderStatus === o(g).unreceive ? (s(), y(v, {
419
+ }, 1024)) : v("", !0),
420
+ e.data.row.orderStatus === o(g).UNRECEIVE ? (i(), y(c, {
434
421
  key: 2,
435
422
  type: "primary"
436
423
  }, {
437
424
  default: a(() => [
438
- d(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
425
+ u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
439
426
  ]),
440
427
  _: 2
441
- }, 1024)) : c("", !0),
442
- e.data.row.orderStatus === o(g).complete ? (s(), y(v, {
428
+ }, 1024)) : v("", !0),
429
+ e.data.row.orderStatus === o(g).COMPLETE ? (i(), y(c, {
443
430
  key: 3,
444
431
  type: "success"
445
432
  }, {
446
433
  default: a(() => [
447
- d(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
434
+ u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
448
435
  ]),
449
436
  _: 2
450
- }, 1024)) : c("", !0),
451
- e.data.row.orderStatus === o(g).cancel ? (s(), y(v, {
437
+ }, 1024)) : v("", !0),
438
+ e.data.row.orderStatus === o(g).CANCEL ? (i(), y(c, {
452
439
  key: 4,
453
440
  type: "info"
454
441
  }, {
455
442
  default: a(() => [
456
- d(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
443
+ u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
457
444
  ]),
458
445
  _: 2
459
- }, 1024)) : c("", !0)
446
+ }, 1024)) : v("", !0)
460
447
  ]),
461
- i("span", null, [
462
- d(l(r.$t("orderInfo.paymentStatus")) + ": ", 1),
463
- e.data.row.paymentStatus === o(g).unpaid ? (s(), y(v, {
448
+ s("span", null, [
449
+ u(r(l.$t("orderInfo.paymentStatus")) + ": ", 1),
450
+ e.data.row.paymentStatus === o(g).UNPAID ? (i(), y(c, {
464
451
  key: 0,
465
452
  type: "danger"
466
453
  }, {
467
454
  default: a(() => [
468
- d(l(o(m).paymentStatusEnum.getEnumValue(
455
+ u(r(o(m).paymentStatusEnum.getEnumValue(
469
456
  e.data.row.paymentStatus
470
457
  )), 1)
471
458
  ]),
472
459
  _: 2
473
- }, 1024)) : e.data.row.paymentStatus === o(g).partPaid ? (s(), y(v, {
460
+ }, 1024)) : e.data.row.paymentStatus === o(g).PART_PAID ? (i(), y(c, {
474
461
  key: 1,
475
462
  type: "info"
476
463
  }, {
477
464
  default: a(() => [
478
- d(l(o(m).paymentStatusEnum.getEnumValue(
465
+ u(r(o(m).paymentStatusEnum.getEnumValue(
479
466
  e.data.row.paymentStatus
480
467
  )), 1)
481
468
  ]),
482
469
  _: 2
483
- }, 1024)) : e.data.row.paymentStatus === o(g).paid ? (s(), y(v, {
470
+ }, 1024)) : e.data.row.paymentStatus === o(g).PAID ? (i(), y(c, {
484
471
  key: 2,
485
472
  type: "success"
486
473
  }, {
487
474
  default: a(() => [
488
- d(l(o(m).paymentStatusEnum.getEnumValue(
475
+ u(r(o(m).paymentStatusEnum.getEnumValue(
489
476
  e.data.row.paymentStatus
490
477
  )), 1)
491
478
  ]),
492
479
  _: 2
493
- }, 1024)) : c("", !0)
480
+ }, 1024)) : v("", !0)
494
481
  ]),
495
- i("div", null, [
496
- d(l(r.$t("orderInfo.appraisesStatus")) + ": ", 1),
497
- e.data.row.appraisesStatus === !1 ? (s(), y(v, {
482
+ s("div", null, [
483
+ u(r(l.$t("orderInfo.appraisesStatus")) + ": ", 1),
484
+ e.data.row.appraisesStatus === !1 ? (i(), y(c, {
498
485
  key: 0,
499
486
  type: "info"
500
487
  }, {
501
488
  default: a(() => [
502
- d(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
489
+ u(r(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
503
490
  ]),
504
491
  _: 2
505
- }, 1024)) : c("", !0),
506
- e.data.row.appraisesStatus === !0 ? (s(), y(v, {
492
+ }, 1024)) : v("", !0),
493
+ e.data.row.appraisesStatus === !0 ? (i(), y(c, {
507
494
  key: 1,
508
495
  type: "success"
509
496
  }, {
510
497
  default: a(() => [
511
- d(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
498
+ u(r(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
512
499
  ]),
513
500
  _: 2
514
- }, 1024)) : c("", !0)
501
+ }, 1024)) : v("", !0)
515
502
  ])
516
503
  ]),
517
504
  salesPrice: a((e) => [
518
- i("div", null, [
519
- i("div", null, l(r.$t("orderInfo.salesPrice")) + ": ¥" + l(e.data.row.salesPrice), 1),
520
- i("div", null, l(r.$t("orderInfo.freightPrice")) + ": +¥" + l(e.data.row.freightPrice), 1),
521
- i("div", null, l(r.$t("orderInfo.paymentCouponPrice")) + ": -¥" + l(e.data.row.paymentCouponPrice), 1),
522
- i("div", _e, l(r.$t("orderInfo.orderPrice")) + ": ¥" + l(e.data.row.orderPrice), 1)
505
+ s("div", null, [
506
+ s("div", null, r(l.$t("orderInfo.salesPrice")) + ": ¥" + r(e.data.row.salesPrice), 1),
507
+ s("div", null, r(l.$t("orderInfo.freightPrice")) + ": +¥" + r(e.data.row.freightPrice), 1),
508
+ s("div", null, r(l.$t("orderInfo.paymentCouponPrice")) + ": -¥" + r(e.data.row.paymentCouponPrice), 1),
509
+ s("div", Se, r(l.$t("orderInfo.orderPrice")) + ": ¥" + r(e.data.row.orderPrice), 1)
523
510
  ])
524
511
  ]),
525
512
  paymentWay: a((e) => [
526
- i("span", null, l(o(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
513
+ s("span", null, r(o(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
527
514
  ]),
528
515
  deliveryWay: a((e) => [
529
- i("span", null, l(o(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
516
+ s("span", null, r(o(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
530
517
  ]),
531
518
  operation: a((e) => [
532
- P((s(), C("span", {
533
- class: "el-button-color dropdown-left",
534
- onClick: (h) => J(e.data.row)
519
+ R((i(), h("span", {
520
+ class: "el-button-color",
521
+ onClick: (C) => G(e.data.row)
535
522
  }, [
536
- d(l(r.$t("common.view")), 1)
537
- ], 8, ke)), [
538
- [$, ["order:order_info:view"]]
523
+ u(r(l.$t("common.view")), 1)
524
+ ], 8, he)), [
525
+ [D, ["order:order_info:view"]]
539
526
  ]),
540
- P((s(), C("span", {
527
+ R((i(), h("span", {
541
528
  class: "el-button-color dropdown-left",
542
- onClick: (h) => X(e.data.row)
529
+ onClick: (C) => J(e.data.row)
543
530
  }, [
544
- d(l(r.$t("orderInfo.cancel")), 1)
545
- ], 8, Ve)), [
546
- [$, ["order:order_info:cancel"]]
531
+ u(r(l.$t("orderInfo.cancel")), 1)
532
+ ], 8, _e)), [
533
+ [D, ["order:order_info:cancel"]]
547
534
  ])
548
535
  ]),
549
536
  _: 1
@@ -551,20 +538,20 @@ const ge = { class: "app-container" }, we = { class: "search-container" }, Ie =
551
538
  ]),
552
539
  _: 1
553
540
  }),
554
- _.value.visible ? (s(), y(ve, {
541
+ V.value.visible ? (i(), y(ce, {
555
542
  key: 0,
556
- modelValue: _.value.visible,
557
- "onUpdate:modelValue": t[18] || (t[18] = (e) => _.value.visible = e),
558
- title: _.value.title,
559
- "entity-key": o(R),
560
- "entity-model": o(W),
561
- onRefresh: x,
543
+ modelValue: V.value.visible,
544
+ "onUpdate:modelValue": t[18] || (t[18] = (e) => V.value.visible = e),
545
+ title: V.value.title,
546
+ "entity-key": o(K),
547
+ "entity-model": o(O),
548
+ onRefresh: Z,
562
549
  width: "500px"
563
- }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : c("", !0)
550
+ }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : v("", !0)
564
551
  ]);
565
552
  };
566
553
  }
567
554
  });
568
555
  export {
569
- qe as _
556
+ Ue as _
570
557
  };