xyvcard-order 0.0.7 → 0.0.9

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