xyvcard-order 0.0.11 → 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-CDXocrFr.mjs → index-ByufLV6K.mjs} +137 -130
  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
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs";
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as X, getCurrentInstance as Z, ref as u, reactive as R, onMounted as x, computed as ee, resolveComponent as f, resolveDirective as te, openBlock as m, createElementBlock as I, createVNode as o, withCtx as i, createTextVNode as b, toDisplayString as l, createElementVNode as a, unref as n, createCommentVNode as p, withDirectives as S, createBlock as D } from "vue";
1
+ import { defineComponent as X, getCurrentInstance as Z, ref as u, reactive as R, onMounted as x, computed as ee, resolveComponent as f, resolveDirective as te, createElementBlock as I, openBlock as m, createVNode as o, createBlock as S, createCommentVNode as p, withCtx as a, createElementVNode as i, toDisplayString as l, unref as n, createTextVNode as b, withDirectives as D } from "vue";
2
2
  import { useRouter as le, useRoute as oe } from "vue-router";
3
- import { fileApi as $, routerUtil as re } from "jmash-core";
3
+ import { useI18n as re } from "vue-i18n";
4
+ import { fileApi as $, routerUtil as ne } from "jmash-core";
4
5
  import { D as s, C as P } from "./index-CHzhYqx8.mjs";
5
- import { o as ne } from "./index-CfEKTjAd.mjs";
6
- import { _ as ae } from "./edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs";
7
- import { _ as ie } from "./deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs";
8
- import { _ as de } from "./viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs";
9
- import { useI18n as se } from "vue-i18n";
6
+ import { o as ie } from "./index-1R3wKfde.mjs";
7
+ import { _ as ae } from "./edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs";
8
+ import { _ as de } from "./deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs";
9
+ import { _ as se } from "./viewLogist.vue_vue_type_script_setup_true_lang-CkSqEuA1.mjs";
10
10
  const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0 }, fe = ["onClick"], ce = ["onClick"], ve = ["onClick"], Ee = /* @__PURE__ */ X({
11
11
  __name: "info",
12
12
  setup(Ie) {
13
- const { t: N } = se(), q = le(), U = oe(), { proxy: Y } = Z(), g = u([!1]), M = u(), y = u(), k = u(!1), w = u(""), T = u("");
13
+ const { t: N } = re(), q = le(), U = oe(), { proxy: Y } = Z(), g = u([!1]), M = u(), y = u(), k = u(!1), w = u(""), T = u("");
14
14
  s.shopBizDict.useValues(), s.phoneModelDict.useValues();
15
15
  const c = u({
16
16
  title: N("orderInfo.update"),
@@ -30,13 +30,13 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
30
30
  g.value[e] = !g.value[e];
31
31
  }
32
32
  function H() {
33
- re.closeTagView(U.fullPath, q, !1);
33
+ ne.closeTagView(U.fullPath, q, !1);
34
34
  }
35
35
  function W(e) {
36
36
  e && L();
37
37
  }
38
38
  function L() {
39
- ne.findById({ orderId: U.query.orderId }).then(({ data: e }) => {
39
+ ie.findById({ orderId: U.query.orderId }).then(({ data: e }) => {
40
40
  y.value = [e], M.value = e.shopId;
41
41
  });
42
42
  }
@@ -64,61 +64,61 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
64
64
  const C = f("el-button"), r = f("el-table-column"), V = f("el-table"), O = f("el-image"), G = f("jmash-mobileIns-component"), J = f("el-card"), E = te("hasPerm");
65
65
  return m(), I("div", ue, [
66
66
  o(J, { shadow: "never" }, {
67
- header: i(() => [
67
+ header: a(() => [
68
68
  o(C, {
69
69
  type: "primary",
70
70
  onClick: H
71
71
  }, {
72
- default: i(() => [
72
+ default: a(() => [
73
73
  b(l(e.$t("common.back")), 1)
74
74
  ]),
75
75
  _: 1
76
76
  })
77
77
  ]),
78
- default: i(() => [
79
- d[3] || (d[3] = a("div", { class: "title-content" }, "基本信息", -1)),
80
- a("div", me, l(e.$t("orderInfo.shopName")) + ":" + l(n(s).shopBizDict.getValue(M.value)), 1),
78
+ default: a(() => [
79
+ d[3] || (d[3] = i("div", { class: "title-content" }, "基本信息", -1)),
80
+ i("div", me, l(e.$t("orderInfo.shopName")) + ":" + l(n(s).shopBizDict.getValue(M.value)), 1),
81
81
  o(V, {
82
82
  data: y.value,
83
83
  border: ""
84
84
  }, {
85
- default: i(() => [
85
+ default: a(() => [
86
86
  o(r, {
87
87
  label: e.$t("orderInfo.orderItemList")
88
88
  }, {
89
- default: i(({ row: t }) => [
90
- a("div", null, l(e.$t("orderInfo.orderCode")) + ": " + l(t.orderCode), 1),
91
- a("div", null, l(e.$t("orderInfo.createTime")) + ": " + l(n(Y).$moment.formatDate(t.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
89
+ default: a(({ row: t }) => [
90
+ i("div", null, l(e.$t("orderInfo.orderCode")) + ": " + l(t.orderCode), 1),
91
+ i("div", null, l(e.$t("orderInfo.createTime")) + ": " + l(n(Y).$moment.formatDate(t.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
92
92
  ]),
93
93
  _: 1
94
94
  }, 8, ["label"]),
95
95
  o(r, {
96
96
  label: e.$t("orderInfo.salesPrice")
97
97
  }, {
98
- default: i(({ row: t }) => [
99
- a("div", null, l(e.$t("orderInfo.salesPrice")) + ": ¥" + l(t.salesPrice), 1),
100
- a("div", null, l(e.$t("orderInfo.freightPrice")) + ": " + l(t.freightPrice), 1),
101
- a("div", null, l(e.$t("orderInfo.paymentCouponPrice")) + ": " + l(t.paymentCouponPrice), 1),
102
- a("div", null, l(e.$t("orderInfo.orderPrice")) + ": ¥" + l(t.orderPrice), 1)
98
+ default: a(({ row: t }) => [
99
+ i("div", null, l(e.$t("orderInfo.salesPrice")) + ": ¥" + l(t.salesPrice), 1),
100
+ i("div", null, l(e.$t("orderInfo.freightPrice")) + ": ¥" + l(t.freightPrice), 1),
101
+ i("div", null, l(e.$t("orderInfo.paymentCouponPrice")) + ": ¥" + l(t.paymentCouponPrice), 1),
102
+ i("div", null, l(e.$t("orderInfo.orderPrice")) + ": ¥" + l(t.orderPrice), 1)
103
103
  ]),
104
104
  _: 1
105
105
  }, 8, ["label"]),
106
106
  o(r, {
107
107
  label: e.$t("orderInfo.status")
108
108
  }, {
109
- default: i(({ row: t }) => [
110
- a("div", null, l(e.$t("orderInfo.orderStatus")) + ": " + l(n(s).orderStatusEnum.getEnumValue(t.orderStatus)), 1),
111
- a("div", null, l(e.$t("orderInfo.paymentStatus")) + ": " + l(n(s).paymentStatusEnum.getEnumValue(t.paymentStatus)), 1),
112
- a("div", null, l(e.$t("orderInfo.appraisesStatus")) + ": " + l(n(s).appraisesStatus.getValue(t.appraisesStatus)), 1),
113
- a("div", null, l(e.$t("orderInfo.deliveryWay")) + ": " + l(n(s).deliveryWayEnum.getEnumValue(t.deliveryWay)), 1),
114
- a("div", null, l(e.$t("orderInfo.paymentWay")) + ": " + l(n(s).paymentWayEnum.getEnumValue(t.paymentWay)), 1)
109
+ default: a(({ row: t }) => [
110
+ i("div", null, l(e.$t("orderInfo.orderStatus")) + ": " + l(n(s).orderStatusEnum.getEnumValue(t.orderStatus)), 1),
111
+ i("div", null, l(e.$t("orderInfo.paymentStatus")) + ": " + l(n(s).paymentStatusEnum.getEnumValue(t.paymentStatus)), 1),
112
+ i("div", null, l(e.$t("orderInfo.appraisesStatus")) + ": " + l(n(s).appraisesStatus.getValue(t.appraisesStatus)), 1),
113
+ i("div", null, l(e.$t("orderInfo.deliveryWay")) + ": " + l(n(s).deliveryWayEnum.getEnumValue(t.deliveryWay)), 1),
114
+ i("div", null, l(e.$t("orderInfo.paymentWay")) + ": " + l(n(s).paymentWayEnum.getEnumValue(t.paymentWay)), 1)
115
115
  ]),
116
116
  _: 1
117
117
  }, 8, ["label"]),
118
118
  o(r, {
119
119
  label: e.$t("orderInfo.userMessage")
120
120
  }, {
121
- default: i(({ row: t }) => [
121
+ default: a(({ row: t }) => [
122
122
  b(l(t.userMessage), 1)
123
123
  ]),
124
124
  _: 1
@@ -126,25 +126,25 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
126
126
  ]),
127
127
  _: 1
128
128
  }, 8, ["data"]),
129
- d[4] || (d[4] = a("div", { class: "title-content" }, "商品详情", -1)),
129
+ d[4] || (d[4] = i("div", { class: "title-content" }, "商品详情", -1)),
130
130
  o(V, {
131
131
  data: K.value,
132
132
  border: "",
133
133
  style: { width: "100%" }
134
134
  }, {
135
- default: i(() => [
135
+ default: a(() => [
136
136
  o(r, {
137
137
  prop: "spuName",
138
138
  label: e.$t("orderInfo.spuName"),
139
- width: "375"
139
+ "min-width": 200
140
140
  }, null, 8, ["label"]),
141
141
  o(r, {
142
142
  label: e.$t("orderInfo.picUrl"),
143
- width: "120"
143
+ "min-width": 120
144
144
  }, {
145
- default: i(({ row: t }) => [
145
+ default: a(({ row: t }) => [
146
146
  o(O, {
147
- src: n($).imageUrl(t.picUrl, 80, 80),
147
+ src: n($).imageUrl(t.picUrl, 0, 0),
148
148
  "preview-src-list": [n($).imageUrl(t.picUrl)],
149
149
  "preview-teleported": "",
150
150
  "hide-on-click-modal": "",
@@ -156,51 +156,51 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
156
156
  o(r, {
157
157
  prop: "specInfo",
158
158
  label: e.$t("orderInfo.specInfo"),
159
- width: "150"
159
+ "min-width": 150
160
160
  }, null, 8, ["label"]),
161
161
  o(r, {
162
162
  prop: "goodsPrice",
163
163
  label: e.$t("orderInfo.goodsPrice"),
164
- width: "100"
164
+ "min-width": 90
165
165
  }, null, 8, ["label"]),
166
166
  o(r, {
167
167
  prop: "quantity",
168
168
  label: e.$t("orderInfo.quantity"),
169
- width: "100"
169
+ "min-width": 90
170
170
  }, null, 8, ["label"]),
171
171
  o(r, {
172
172
  label: e.$t("orderInfo.salesPriceAndQuantity"),
173
- width: "100"
173
+ "min-width": 90
174
174
  }, {
175
- default: i(({ row: t }) => [
176
- a("span", null, l(t.salesPrice * t.quantity), 1)
175
+ default: a(({ row: t }) => [
176
+ i("span", null, l(t.salesPrice * t.quantity), 1)
177
177
  ]),
178
178
  _: 1
179
179
  }, 8, ["label"]),
180
180
  o(r, {
181
181
  prop: "freightPrice",
182
182
  label: e.$t("orderInfo.freightPrice"),
183
- width: "100"
183
+ "min-width": 90
184
184
  }, null, 8, ["label"]),
185
185
  o(r, {
186
186
  prop: "paymentCouponPrice",
187
187
  label: e.$t("orderInfo.paymentCouponPrice"),
188
- width: "130"
188
+ "min-width": 130
189
189
  }, null, 8, ["label"]),
190
190
  o(r, {
191
191
  prop: "paymentPrice",
192
192
  label: e.$t("orderInfo.paymentPrice"),
193
- width: "100"
193
+ "min-width": 90
194
194
  }, null, 8, ["label"]),
195
195
  o(r, {
196
196
  label: e.$t("orderInfo.customInfo"),
197
- width: "150"
197
+ "min-width": 100
198
198
  }, {
199
- default: i(({ row: t }) => [
200
- a("div", null, l(n(s).phoneModelDict.getValue(t.customInfo.split(",")[0])), 1),
199
+ default: a(({ row: t }) => [
200
+ i("div", null, l(n(s).phoneModelDict.getValue(t.customInfo.split(",")[0])), 1),
201
201
  t.customInfo ? (m(), I("div", pe, [
202
202
  o(O, {
203
- src: n($).imageUrl(t.customInfo.split(",")[1], 50, 50),
203
+ src: n($).imageUrl(t.customInfo.split(",")[1], 50, 0),
204
204
  "preview-src-list": [
205
205
  n($).imageUrl(t.customInfo.split(",")[1])
206
206
  ],
@@ -215,10 +215,10 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
215
215
  o(r, {
216
216
  label: e.$t("common.operate"),
217
217
  fixed: "right",
218
- width: "200"
218
+ width: "90"
219
219
  }, {
220
- default: i(({ row: t }) => [
221
- t.orderStatus === n(P).UNPOST ? S((m(), I("span", {
220
+ default: a(({ row: t }) => [
221
+ t.orderStatus === n(P).UNPOST ? D((m(), I("span", {
222
222
  key: 0,
223
223
  class: "el-button-color",
224
224
  onClick: (_) => j(t)
@@ -227,7 +227,7 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
227
227
  ], 8, fe)), [
228
228
  [E, ["order:order_info:delivery"]]
229
229
  ]) : p("", !0),
230
- t.orderStatus === n(P).UNRECEIVE || t.orderStatus === n(P).COMPLETE ? S((m(), I("span", {
230
+ t.orderStatus === n(P).UNRECEIVE || t.orderStatus === n(P).COMPLETE ? D((m(), I("span", {
231
231
  key: 1,
232
232
  class: "el-button-color",
233
233
  onClick: (_) => Q(t)
@@ -242,16 +242,16 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
242
242
  ]),
243
243
  _: 1
244
244
  }, 8, ["data"]),
245
- d[5] || (d[5] = a("div", { class: "title-content" }, "收货及用户信息", -1)),
245
+ d[5] || (d[5] = i("div", { class: "title-content" }, "收货及用户信息", -1)),
246
246
  o(V, {
247
247
  data: y.value,
248
248
  border: ""
249
249
  }, {
250
- default: i(() => [
250
+ default: a(() => [
251
251
  o(r, {
252
252
  prop: "userName",
253
253
  label: e.$t("orderInfo.userName"),
254
- width: "100"
254
+ width: "200"
255
255
  }, null, 8, ["label"]),
256
256
  o(r, {
257
257
  prop: "address",
@@ -261,7 +261,7 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
261
261
  label: e.$t("orderInfo.mobilePhone"),
262
262
  width: "150"
263
263
  }, {
264
- default: i(({ row: t }) => [
264
+ default: a(({ row: t }) => [
265
265
  o(G, {
266
266
  mobilePhoneIns: t.mobilePhoneIns,
267
267
  mobilePhone: t.mobilePhone,
@@ -273,10 +273,10 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
273
273
  }, 8, ["label"]),
274
274
  o(r, {
275
275
  label: e.$t("common.operate"),
276
- width: "200"
276
+ width: "90"
277
277
  }, {
278
- default: i(({ row: t }) => [
279
- t.orderStatus === n(P).UNPOST ? S((m(), I("span", {
278
+ default: a(({ row: t }) => [
279
+ t.orderStatus === n(P).UNPOST ? D((m(), I("span", {
280
280
  key: 0,
281
281
  class: "el-button-color",
282
282
  onClick: (_) => A(t)
@@ -294,7 +294,7 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
294
294
  ]),
295
295
  _: 1
296
296
  }),
297
- c.value.visible ? (m(), D(ae, {
297
+ c.value.visible ? (m(), S(ae, {
298
298
  key: 0,
299
299
  modelValue: c.value.visible,
300
300
  "onUpdate:modelValue": d[1] || (d[1] = (t) => c.value.visible = t),
@@ -303,7 +303,7 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
303
303
  onRefresh: W,
304
304
  width: "600px"
305
305
  }, null, 8, ["modelValue", "title", "entity-key"])) : p("", !0),
306
- v.value.visible ? (m(), D(ie, {
306
+ v.value.visible ? (m(), S(de, {
307
307
  key: 1,
308
308
  modelValue: v.value.visible,
309
309
  "onUpdate:modelValue": d[2] || (d[2] = (t) => v.value.visible = t),
@@ -313,7 +313,7 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0
313
313
  onRefresh: W,
314
314
  width: "500px"
315
315
  }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
316
- k.value ? (m(), D(de, {
316
+ k.value ? (m(), S(se, {
317
317
  key: 2,
318
318
  orderId: w.value,
319
319
  orderItemId: T.value,
@@ -0,0 +1,177 @@
1
+ import { defineComponent as N, ref as p, onBeforeMount as k, resolveComponent as m, createBlock as A, openBlock as I, withCtx as o, createElementVNode as t, createVNode as r, createElementBlock as R, Fragment as C, renderList as V, createTextVNode as s, toDisplayString as e } from "vue";
2
+ import { D as j } from "./index-CHzhYqx8.mjs";
3
+ import { o as q } from "./index-DAb5kkOk.mjs";
4
+ import { o as K } from "./index-1R3wKfde.mjs";
5
+ const L = { class: "mobileStyle" }, z = /* @__PURE__ */ N({
6
+ __name: "info",
7
+ props: {
8
+ entityKey: {
9
+ type: Object,
10
+ default: () => {
11
+ }
12
+ }
13
+ },
14
+ setup(b) {
15
+ const c = p(), a = p(), v = p(""), _ = p([!1]);
16
+ j.shopBizDict.useValues();
17
+ const P = b;
18
+ function $(n) {
19
+ _.value[n] = !_.value[n];
20
+ }
21
+ k(() => {
22
+ q.findById({ refundId: P.entityKey.refundId }).then(({ data: n }) => {
23
+ c.value = n, v.value = n.orderId, h();
24
+ });
25
+ });
26
+ function h() {
27
+ v.value && K.findById({ orderId: v.value }).then(({ data: n }) => {
28
+ a.value = n;
29
+ });
30
+ }
31
+ function g() {
32
+ }
33
+ return (n, i) => {
34
+ const u = m("el-descriptions-item"), y = m("el-descriptions"), E = m("jmash-mobileIns-component"), B = m("el-dialog");
35
+ return I(), A(B, { onClose: g }, {
36
+ default: o(() => [
37
+ i[1] || (i[1] = t("div", { class: "title-content" }, "退款信息", -1)),
38
+ r(y, { column: 4 }, {
39
+ default: o(() => {
40
+ var d, f;
41
+ return [
42
+ (I(!0), R(C, null, V((f = (d = a.value) == null ? void 0 : d.orderItemList) == null ? void 0 : f.results, (l, D) => (I(), R("span", { key: D }, [
43
+ r(u, null, {
44
+ default: o(() => [
45
+ s(e(n.$t("orderRefunds.spuName")) + ": ", 1),
46
+ t("span", null, e(l.spuName), 1)
47
+ ]),
48
+ _: 2
49
+ }, 1024),
50
+ r(u, null, {
51
+ default: o(() => [
52
+ s(e(n.$t("orderRefunds.specInfo")) + ": ", 1),
53
+ t("span", null, e(l.specInfo), 1)
54
+ ]),
55
+ _: 2
56
+ }, 1024),
57
+ r(u, null, {
58
+ default: o(() => [
59
+ s(e(n.$t("orderRefunds.salesPrice")) + ": ", 1),
60
+ t("span", null, e(l.salesPrice), 1)
61
+ ]),
62
+ _: 2
63
+ }, 1024),
64
+ r(u, null, {
65
+ default: o(() => [
66
+ s(e(n.$t("orderRefunds.quantity")) + ": ", 1),
67
+ t("span", null, e(l.quantity), 1)
68
+ ]),
69
+ _: 2
70
+ }, 1024)
71
+ ]))), 128)),
72
+ r(u, null, {
73
+ default: o(() => {
74
+ var l;
75
+ return [
76
+ s(e(n.$t("orderRefunds.orderPrice")) + ": ", 1),
77
+ t("span", null, e((l = a.value) == null ? void 0 : l.orderPrice), 1)
78
+ ];
79
+ }),
80
+ _: 1
81
+ }),
82
+ r(u, null, {
83
+ default: o(() => {
84
+ var l;
85
+ return [
86
+ s(e(n.$t("orderRefunds.paidPrice")) + ": ", 1),
87
+ t("span", null, e((l = a.value) == null ? void 0 : l.paidPrice), 1)
88
+ ];
89
+ }),
90
+ _: 1
91
+ }),
92
+ r(u, null, {
93
+ default: o(() => {
94
+ var l;
95
+ return [
96
+ s(e(n.$t("orderRefunds.freightPrice")) + ": ", 1),
97
+ t("span", null, e((l = a.value) == null ? void 0 : l.freightPrice), 1)
98
+ ];
99
+ }),
100
+ _: 1
101
+ }),
102
+ r(u, null, {
103
+ default: o(() => {
104
+ var l;
105
+ return [
106
+ s(e(n.$t("orderRefunds.refundAmount")) + ": ", 1),
107
+ t("span", null, e((l = c.value) == null ? void 0 : l.refundAmount), 1)
108
+ ];
109
+ }),
110
+ _: 1
111
+ }),
112
+ r(u, { span: 4 }, {
113
+ default: o(() => {
114
+ var l;
115
+ return [
116
+ s(e(n.$t("orderRefunds.refundReson")) + ": ", 1),
117
+ t("span", null, e((l = c.value) == null ? void 0 : l.refundReson), 1)
118
+ ];
119
+ }),
120
+ _: 1
121
+ })
122
+ ];
123
+ }),
124
+ _: 1
125
+ }),
126
+ i[2] || (i[2] = t("div", { class: "title-content" }, "退货信息", -1)),
127
+ r(y, null, {
128
+ default: o(() => [
129
+ r(u, null, {
130
+ default: o(() => {
131
+ var d;
132
+ return [
133
+ s(e(n.$t("orderRefunds.userName")) + ": ", 1),
134
+ t("span", null, e((d = a.value) == null ? void 0 : d.userName), 1)
135
+ ];
136
+ }),
137
+ _: 1
138
+ }),
139
+ r(u, null, {
140
+ default: o(() => {
141
+ var d, f;
142
+ return [
143
+ t("div", L, [
144
+ s(e(n.$t("orderRefunds.mobilePhone")) + ": ", 1),
145
+ r(E, {
146
+ mobilePhoneIns: (d = a.value) == null ? void 0 : d.mobilePhoneIns,
147
+ mobilePhone: (f = a.value) == null ? void 0 : f.mobilePhone,
148
+ mobileEncrypt: _.value[0],
149
+ onToggleEncrypt: i[0] || (i[0] = (l) => $(0))
150
+ }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
151
+ ])
152
+ ];
153
+ }),
154
+ _: 1
155
+ }),
156
+ r(u, null, {
157
+ default: o(() => {
158
+ var d;
159
+ return [
160
+ s(e(n.$t("orderRefunds.address")) + ": ", 1),
161
+ t("span", null, e((d = a.value) == null ? void 0 : d.address), 1)
162
+ ];
163
+ }),
164
+ _: 1
165
+ })
166
+ ]),
167
+ _: 1
168
+ })
169
+ ]),
170
+ _: 1
171
+ });
172
+ };
173
+ }
174
+ });
175
+ export {
176
+ z as _
177
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs";
2
+ export {
3
+ f as default
4
+ };