xyvcard-order 0.0.6 → 0.0.7

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 (46) hide show
  1. package/dist/{canceled-CAEulpM1.mjs → canceled-DkLaSCTM.mjs} +1 -1
  2. package/dist/{canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs → canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs} +86 -86
  3. package/dist/{change-CH-CF_q-.mjs → change-D_G7h-Nt.mjs} +1 -1
  4. package/dist/{change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs → change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs} +23 -23
  5. package/dist/{completed-B70yQ6oI.mjs → completed-D1_MyTO_.mjs} +1 -1
  6. package/dist/{unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs → completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs} +74 -74
  7. package/dist/{deliver-Bp2Ckw4g.mjs → deliver-DqqGFB3x.mjs} +1 -1
  8. package/dist/{deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs → deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs} +58 -59
  9. package/dist/{edit-DyFqRxsE.mjs → edit-MJXLcLm4.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs → edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs} +6 -6
  11. package/dist/index-CHzhYqx8.mjs +114 -0
  12. package/dist/{index-BnhfSp6U.mjs → index-DAb5kkOk.mjs} +3 -23
  13. package/dist/{index-B3HKfAop.mjs → index-DDG2eFhK.mjs} +94 -94
  14. package/dist/{index-DHJFncJ6.mjs → index-Dy-lHz4D.mjs} +99 -106
  15. package/dist/{index-BGDa_EK1.mjs → index-ZL41UIHr.mjs} +146 -164
  16. package/dist/index.mjs +12 -117
  17. package/dist/info-Cl9HaMCm.mjs +327 -0
  18. package/dist/{info-BmqDpsnn.mjs → info-CxZXerj5.mjs} +1 -1
  19. package/dist/info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs +178 -0
  20. package/dist/{review-Dr4_ycsb.mjs → review-Bc-YCZ1X.mjs} +1 -1
  21. package/dist/{review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs → review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs} +56 -57
  22. package/dist/style.css +1 -1
  23. package/dist/{unpay-WAsbEXlr.mjs → unpay-3tbx6NWV.mjs} +1 -1
  24. package/dist/{unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs → unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs} +72 -72
  25. package/dist/{unpost-BocJwYcE.mjs → unpost-DOQ_sNYN.mjs} +1 -1
  26. package/dist/{unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs → unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs} +84 -84
  27. package/dist/{unreceive-BLcvdJxY.mjs → unreceive-WZteM54K.mjs} +1 -1
  28. package/dist/{completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs → unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs} +76 -76
  29. package/dist/{viewLogist-D9-zqepw.mjs → viewLogist-lN1KX2qM.mjs} +1 -1
  30. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs +93 -0
  31. package/dts/src/api/dict.d.ts +3 -0
  32. package/dts/src/api/index.d.ts +2 -1
  33. package/dts/src/api/order-appraises/types.d.ts +1 -0
  34. package/dts/src/api/order-info/types.d.ts +2 -1
  35. package/dts/src/api/order-logistics/index.d.ts +1 -5
  36. package/dts/src/api/order-logistics/types.d.ts +3 -62
  37. package/dts/src/api/order-refunds/index.d.ts +0 -2
  38. package/dts/src/constant.d.ts +12 -10
  39. package/dts/src/lang/order/zh-cn.d.ts +2 -2
  40. package/dts/src/main.d.ts +0 -1
  41. package/package.json +5 -4
  42. package/dist/index-suIgymdy.mjs +0 -93
  43. package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +0 -41
  44. package/dist/info-Ba-BgJkw.mjs +0 -368
  45. package/dist/info.vue_vue_type_script_setup_true_lang-CHaAOFGr.mjs +0 -188
  46. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +0 -127
@@ -1,80 +1,21 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
1
+ import type { EntityApi, EntityKey, EntityList, EntityModel } from "jmash-core";
2
2
  export interface OrderLogisticsApi extends EntityApi {
3
3
  }
4
- export interface OrderLogisticsReq extends EntityReq {
5
- logisticsId?: string;
6
- }
7
4
  export interface OrderLogisticsModel extends EntityModel {
8
5
  logisticsId?: string;
9
- orderId?: string;
10
- orderItemId?: string;
11
- logisticsMchCode?: string;
12
- logisticsMchName?: string;
13
- logisticsNo?: string;
14
- deliveryTime?: string;
15
- status?: string;
16
- isCheck?: boolean;
17
- receiverTime?: string;
18
- message?: string;
19
- createTime?: string;
20
- createBy?: string;
21
- updateBy?: string;
22
- updateTime?: string;
23
- }
24
- export interface OrderLogisticsList extends EntityList {
25
- results: Array<OrderLogisticsModel>;
26
- }
27
- export interface OrderLogisticsPage extends EntityPage {
28
- results: Array<OrderLogisticsModel>;
29
- subTotalDto: OrderLogisticsModelTotal;
30
- totalDto: OrderLogisticsModelTotal;
31
- }
32
- export interface OrderLogisticsModelTotal extends EntityTotal {
33
- totalSize: number;
34
6
  }
35
7
  export interface OrderLogisticsKey extends EntityKey {
36
8
  tenant?: string;
37
9
  logisticsId?: string;
38
10
  }
39
- export interface OrderLogisticsKeyList extends EntityKeyList {
40
- tenant?: string;
41
- logisticsId?: Array<string>;
42
- }
43
- export interface OrderLogisticsCreateReq extends EntityCreateReq {
44
- logisticsId?: string;
45
- orderId?: string;
46
- orderItemId?: string;
47
- logisticsMchCode?: string;
48
- logisticsMchName?: string;
49
- logisticsNo?: string;
50
- deliveryTime?: string;
51
- status?: string;
52
- isCheck?: boolean;
53
- receiverTime?: string;
54
- message?: string;
55
- }
56
- export interface OrderLogisticsUpdateReq extends EntityUpdateReq {
57
- logisticsId?: string;
58
- orderId?: string;
59
- orderItemId?: string;
60
- logisticsMchCode?: string;
61
- logisticsMchName?: string;
62
- logisticsNo?: string;
63
- deliveryTime?: string;
64
- status?: string;
65
- isCheck?: boolean;
66
- receiverTime?: string;
67
- message?: string;
68
- }
69
- export type OrderLogisticsFormReq = OrderLogisticsCreateReq | OrderLogisticsUpdateReq;
70
11
  export interface LogisticsQueryReq {
71
12
  orderId?: string;
72
13
  orderItemId?: string;
73
14
  }
74
- export interface LogisticsInfoList {
15
+ export interface LogisticsInfoList extends EntityList {
75
16
  list: Array<LogisticsInfoModel>;
76
17
  }
77
- export interface LogisticsInfoModel {
18
+ export interface LogisticsInfoModel extends EntityModel {
78
19
  time?: string;
79
20
  context?: string;
80
21
  ftime?: string;
@@ -5,8 +5,6 @@ declare class OrderRefundsApiImpl implements OrderRefundsApi {
5
5
  findPage(query?: OrderRefundsReq): AxiosPromise<OrderRefundsPage>;
6
6
  findList(query?: OrderRefundsReq): AxiosPromise<OrderRefundsList>;
7
7
  findById(query: OrderRefundsKey): AxiosPromise<OrderInfoRefundModel>;
8
- delete(query: OrderRefundsKey): AxiosPromise<OrderInfoRefundModel>;
9
- batchDelete(keys: OrderRefundsKey[]): AxiosPromise<number>;
10
8
  update(data: OrderRefundsUpdateReq): AxiosPromise<OrderRefundsModel>;
11
9
  refund(data: OrderRefundReq): AxiosPromise<boolean>;
12
10
  }
@@ -15,19 +15,21 @@ export declare class Constant {
15
15
  static readonly ENUM_PAYMENT_WAY = "xyvcard.order.protobuf.PaymentWay";
16
16
  static readonly ENUM_DELIVERY_WAY = "xyvcard.order.protobuf.DeliveryWay";
17
17
  static readonly ENUM_POST_TYPE = "xyvcard.order.protobuf.PostType";
18
- static readonly logisticsDelivery = "logistics_delivery";
18
+ static readonly LOGISTICS_DELIVERY = "logistics_delivery";
19
19
  static readonly EXPRESS_COMPANY_CODE = "ExpressCompanyCode";
20
- static readonly unpay = "unpay";
21
- static readonly unpost = "unpost";
22
- static readonly unreceive = "unreceive";
23
- static readonly cancel = "cancel";
24
- static readonly complete = "complete";
25
- static readonly unpaid = "unpaid";
26
- static readonly paid = "paid";
27
- static readonly partPaid = "part_paid";
20
+ static readonly UNPAY = "unpay";
21
+ static readonly UNPOST = "unpost";
22
+ static readonly UNRECEIVE = "unreceive";
23
+ static readonly CANCEL = "cancel";
24
+ static readonly COMPLETE = "complete";
25
+ static readonly UNPAID = "unpaid";
26
+ static readonly PAID = "paid";
27
+ static readonly PART_PAID = "part_paid";
28
28
  static readonly REFUND_APPLY_STATUS = "xyvcard.order.protobuf.RefundApplyStatus";
29
+ static readonly PASS = "pass";
30
+ static readonly APPLY = "apply";
29
31
  static readonly ENUM_REFUND_TYPE = "xyvcard.order.protobuf.RefundType";
30
- static readonly returnRefund = "RETURN_REFUND";
32
+ static readonly RETURN_REFUND = "RETURN_REFUND";
31
33
  static readonly AUDIT_OPINION: globalThis.Ref<{
32
34
  key: boolean;
33
35
  value: string;
@@ -77,8 +77,8 @@ declare const _default: {
77
77
  viewLogist: string;
78
78
  postType: string;
79
79
  postTypeRequired: string;
80
- logisticCode: string;
81
- logisticCodeRequired: string;
80
+ logisticsCode: string;
81
+ logisticCodesRequired: string;
82
82
  logisticsNo: string;
83
83
  logisticsNoRequired: string;
84
84
  };
package/dts/src/main.d.ts CHANGED
@@ -3,4 +3,3 @@ import "element-plus/dist/index.css";
3
3
  import "jmash-core/dist/style.css";
4
4
  import "jmash-dict/dist/style.css";
5
5
  import "jmash-rbac/dist/style.css";
6
- import "xyvcard-shop/dist/style.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-order",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -11,14 +11,15 @@
11
11
  "peerDependencies": {
12
12
  "axios": "^1.7.7",
13
13
  "element-plus": "^2.8.7",
14
- "jmash-core": "^0.0.102",
14
+ "jmash-core": "^0.0.108",
15
15
  "jmash-dict": "^0.0.44",
16
- "jmash-rbac": "^0.0.35",
16
+ "jmash-rbac": "^0.0.40",
17
17
  "pinia": "^2.2.4",
18
18
  "vue": "^3.5.11",
19
19
  "vue-i18n": "^9.14.1",
20
20
  "vue-router": "^4.4.5",
21
- "xyvcard-shop": "^0.0.17"
21
+ "xyvcard-shop": "^0.0.17",
22
+ "xyvcard-shell": "^0.0.8"
22
23
  },
23
24
  "devDependencies": {
24
25
  "@eslint/js": "^9.16.0",
@@ -1,93 +0,0 @@
1
- var U = Object.defineProperty;
2
- var d = (E, r, s) => r in E ? U(E, r, { enumerable: !0, configurable: !0, writable: !0, value: s }) : E[r] = s;
3
- var t = (E, r, s) => d(E, typeof r != "symbol" ? r + "" : r, s);
4
- import { BizDict as y, EnumDict as i, CustomBizDict as c } from "jmash-core";
5
- import { ref as p } from "vue";
6
- import { infoApi as T } from "xyvcard-shop";
7
- import { EntryDict as S } from "jmash-dict";
8
- class o extends y {
9
- // 实现 useValues 方法
10
- useValues() {
11
- return new Promise((r, s) => {
12
- T.findList().then(({ data: _ }) => {
13
- const R = _.results;
14
- this.values.length = 0, this.values.push(
15
- ...R.map(
16
- (u) => ({
17
- key: u.shopId,
18
- value: u.shopName
19
- })
20
- )
21
- ), r(this.values);
22
- }).catch(s);
23
- });
24
- }
25
- }
26
- class e {
27
- }
28
- // 模块
29
- t(e, "MODULE_ORDER", "order"), // 评价状态
30
- t(e, "APPRAISES_STATUS", p([
31
- { key: !0, value: "已评价" },
32
- { key: !1, value: "未评价" }
33
- ])), // 订单状态
34
- t(e, "ENUM_ORDER_STATUS", "xyvcard.order.protobuf.OrderStatus"), // 支付状态
35
- t(e, "ENUM_PAYMENT_STATUS", "xyvcard.order.protobuf.PaymentStatus"), // 支付方式
36
- t(e, "ENUM_PAYMENT_WAY", "xyvcard.order.protobuf.PaymentWay"), // 配送方式
37
- t(e, "ENUM_DELIVERY_WAY", "xyvcard.order.protobuf.DeliveryWay"), // 发货类型
38
- t(e, "ENUM_POST_TYPE", "xyvcard.order.protobuf.PostType"), // 发货类型常量
39
- t(e, "logisticsDelivery", "logistics_delivery"), // 物流公司
40
- t(e, "EXPRESS_COMPANY_CODE", "ExpressCompanyCode"), // 订单状态常量
41
- t(e, "unpay", "unpay"), t(e, "unpost", "unpost"), t(e, "unreceive", "unreceive"), t(e, "cancel", "cancel"), t(e, "complete", "complete"), // 支付状态常量
42
- t(e, "unpaid", "unpaid"), t(e, "paid", "paid"), t(e, "partPaid", "part_paid"), // 退款状态y
43
- t(e, "REFUND_APPLY_STATUS", "xyvcard.order.protobuf.RefundApplyStatus"), // 退款类型
44
- t(e, "ENUM_REFUND_TYPE", "xyvcard.order.protobuf.RefundType"), // 退货退款常量
45
- t(e, "returnRefund", "RETURN_REFUND"), // 审核意见
46
- t(e, "AUDIT_OPINION", p([
47
- { key: !0, value: "同意" },
48
- { key: !1, value: "不同意" }
49
- ]));
50
- class a {
51
- }
52
- // 所属店铺
53
- t(a, "shopBizDict", new o({})), // 订单状态
54
- t(a, "orderStatusEnum", new i(
55
- e.MODULE_ORDER,
56
- e.ENUM_ORDER_STATUS
57
- )), // 支付状态
58
- t(a, "paymentStatusEnum", new i(
59
- e.MODULE_ORDER,
60
- e.ENUM_PAYMENT_STATUS
61
- )), // 评价状态
62
- t(a, "appraisesStatus", new c(
63
- e.APPRAISES_STATUS,
64
- {}
65
- )), // 支付方式
66
- t(a, "paymentWayEnum", new i(
67
- e.MODULE_ORDER,
68
- e.ENUM_PAYMENT_WAY
69
- )), // 配送方式
70
- t(a, "deliveryWayEnum", new i(
71
- e.MODULE_ORDER,
72
- e.ENUM_DELIVERY_WAY
73
- )), // 发货类型
74
- t(a, "postTypeEnum", new i(
75
- e.MODULE_ORDER,
76
- e.ENUM_POST_TYPE
77
- )), // 物流公司
78
- t(a, "volunteerTypeDict", new S(
79
- e.EXPRESS_COMPANY_CODE
80
- )), // 退款状态
81
- t(a, "refundApplyEnum", new i(
82
- e.MODULE_ORDER,
83
- e.REFUND_APPLY_STATUS
84
- )), // 退款类型
85
- t(a, "refundTypeEnum", new i(
86
- e.MODULE_ORDER,
87
- e.ENUM_REFUND_TYPE
88
- )), // 审核意见
89
- t(a, "auditOpinion", new c(e.AUDIT_OPINION, {}));
90
- export {
91
- e as C,
92
- a as D
93
- };
@@ -1,41 +0,0 @@
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,368 +0,0 @@
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
- import { useRouter as ne, useRoute as ae } from "vue-router";
3
- import { fileApi as H, routerUtil as ie } from "jmash-core";
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
- import { useI18n as me } from "vue-i18n";
10
- const pe = { class: "app-container" }, ve = { class: "shopName" }, ce = ["onClick"], Ie = ["onClick"], ye = { key: 0 }, be = { key: 1 }, he = {
11
- key: 2,
12
- class: "distance-left"
13
- }, $e = ["onClick"], Se = /* @__PURE__ */ te({
14
- __name: "info",
15
- setup(ke) {
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("");
17
- y.shopBizDict.useValues();
18
- const k = c({
19
- title: S("orderInfo.update"),
20
- visible: !1
21
- }), _ = c({
22
- title: S("orderInfo.deliver"),
23
- visible: !1
24
- });
25
- let C = A({}), W = A({});
26
- function O(t) {
27
- C.orderId = t.orderId, k.value.visible = !0;
28
- }
29
- function Q(t, f) {
30
- W.itemId = f.itemId, C.orderId = t.orderId, _.value.visible = !0;
31
- }
32
- function q(t) {
33
- h.value[t] = !h.value[t];
34
- }
35
- function j() {
36
- ie.closeTagView(N.fullPath, F, !1);
37
- }
38
- function R(t) {
39
- t && T();
40
- }
41
- function T() {
42
- se.findById({ orderId: N.query.orderId }).then(({ data: t }) => {
43
- $.value = [t], console.log($), U.value = t.shopId;
44
- });
45
- }
46
- re(() => {
47
- T();
48
- });
49
- function G(t, f) {
50
- B.value = t.orderId, M.value = f.itemId, V.value = !0;
51
- }
52
- function J() {
53
- V.value = !1;
54
- }
55
- return (t, f) => {
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");
57
- return r(), n("div", pe, [
58
- a(x, { shadow: "never" }, {
59
- header: s(() => [
60
- a(X, {
61
- type: "primary",
62
- onClick: j
63
- }, {
64
- default: s(() => [
65
- g(l(t.$t("common.back")), 1)
66
- ]),
67
- _: 1
68
- })
69
- ]),
70
- default: s(() => [
71
- f[4] || (f[4] = i("div", { class: "title-content" }, "基本信息", -1)),
72
- i("div", ve, l(t.$t("orderInfo.shopName")) + ":" + l(m(y).shopBizDict.getValue(U.value)), 1),
73
- a(w, {
74
- data: $.value,
75
- border: ""
76
- }, {
77
- default: s(() => [
78
- a(u, {
79
- label: t.$t("orderInfo.orderItemList")
80
- }, {
81
- default: s(({ row: e }) => [
82
- i("div", null, l(t.$t("orderInfo.orderCode")) + ": " + l(e.orderCode), 1),
83
- i("div", null, l(t.$t("orderInfo.createTime")) + ": " + l(m(K).$moment.formatDate(e.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
84
- ]),
85
- _: 1
86
- }, 8, ["label"]),
87
- a(u, {
88
- label: t.$t("orderInfo.salesPrice")
89
- }, {
90
- default: s(({ row: e }) => [
91
- i("div", null, l(t.$t("orderInfo.salesPrice")) + ": ¥" + l(e.salesPrice), 1),
92
- i("div", null, l(t.$t("orderInfo.freightPrice")) + ": +¥" + l(e.freightPrice), 1),
93
- i("div", null, l(t.$t("orderInfo.paymentCouponPrice")) + ": -¥" + l(e.paymentCouponPrice), 1),
94
- i("div", null, l(t.$t("orderInfo.orderPrice")) + ": ¥" + l(e.orderPrice), 1)
95
- ]),
96
- _: 1
97
- }, 8, ["label"]),
98
- a(u, {
99
- label: t.$t("orderInfo.status")
100
- }, {
101
- default: s(({ row: e }) => [
102
- i("div", null, l(t.$t("orderInfo.orderStatus")) + ": " + l(m(y).orderStatusEnum.getEnumValue(e.orderStatus)), 1),
103
- i("div", null, l(t.$t("orderInfo.paymentStatus")) + ": " + l(m(y).paymentStatusEnum.getEnumValue(e.paymentStatus)), 1),
104
- i("div", null, l(t.$t("orderInfo.appraisesStatus")) + ": " + l(m(y).appraisesStatus.getValue(e.appraisesStatus)), 1),
105
- i("div", null, l(t.$t("orderInfo.deliveryWay")) + ": " + l(m(y).deliveryWayEnum.getEnumValue(e.deliveryWay)), 1),
106
- i("div", null, l(t.$t("orderInfo.paymentWay")) + ": " + l(m(y).paymentWayEnum.getEnumValue(e.paymentWay)), 1)
107
- ]),
108
- _: 1
109
- }, 8, ["label"]),
110
- a(u, {
111
- label: t.$t("orderInfo.userMessage")
112
- }, {
113
- default: s(({ row: e }) => [
114
- g(l(e.userMessage), 1)
115
- ]),
116
- _: 1
117
- }, 8, ["label"])
118
- ]),
119
- _: 1
120
- }, 8, ["data"]),
121
- f[5] || (f[5] = i("div", { class: "title-content" }, "商品详情", -1)),
122
- a(w, {
123
- data: $.value,
124
- border: "",
125
- style: { width: "100%" }
126
- }, {
127
- default: s(() => [
128
- a(u, {
129
- label: t.$t("orderInfo.spuName"),
130
- width: "200"
131
- }, {
132
- default: s(({ row: e }) => [
133
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
134
- i("div", null, l(o.spuName), 1)
135
- ]))), 128))
136
- ]),
137
- _: 1
138
- }, 8, ["label"]),
139
- a(u, {
140
- label: t.$t("orderInfo.picUrl"),
141
- width: "100"
142
- }, {
143
- default: s(({ row: e }) => [
144
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
145
- a(Z, {
146
- src: m(H).imageUrl(o.picUrl, 80, 80),
147
- "preview-src-list": [m(H).imageUrl(o == null ? void 0 : o.picUrl)],
148
- "preview-teleported": "",
149
- "hide-on-click-modal": "",
150
- fit: "contain"
151
- }, null, 8, ["src", "preview-src-list"])
152
- ]))), 128))
153
- ]),
154
- _: 1
155
- }, 8, ["label"]),
156
- a(u, {
157
- label: t.$t("orderInfo.specInfo"),
158
- width: "150"
159
- }, {
160
- default: s(({ row: e }) => [
161
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
162
- i("div", null, l(o.specInfo), 1)
163
- ]))), 128))
164
- ]),
165
- _: 1
166
- }, 8, ["label"]),
167
- a(u, {
168
- label: t.$t("orderInfo.goodsPrice"),
169
- width: "100"
170
- }, {
171
- default: s(({ row: e }) => [
172
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
173
- i("div", null, l(o.salesPrice), 1)
174
- ]))), 128))
175
- ]),
176
- _: 1
177
- }, 8, ["label"]),
178
- a(u, {
179
- label: t.$t("orderInfo.quantity"),
180
- width: "100"
181
- }, {
182
- default: s(({ row: e }) => [
183
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
184
- i("div", null, l(o.quantity), 1)
185
- ]))), 128))
186
- ]),
187
- _: 1
188
- }, 8, ["label"]),
189
- a(u, {
190
- label: t.$t("orderInfo.salesPriceAndQuantity"),
191
- width: "100"
192
- }, {
193
- default: s(({ row: e }) => [
194
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
195
- i("div", null, l(o.quantity * o.salesPrice), 1)
196
- ]))), 128))
197
- ]),
198
- _: 1
199
- }, 8, ["label"]),
200
- a(u, {
201
- label: t.$t("orderInfo.freightPrice"),
202
- width: "100"
203
- }, {
204
- default: s(({ row: e }) => [
205
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
206
- i("div", null, l(o.freightPrice), 1)
207
- ]))), 128))
208
- ]),
209
- _: 1
210
- }, 8, ["label"]),
211
- a(u, {
212
- label: t.$t("orderInfo.paymentCouponPrice"),
213
- width: "130"
214
- }, {
215
- default: s(({ row: e }) => [
216
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
217
- i("div", null, l(o.paymentCouponPrice), 1)
218
- ]))), 128))
219
- ]),
220
- _: 1
221
- }, 8, ["label"]),
222
- a(u, {
223
- label: t.$t("orderInfo.paymentPrice"),
224
- width: "100"
225
- }, {
226
- default: s(({ row: e }) => [
227
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
228
- i("div", null, l(o.paymentPrice), 1)
229
- ]))), 128))
230
- ]),
231
- _: 1
232
- }, 8, ["label"]),
233
- a(u, {
234
- label: t.$t("orderInfo.customInfo"),
235
- width: "100"
236
- }, {
237
- default: s(({ row: e }) => [
238
- (r(!0), n(p, null, v(e.orderItemList.results, (o, d) => (r(), n("span", { key: d }, [
239
- i("div", null, l(o.customInfo), 1)
240
- ]))), 128))
241
- ]),
242
- _: 1
243
- }, 8, ["label"]),
244
- a(u, {
245
- label: t.$t("common.operate"),
246
- fixed: "right",
247
- width: "120"
248
- }, {
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", {
252
- key: 0,
253
- class: "el-button-color dropdown-left",
254
- onClick: (ee) => Q(e, o)
255
- }, [
256
- g(l(t.$t("orderInfo.deliver")), 1)
257
- ], 8, ce)), [
258
- [L, ["order:order_info:delivery"]]
259
- ]) : I("", !0),
260
- e.orderStatus === m(E).unreceive ? P((r(), n("div", {
261
- key: 1,
262
- class: "el-button-color dropdown-left",
263
- onClick: (ee) => G(e, o)
264
- }, [
265
- g(l(t.$t("orderInfo.viewLogist")), 1)
266
- ], 8, Ie)), [
267
- [L, ["order:order_logistics:list"]]
268
- ]) : I("", !0)
269
- ]))), 128))
270
- ]),
271
- _: 1
272
- }, 8, ["label"])
273
- ]),
274
- _: 1
275
- }, 8, ["data"]),
276
- f[6] || (f[6] = i("div", { class: "title-content" }, "收货及用户信息", -1)),
277
- a(w, {
278
- data: $.value,
279
- border: ""
280
- }, {
281
- default: s(() => [
282
- a(u, {
283
- prop: "userName",
284
- label: t.$t("orderInfo.userName"),
285
- width: "150"
286
- }, null, 8, ["label"]),
287
- a(u, {
288
- prop: "address",
289
- label: t.$t("orderInfo.address")
290
- }, null, 8, ["label"]),
291
- a(u, {
292
- label: t.$t("orderInfo.mobilePhone"),
293
- width: "150"
294
- }, {
295
- default: s(({ row: e }) => [
296
- h.value[0] ? (r(), n("span", be, l(e.mobilePhone), 1)) : (r(), n("span", ye, l(e.mobilePhoneIns), 1)),
297
- e.mobilePhoneIns ? (r(), n("span", he, [
298
- P(a(Y, {
299
- "icon-class": "close-eye",
300
- onClick: f[0] || (f[0] = (o) => q(0))
301
- }, null, 512), [
302
- [z, !h.value[0]]
303
- ]),
304
- P(a(Y, {
305
- "icon-class": "eye-open",
306
- onClick: f[1] || (f[1] = (o) => q(0))
307
- }, null, 512), [
308
- [z, h.value[0]]
309
- ])
310
- ])) : I("", !0)
311
- ]),
312
- _: 1
313
- }, 8, ["label"]),
314
- a(u, {
315
- label: t.$t("common.operate"),
316
- width: "100"
317
- }, {
318
- default: s(({ row: e }) => [
319
- e.orderStatus === m(E).unpost ? P((r(), n("span", {
320
- key: 0,
321
- class: "el-button-color dropdown-left",
322
- onClick: (o) => O(e)
323
- }, [
324
- g(l(t.$t("orderInfo.update")), 1)
325
- ], 8, $e)), [
326
- [L, ["order:order_info:update"]]
327
- ]) : I("", !0)
328
- ]),
329
- _: 1
330
- }, 8, ["label"])
331
- ]),
332
- _: 1
333
- }, 8, ["data"])
334
- ]),
335
- _: 1
336
- }),
337
- k.value.visible ? (r(), D(de, {
338
- key: 0,
339
- modelValue: k.value.visible,
340
- "onUpdate:modelValue": f[2] || (f[2] = (e) => k.value.visible = e),
341
- title: k.value.title,
342
- "entity-key": m(C),
343
- onRefresh: R,
344
- width: "600px"
345
- }, null, 8, ["modelValue", "title", "entity-key"])) : I("", !0),
346
- _.value.visible ? (r(), D(ue, {
347
- key: 1,
348
- modelValue: _.value.visible,
349
- "onUpdate:modelValue": f[3] || (f[3] = (e) => _.value.visible = e),
350
- title: _.value.title,
351
- "entity-key": m(C),
352
- "entity-model": m(W),
353
- onRefresh: R,
354
- width: "500px"
355
- }, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : I("", !0),
356
- V.value ? (r(), D(fe, {
357
- key: 2,
358
- orderId: B.value,
359
- orderItemId: M.value,
360
- onClose: J
361
- }, null, 8, ["orderId", "orderItemId"])) : I("", !0)
362
- ]);
363
- };
364
- }
365
- });
366
- export {
367
- Se as default
368
- };