xyvcard-paper-buyer 0.0.41 → 0.0.43

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.
@@ -3,8 +3,8 @@ import { useI18n as O } from "vue-i18n";
3
3
  import "element-plus";
4
4
  import { routerUtil as D } from "jmash-core";
5
5
  import { useRouter as Q, useRoute as W } from "vue-router";
6
- import { D as U } from "./index-BGqp7CRm.mjs";
7
- import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs";
6
+ import { D as U } from "./index-BPKQNnjE.mjs";
7
+ import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs";
8
8
  import { o as Z } from "./index-BKZPqxLM.mjs";
9
9
  import { E as x } from "./el-message-VSzNakoG.mjs";
10
10
  import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -1,10 +1,11 @@
1
- import { defineComponent as S, mergeModels as y, ref as f, reactive as A, useModel as T, resolveComponent as m, createBlock as D, openBlock as J, withCtx as a, createVNode as l, unref as d, createElementVNode as z, createTextVNode as q, toDisplayString as R } from "vue";
1
+ import { defineComponent as S, mergeModels as y, ref as c, reactive as A, useModel as T, resolveComponent as m, createBlock as D, openBlock as J, withCtx as a, createVNode as l, unref as d, createElementVNode as L, createTextVNode as R, toDisplayString as q } from "vue";
2
2
  import { ElMessage as w } from "element-plus";
3
- import { JmashRegionTree as C, dictRegionApi as G } from "jmash-region";
4
- import { useI18n as H } from "vue-i18n";
3
+ import { JmashRegionTree as z, dictRegionApi as C } from "jmash-region";
4
+ import { useI18n as G } from "vue-i18n";
5
5
  import { o as h } from "./index-BP8zUjOw.mjs";
6
- import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
6
+ import { validatePhoneOrLandline as H } from "jmash-core";
7
+ import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
8
9
  __name: "edit",
9
10
  props: /* @__PURE__ */ y({
10
11
  entityKey: {
@@ -17,52 +18,51 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
17
18
  modelModifiers: {}
18
19
  }),
19
20
  emits: /* @__PURE__ */ y(["refresh"], ["update:modelValue"]),
20
- setup(b, { emit: I }) {
21
- const { t: u } = H(), g = f();
21
+ setup(g, { emit: I }) {
22
+ const { t: i } = G(), v = c();
22
23
  let t = A({
23
24
  requestId: Math.random() * 10 + "",
24
25
  updateMask: "note,userName,mobilePhone,provinceName,detailInfo"
25
26
  });
26
- const $ = (e, r, o) => {
27
- r && !/^(((\d{3,4}-)?[0-9]{7,8})|(1(3|4|5|6|7|8|9)\d{9}))$/.test(r) ? o(new Error(u("orderUserAddress.mobilePhoneTrueRequired"))) : o();
28
- }, P = A({
27
+ const P = (e, r, o) => {
28
+ r && (H(r) || o(new Error(i("orderUserAddress.mobilePhoneTrueRequired")))), o();
29
+ }, $ = A({
29
30
  note: [
30
31
  {
31
32
  required: !0,
32
- message: u("orderUserAddress.noteRequired"),
33
+ message: i("orderUserAddress.noteRequired"),
33
34
  trigger: "change"
34
35
  }
35
36
  ],
36
37
  userName: [
37
38
  {
38
39
  required: !0,
39
- message: u("orderUserAddress.userNameRequired"),
40
+ message: i("orderUserAddress.userNameRequired"),
40
41
  trigger: "change"
41
42
  }
42
43
  ],
43
44
  mobilePhone: [
44
45
  {
45
- required: !0,
46
- validator: $,
46
+ validator: P,
47
47
  trigger: "blur"
48
48
  }
49
49
  ],
50
50
  detailInfo: [
51
51
  {
52
52
  required: !0,
53
- message: u("orderUserAddress.detailInfoRequired"),
53
+ message: i("orderUserAddress.detailInfoRequired"),
54
54
  trigger: "change"
55
55
  }
56
56
  ],
57
57
  provinceName: [
58
58
  {
59
59
  required: !0,
60
- message: u("orderUserAddress.provinceNameRequired"),
60
+ message: i("orderUserAddress.provinceNameRequired"),
61
61
  trigger: "change"
62
62
  }
63
63
  ]
64
- }), i = T(b, "modelValue"), v = b, N = I, M = Object.keys(v.entityKey), _ = f(M.length >= 1);
65
- _.value && h.findById(v.entityKey).then(({ data: e }) => {
64
+ }), u = T(g, "modelValue"), b = g, N = I, M = Object.keys(b.entityKey), _ = c(M.length >= 1);
65
+ _.value && h.findById(b.entityKey).then(({ data: e }) => {
66
66
  Object.assign(t, e);
67
67
  });
68
68
  function k() {
@@ -70,23 +70,23 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
70
70
  t.cityName = e;
71
71
  });
72
72
  }
73
- const c = f(/* @__PURE__ */ new Map());
73
+ const f = c(/* @__PURE__ */ new Map());
74
74
  async function B(e) {
75
75
  if (!e)
76
76
  return "";
77
- if (c.value.has(e))
78
- return c.value.get(e) || e;
77
+ if (f.value.has(e))
78
+ return f.value.get(e) || e;
79
79
  try {
80
- const r = await G.findByCode({
80
+ const r = await C.findByCode({
81
81
  regionCode: e
82
82
  });
83
83
  if (r.data) {
84
84
  const o = F(r.data);
85
- return c.value.set(e, o), o;
85
+ return f.value.set(e, o), o;
86
86
  }
87
87
  return e;
88
88
  } catch {
89
- return c.value.set(e, e), e;
89
+ return f.value.set(e, e), e;
90
90
  }
91
91
  }
92
92
  function F(e) {
@@ -98,56 +98,56 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
98
98
  }
99
99
  const j = async () => {
100
100
  var e;
101
- await ((e = g.value) == null ? void 0 : e.validate((r) => {
101
+ await ((e = v.value) == null ? void 0 : e.validate((r) => {
102
102
  r && (_.value ? h.update(t).then((o) => {
103
103
  o.status === 200 && (w({
104
- message: u("common.submitSuccess"),
104
+ message: i("common.submitSuccess"),
105
105
  type: "success"
106
- }), i.value && (i.value = !1), N("refresh", o.status === 200));
106
+ }), u.value && (u.value = !1), N("refresh", o.status === 200));
107
107
  }) : h.create(t).then((o) => {
108
108
  o.status === 200 && (w({
109
- message: u("common.submitSuccess"),
109
+ message: i("common.submitSuccess"),
110
110
  type: "success"
111
- }), i.value && (i.value = !1), N("refresh", o.status === 200));
111
+ }), u.value && (u.value = !1), N("refresh", o.status === 200));
112
112
  }));
113
113
  }));
114
114
  };
115
- function V() {
116
- i.value && (i.value = !1);
115
+ function U() {
116
+ u.value && (u.value = !1);
117
117
  }
118
118
  return (e, r) => {
119
- const o = m("el-input"), s = m("el-form-item"), p = m("el-col"), E = m("el-row"), K = m("el-form"), U = m("el-button"), O = m("el-dialog");
120
- return J(), D(O, {
121
- modelValue: i.value,
122
- "onUpdate:modelValue": r[5] || (r[5] = (n) => i.value = n),
123
- onClose: V
119
+ const o = m("el-input"), s = m("el-form-item"), p = m("el-col"), E = m("el-row"), O = m("el-form"), V = m("el-button"), K = m("el-dialog");
120
+ return J(), D(K, {
121
+ modelValue: u.value,
122
+ "onUpdate:modelValue": r[5] || (r[5] = (n) => u.value = n),
123
+ onClose: U
124
124
  }, {
125
125
  footer: a(() => [
126
- z("div", Q, [
127
- l(U, { onClick: V }, {
126
+ L("div", W, [
127
+ l(V, { onClick: U }, {
128
128
  default: a(() => [
129
- q(R(e.$t("common.cancel")), 1)
129
+ R(q(e.$t("common.cancel")), 1)
130
130
  ]),
131
131
  _: 1
132
132
  }),
133
- l(U, {
133
+ l(V, {
134
134
  type: "primary",
135
135
  onClick: j
136
136
  }, {
137
137
  default: a(() => [
138
- q(R(e.$t("common.confirm")), 1)
138
+ R(q(e.$t("common.confirm")), 1)
139
139
  ]),
140
140
  _: 1
141
141
  })
142
142
  ])
143
143
  ]),
144
144
  default: a(() => [
145
- l(K, {
145
+ l(O, {
146
146
  ref_key: "orderUserAddressFormRef",
147
- ref: g,
147
+ ref: v,
148
148
  model: d(t),
149
149
  "label-position": "top",
150
- rules: P
150
+ rules: $
151
151
  }, {
152
152
  default: a(() => [
153
153
  l(E, { gutter: 20 }, {
@@ -216,11 +216,11 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
216
216
  default: a(() => [
217
217
  l(s, {
218
218
  prop: "provinceName",
219
- label: d(u)("orderUserAddress.detailInfo"),
219
+ label: d(i)("orderUserAddress.detailInfo"),
220
220
  class: "form-item"
221
221
  }, {
222
222
  default: a(() => [
223
- l(d(C), {
223
+ l(d(z), {
224
224
  modelValue: d(t).provinceName,
225
225
  "onUpdate:modelValue": r[3] || (r[3] = (n) => d(t).provinceName = n),
226
226
  placeholder: e.$t("orderUserAddress.provinceNameRequired"),
@@ -262,7 +262,7 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
262
262
  }, 8, ["modelValue"]);
263
263
  };
264
264
  }
265
- }), oe = /* @__PURE__ */ L(W, [["__scopeId", "data-v-cbbeb2ba"]]);
265
+ }), te = /* @__PURE__ */ Q(X, [["__scopeId", "data-v-390f0c01"]]);
266
266
  export {
267
- oe as default
267
+ te as default
268
268
  };
@@ -0,0 +1,260 @@
1
+ import { defineComponent as B, mergeModels as _, ref as b, reactive as v, useModel as E, resolveComponent as m, createBlock as T, openBlock as j, withCtx as t, createVNode as o, unref as s, createElementVNode as D, createTextVNode as N, toDisplayString as U } from "vue";
2
+ import { ElMessage as O } from "element-plus";
3
+ import { JmashRegionTree as S, dictRegionApi as J } from "jmash-region";
4
+ import { useI18n as K } from "vue-i18n";
5
+ import { o as L } from "./index-BP8zUjOw.mjs";
6
+ import { validatePhoneOrLandline as z } from "jmash-core";
7
+ import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ const G = { class: "dialog-footer" }, H = /* @__PURE__ */ B({
9
+ __name: "edit",
10
+ props: /* @__PURE__ */ _({
11
+ entityKey: {
12
+ type: Object,
13
+ default: () => {
14
+ }
15
+ }
16
+ }, {
17
+ modelValue: { type: Boolean },
18
+ modelModifiers: {}
19
+ }),
20
+ emits: /* @__PURE__ */ _(["refresh"], ["update:modelValue"]),
21
+ setup(V, { emit: A }) {
22
+ const { t: i } = K(), c = b();
23
+ let a = v({
24
+ requestId: Math.random() * 10 + "",
25
+ updateMask: ""
26
+ });
27
+ const R = (e, r, l) => {
28
+ r && (z(r) || l(new Error(i("orderUserAddress.mobilePhoneTrueRequired")))), l();
29
+ }, q = v({
30
+ note: [
31
+ {
32
+ required: !0,
33
+ message: i("orderUserAddress.noteRequired"),
34
+ trigger: "change"
35
+ }
36
+ ],
37
+ userName: [
38
+ {
39
+ required: !0,
40
+ message: i("orderUserAddress.userNameRequired"),
41
+ trigger: "change"
42
+ }
43
+ ],
44
+ mobilePhone: [
45
+ {
46
+ validator: R,
47
+ trigger: "blur"
48
+ }
49
+ ],
50
+ detailInfo: [
51
+ {
52
+ required: !0,
53
+ message: i("orderUserAddress.detailInfoRequired"),
54
+ trigger: "change"
55
+ }
56
+ ],
57
+ provinceName: [
58
+ {
59
+ required: !0,
60
+ message: i("orderUserAddress.provinceNameRequired"),
61
+ trigger: "change"
62
+ }
63
+ ]
64
+ }), u = E(V, "modelValue"), w = A;
65
+ function y() {
66
+ a.provinceName && I(a.provinceName).then((e) => {
67
+ a.cityName = e;
68
+ });
69
+ }
70
+ const f = b(/* @__PURE__ */ new Map());
71
+ async function I(e) {
72
+ if (!e)
73
+ return "";
74
+ if (f.value.has(e))
75
+ return f.value.get(e) || e;
76
+ try {
77
+ const r = await J.findByCode({
78
+ regionCode: e
79
+ });
80
+ if (r.data) {
81
+ const l = P(r.data);
82
+ return f.value.set(e, l), l;
83
+ }
84
+ return e;
85
+ } catch {
86
+ return f.value.set(e, e), e;
87
+ }
88
+ }
89
+ function P(e) {
90
+ const r = [];
91
+ function l(d) {
92
+ d && d.regionName && r.push(d.regionName), d && d.children && d.children.length > 0 && l(d.children[0]);
93
+ }
94
+ return l(e), r.join("");
95
+ }
96
+ const $ = async () => {
97
+ var e;
98
+ await ((e = c.value) == null ? void 0 : e.validate((r) => {
99
+ r && L.create(a).then((l) => {
100
+ l.status === 200 && (O({
101
+ message: i("common.submitSuccess"),
102
+ type: "success"
103
+ }), u.value && (u.value = !1), w("refresh", l.status === 200));
104
+ });
105
+ }));
106
+ };
107
+ function h() {
108
+ u.value && (u.value = !1);
109
+ }
110
+ return (e, r) => {
111
+ const l = m("el-input"), d = m("el-form-item"), p = m("el-col"), M = m("el-row"), k = m("el-form"), g = m("el-button"), F = m("el-dialog");
112
+ return j(), T(F, {
113
+ modelValue: u.value,
114
+ "onUpdate:modelValue": r[5] || (r[5] = (n) => u.value = n),
115
+ onClose: h
116
+ }, {
117
+ footer: t(() => [
118
+ D("div", G, [
119
+ o(g, { onClick: h }, {
120
+ default: t(() => [
121
+ N(U(e.$t("common.cancel")), 1)
122
+ ]),
123
+ _: 1
124
+ }),
125
+ o(g, {
126
+ type: "primary",
127
+ onClick: $
128
+ }, {
129
+ default: t(() => [
130
+ N(U(e.$t("common.confirm")), 1)
131
+ ]),
132
+ _: 1
133
+ })
134
+ ])
135
+ ]),
136
+ default: t(() => [
137
+ o(k, {
138
+ ref_key: "orderUserAddressFormRef",
139
+ ref: c,
140
+ model: s(a),
141
+ "label-position": "top",
142
+ rules: q
143
+ }, {
144
+ default: t(() => [
145
+ o(M, { gutter: 20 }, {
146
+ default: t(() => [
147
+ o(p, { span: 24 }, {
148
+ default: t(() => [
149
+ o(d, {
150
+ label: e.$t("orderUserAddress.note"),
151
+ prop: "note"
152
+ }, {
153
+ default: t(() => [
154
+ o(l, {
155
+ modelValue: s(a).note,
156
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => s(a).note = n),
157
+ placeholder: e.$t("orderUserAddress.noteRequired"),
158
+ "show-word-limit": "",
159
+ clearable: ""
160
+ }, null, 8, ["modelValue", "placeholder"])
161
+ ]),
162
+ _: 1
163
+ }, 8, ["label"])
164
+ ]),
165
+ _: 1
166
+ }),
167
+ o(p, { span: 24 }, {
168
+ default: t(() => [
169
+ o(d, {
170
+ label: e.$t("orderUserAddress.userName"),
171
+ prop: "userName"
172
+ }, {
173
+ default: t(() => [
174
+ o(l, {
175
+ modelValue: s(a).userName,
176
+ "onUpdate:modelValue": r[1] || (r[1] = (n) => s(a).userName = n),
177
+ placeholder: e.$t("orderUserAddress.userNameRequired"),
178
+ "show-word-limit": "",
179
+ clearable: ""
180
+ }, null, 8, ["modelValue", "placeholder"])
181
+ ]),
182
+ _: 1
183
+ }, 8, ["label"])
184
+ ]),
185
+ _: 1
186
+ }),
187
+ o(p, { span: 24 }, {
188
+ default: t(() => [
189
+ o(d, {
190
+ label: e.$t("orderUserAddress.mobilePhone"),
191
+ prop: "mobilePhone"
192
+ }, {
193
+ default: t(() => [
194
+ o(l, {
195
+ modelValue: s(a).mobilePhone,
196
+ "onUpdate:modelValue": r[2] || (r[2] = (n) => s(a).mobilePhone = n),
197
+ placeholder: e.$t("orderUserAddress.mobilePhoneRequired"),
198
+ "show-word-limit": "",
199
+ clearable: ""
200
+ }, null, 8, ["modelValue", "placeholder"])
201
+ ]),
202
+ _: 1
203
+ }, 8, ["label"])
204
+ ]),
205
+ _: 1
206
+ }),
207
+ o(p, { span: 24 }, {
208
+ default: t(() => [
209
+ o(d, {
210
+ prop: "provinceName",
211
+ label: s(i)("orderUserAddress.detailInfo"),
212
+ class: "form-item"
213
+ }, {
214
+ default: t(() => [
215
+ o(s(S), {
216
+ modelValue: s(a).provinceName,
217
+ "onUpdate:modelValue": r[3] || (r[3] = (n) => s(a).provinceName = n),
218
+ placeholder: e.$t("orderUserAddress.provinceNameRequired"),
219
+ clearable: "",
220
+ onChange: y
221
+ }, null, 8, ["modelValue", "placeholder"])
222
+ ]),
223
+ _: 1
224
+ }, 8, ["label"])
225
+ ]),
226
+ _: 1
227
+ }),
228
+ o(p, { span: 24 }, {
229
+ default: t(() => [
230
+ o(d, { prop: "detailInfo" }, {
231
+ default: t(() => [
232
+ o(l, {
233
+ modelValue: s(a).detailInfo,
234
+ "onUpdate:modelValue": r[4] || (r[4] = (n) => s(a).detailInfo = n),
235
+ placeholder: e.$t("orderUserAddress.detailInfoRequired"),
236
+ "show-word-limit": "",
237
+ clearable: "",
238
+ type: "textarea"
239
+ }, null, 8, ["modelValue", "placeholder"])
240
+ ]),
241
+ _: 1
242
+ })
243
+ ]),
244
+ _: 1
245
+ })
246
+ ]),
247
+ _: 1
248
+ })
249
+ ]),
250
+ _: 1
251
+ }, 8, ["model", "rules"])
252
+ ]),
253
+ _: 1
254
+ }, 8, ["modelValue"]);
255
+ };
256
+ }
257
+ }), re = /* @__PURE__ */ C(H, [["__scopeId", "data-v-35c6c80a"]]);
258
+ export {
259
+ re as default
260
+ };
@@ -1,11 +1,11 @@
1
- var v = Object.defineProperty;
2
- var I = (i, r, e) => r in i ? v(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
3
- var t = (i, r, e) => I(i, typeof r != "symbol" ? r + "" : r, e);
1
+ var y = Object.defineProperty;
2
+ var v = (i, r, e) => r in i ? y(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
3
+ var t = (i, r, e) => v(i, typeof r != "symbol" ? r + "" : r, e);
4
4
  import { ref as h } from "vue";
5
- import { BizLayDict as l, CustomBizDict as p, EnumDict as d } from "jmash-core";
6
- import { goodsCategoryApi as P } from "xyvcard-paper-goods";
5
+ import { BizLayDict as l, CustomBizDict as p, EnumDict as I } from "jmash-core";
6
+ import { goodsCategoryApi as g } from "xyvcard-paper-goods";
7
7
  import { unionOrgApi as c } from "xyvcard-paper-union";
8
- import { EntryDict as T } from "jmash-dict";
8
+ import { EntryDict as P } from "jmash-dict";
9
9
  class s {
10
10
  }
11
11
  //模块
@@ -14,9 +14,7 @@ t(s, "ENUM_ORDER_STATUS", h([
14
14
  { key: "unpay", value: "待付款" },
15
15
  { key: "unpost", value: "订阅成功" }
16
16
  ])), // 订单状态常量
17
- t(s, "UNPAY", "unpay"), t(s, "UNPOST", "unpost"), // static readonly COMPLETE = "complete";
18
- // 支付方式
19
- t(s, "ENUM_PAYMENT_WAY", "xyvcard.order.protobuf.PaymentWay"), // 发票票种
17
+ t(s, "UNPAY", "unpay"), t(s, "UNPOST", "unpost"), // 发票票种
20
18
  t(s, "LQFP_FPPZ", "Fppz"), // 开票状态
21
19
  t(s, "INVOICE_STATUS", "xyvcard.order.protobuf.InvoiceStatus"), t(s, "UNINVOICE", "uninvoice"), t(s, "INVOICING", "invoicing"), t(s, "INVOICED", "invoiced"), // 基层工会
22
20
  t(s, "BASE_UNION", "base"), // 企业
@@ -27,10 +25,10 @@ t(s, "GMF_TYPE_VALUES", h([
27
25
  { key: "ent", value: "企业" },
28
26
  { key: "person", value: "个人" }
29
27
  ]));
30
- function y(i, r, e) {
28
+ function d(i, r, e) {
31
29
  return !Array.isArray(i) || i.length === 0 ? [] : i.map((a) => {
32
30
  let o = [];
33
- return Array.isArray(a.children) && a.children.length > 0 && (o = y(a.children, r, e)), {
31
+ return Array.isArray(a.children) && a.children.length > 0 && (o = d(a.children, r, e)), {
34
32
  value: a[e],
35
33
  label: a[r],
36
34
  parentId: a.parentId,
@@ -38,7 +36,7 @@ function y(i, r, e) {
38
36
  };
39
37
  });
40
38
  }
41
- class A extends l {
39
+ class T extends l {
42
40
  // 实现 useValues 方法
43
41
  useValues() {
44
42
  return new Promise((r, e) => {
@@ -46,8 +44,8 @@ class A extends l {
46
44
  r(this.values);
47
45
  return;
48
46
  }
49
- c.findList(this.query).then(({ data: u }) => {
50
- const a = u.results;
47
+ c.findList(this.query).then(({ data: n }) => {
48
+ const a = n.results;
51
49
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(a)), r(this.values);
52
50
  }).catch(e);
53
51
  });
@@ -62,7 +60,7 @@ class A extends l {
62
60
  }));
63
61
  }
64
62
  }
65
- class g extends l {
63
+ class f extends l {
66
64
  // 实现 useValues 方法
67
65
  useValues() {
68
66
  return new Promise((r, e) => {
@@ -70,11 +68,11 @@ class g extends l {
70
68
  r(this.values);
71
69
  return;
72
70
  }
73
- const u = {
71
+ const n = {
74
72
  ...this.query,
75
73
  orgType: s.BASE_UNION
76
74
  };
77
- c.findList(u).then(({ data: a }) => {
75
+ c.findList(n).then(({ data: a }) => {
78
76
  const o = a.results;
79
77
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(o)), r(this.values);
80
78
  }).catch(e);
@@ -91,7 +89,7 @@ class g extends l {
91
89
  }));
92
90
  }
93
91
  }
94
- class f extends l {
92
+ class A extends l {
95
93
  // 实现 useValues 方法
96
94
  useValues() {
97
95
  return new Promise((r, e) => {
@@ -99,11 +97,11 @@ class f extends l {
99
97
  r(this.values);
100
98
  return;
101
99
  }
102
- const u = {
100
+ const n = {
103
101
  ...this.query,
104
102
  orgType: s.BASE_UNION
105
103
  };
106
- c.findList(u).then(({ data: a }) => {
104
+ c.findList(n).then(({ data: a }) => {
107
105
  const o = a.results;
108
106
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(o)), r(this.values);
109
107
  }).catch(e);
@@ -120,40 +118,36 @@ class f extends l {
120
118
  }));
121
119
  }
122
120
  }
123
- class E extends l {
121
+ class m extends l {
124
122
  // 实现 useValues 方法
125
123
  useValues() {
126
124
  return new Promise((r, e) => {
127
- P.findTreeListApi(this.query).then((u) => {
128
- const { data: a } = u;
129
- this.values.length = 0, this.values.push(...y(a.results, "label", "value")), r(this.values);
125
+ g.findTreeListApi(this.query).then((n) => {
126
+ const { data: a } = n;
127
+ this.values.length = 0, this.values.push(...d(a.results, "label", "value")), r(this.values);
130
128
  }).catch(e);
131
129
  });
132
130
  }
133
131
  }
134
- class n {
132
+ class u {
135
133
  }
136
134
  // 订单状态
137
- t(n, "orderStatusEnum", new p(
135
+ t(u, "orderStatusEnum", new p(
138
136
  s.ENUM_ORDER_STATUS,
139
137
  {}
140
- )), // 支付方式
141
- t(n, "paymentWayEnum", new d(
142
- s.PAPER_DICT,
143
- s.ENUM_PAYMENT_WAY
144
138
  )), // 所属工会
145
- t(n, "unionOrgBizLayDict", new A({})), t(n, "unionOrgPhoneBizLayDict", new g({})), t(n, "unionOrgPhoneInsBizLayDict", new f(
139
+ t(u, "unionOrgBizLayDict", new T({})), t(u, "unionOrgPhoneBizLayDict", new f({})), t(u, "unionOrgPhoneInsBizLayDict", new A(
146
140
  {}
147
141
  )), // 发票票种
148
- t(n, "fppzDict", new T(s.LQFP_FPPZ)), // 开票状态
149
- t(n, "invoiceStatusEnum", new d(
142
+ t(u, "fppzDict", new P(s.LQFP_FPPZ)), // 开票状态
143
+ t(u, "invoiceStatusEnum", new I(
150
144
  s.PAPER_DICT,
151
145
  s.INVOICE_STATUS
152
146
  )), // 商品分类(发行频率)
153
- t(n, "goodsCategoryListBizLayDict", new E(
147
+ t(u, "goodsCategoryListBizLayDict", new m(
154
148
  {}
155
- )), t(n, "gmfTypeDict", new p(s.GMF_TYPE_VALUES, {}));
149
+ )), t(u, "gmfTypeDict", new p(s.GMF_TYPE_VALUES, {}));
156
150
  export {
157
151
  s as C,
158
- n as D
152
+ u as D
159
153
  };