xyvcard-order 0.0.1 → 0.0.4

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 (89) hide show
  1. package/dist/{canceled-CUME6Usz.mjs → canceled-CAEulpM1.mjs} +1 -1
  2. package/dist/{canceled.vue_vue_type_script_setup_true_lang-EX4zYQSu.mjs → canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs} +63 -64
  3. package/dist/{change-CK1I7hL9.mjs → change-CH-CF_q-.mjs} +1 -1
  4. package/dist/{change.vue_vue_type_script_setup_true_lang-DMUKqQVp.mjs → change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs} +1 -1
  5. package/dist/{completed-Cf86bOvD.mjs → completed-B70yQ6oI.mjs} +1 -1
  6. package/dist/{completed.vue_vue_type_script_setup_true_lang-DqIyhNKh.mjs → completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs} +72 -73
  7. package/dist/{deliver-BQIcivCV.mjs → deliver-Bp2Ckw4g.mjs} +1 -1
  8. package/dist/deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs +185 -0
  9. package/dist/{edit-CXp819Cl.mjs → edit-DyFqRxsE.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs → edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs} +1 -1
  11. package/dist/{index-DMD0_mKi.mjs → index-BwyO6Vdb.mjs} +82 -83
  12. package/dist/index-CL3mlOnd.mjs +407 -0
  13. package/dist/{index-xagR65a1.mjs → index-Dvf0V5EP.mjs} +11 -3
  14. package/dist/{index-CUO59YzZ.mjs → index-DyFAVz8t.mjs} +525 -439
  15. package/dist/index-suIgymdy.mjs +93 -0
  16. package/dist/index.mjs +594 -592
  17. package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +41 -0
  18. package/dist/{info-6G1vmk51.mjs → info-Ba-BgJkw.mjs} +76 -77
  19. package/dist/info-DtOaZ-hg.mjs +4 -0
  20. package/dist/info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs +188 -0
  21. package/dist/review-DjGDxyqZ.mjs +4 -0
  22. package/dist/review.vue_vue_type_script_setup_true_lang-CKGCdXD5.mjs +309 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{unpay-CqebDQ24.mjs → unpay-nfOgE6CJ.mjs} +1 -1
  25. package/dist/{unpay.vue_vue_type_script_setup_true_lang-Cq-l3JEe.mjs → unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs} +1335 -1349
  26. package/dist/{unpost-vRTZyaW0.mjs → unpost-BocJwYcE.mjs} +1 -1
  27. package/dist/{unpost.vue_vue_type_script_setup_true_lang-CAd6DqNm.mjs → unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs} +147 -148
  28. package/dist/{unreceive-DUyGNC5h.mjs → unreceive-BLcvdJxY.mjs} +1 -1
  29. package/dist/{unreceive.vue_vue_type_script_setup_true_lang-DK1USH8c.mjs → unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs} +72 -73
  30. package/dist/{viewLogist-DdG4dbmo.mjs → viewLogist-D9-zqepw.mjs} +1 -1
  31. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +127 -0
  32. package/dts/src/api/index.d.ts +3 -1
  33. package/dts/src/api/{order/order-info → order-info}/index.d.ts +1 -1
  34. package/dts/src/api/{order/order-info → order-info}/types.d.ts +8 -8
  35. package/dts/src/api/{order/order-refunds → order-refunds}/index.d.ts +5 -4
  36. package/dts/src/api/{order/order-refunds → order-refunds}/types.d.ts +26 -5
  37. package/dts/src/constant.d.ts +14 -1
  38. package/dts/src/lang/order/zh-cn.d.ts +14 -2
  39. package/dts/src/views/order/order-info/change.vue.d.ts +1 -1
  40. package/dts/src/views/order/order-info/deliver.vue.d.ts +1 -1
  41. package/dts/src/views/order/order-info/edit.vue.d.ts +1 -1
  42. package/dts/src/views/order/order-refunds/info.vue.d.ts +14 -1
  43. package/dts/src/views/order/order-refunds/{edit.vue.d.ts → review.vue.d.ts} +1 -1
  44. package/package.json +7 -5
  45. package/dist/constant-CWTD7ap0.mjs +0 -24
  46. package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +0 -221
  47. package/dist/edit-BtY-5_aq.mjs +0 -4
  48. package/dist/edit-CagPAsCc.mjs +0 -4
  49. package/dist/edit-DSlSQclm.mjs +0 -4
  50. package/dist/edit-DZTWE770.mjs +0 -4
  51. package/dist/edit-kb9Vbd0O.mjs +0 -553
  52. package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +0 -382
  53. package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +0 -488
  54. package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +0 -516
  55. package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +0 -684
  56. package/dist/index-67kgHrd-.mjs +0 -370
  57. package/dist/index-BYkU3LYC.mjs +0 -343
  58. package/dist/index-D-PNIrrr.mjs +0 -55
  59. package/dist/index-Dbp38ozL.mjs +0 -350
  60. package/dist/index-L15OdEOS.mjs +0 -370
  61. package/dist/index-Nw_g6g3T.mjs +0 -80
  62. package/dist/index-ZpOHqjUk.mjs +0 -344
  63. package/dist/index-w8CmEAxD.mjs +0 -90
  64. package/dist/index-zsqXCqfG.mjs +0 -385
  65. package/dist/info-BWqDP7Q1.mjs +0 -106
  66. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +0 -77
  67. package/dts/src/api/order/order-bill/index.d.ts +0 -20
  68. package/dts/src/api/order/order-bill/types.d.ts +0 -75
  69. package/dts/src/api/order/order-item/index.d.ts +0 -20
  70. package/dts/src/api/order/order-item/types.d.ts +0 -95
  71. package/dts/src/api/order/order-pay-record/index.d.ts +0 -20
  72. package/dts/src/api/order/order-pay-record/types.d.ts +0 -77
  73. package/dts/src/api/order/order-refund-record/index.d.ts +0 -20
  74. package/dts/src/api/order/order-refund-record/types.d.ts +0 -80
  75. package/dts/src/api/shop/shop-info/index.d.ts +0 -8
  76. package/dts/src/api/shop/shop-info/types.d.ts +0 -16
  77. package/dts/src/utils/commons.d.ts +0 -10
  78. package/dts/src/views/order/order-bill/edit.vue.d.ts +0 -22
  79. package/dts/src/views/order/order-bill/index.vue.d.ts +0 -2
  80. package/dts/src/views/order/order-item/edit.vue.d.ts +0 -22
  81. package/dts/src/views/order/order-item/index.vue.d.ts +0 -2
  82. package/dts/src/views/order/order-logistics/edit.vue.d.ts +0 -22
  83. package/dts/src/views/order/order-logistics/index.vue.d.ts +0 -2
  84. package/dts/src/views/order/order-pay-record/edit.vue.d.ts +0 -22
  85. package/dts/src/views/order/order-pay-record/index.vue.d.ts +0 -2
  86. package/dts/src/views/order/order-refund-record/edit.vue.d.ts +0 -22
  87. package/dts/src/views/order/order-refund-record/index.vue.d.ts +0 -2
  88. /package/dts/src/api/{order/order-logistics → order-logistics}/index.d.ts +0 -0
  89. /package/dts/src/api/{order/order-logistics → order-logistics}/types.d.ts +0 -0
@@ -0,0 +1,41 @@
1
+ import { defineComponent as s, mergeModels as c, useModel as i, resolveComponent as n, openBlock as o, createBlock as r, withCtx as u, createElementBlock as _, Fragment as f, renderList as V, unref as g, createTextVNode as k, toDisplayString as v } from "vue";
2
+ const C = /* @__PURE__ */ s({
3
+ __name: "index",
4
+ props: /* @__PURE__ */ c({
5
+ data: {
6
+ type: Object,
7
+ default: function() {
8
+ }
9
+ }
10
+ }, {
11
+ modelValue: { type: [String, Boolean] },
12
+ modelModifiers: {}
13
+ }),
14
+ emits: ["update:modelValue"],
15
+ setup(t) {
16
+ const l = i(t, "modelValue"), d = t.data;
17
+ return (x, a) => {
18
+ const m = n("el-radio"), p = n("el-radio-group");
19
+ return o(), r(p, {
20
+ modelValue: l.value,
21
+ "onUpdate:modelValue": a[0] || (a[0] = (e) => l.value = e)
22
+ }, {
23
+ default: u(() => [
24
+ (o(!0), _(f, null, V(g(d), (e) => (o(), r(m, {
25
+ key: e.key,
26
+ value: e.key
27
+ }, {
28
+ default: u(() => [
29
+ k(v(e.value), 1)
30
+ ]),
31
+ _: 2
32
+ }, 1032, ["value"]))), 128))
33
+ ]),
34
+ _: 1
35
+ }, 8, ["modelValue"]);
36
+ };
37
+ }
38
+ });
39
+ export {
40
+ C as _
41
+ };
@@ -1,85 +1,84 @@
1
- import { defineComponent as te, getCurrentInstance as le, ref as c, reactive as Y, onMounted as re, resolveComponent as b, resolveDirective as oe, openBlock as r, createElementBlock as n, createVNode as a, withCtx as d, createTextVNode as g, toDisplayString as l, createElementVNode as i, unref as m, Fragment as p, renderList as v, withDirectives as P, createCommentVNode as I, vShow as z, createBlock as E } from "vue";
1
+ import { defineComponent as te, getCurrentInstance as le, ref as c, reactive as A, onMounted as re, resolveComponent as b, resolveDirective as oe, openBlock as r, createElementBlock as n, createVNode as a, withCtx as s, createTextVNode as g, toDisplayString as l, createElementVNode as i, unref as m, Fragment as p, renderList as v, withDirectives as P, createCommentVNode as I, vShow as z, createBlock as D } from "vue";
2
2
  import { useRouter as ne, useRoute as ae } from "vue-router";
3
3
  import { fileApi as H, routerUtil as ie } from "jmash-core";
4
- import { D as y } from "./index-Nw_g6g3T.mjs";
5
- import { o as de } from "./index-w8CmEAxD.mjs";
6
- import { _ as se } from "./edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs";
7
- import { _ as ue } from "./deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs";
8
- import { _ as fe } from "./viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs";
4
+ import { D as y, C as E } from "./index-suIgymdy.mjs";
5
+ import { o as se } from "./index-DyFAVz8t.mjs";
6
+ import { _ as de } from "./edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs";
7
+ import { _ as ue } from "./deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs";
8
+ import { _ as fe } from "./viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs";
9
9
  import { useI18n as me } from "vue-i18n";
10
- import { C as L } from "./constant-CWTD7ap0.mjs";
11
10
  const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClick"], Ie = ["onClick"], ye = { key: 0 }, be = { key: 1 }, he = {
12
11
  key: 2,
13
12
  class: "distance-left"
14
- }, $e = ["onClick"], Ne = /* @__PURE__ */ te({
13
+ }, $e = ["onClick"], Se = /* @__PURE__ */ te({
15
14
  __name: "info",
16
15
  setup(ke) {
17
- const { t: D } = me(), F = ne(), N = ae(), { proxy: K } = le(), h = c([!1]), U = c(), $ = c(), V = c(!1), B = c(""), A = c("");
16
+ const { t: S } = me(), F = ne(), N = ae(), { proxy: K } = le(), h = c([!1]), U = c(), $ = c(), V = c(!1), B = c(""), M = c("");
18
17
  y.shopBizDict.useValues();
19
18
  const k = c({
20
- title: D("orderInfo.update"),
19
+ title: S("orderInfo.update"),
21
20
  visible: !1
22
21
  }), _ = c({
23
- title: D("orderInfo.deliver"),
22
+ title: S("orderInfo.deliver"),
24
23
  visible: !1
25
24
  });
26
- let C = Y({}), M = Y({});
25
+ let C = A({}), W = A({});
27
26
  function O(t) {
28
27
  C.orderId = t.orderId, k.value.visible = !0;
29
28
  }
30
29
  function Q(t, f) {
31
- M.itemId = f.itemId, C.orderId = t.orderId, _.value.visible = !0;
30
+ W.itemId = f.itemId, C.orderId = t.orderId, _.value.visible = !0;
32
31
  }
33
- function T(t) {
32
+ function q(t) {
34
33
  h.value[t] = !h.value[t];
35
34
  }
36
35
  function j() {
37
36
  ie.closeTagView(N.fullPath, F, !1);
38
37
  }
39
- function W(t) {
40
- t && R();
38
+ function R(t) {
39
+ t && T();
41
40
  }
42
- function R() {
43
- de.findById({ orderId: N.query.orderId }).then(({ data: t }) => {
41
+ function T() {
42
+ se.findById({ orderId: N.query.orderId }).then(({ data: t }) => {
44
43
  $.value = [t], console.log($), U.value = t.shopId;
45
44
  });
46
45
  }
47
46
  re(() => {
48
- R();
47
+ T();
49
48
  });
50
49
  function G(t, f) {
51
- B.value = t.orderId, A.value = f.itemId, V.value = !0;
50
+ B.value = t.orderId, M.value = f.itemId, V.value = !0;
52
51
  }
53
52
  function J() {
54
53
  V.value = !1;
55
54
  }
56
55
  return (t, f) => {
57
- const X = b("el-button"), u = b("el-table-column"), S = b("el-table"), Z = b("el-image"), q = b("svg-icon"), x = b("el-card"), w = oe("hasPerm");
56
+ const X = b("el-button"), u = b("el-table-column"), w = b("el-table"), Z = b("el-image"), Y = b("svg-icon"), x = b("el-card"), L = oe("hasPerm");
58
57
  return r(), n("div", pe, [
59
58
  a(x, { shadow: "never" }, {
60
- header: d(() => [
59
+ header: s(() => [
61
60
  a(X, {
62
61
  type: "primary",
63
62
  onClick: j
64
63
  }, {
65
- default: d(() => [
64
+ default: s(() => [
66
65
  g(l(t.$t("common.back")), 1)
67
66
  ]),
68
67
  _: 1
69
68
  })
70
69
  ]),
71
- default: d(() => [
70
+ default: s(() => [
72
71
  f[4] || (f[4] = i("div", { class: "title-content" }, "基本信息", -1)),
73
72
  i("div", ve, l(t.$t("orderInfo.shopName")) + ":" + l(m(y).shopBizDict.getValue(U.value)), 1),
74
- a(S, {
73
+ a(w, {
75
74
  data: $.value,
76
75
  border: ""
77
76
  }, {
78
- default: d(() => [
77
+ default: s(() => [
79
78
  a(u, {
80
79
  label: t.$t("orderInfo.orderItemList")
81
80
  }, {
82
- default: d(({ row: e }) => [
81
+ default: s(({ row: e }) => [
83
82
  i("div", null, l(t.$t("orderInfo.orderCode")) + ": " + l(e.orderCode), 1),
84
83
  i("div", null, l(t.$t("orderInfo.createTime")) + ": " + l(m(K).$moment.formatDate(e.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
85
84
  ]),
@@ -88,7 +87,7 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
88
87
  a(u, {
89
88
  label: t.$t("orderInfo.salesPrice")
90
89
  }, {
91
- default: d(({ row: e }) => [
90
+ default: s(({ row: e }) => [
92
91
  i("div", null, l(t.$t("orderInfo.salesPrice")) + ": ¥" + l(e.salesPrice), 1),
93
92
  i("div", null, l(t.$t("orderInfo.freightPrice")) + ": +¥" + l(e.freightPrice), 1),
94
93
  i("div", null, l(t.$t("orderInfo.paymentCouponPrice")) + ": -¥" + l(e.paymentCouponPrice), 1),
@@ -99,10 +98,10 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
99
98
  a(u, {
100
99
  label: t.$t("orderInfo.status")
101
100
  }, {
102
- default: d(({ row: e }) => [
101
+ default: s(({ row: e }) => [
103
102
  i("div", null, l(t.$t("orderInfo.orderStatus")) + ": " + l(m(y).orderStatusEnum.getEnumValue(e.orderStatus)), 1),
104
103
  i("div", null, l(t.$t("orderInfo.paymentStatus")) + ": " + l(m(y).paymentStatusEnum.getEnumValue(e.paymentStatus)), 1),
105
- i("div", null, l(t.$t("orderInfo.appraisesStatus")) + ": " + l(m(y).APPRAISES_STATUS.getValue(e.appraisesStatus)), 1),
104
+ i("div", null, l(t.$t("orderInfo.appraisesStatus")) + ": " + l(m(y).appraisesStatus.getValue(e.appraisesStatus)), 1),
106
105
  i("div", null, l(t.$t("orderInfo.deliveryWay")) + ": " + l(m(y).deliveryWayEnum.getEnumValue(e.deliveryWay)), 1),
107
106
  i("div", null, l(t.$t("orderInfo.paymentWay")) + ": " + l(m(y).paymentWayEnum.getEnumValue(e.paymentWay)), 1)
108
107
  ]),
@@ -111,7 +110,7 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
111
110
  a(u, {
112
111
  label: t.$t("orderInfo.userMessage")
113
112
  }, {
114
- default: d(({ row: e }) => [
113
+ default: s(({ row: e }) => [
115
114
  g(l(e.userMessage), 1)
116
115
  ]),
117
116
  _: 1
@@ -120,18 +119,18 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
120
119
  _: 1
121
120
  }, 8, ["data"]),
122
121
  f[5] || (f[5] = i("div", { class: "title-content" }, "商品详情", -1)),
123
- a(S, {
122
+ a(w, {
124
123
  data: $.value,
125
124
  border: "",
126
125
  style: { width: "100%" }
127
126
  }, {
128
- default: d(() => [
127
+ default: s(() => [
129
128
  a(u, {
130
129
  label: t.$t("orderInfo.spuName"),
131
130
  width: "200"
132
131
  }, {
133
- default: d(({ row: e }) => [
134
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
132
+ default: s(({ row: e }) => [
133
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
135
134
  i("div", null, l(o.spuName), 1)
136
135
  ]))), 128))
137
136
  ]),
@@ -141,8 +140,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
141
140
  label: t.$t("orderInfo.picUrl"),
142
141
  width: "100"
143
142
  }, {
144
- default: d(({ row: e }) => [
145
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
143
+ default: s(({ row: e }) => [
144
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
146
145
  a(Z, {
147
146
  src: m(H).imageUrl(o.picUrl, 80, 80),
148
147
  "preview-src-list": [m(H).imageUrl(o == null ? void 0 : o.picUrl)],
@@ -158,8 +157,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
158
157
  label: t.$t("orderInfo.specInfo"),
159
158
  width: "150"
160
159
  }, {
161
- default: d(({ row: e }) => [
162
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
160
+ default: s(({ row: e }) => [
161
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
163
162
  i("div", null, l(o.specInfo), 1)
164
163
  ]))), 128))
165
164
  ]),
@@ -169,8 +168,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
169
168
  label: t.$t("orderInfo.goodsPrice"),
170
169
  width: "100"
171
170
  }, {
172
- default: d(({ row: e }) => [
173
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
171
+ default: s(({ row: e }) => [
172
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
174
173
  i("div", null, l(o.salesPrice), 1)
175
174
  ]))), 128))
176
175
  ]),
@@ -180,8 +179,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
180
179
  label: t.$t("orderInfo.quantity"),
181
180
  width: "100"
182
181
  }, {
183
- default: d(({ row: e }) => [
184
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
182
+ default: s(({ row: e }) => [
183
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
185
184
  i("div", null, l(o.quantity), 1)
186
185
  ]))), 128))
187
186
  ]),
@@ -191,8 +190,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
191
190
  label: t.$t("orderInfo.salesPriceAndQuantity"),
192
191
  width: "100"
193
192
  }, {
194
- default: d(({ row: e }) => [
195
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
193
+ default: s(({ row: e }) => [
194
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
196
195
  i("div", null, l(o.quantity * o.salesPrice), 1)
197
196
  ]))), 128))
198
197
  ]),
@@ -202,8 +201,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
202
201
  label: t.$t("orderInfo.freightPrice"),
203
202
  width: "100"
204
203
  }, {
205
- default: d(({ row: e }) => [
206
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
204
+ default: s(({ row: e }) => [
205
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
207
206
  i("div", null, l(o.freightPrice), 1)
208
207
  ]))), 128))
209
208
  ]),
@@ -213,8 +212,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
213
212
  label: t.$t("orderInfo.paymentCouponPrice"),
214
213
  width: "130"
215
214
  }, {
216
- default: d(({ row: e }) => [
217
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
215
+ default: s(({ row: e }) => [
216
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
218
217
  i("div", null, l(o.paymentCouponPrice), 1)
219
218
  ]))), 128))
220
219
  ]),
@@ -224,8 +223,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
224
223
  label: t.$t("orderInfo.paymentPrice"),
225
224
  width: "100"
226
225
  }, {
227
- default: d(({ row: e }) => [
228
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
226
+ default: s(({ row: e }) => [
227
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
229
228
  i("div", null, l(o.paymentPrice), 1)
230
229
  ]))), 128))
231
230
  ]),
@@ -235,8 +234,8 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
235
234
  label: t.$t("orderInfo.customInfo"),
236
235
  width: "100"
237
236
  }, {
238
- default: d(({ row: e }) => [
239
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
237
+ default: s(({ row: e }) => [
238
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
240
239
  i("div", null, l(o.customInfo), 1)
241
240
  ]))), 128))
242
241
  ]),
@@ -247,25 +246,25 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
247
246
  fixed: "right",
248
247
  width: "120"
249
248
  }, {
250
- default: d(({ row: e }) => [
251
- (r(!0), n(p, null, v(e.orderItemList.results, (o, s) => (r(), n("span", { key: s }, [
252
- e.orderStatus === m(L).unpost ? P((r(), n("div", {
249
+ default: s(({ row: e }) => [
250
+ (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
251
+ e.orderStatus === m(E).unpost ? P((r(), n("div", {
253
252
  key: 0,
254
253
  class: "el-button-color dropdown-left",
255
254
  onClick: (ee) => Q(e, o)
256
255
  }, [
257
256
  g(l(t.$t("orderInfo.deliver")), 1)
258
257
  ], 8, ce)), [
259
- [w, ["order:order_info:delivery"]]
258
+ [L, ["order:order_info:delivery"]]
260
259
  ]) : I("", !0),
261
- e.orderStatus === m(L).unreceive ? P((r(), n("div", {
260
+ e.orderStatus === m(E).unreceive ? P((r(), n("div", {
262
261
  key: 1,
263
262
  class: "el-button-color dropdown-left",
264
263
  onClick: (ee) => G(e, o)
265
264
  }, [
266
265
  g(l(t.$t("orderInfo.viewLogist")), 1)
267
266
  ], 8, Ie)), [
268
- [w, ["order:order_logistics:list"]]
267
+ [L, ["order:order_logistics:list"]]
269
268
  ]) : I("", !0)
270
269
  ]))), 128))
271
270
  ]),
@@ -275,11 +274,11 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
275
274
  _: 1
276
275
  }, 8, ["data"]),
277
276
  f[6] || (f[6] = i("div", { class: "title-content" }, "收货及用户信息", -1)),
278
- a(S, {
277
+ a(w, {
279
278
  data: $.value,
280
279
  border: ""
281
280
  }, {
282
- default: d(() => [
281
+ default: s(() => [
283
282
  a(u, {
284
283
  prop: "userName",
285
284
  label: t.$t("orderInfo.userName"),
@@ -293,18 +292,18 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
293
292
  label: t.$t("orderInfo.mobilePhone"),
294
293
  width: "150"
295
294
  }, {
296
- default: d(({ row: e }) => [
295
+ default: s(({ row: e }) => [
297
296
  h.value[0] ? (r(), n("span", be, l(e.mobilePhone), 1)) : (r(), n("span", ye, l(e.mobilePhoneIns), 1)),
298
297
  e.mobilePhoneIns ? (r(), n("span", he, [
299
- P(a(q, {
298
+ P(a(Y, {
300
299
  "icon-class": "close-eye",
301
- onClick: f[0] || (f[0] = (o) => T(0))
300
+ onClick: f[0] || (f[0] = (o) => q(0))
302
301
  }, null, 512), [
303
302
  [z, !h.value[0]]
304
303
  ]),
305
- P(a(q, {
304
+ P(a(Y, {
306
305
  "icon-class": "eye-open",
307
- onClick: f[1] || (f[1] = (o) => T(0))
306
+ onClick: f[1] || (f[1] = (o) => q(0))
308
307
  }, null, 512), [
309
308
  [z, h.value[0]]
310
309
  ])
@@ -316,15 +315,15 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
316
315
  label: t.$t("common.operate"),
317
316
  width: "100"
318
317
  }, {
319
- default: d(({ row: e }) => [
320
- e.orderStatus === m(L).unpost ? P((r(), n("span", {
318
+ default: s(({ row: e }) => [
319
+ e.orderStatus === m(E).unpost ? P((r(), n("span", {
321
320
  key: 0,
322
321
  class: "el-button-color dropdown-left",
323
322
  onClick: (o) => O(e)
324
323
  }, [
325
324
  g(l(t.$t("orderInfo.update")), 1)
326
325
  ], 8, $e)), [
327
- [w, ["order:order_info:update"]]
326
+ [L, ["order:order_info:update"]]
328
327
  ]) : I("", !0)
329
328
  ]),
330
329
  _: 1
@@ -335,29 +334,29 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
335
334
  ]),
336
335
  _: 1
337
336
  }),
338
- k.value.visible ? (r(), E(se, {
337
+ k.value.visible ? (r(), D(de, {
339
338
  key: 0,
340
339
  modelValue: k.value.visible,
341
340
  "onUpdate:modelValue": f[2] || (f[2] = (e) => k.value.visible = e),
342
341
  title: k.value.title,
343
342
  "entity-key": m(C),
344
- onRefresh: W,
343
+ onRefresh: R,
345
344
  width: "600px"
346
345
  }, null, 8, ["modelValue", "title", "entity-key"])) : I("", !0),
347
- _.value.visible ? (r(), E(ue, {
346
+ _.value.visible ? (r(), D(ue, {
348
347
  key: 1,
349
348
  modelValue: _.value.visible,
350
349
  "onUpdate:modelValue": f[3] || (f[3] = (e) => _.value.visible = e),
351
350
  title: _.value.title,
352
351
  "entity-key": m(C),
353
- "entity-model": m(M),
354
- onRefresh: W,
352
+ "entity-model": m(W),
353
+ onRefresh: R,
355
354
  width: "500px"
356
355
  }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : I("", !0),
357
- V.value ? (r(), E(fe, {
356
+ V.value ? (r(), D(fe, {
358
357
  key: 2,
359
358
  orderId: B.value,
360
- orderItemId: A.value,
359
+ orderItemId: M.value,
361
360
  onClose: J
362
361
  }, null, 8, ["orderId", "orderItemId"])) : I("", !0)
363
362
  ]);
@@ -365,5 +364,5 @@ const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClic
365
364
  }
366
365
  });
367
366
  export {
368
- Ne as default
367
+ Se as default
369
368
  };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,188 @@
1
+ import { defineComponent as E, ref as v, onBeforeMount as V, resolveComponent as _, openBlock as f, createBlock as A, withCtx as t, createElementVNode as u, createVNode as o, createElementBlock as m, Fragment as w, renderList as K, toDisplayString as n, createTextVNode as a, withDirectives as h, vShow as k, createCommentVNode as L } from "vue";
2
+ import { D as O } from "./index-suIgymdy.mjs";
3
+ import { o as S } from "./index-Dvf0V5EP.mjs";
4
+ import { o as j } from "./index-DyFAVz8t.mjs";
5
+ const q = { key: 0 }, z = { key: 1 }, F = {
6
+ key: 2,
7
+ class: "distance-left"
8
+ }, J = /* @__PURE__ */ E({
9
+ __name: "info",
10
+ props: {
11
+ entityKey: {
12
+ type: Object,
13
+ default: () => {
14
+ }
15
+ }
16
+ },
17
+ setup(D) {
18
+ const y = v(), r = v(), I = v(""), c = v([!1]);
19
+ O.shopBizDict.useValues();
20
+ const b = D;
21
+ function P(l) {
22
+ c.value[l] = !c.value[l];
23
+ }
24
+ V(() => {
25
+ S.findById({ refundId: b.entityKey.refundId }).then(({ data: l }) => {
26
+ console.log(l), y.value = l, I.value = l.orderId, B();
27
+ });
28
+ });
29
+ function B() {
30
+ I.value && j.findById({ orderId: I.value }).then(({ data: l }) => {
31
+ r.value = l, console.log(r);
32
+ });
33
+ }
34
+ function C() {
35
+ }
36
+ return (l, d) => {
37
+ const s = _("el-descriptions-item"), R = _("el-descriptions"), $ = _("svg-icon"), N = _("el-dialog");
38
+ return f(), A(N, { onClose: C }, {
39
+ default: t(() => [
40
+ d[2] || (d[2] = u("div", { class: "title-content" }, "退款信息", -1)),
41
+ o(R, { column: 4 }, {
42
+ default: t(() => {
43
+ var e, p;
44
+ return [
45
+ (f(!0), m(w, null, K((p = (e = r.value) == null ? void 0 : e.orderItemList) == null ? void 0 : p.results, (i, g) => (f(), m("span", { key: g }, [
46
+ o(s, null, {
47
+ default: t(() => [
48
+ u("span", null, n(i.spuName), 1)
49
+ ]),
50
+ _: 2
51
+ }, 1024),
52
+ o(s, null, {
53
+ default: t(() => [
54
+ u("span", null, n(i.specInfo), 1)
55
+ ]),
56
+ _: 2
57
+ }, 1024),
58
+ o(s, null, {
59
+ default: t(() => [
60
+ u("span", null, n(i.salesPrice), 1)
61
+ ]),
62
+ _: 2
63
+ }, 1024),
64
+ o(s, null, {
65
+ default: t(() => [
66
+ u("span", null, "数量:" + n(i.quantity), 1)
67
+ ]),
68
+ _: 2
69
+ }, 1024)
70
+ ]))), 128))
71
+ ];
72
+ }),
73
+ _: 1
74
+ }),
75
+ o(R, { column: 4 }, {
76
+ default: t(() => [
77
+ o(s, null, {
78
+ default: t(() => {
79
+ var e;
80
+ return [
81
+ a(n(l.$t("orderRefunds.orderPrice")) + ": ", 1),
82
+ u("span", null, n((e = r.value) == null ? void 0 : e.orderPrice), 1)
83
+ ];
84
+ }),
85
+ _: 1
86
+ }),
87
+ o(s, null, {
88
+ default: t(() => {
89
+ var e;
90
+ return [
91
+ a(n(l.$t("orderRefunds.paidPrice")) + ": ", 1),
92
+ u("span", null, n((e = r.value) == null ? void 0 : e.paidPrice), 1)
93
+ ];
94
+ }),
95
+ _: 1
96
+ }),
97
+ o(s, null, {
98
+ default: t(() => {
99
+ var e;
100
+ return [
101
+ a(n(l.$t("orderRefunds.freightPrice")) + ": ", 1),
102
+ u("span", null, n((e = r.value) == null ? void 0 : e.freightPrice), 1)
103
+ ];
104
+ }),
105
+ _: 1
106
+ }),
107
+ o(s, null, {
108
+ default: t(() => {
109
+ var e;
110
+ return [
111
+ a(n(l.$t("orderRefunds.refundAmount")) + ": ", 1),
112
+ u("span", null, n((e = y.value) == null ? void 0 : e.refundAmount), 1)
113
+ ];
114
+ }),
115
+ _: 1
116
+ }),
117
+ o(s, { span: 4 }, {
118
+ default: t(() => {
119
+ var e;
120
+ return [
121
+ a(n(l.$t("orderRefunds.refundReson")) + ": ", 1),
122
+ u("span", null, n((e = y.value) == null ? void 0 : e.refundReson), 1)
123
+ ];
124
+ }),
125
+ _: 1
126
+ })
127
+ ]),
128
+ _: 1
129
+ }),
130
+ d[3] || (d[3] = u("div", { class: "title-content" }, "退货信息", -1)),
131
+ o(R, { column: 2 }, {
132
+ default: t(() => [
133
+ o(s, null, {
134
+ default: t(() => {
135
+ var e;
136
+ return [
137
+ a(n(l.$t("orderRefunds.userName")) + ": ", 1),
138
+ u("span", null, n((e = r.value) == null ? void 0 : e.userName), 1)
139
+ ];
140
+ }),
141
+ _: 1
142
+ }),
143
+ o(s, null, {
144
+ default: t(() => {
145
+ var e, p, i;
146
+ return [
147
+ a(n(l.$t("orderRefunds.mobilePhone")) + ": ", 1),
148
+ c.value[0] ? (f(), m("span", z, n((p = r.value) == null ? void 0 : p.mobilePhone), 1)) : (f(), m("span", q, n((e = r.value) == null ? void 0 : e.mobilePhoneIns), 1)),
149
+ (i = r.value) != null && i.mobilePhoneIns ? (f(), m("span", F, [
150
+ h(o($, {
151
+ "icon-class": "close-eye",
152
+ onClick: d[0] || (d[0] = (g) => P(0))
153
+ }, null, 512), [
154
+ [k, !c.value[0]]
155
+ ]),
156
+ h(o($, {
157
+ "icon-class": "eye-open",
158
+ onClick: d[1] || (d[1] = (g) => P(0))
159
+ }, null, 512), [
160
+ [k, c.value[0]]
161
+ ])
162
+ ])) : L("", !0)
163
+ ];
164
+ }),
165
+ _: 1
166
+ }),
167
+ o(s, null, {
168
+ default: t(() => {
169
+ var e;
170
+ return [
171
+ a(n(l.$t("orderRefunds.address")) + ": ", 1),
172
+ u("span", null, n((e = r.value) == null ? void 0 : e.address), 1)
173
+ ];
174
+ }),
175
+ _: 1
176
+ })
177
+ ]),
178
+ _: 1
179
+ })
180
+ ]),
181
+ _: 1
182
+ });
183
+ };
184
+ }
185
+ });
186
+ export {
187
+ J as _
188
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./review.vue_vue_type_script_setup_true_lang-CKGCdXD5.mjs";
2
+ export {
3
+ f as default
4
+ };