xyvcard-order 0.0.13 → 0.0.14

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 (34) hide show
  1. package/dist/{change-ZEjolHT6.mjs → change-DGamLhRi.mjs} +1 -1
  2. package/dist/change.vue_vue_type_script_setup_true_lang-C8lf4PIw.mjs +170 -0
  3. package/dist/{deliver-TfrCwaGj.mjs → deliver-c_zzsilY.mjs} +1 -1
  4. package/dist/{deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs → deliver.vue_vue_type_script_setup_true_lang-DAoCkmOi.mjs} +39 -39
  5. package/dist/{edit-BdUVrlcn.mjs → edit-mVQUFq0q.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs → edit.vue_vue_type_script_setup_true_lang-AHBcvcRn.mjs} +29 -28
  7. package/dist/{index-ByufLV6K.mjs → index-BlR9fPfK.mjs} +108 -111
  8. package/dist/{index-B_-apQkW.mjs → index-CxzT_Hk2.mjs} +2 -2
  9. package/dist/{index-PLezrWfs.mjs → index-D3YsBDBM.mjs} +107 -104
  10. package/dist/{index-1R3wKfde.mjs → index-IiHp9Y40.mjs} +475 -493
  11. package/dist/index.mjs +2 -2
  12. package/dist/{info-DbWhDIS0.mjs → info-BgzKwnii.mjs} +113 -113
  13. package/dist/{info-DYltAD_A.mjs → info-BpYW4SHu.mjs} +1 -1
  14. package/dist/{info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs → info.vue_vue_type_script_setup_true_lang-BioQaXDt.mjs} +2 -2
  15. package/dist/{orderList-RTzDSXuR.mjs → orderList-CNj8AcQQ.mjs} +1 -1
  16. package/dist/{orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs → orderList.vue_vue_type_script_setup_true_lang-C0EyjiIS.mjs} +72 -75
  17. package/dist/{review-z7cdFET5.mjs → review-DH5466Un.mjs} +1 -1
  18. package/dist/{review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs → review.vue_vue_type_script_setup_true_lang-C5Fb8wnP.mjs} +55 -54
  19. package/dts/src/api/dict.d.ts +0 -6
  20. package/dts/src/api/order-appraises/types.d.ts +1 -3
  21. package/dts/src/api/order-info/types.d.ts +3 -1
  22. package/dts/src/api/order-logistics/types.d.ts +0 -1
  23. package/dts/src/router/orderRouter.d.ts +0 -1
  24. package/dts/src/views/order/order-info/change.vue.d.ts +1 -10
  25. package/dts/src/views/order/order-info/viewLogist.vue.d.ts +1 -1
  26. package/package.json +5 -5
  27. package/dist/change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs +0 -190
  28. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  29. package/dts/src/views/order/order-info/canceled.vue.d.ts +0 -2
  30. package/dts/src/views/order/order-info/completed.vue.d.ts +0 -2
  31. package/dts/src/views/order/order-info/unpay.vue.d.ts +0 -2
  32. package/dts/src/views/order/order-info/unpost.vue.d.ts +0 -2
  33. package/dts/src/views/order/order-info/unreceive.vue.d.ts +0 -2
  34. package/dist/{index-CHzhYqx8.mjs → index-CIvF2jlB.mjs} +1 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs";
1
+ import { _ as f } from "./change.vue_vue_type_script_setup_true_lang-C8lf4PIw.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,170 @@
1
+ import { defineComponent as $, mergeModels as b, ref as k, reactive as u, useModel as R, resolveComponent as a, createBlock as B, openBlock as F, withCtx as o, createVNode as l, createElementVNode as V, toDisplayString as d, createTextVNode as I } from "vue";
2
+ import { ElMessage as U } from "element-plus";
3
+ import { useI18n as D } from "vue-i18n";
4
+ import { o as E } from "./index-IiHp9Y40.mjs";
5
+ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ $({
6
+ __name: "change",
7
+ props: /* @__PURE__ */ b({
8
+ entityModel: {
9
+ type: Object,
10
+ default: () => {
11
+ }
12
+ }
13
+ }, {
14
+ modelValue: { type: Boolean },
15
+ modelModifiers: {}
16
+ }),
17
+ emits: /* @__PURE__ */ b(["refresh"], ["update:modelValue"]),
18
+ setup(f, { emit: C }) {
19
+ const { t: m } = D(), p = k();
20
+ let g = u({
21
+ requestId: Math.random() * 10 + "",
22
+ items: []
23
+ });
24
+ const v = u({
25
+ salesPrice: [
26
+ {
27
+ required: !0,
28
+ message: m("orderInfo.salesPriceRequired"),
29
+ trigger: "blur"
30
+ }
31
+ ],
32
+ freightPrice: [
33
+ {
34
+ required: !0,
35
+ message: m("orderInfo.freightPriceRequired"),
36
+ trigger: "blur"
37
+ }
38
+ ]
39
+ }), s = R(f, "modelValue"), y = C, e = u({ ...f.entityModel });
40
+ e.salesPrice = Number(e.salesPrice), e.freightPrice = Number(e.freightPrice);
41
+ const M = async () => {
42
+ var r;
43
+ await ((r = p.value) == null ? void 0 : r.validate((t) => {
44
+ t && (g.items = [
45
+ {
46
+ orderItemId: e.itemId,
47
+ salesPrice: e.salesPrice,
48
+ freightPrice: e.freightPrice
49
+ }
50
+ ], E.orderPrice(g).then((i) => {
51
+ i.status === 200 && (U({
52
+ message: m("common.submitSuccess"),
53
+ type: "success"
54
+ }), s.value && (s.value = !1), y("refresh", i.status === 200));
55
+ }));
56
+ }));
57
+ };
58
+ function _() {
59
+ s.value && (s.value = !1);
60
+ }
61
+ return (r, t) => {
62
+ const i = a("el-form-item"), c = a("el-col"), P = a("el-input-number"), N = a("el-row"), q = a("el-form"), h = a("el-button"), w = a("el-dialog");
63
+ return F(), B(w, {
64
+ modelValue: s.value,
65
+ "onUpdate:modelValue": t[2] || (t[2] = (n) => s.value = n),
66
+ onClose: _
67
+ }, {
68
+ footer: o(() => [
69
+ V("div", S, [
70
+ l(h, { onClick: _ }, {
71
+ default: o(() => [
72
+ I(d(r.$t("common.cancel")), 1)
73
+ ]),
74
+ _: 1
75
+ }),
76
+ l(h, {
77
+ type: "primary",
78
+ onClick: M
79
+ }, {
80
+ default: o(() => [
81
+ I(d(r.$t("common.confirm")), 1)
82
+ ]),
83
+ _: 1
84
+ })
85
+ ])
86
+ ]),
87
+ default: o(() => [
88
+ l(q, {
89
+ ref_key: "priceChangeForm",
90
+ ref: p,
91
+ model: e,
92
+ "label-width": "120px",
93
+ rules: v
94
+ }, {
95
+ default: o(() => [
96
+ l(N, null, {
97
+ default: o(() => [
98
+ l(c, { span: 24 }, {
99
+ default: o(() => [
100
+ l(i, {
101
+ label: r.$t("orderInfo.spuName"),
102
+ prop: "spuName"
103
+ }, {
104
+ default: o(() => [
105
+ V("span", null, d(e.spuName), 1)
106
+ ]),
107
+ _: 1
108
+ }, 8, ["label"])
109
+ ]),
110
+ _: 1
111
+ }),
112
+ l(c, { span: 24 }, {
113
+ default: o(() => [
114
+ l(i, {
115
+ label: r.$t("orderInfo.sellPrice"),
116
+ prop: "salesPrice"
117
+ }, {
118
+ default: o(() => [
119
+ l(P, {
120
+ modelValue: e.salesPrice,
121
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => e.salesPrice = n),
122
+ precision: 2,
123
+ controls: !1,
124
+ min: 0,
125
+ placeholder: r.$t("orderInfo.sellPriceRequired"),
126
+ class: "w-full"
127
+ }, null, 8, ["modelValue", "placeholder"])
128
+ ]),
129
+ _: 1
130
+ }, 8, ["label"])
131
+ ]),
132
+ _: 1
133
+ }),
134
+ l(c, { span: 24 }, {
135
+ default: o(() => [
136
+ l(i, {
137
+ label: r.$t("orderInfo.freightPrice"),
138
+ prop: "freightPrice"
139
+ }, {
140
+ default: o(() => [
141
+ l(P, {
142
+ modelValue: e.freightPrice,
143
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => e.freightPrice = n),
144
+ precision: 2,
145
+ controls: !1,
146
+ min: 0,
147
+ placeholder: r.$t("orderInfo.freightPriceRequired"),
148
+ class: "w-full"
149
+ }, null, 8, ["modelValue", "placeholder"])
150
+ ]),
151
+ _: 1
152
+ }, 8, ["label"])
153
+ ]),
154
+ _: 1
155
+ })
156
+ ]),
157
+ _: 1
158
+ })
159
+ ]),
160
+ _: 1
161
+ }, 8, ["model", "rules"])
162
+ ]),
163
+ _: 1
164
+ }, 8, ["modelValue"]);
165
+ };
166
+ }
167
+ });
168
+ export {
169
+ G as _
170
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs";
1
+ import { _ as f } from "./deliver.vue_vue_type_script_setup_true_lang-DAoCkmOi.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,11 +1,11 @@
1
- import { defineComponent as P, mergeModels as C, ref as b, reactive as T, useModel as U, resolveComponent as d, createBlock as f, openBlock as y, withCtx as o, createVNode as t, unref as e, createCommentVNode as N, createElementVNode as B, createTextVNode as h, toDisplayString as E } from "vue";
2
- import { ElMessage as F } from "element-plus";
3
- import { useI18n as K } from "vue-i18n";
4
- import { D as Y, C as _ } from "./index-CHzhYqx8.mjs";
5
- import { o as A } from "./index-1R3wKfde.mjs";
6
- const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
1
+ import { defineComponent as P, mergeModels as v, ref as b, reactive as T, useModel as U, resolveComponent as d, createBlock as _, openBlock as y, withCtx as o, createVNode as t, unref as e, createCommentVNode as E, createElementVNode as Y, createTextVNode as N, toDisplayString as h } from "vue";
2
+ import { ElMessage as B } from "element-plus";
3
+ import { useI18n as F } from "vue-i18n";
4
+ import { C as u, D as G } from "./index-CIvF2jlB.mjs";
5
+ import { o as K } from "./index-IiHp9Y40.mjs";
6
+ const A = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
7
7
  __name: "deliver",
8
- props: /* @__PURE__ */ C({
8
+ props: /* @__PURE__ */ v({
9
9
  entityKey: {
10
10
  type: Object,
11
11
  default: () => {
@@ -20,13 +20,13 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
20
20
  modelValue: { type: Boolean },
21
21
  modelModifiers: {}
22
22
  }),
23
- emits: /* @__PURE__ */ C(["refresh"], ["update:modelValue"]),
24
- setup(g, { emit: k }) {
25
- const { t: i } = K(), I = b();
23
+ emits: /* @__PURE__ */ v(["refresh"], ["update:modelValue"]),
24
+ setup(g, { emit: D }) {
25
+ const { t: i } = F(), I = b();
26
26
  let l = T({
27
- postType: "logistics_delivery"
27
+ postType: u.LOGISTICS_DELIVERY
28
28
  });
29
- const D = T({
29
+ const S = T({
30
30
  postType: [
31
31
  {
32
32
  required: !0,
@@ -48,18 +48,18 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
48
48
  trigger: "blur"
49
49
  }
50
50
  ]
51
- }), n = U(g, "modelValue"), u = g, q = k, M = Object.keys(u.entityKey), R = b(M.length >= 1), S = async () => {
51
+ }), n = U(g, "modelValue"), p = g, k = D, R = Object.keys(p.entityKey), q = b(R.length >= 1), M = async () => {
52
52
  var s;
53
53
  await ((s = I.value) == null ? void 0 : s.validate((r) => {
54
- r && R.value && A.orderPost({
55
- orderId: u.entityKey.orderId,
56
- orderItemId: u.entityModel.itemId,
54
+ r && q.value && K.orderPost({
55
+ orderId: p.entityKey.orderId,
56
+ orderItemId: p.entityModel.itemId,
57
57
  ...l
58
58
  }).then((m) => {
59
- m.status === 200 && (F({
59
+ m.status === 200 && (B({
60
60
  message: i("common.submitSuccess"),
61
61
  type: "success"
62
- }), n.value && (n.value = !1), q("refresh", m.status === 200));
62
+ }), n.value && (n.value = !1), k("refresh", m.status === 200));
63
63
  });
64
64
  }));
65
65
  };
@@ -67,26 +67,26 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
67
67
  n.value && (n.value = !1);
68
68
  }
69
69
  return (s, r) => {
70
- const m = d("jmash-enum-radio"), p = d("el-form-item"), c = d("el-col"), j = d("jmash-dict-select"), O = d("el-input"), $ = d("el-row"), w = d("el-form"), v = d("el-button"), L = d("el-dialog");
71
- return y(), f(L, {
70
+ const m = d("jmash-enum-radio"), c = d("el-form-item"), f = d("el-col"), O = d("jmash-dict-select"), j = d("el-input"), $ = d("el-row"), w = d("el-form"), C = d("el-button"), L = d("el-dialog");
71
+ return y(), _(L, {
72
72
  modelValue: n.value,
73
73
  "onUpdate:modelValue": r[3] || (r[3] = (a) => n.value = a),
74
74
  onClose: V
75
75
  }, {
76
76
  footer: o(() => [
77
- B("div", G, [
78
- t(v, { onClick: V }, {
77
+ Y("div", A, [
78
+ t(C, { onClick: V }, {
79
79
  default: o(() => [
80
- h(E(s.$t("common.cancel")), 1)
80
+ N(h(s.$t("common.cancel")), 1)
81
81
  ]),
82
82
  _: 1
83
83
  }),
84
- t(v, {
84
+ t(C, {
85
85
  type: "primary",
86
- onClick: S
86
+ onClick: M
87
87
  }, {
88
88
  default: o(() => [
89
- h(E(s.$t("common.confirm")), 1)
89
+ N(h(s.$t("common.confirm")), 1)
90
90
  ]),
91
91
  _: 1
92
92
  })
@@ -98,14 +98,14 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
98
98
  ref: I,
99
99
  model: e(l),
100
100
  "label-width": "120px",
101
- rules: D
101
+ rules: S
102
102
  }, {
103
103
  default: o(() => [
104
104
  t($, null, {
105
105
  default: o(() => [
106
- t(c, { span: 24 }, {
106
+ t(f, { span: 24 }, {
107
107
  default: o(() => [
108
- t(p, {
108
+ t(c, {
109
109
  label: s.$t("orderInfo.postType"),
110
110
  prop: "postType"
111
111
  }, {
@@ -113,7 +113,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
113
113
  t(m, {
114
114
  modelValue: e(l).postType,
115
115
  "onUpdate:modelValue": r[0] || (r[0] = (a) => e(l).postType = a),
116
- data: e(Y).postTypeEnum.values
116
+ data: e(G).postTypeEnum.values
117
117
  }, null, 8, ["modelValue", "data"])
118
118
  ]),
119
119
  _: 1
@@ -121,40 +121,40 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
121
121
  ]),
122
122
  _: 1
123
123
  }),
124
- e(l).postType === e(_).LOGISTICS_DELIVERY ? (y(), f(c, {
124
+ e(l).postType === e(u).LOGISTICS_DELIVERY ? (y(), _(f, {
125
125
  key: 0,
126
126
  span: 24
127
127
  }, {
128
128
  default: o(() => [
129
- t(p, {
129
+ t(c, {
130
130
  label: s.$t("orderInfo.logisticsCode"),
131
131
  prop: "logisticsCode"
132
132
  }, {
133
133
  default: o(() => [
134
- t(j, {
134
+ t(O, {
135
135
  modelValue: e(l).logisticsCode,
136
136
  "onUpdate:modelValue": r[1] || (r[1] = (a) => e(l).logisticsCode = a),
137
137
  placeholder: s.$t("orderInfo.logisticCodesRequired"),
138
138
  clearable: "",
139
- "type-code": e(_).EXPRESS_COMPANY_CODE
139
+ "type-code": e(u).EXPRESS_COMPANY_CODE
140
140
  }, null, 8, ["modelValue", "placeholder", "type-code"])
141
141
  ]),
142
142
  _: 1
143
143
  }, 8, ["label"])
144
144
  ]),
145
145
  _: 1
146
- })) : N("", !0),
147
- e(l).postType === e(_).LOGISTICS_DELIVERY ? (y(), f(c, {
146
+ })) : E("", !0),
147
+ e(l).postType === e(u).LOGISTICS_DELIVERY ? (y(), _(f, {
148
148
  key: 1,
149
149
  span: 24
150
150
  }, {
151
151
  default: o(() => [
152
- t(p, {
152
+ t(c, {
153
153
  label: s.$t("orderInfo.logisticsNo"),
154
154
  prop: "logisticsNo"
155
155
  }, {
156
156
  default: o(() => [
157
- t(O, {
157
+ t(j, {
158
158
  modelValue: e(l).logisticsNo,
159
159
  "onUpdate:modelValue": r[2] || (r[2] = (a) => e(l).logisticsNo = a),
160
160
  placeholder: s.$t("orderInfo.logisticsNoRequired"),
@@ -166,7 +166,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
166
166
  }, 8, ["label"])
167
167
  ]),
168
168
  _: 1
169
- })) : N("", !0)
169
+ })) : E("", !0)
170
170
  ]),
171
171
  _: 1
172
172
  })
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-AHBcvcRn.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,9 @@
1
- import { defineComponent as K, mergeModels as V, reactive as h, ref as I, useModel as M, resolveComponent as a, createBlock as j, openBlock as F, withCtx as r, createVNode as l, unref as s, createElementVNode as O, createTextVNode as v, toDisplayString as w } from "vue";
1
+ import { defineComponent as K, mergeModels as V, reactive as h, ref as I, useModel as M, resolveComponent as d, createBlock as j, openBlock as F, withCtx as r, createVNode as l, unref as s, createElementVNode as O, createTextVNode as v, toDisplayString as N } from "vue";
2
2
  import { ElMessage as A } from "element-plus";
3
3
  import { useI18n as D } from "vue-i18n";
4
- import { o as N } from "./index-1R3wKfde.mjs";
5
- const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
4
+ import { validatePhoneNumber as S } from "jmash-core";
5
+ import { o as w } from "./index-IiHp9Y40.mjs";
6
+ const z = { class: "dialog-footer" }, Q = /* @__PURE__ */ K({
6
7
  __name: "edit",
7
8
  props: /* @__PURE__ */ V({
8
9
  entityKey: {
@@ -17,10 +18,10 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
17
18
  emits: /* @__PURE__ */ V(["refresh"], ["update:modelValue"]),
18
19
  setup(c, { emit: q }) {
19
20
  const { t: u } = D();
20
- let d = h({});
21
- const R = (e, o, t) => {
22
- o ? /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) ? t() : t(new Error(u("orderInfo.correctPhone"))) : t(new Error(u("orderInfo.mobilePhoneRequired")));
23
- }, $ = h({
21
+ let n = h({});
22
+ const P = (e, o, t) => {
23
+ o ? S(o) ? t() : t(new Error(u("orderInfo.correctPhone"))) : t(new Error(u("orderInfo.mobilePhoneRequired")));
24
+ }, R = h({
24
25
  userName: [
25
26
  {
26
27
  required: !0,
@@ -31,7 +32,7 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
31
32
  mobilePhone: [
32
33
  {
33
34
  required: !0,
34
- validator: R,
35
+ validator: P,
35
36
  trigger: "blur"
36
37
  }
37
38
  ],
@@ -42,21 +43,21 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
42
43
  trigger: "blur"
43
44
  }
44
45
  ]
45
- }), b = I(), P = q, m = M(c, "modelValue"), i = c, C = Object.keys(i.entityKey), _ = I(C.length >= 1);
46
- _.value && N.findById(i.entityKey).then(({ data: e }) => {
47
- Object.assign(d, e);
46
+ }), b = I(), $ = q, m = M(c, "modelValue"), i = c, C = Object.keys(i.entityKey), _ = I(C.length >= 1);
47
+ _.value && w.findById(i.entityKey).then(({ data: e }) => {
48
+ Object.assign(n, e);
48
49
  });
49
50
  const k = async () => {
50
51
  var e;
51
52
  await ((e = b.value) == null ? void 0 : e.validate((o) => {
52
- o && _.value && N.updateAddress({
53
- ...d,
53
+ o && _.value && w.updateAddress({
54
+ ...n,
54
55
  orderId: i.entityKey.orderId
55
56
  }).then((t) => {
56
57
  t.status === 200 && (A({
57
58
  message: u("common.submitSuccess"),
58
59
  type: "success"
59
- }), m.value && (m.value = !1), P("refresh", t.status === 200));
60
+ }), m.value && (m.value = !1), $("refresh", t.status === 200));
60
61
  });
61
62
  }));
62
63
  };
@@ -64,17 +65,17 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
64
65
  m.value && (m.value = !1);
65
66
  }
66
67
  return (e, o) => {
67
- const t = a("el-input"), f = a("el-form-item"), p = a("el-col"), U = a("el-row"), B = a("el-form"), g = a("el-button"), E = a("el-dialog");
68
+ const t = d("el-input"), f = d("el-form-item"), p = d("el-col"), U = d("el-row"), B = d("el-form"), g = d("el-button"), E = d("el-dialog");
68
69
  return F(), j(E, {
69
70
  modelValue: m.value,
70
- "onUpdate:modelValue": o[3] || (o[3] = (n) => m.value = n),
71
+ "onUpdate:modelValue": o[3] || (o[3] = (a) => m.value = a),
71
72
  onClose: y
72
73
  }, {
73
74
  footer: r(() => [
74
- O("div", S, [
75
+ O("div", z, [
75
76
  l(g, { onClick: y }, {
76
77
  default: r(() => [
77
- v(w(e.$t("common.cancel")), 1)
78
+ v(N(e.$t("common.cancel")), 1)
78
79
  ]),
79
80
  _: 1
80
81
  }),
@@ -83,7 +84,7 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
83
84
  onClick: k
84
85
  }, {
85
86
  default: r(() => [
86
- v(w(e.$t("common.confirm")), 1)
87
+ v(N(e.$t("common.confirm")), 1)
87
88
  ]),
88
89
  _: 1
89
90
  })
@@ -93,9 +94,9 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
93
94
  l(B, {
94
95
  ref_key: "infoFormRef",
95
96
  ref: b,
96
- model: s(d),
97
+ model: s(n),
97
98
  "label-width": "120px",
98
- rules: $
99
+ rules: R
99
100
  }, {
100
101
  default: r(() => [
101
102
  l(U, null, {
@@ -108,8 +109,8 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
108
109
  }, {
109
110
  default: r(() => [
110
111
  l(t, {
111
- modelValue: s(d).userName,
112
- "onUpdate:modelValue": o[0] || (o[0] = (n) => s(d).userName = n),
112
+ modelValue: s(n).userName,
113
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => s(n).userName = a),
113
114
  placeholder: e.$t("orderInfo.userNameRequired"),
114
115
  clearable: ""
115
116
  }, null, 8, ["modelValue", "placeholder"])
@@ -127,8 +128,8 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
127
128
  }, {
128
129
  default: r(() => [
129
130
  l(t, {
130
- modelValue: s(d).mobilePhone,
131
- "onUpdate:modelValue": o[1] || (o[1] = (n) => s(d).mobilePhone = n),
131
+ modelValue: s(n).mobilePhone,
132
+ "onUpdate:modelValue": o[1] || (o[1] = (a) => s(n).mobilePhone = a),
132
133
  placeholder: e.$t("orderInfo.mobilePhoneRequired"),
133
134
  clearable: ""
134
135
  }, null, 8, ["modelValue", "placeholder"])
@@ -146,8 +147,8 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
146
147
  }, {
147
148
  default: r(() => [
148
149
  l(t, {
149
- modelValue: s(d).address,
150
- "onUpdate:modelValue": o[2] || (o[2] = (n) => s(d).address = n),
150
+ modelValue: s(n).address,
151
+ "onUpdate:modelValue": o[2] || (o[2] = (a) => s(n).address = a),
151
152
  type: "textarea",
152
153
  autosize: { minRows: 3 },
153
154
  maxlength: "50",
@@ -173,5 +174,5 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
173
174
  }
174
175
  });
175
176
  export {
176
- J as _
177
+ Q as _
177
178
  };