xyvcard-order 0.0.12 → 0.0.13

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 (44) hide show
  1. package/dist/{change-3TnGoLNv.mjs → change-ZEjolHT6.mjs} +1 -1
  2. package/dist/{change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs → change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs} +3 -3
  3. package/dist/{deliver-CgSCkEMe.mjs → deliver-TfrCwaGj.mjs} +1 -1
  4. package/dist/{deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs → deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs} +9 -9
  5. package/dist/{edit-BgR1glUx.mjs → edit-BdUVrlcn.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs → edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs} +16 -17
  7. package/dist/index-1R3wKfde.mjs +1493 -0
  8. package/dist/index-B_-apQkW.mjs +62 -0
  9. package/dist/{index-BLTeDGPq.mjs → index-ByufLV6K.mjs} +37 -38
  10. package/dist/{index-S4jzuvn6.mjs → index-PLezrWfs.mjs} +146 -151
  11. package/dist/index.mjs +263 -258
  12. package/dist/{info-3uYTUNzE.mjs → info-DYltAD_A.mjs} +1 -1
  13. package/dist/{info-DXX50Xfh.mjs → info-DbWhDIS0.mjs} +64 -64
  14. package/dist/info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs +177 -0
  15. package/dist/orderList-RTzDSXuR.mjs +4 -0
  16. package/dist/orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs +612 -0
  17. package/dist/{reply-9iq8g6ah.mjs → reply-BWKE7lzJ.mjs} +1 -1
  18. package/dist/{reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs → reply.vue_vue_type_script_setup_true_lang-AnsyNIM8.mjs} +15 -13
  19. package/dist/{review-DY1KQI3U.mjs → review-z7cdFET5.mjs} +1 -1
  20. package/dist/{review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs → review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs} +53 -50
  21. package/dist/style.css +1 -1
  22. package/dist/{viewLogist-Cxu-IV-d.mjs → viewLogist-CHiDaaZx.mjs} +1 -1
  23. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CkSqEuA1.mjs +93 -0
  24. package/dts/src/api/order-appraises/types.d.ts +2 -0
  25. package/dts/src/api/order-info/types.d.ts +5 -0
  26. package/dts/src/api/order-logistics/types.d.ts +3 -0
  27. package/dts/src/api/order-refunds/types.d.ts +3 -0
  28. package/dts/src/lang/order/zh-cn.d.ts +6 -1
  29. package/dts/src/views/order/order-info/orderList.vue.d.ts +14 -0
  30. package/package.json +6 -9
  31. package/dist/canceled-CTHGNWuB.mjs +0 -4
  32. package/dist/canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs +0 -507
  33. package/dist/completed-BnD0Wh1K.mjs +0 -4
  34. package/dist/completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs +0 -507
  35. package/dist/index-CfEKTjAd.mjs +0 -1361
  36. package/dist/index-DaOMDld4.mjs +0 -668
  37. package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +0 -178
  38. package/dist/unpay-Bc8ekFnl.mjs +0 -4
  39. package/dist/unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs +0 -557
  40. package/dist/unpost-Bj10_WvZ.mjs +0 -4
  41. package/dist/unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs +0 -538
  42. package/dist/unreceive-CUiJvXq1.mjs +0 -4
  43. package/dist/unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs +0 -507
  44. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +0 -91
@@ -0,0 +1,62 @@
1
+ import { defineComponent as N, ref as k, onMounted as E, resolveComponent as p, createElementBlock as _, openBlock as t, createVNode as d, withCtx as r, createBlock as l, createCommentVNode as i, Fragment as y, renderList as V, unref as T } from "vue";
2
+ import { useRoute as U } from "vue-router";
3
+ import "element-plus";
4
+ import { C as a, D as B } from "./index-CHzhYqx8.mjs";
5
+ import { _ as f } from "./orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs";
6
+ const L = { class: "app-container" }, D = /* @__PURE__ */ N({
7
+ __name: "index",
8
+ setup(M) {
9
+ const e = k(5), u = U(), v = {
10
+ 0: a.UNPAY,
11
+ 1: a.UNPOST,
12
+ 2: a.UNRECEIVE,
13
+ 3: a.COMPLETE,
14
+ 4: a.CANCEL
15
+ };
16
+ function b(m) {
17
+ e.value = m.paneName;
18
+ }
19
+ return E(() => {
20
+ u.query.activeTab && (e.value = Number(u.query.activeTab));
21
+ }), (m, s) => {
22
+ const c = p("el-tab-pane"), C = p("el-tabs");
23
+ return t(), _("div", L, [
24
+ d(C, {
25
+ modelValue: e.value,
26
+ "onUpdate:modelValue": s[0] || (s[0] = (o) => e.value = o),
27
+ type: "border-card",
28
+ onTabClick: b
29
+ }, {
30
+ default: r(() => [
31
+ d(c, {
32
+ label: "全部订单",
33
+ name: 5
34
+ }, {
35
+ default: r(() => [
36
+ e.value === 5 ? (t(), l(f, { key: 0 })) : i("", !0)
37
+ ]),
38
+ _: 1
39
+ }),
40
+ (t(!0), _(y, null, V(T(B).orderStatusEnum.values, (o, n) => (t(), l(c, {
41
+ key: n,
42
+ label: o.value,
43
+ name: n
44
+ }, {
45
+ default: r(() => [
46
+ e.value === n ? (t(), l(f, {
47
+ key: 0,
48
+ "order-status": v[e.value]
49
+ }, null, 8, ["order-status"])) : i("", !0)
50
+ ]),
51
+ _: 2
52
+ }, 1032, ["label", "name"]))), 128))
53
+ ]),
54
+ _: 1
55
+ }, 8, ["modelValue"])
56
+ ]);
57
+ };
58
+ }
59
+ });
60
+ export {
61
+ D as default
62
+ };
@@ -1,15 +1,15 @@
1
- import { defineComponent as oe, getCurrentInstance as re, ref as h, reactive as ne, onMounted as ae, watch as ue, resolveComponent as s, resolveDirective as de, openBlock as p, createElementBlock as k, createElementVNode as i, createVNode as o, withCtx as r, unref as a, withKeys as _, createTextVNode as S, toDisplayString as u, isRef as U, createBlock as T, createCommentVNode as C, withDirectives as se } from "vue";
1
+ import { defineComponent as oe, getCurrentInstance as re, ref as h, reactive as ne, onMounted as ae, watch as ue, resolveComponent as s, resolveDirective as de, createElementBlock as k, openBlock as p, createElementVNode as i, createVNode as o, createBlock as S, createCommentVNode as C, withCtx as r, withKeys as _, unref as a, createTextVNode as T, toDisplayString as u, withDirectives as se, isRef as U } from "vue";
2
2
  import { useRoute as ie } from "vue-router";
3
3
  import { ElMessageBox as me, ElMessage as q } from "element-plus";
4
4
  import { useTableHooks as fe } from "jmash-core";
5
5
  import { useI18n as pe } from "vue-i18n";
6
6
  import { o as M } from "./index-DAb5kkOk.mjs";
7
- import { _ as ce } from "./review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs";
8
- import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs";
7
+ import { _ as ce } from "./review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs";
8
+ import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs";
9
9
  import { D as v, C as z } from "./index-CHzhYqx8.mjs";
10
10
  const ye = { class: "app-container" }, be = { class: "search-container" }, Re = ["onClick"], he = ["onClick"], Ce = ["onClick"], Ne = /* @__PURE__ */ oe({
11
11
  __name: "index",
12
- setup(we) {
12
+ setup(ge) {
13
13
  const { t: m } = pe(), I = ie(), { proxy: B } = re();
14
14
  v.shopBizDict.useValues();
15
15
  const $ = h([]), n = h({
@@ -21,13 +21,13 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
21
21
  queryFormRef: j,
22
22
  listLoading: A,
23
23
  tableData: K,
24
- total: w
24
+ total: g
25
25
  } = fe(m, M, n);
26
26
  let y = h([
27
27
  {
28
28
  label: "orderInfo.shopName",
29
29
  prop: "shopId",
30
- width: "250",
30
+ minWidth: "200",
31
31
  slotName: "shopId",
32
32
  columnType: "slot",
33
33
  isColumn: !0
@@ -35,7 +35,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
35
35
  {
36
36
  label: "orderRefunds.createTime",
37
37
  prop: "createTime",
38
- width: "200",
38
+ width: "160",
39
39
  slotName: "createTime",
40
40
  columnType: "slot",
41
41
  isColumn: !0
@@ -43,7 +43,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
43
43
  {
44
44
  label: "orderRefunds.order",
45
45
  prop: "order",
46
- width: "250",
46
+ minWidth: "270",
47
47
  slotName: "order",
48
48
  columnType: "slot",
49
49
  isColumn: !0
@@ -51,7 +51,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
51
51
  {
52
52
  label: "orderRefunds.refundStatus",
53
53
  prop: "status",
54
- width: "100",
54
+ width: "90",
55
55
  slotName: "refundStatus",
56
56
  columnType: "slot",
57
57
  isColumn: !0
@@ -59,13 +59,13 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
59
59
  {
60
60
  label: "orderRefunds.refundAmount",
61
61
  prop: "refundAmount",
62
- width: "100",
62
+ width: "90",
63
63
  isColumn: !0
64
64
  },
65
65
  {
66
66
  label: "orderRefunds.refundCode",
67
67
  prop: "refundCode",
68
- width: "250",
68
+ width: "210",
69
69
  isColumn: !0
70
70
  },
71
71
  {
@@ -82,7 +82,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
82
82
  },
83
83
  {
84
84
  label: "common.operate",
85
- width: "200",
85
+ width: "130",
86
86
  slotName: "operation",
87
87
  columnType: "slot",
88
88
  fixed: "right",
@@ -96,11 +96,11 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
96
96
  title: m("orderRefunds.info"),
97
97
  visible: !1
98
98
  });
99
- let g = ne({});
99
+ let w = ne({});
100
100
  function L(t) {
101
- g.refundId = t.refundId, b.value.visible = !0;
101
+ w.refundId = t.refundId, b.value.visible = !0;
102
102
  }
103
- const H = async (t) => {
103
+ const W = async (t) => {
104
104
  me.confirm(
105
105
  m("orderRefunds.refundConfirm"),
106
106
  m("orderRefunds.refund"),
@@ -127,13 +127,13 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
127
127
  }).catch(() => {
128
128
  });
129
129
  };
130
- function O(t) {
131
- g.refundId = t.refundId, R.value.visible = !0;
130
+ function H(t) {
131
+ w.refundId = t.refundId, R.value.visible = !0;
132
132
  }
133
- function F(t) {
133
+ function O(t) {
134
134
  n.value.startCreateTime = t[0], n.value.endCreateTime = t[1];
135
135
  }
136
- function W() {
136
+ function F() {
137
137
  $.value = [], n.value.startCreateTime = "", n.value.endCreateTime = "", d.resetQuery();
138
138
  }
139
139
  function G(t) {
@@ -273,7 +273,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
273
273
  "end-placeholder": t.$t("orderRefunds.endCreateTime"),
274
274
  format: "YYYY-MM-DD",
275
275
  "value-format": "YYYY-MM-DD",
276
- onChange: F
276
+ onChange: O
277
277
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
278
278
  ]),
279
279
  _: 1
@@ -290,13 +290,13 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
290
290
  onClick: l[9] || (l[9] = (e) => a(d).handleQuery())
291
291
  }, {
292
292
  default: r(() => [
293
- S(u(t.$t("common.search")), 1)
293
+ T(u(t.$t("common.search")), 1)
294
294
  ]),
295
295
  _: 1
296
296
  }),
297
- o(Y, { onClick: W }, {
297
+ o(Y, { onClick: F }, {
298
298
  default: r(() => [
299
- S(u(t.$t("common.reset")), 1)
299
+ T(u(t.$t("common.reset")), 1)
300
300
  ]),
301
301
  _: 1
302
302
  })
@@ -321,9 +321,8 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
321
321
  header: r(() => [
322
322
  o(V, null, {
323
323
  default: r(() => [
324
- o(f, { span: 17 }),
325
324
  o(f, {
326
- span: 7,
325
+ span: 24,
327
326
  class: "container-float"
328
327
  }, {
329
328
  default: r(() => [
@@ -340,10 +339,10 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
340
339
  })
341
340
  ]),
342
341
  footer: r(() => [
343
- a(w) > 0 ? (p(), T(ee, {
342
+ a(g) > 0 ? (p(), S(ee, {
344
343
  key: 0,
345
- total: a(w),
346
- "onUpdate:total": l[11] || (l[11] = (e) => U(w) ? w.value = e : null),
344
+ total: a(g),
345
+ "onUpdate:total": l[11] || (l[11] = (e) => U(g) ? g.value = e : null),
347
346
  "current-page": n.value.curPage,
348
347
  "onUpdate:currentPage": l[12] || (l[12] = (e) => n.value.curPage = e),
349
348
  "page-size": n.value.pageSize,
@@ -374,8 +373,8 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
374
373
  i("div", null, [
375
374
  i("div", null, u(t.$t("orderRefunds.orderCode")) + ":" + u(e.data.row.orderCode), 1),
376
375
  i("div", null, u(t.$t("orderRefunds.orderPrice")) + ":¥" + u(e.data.row.orderPrice), 1),
377
- i("div", null, u(t.$t("orderRefunds.freightPrice")) + ":+¥" + u(e.data.row.freightPrice), 1),
378
- i("div", null, u(t.$t("orderRefunds.paymentCouponPrice")) + ":-¥" + u(e.data.row.paymentCouponPrice), 1),
376
+ i("div", null, u(t.$t("orderRefunds.freightPrice")) + ":¥" + u(e.data.row.freightPrice), 1),
377
+ i("div", null, u(t.$t("orderRefunds.paymentCouponPrice")) + ":¥" + u(e.data.row.paymentCouponPrice), 1),
379
378
  i("div", null, u(t.$t("orderRefunds.paymentWay")) + ": " + u(a(v).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
380
379
  ])
381
380
  ]),
@@ -385,9 +384,9 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
385
384
  operation: r((e) => [
386
385
  se((p(), k("span", {
387
386
  class: "el-button-color",
388
- onClick: (E) => O(e.data.row)
387
+ onClick: (E) => H(e.data.row)
389
388
  }, [
390
- S(u(t.$t("common.view")), 1)
389
+ T(u(t.$t("common.view")), 1)
391
390
  ], 8, Re)), [
392
391
  [le, ["order:order_refunds:view"]]
393
392
  ]),
@@ -399,7 +398,7 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
399
398
  e.data.row.status === a(z).PASS ? (p(), k("span", {
400
399
  key: 1,
401
400
  class: "el-button-color dropdown-left",
402
- onClick: (E) => H(e.data.row)
401
+ onClick: (E) => W(e.data.row)
403
402
  }, u(t.$t("orderRefunds.refund")), 9, Ce)) : C("", !0)
404
403
  ]),
405
404
  _: 1
@@ -407,23 +406,23 @@ const ye = { class: "app-container" }, be = { class: "search-container" }, Re =
407
406
  ]),
408
407
  _: 1
409
408
  }),
410
- b.value.visible ? (p(), T(ce, {
409
+ b.value.visible ? (p(), S(ce, {
411
410
  key: 0,
412
411
  modelValue: b.value.visible,
413
412
  "onUpdate:modelValue": l[15] || (l[15] = (e) => b.value.visible = e),
414
413
  title: b.value.title,
415
- "entity-key": a(g),
414
+ "entity-key": a(w),
416
415
  onRefresh: D,
417
416
  width: "800px"
418
417
  }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
419
- R.value.visible ? (p(), T(ve, {
418
+ R.value.visible ? (p(), S(ve, {
420
419
  key: 1,
421
420
  modelValue: R.value.visible,
422
421
  "onUpdate:modelValue": l[16] || (l[16] = (e) => R.value.visible = e),
423
422
  title: R.value.title,
424
- "entity-key": a(g),
423
+ "entity-key": a(w),
425
424
  onRefresh: D,
426
- width: "600px"
425
+ width: "900px"
427
426
  }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
428
427
  ]);
429
428
  };