xyvcard-paper-buyer 0.0.42 → 0.0.44

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,9 +3,9 @@ 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-CUfcoWMj.mjs";
7
- import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-BaWmhSHl.mjs";
8
- import { o as Z } from "./index-BKZPqxLM.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
+ import { o as Z } from "./index-DyTbbNUO.mjs";
9
9
  import { E as x } from "./el-message-VSzNakoG.mjs";
10
10
  import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
11
  const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
@@ -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-42b751e7"]]);
265
+ }), te = /* @__PURE__ */ Q(X, [["__scopeId", "data-v-390f0c01"]]);
266
266
  export {
267
- oe as default
267
+ te as default
268
268
  };
@@ -1,12 +1,13 @@
1
- import { defineComponent as B, mergeModels as b, ref as _, reactive as N, useModel as E, resolveComponent as i, createBlock as T, openBlock as j, withCtx as t, createVNode as o, unref as s, createElementVNode as D, createTextVNode as v, toDisplayString as V } from "vue";
2
- import { ElMessage as S } from "element-plus";
3
- import { JmashRegionTree as J, dictRegionApi as K } from "jmash-region";
4
- import { useI18n as O } from "vue-i18n";
5
- import { o as z } from "./index-BP8zUjOw.mjs";
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";
6
7
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
8
  const G = { class: "dialog-footer" }, H = /* @__PURE__ */ B({
8
9
  __name: "edit",
9
- props: /* @__PURE__ */ b({
10
+ props: /* @__PURE__ */ _({
10
11
  entityKey: {
11
12
  type: Object,
12
13
  default: () => {
@@ -16,118 +17,117 @@ const G = { class: "dialog-footer" }, H = /* @__PURE__ */ B({
16
17
  modelValue: { type: Boolean },
17
18
  modelModifiers: {}
18
19
  }),
19
- emits: /* @__PURE__ */ b(["refresh"], ["update:modelValue"]),
20
- setup(U, { emit: A }) {
21
- const { t: u } = O(), f = _();
22
- let a = N({
20
+ emits: /* @__PURE__ */ _(["refresh"], ["update:modelValue"]),
21
+ setup(V, { emit: A }) {
22
+ const { t: i } = K(), c = b();
23
+ let a = v({
23
24
  requestId: Math.random() * 10 + "",
24
25
  updateMask: ""
25
26
  });
26
- const q = (e, r, l) => {
27
- r && !/^(((\d{3,4}-)?[0-9]{7,8})|(1(3|4|5|6|7|8|9)\d{9}))$/.test(r) ? l(new Error(u("orderUserAddress.mobilePhoneTrueRequired"))) : l();
28
- }, R = N({
27
+ const R = (e, r, l) => {
28
+ r && (z(r) || l(new Error(i("orderUserAddress.mobilePhoneTrueRequired")))), l();
29
+ }, q = v({
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: q,
46
+ validator: R,
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
- }), m = E(U, "modelValue"), w = A;
64
+ }), u = E(V, "modelValue"), w = A;
65
65
  function y() {
66
- a.provinceName && $(a.provinceName).then((e) => {
66
+ a.provinceName && I(a.provinceName).then((e) => {
67
67
  a.cityName = e;
68
68
  });
69
69
  }
70
- const c = _(/* @__PURE__ */ new Map());
71
- async function $(e) {
70
+ const f = b(/* @__PURE__ */ new Map());
71
+ async function I(e) {
72
72
  if (!e)
73
73
  return "";
74
- if (c.value.has(e))
75
- return c.value.get(e) || e;
74
+ if (f.value.has(e))
75
+ return f.value.get(e) || e;
76
76
  try {
77
- const r = await K.findByCode({
77
+ const r = await J.findByCode({
78
78
  regionCode: e
79
79
  });
80
80
  if (r.data) {
81
- const l = I(r.data);
82
- return c.value.set(e, l), l;
81
+ const l = P(r.data);
82
+ return f.value.set(e, l), l;
83
83
  }
84
84
  return e;
85
85
  } catch {
86
- return c.value.set(e, e), e;
86
+ return f.value.set(e, e), e;
87
87
  }
88
88
  }
89
- function I(e) {
89
+ function P(e) {
90
90
  const r = [];
91
91
  function l(d) {
92
92
  d && d.regionName && r.push(d.regionName), d && d.children && d.children.length > 0 && l(d.children[0]);
93
93
  }
94
94
  return l(e), r.join("");
95
95
  }
96
- const M = async () => {
96
+ const $ = async () => {
97
97
  var e;
98
- await ((e = f.value) == null ? void 0 : e.validate((r) => {
99
- r && z.create(a).then((l) => {
100
- l.status === 200 && (S({
101
- message: u("common.submitSuccess"),
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
102
  type: "success"
103
- }), m.value && (m.value = !1), w("refresh", l.status === 200));
103
+ }), u.value && (u.value = !1), w("refresh", l.status === 200));
104
104
  });
105
105
  }));
106
106
  };
107
107
  function h() {
108
- m.value && (m.value = !1);
108
+ u.value && (u.value = !1);
109
109
  }
110
110
  return (e, r) => {
111
- const l = i("el-input"), d = i("el-form-item"), p = i("el-col"), P = i("el-row"), k = i("el-form"), g = i("el-button"), F = i("el-dialog");
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
112
  return j(), T(F, {
113
- modelValue: m.value,
114
- "onUpdate:modelValue": r[5] || (r[5] = (n) => m.value = n),
113
+ modelValue: u.value,
114
+ "onUpdate:modelValue": r[5] || (r[5] = (n) => u.value = n),
115
115
  onClose: h
116
116
  }, {
117
117
  footer: t(() => [
118
118
  D("div", G, [
119
119
  o(g, { onClick: h }, {
120
120
  default: t(() => [
121
- v(V(e.$t("common.cancel")), 1)
121
+ N(U(e.$t("common.cancel")), 1)
122
122
  ]),
123
123
  _: 1
124
124
  }),
125
125
  o(g, {
126
126
  type: "primary",
127
- onClick: M
127
+ onClick: $
128
128
  }, {
129
129
  default: t(() => [
130
- v(V(e.$t("common.confirm")), 1)
130
+ N(U(e.$t("common.confirm")), 1)
131
131
  ]),
132
132
  _: 1
133
133
  })
@@ -136,13 +136,13 @@ const G = { class: "dialog-footer" }, H = /* @__PURE__ */ B({
136
136
  default: t(() => [
137
137
  o(k, {
138
138
  ref_key: "orderUserAddressFormRef",
139
- ref: f,
139
+ ref: c,
140
140
  model: s(a),
141
141
  "label-position": "top",
142
- rules: R
142
+ rules: q
143
143
  }, {
144
144
  default: t(() => [
145
- o(P, { gutter: 20 }, {
145
+ o(M, { gutter: 20 }, {
146
146
  default: t(() => [
147
147
  o(p, { span: 24 }, {
148
148
  default: t(() => [
@@ -208,11 +208,11 @@ const G = { class: "dialog-footer" }, H = /* @__PURE__ */ B({
208
208
  default: t(() => [
209
209
  o(d, {
210
210
  prop: "provinceName",
211
- label: s(u)("orderUserAddress.detailInfo"),
211
+ label: s(i)("orderUserAddress.detailInfo"),
212
212
  class: "form-item"
213
213
  }, {
214
214
  default: t(() => [
215
- o(s(J), {
215
+ o(s(S), {
216
216
  modelValue: s(a).provinceName,
217
217
  "onUpdate:modelValue": r[3] || (r[3] = (n) => s(a).provinceName = n),
218
218
  placeholder: e.$t("orderUserAddress.provinceNameRequired"),
@@ -254,7 +254,7 @@ const G = { class: "dialog-footer" }, H = /* @__PURE__ */ B({
254
254
  }, 8, ["modelValue"]);
255
255
  };
256
256
  }
257
- }), x = /* @__PURE__ */ C(H, [["__scopeId", "data-v-31dcbcc0"]]);
257
+ }), re = /* @__PURE__ */ C(H, [["__scopeId", "data-v-35c6c80a"]]);
258
258
  export {
259
- x as default
259
+ re as default
260
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,8 +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"), // 支付方式
18
- t(s, "ENUM_PAYMENT_WAY", "xyvcard.order.protobuf.PaymentWay"), // 发票票种
17
+ t(s, "UNPAY", "unpay"), t(s, "UNPOST", "unpost"), // 发票票种
19
18
  t(s, "LQFP_FPPZ", "Fppz"), // 开票状态
20
19
  t(s, "INVOICE_STATUS", "xyvcard.order.protobuf.InvoiceStatus"), t(s, "UNINVOICE", "uninvoice"), t(s, "INVOICING", "invoicing"), t(s, "INVOICED", "invoiced"), // 基层工会
21
20
  t(s, "BASE_UNION", "base"), // 企业
@@ -26,10 +25,10 @@ t(s, "GMF_TYPE_VALUES", h([
26
25
  { key: "ent", value: "企业" },
27
26
  { key: "person", value: "个人" }
28
27
  ]));
29
- function y(i, r, e) {
28
+ function d(i, r, e) {
30
29
  return !Array.isArray(i) || i.length === 0 ? [] : i.map((a) => {
31
30
  let o = [];
32
- 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)), {
33
32
  value: a[e],
34
33
  label: a[r],
35
34
  parentId: a.parentId,
@@ -37,7 +36,7 @@ function y(i, r, e) {
37
36
  };
38
37
  });
39
38
  }
40
- class A extends l {
39
+ class T extends l {
41
40
  // 实现 useValues 方法
42
41
  useValues() {
43
42
  return new Promise((r, e) => {
@@ -45,8 +44,8 @@ class A extends l {
45
44
  r(this.values);
46
45
  return;
47
46
  }
48
- c.findList(this.query).then(({ data: u }) => {
49
- const a = u.results;
47
+ c.findList(this.query).then(({ data: n }) => {
48
+ const a = n.results;
50
49
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(a)), r(this.values);
51
50
  }).catch(e);
52
51
  });
@@ -61,7 +60,7 @@ class A extends l {
61
60
  }));
62
61
  }
63
62
  }
64
- class g extends l {
63
+ class f extends l {
65
64
  // 实现 useValues 方法
66
65
  useValues() {
67
66
  return new Promise((r, e) => {
@@ -69,11 +68,11 @@ class g extends l {
69
68
  r(this.values);
70
69
  return;
71
70
  }
72
- const u = {
71
+ const n = {
73
72
  ...this.query,
74
73
  orgType: s.BASE_UNION
75
74
  };
76
- c.findList(u).then(({ data: a }) => {
75
+ c.findList(n).then(({ data: a }) => {
77
76
  const o = a.results;
78
77
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(o)), r(this.values);
79
78
  }).catch(e);
@@ -90,7 +89,7 @@ class g extends l {
90
89
  }));
91
90
  }
92
91
  }
93
- class f extends l {
92
+ class A extends l {
94
93
  // 实现 useValues 方法
95
94
  useValues() {
96
95
  return new Promise((r, e) => {
@@ -98,11 +97,11 @@ class f extends l {
98
97
  r(this.values);
99
98
  return;
100
99
  }
101
- const u = {
100
+ const n = {
102
101
  ...this.query,
103
102
  orgType: s.BASE_UNION
104
103
  };
105
- c.findList(u).then(({ data: a }) => {
104
+ c.findList(n).then(({ data: a }) => {
106
105
  const o = a.results;
107
106
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(o)), r(this.values);
108
107
  }).catch(e);
@@ -119,40 +118,36 @@ class f extends l {
119
118
  }));
120
119
  }
121
120
  }
122
- class E extends l {
121
+ class m extends l {
123
122
  // 实现 useValues 方法
124
123
  useValues() {
125
124
  return new Promise((r, e) => {
126
- P.findTreeListApi(this.query).then((u) => {
127
- const { data: a } = u;
128
- 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);
129
128
  }).catch(e);
130
129
  });
131
130
  }
132
131
  }
133
- class n {
132
+ class u {
134
133
  }
135
134
  // 订单状态
136
- t(n, "orderStatusEnum", new p(
135
+ t(u, "orderStatusEnum", new p(
137
136
  s.ENUM_ORDER_STATUS,
138
137
  {}
139
- )), // 支付方式
140
- t(n, "paymentWayEnum", new d(
141
- s.PAPER_DICT,
142
- s.ENUM_PAYMENT_WAY
143
138
  )), // 所属工会
144
- 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(
145
140
  {}
146
141
  )), // 发票票种
147
- t(n, "fppzDict", new T(s.LQFP_FPPZ)), // 开票状态
148
- t(n, "invoiceStatusEnum", new d(
142
+ t(u, "fppzDict", new P(s.LQFP_FPPZ)), // 开票状态
143
+ t(u, "invoiceStatusEnum", new I(
149
144
  s.PAPER_DICT,
150
145
  s.INVOICE_STATUS
151
146
  )), // 商品分类(发行频率)
152
- t(n, "goodsCategoryListBizLayDict", new E(
147
+ t(u, "goodsCategoryListBizLayDict", new m(
153
148
  {}
154
- )), t(n, "gmfTypeDict", new p(s.GMF_TYPE_VALUES, {}));
149
+ )), t(u, "gmfTypeDict", new p(s.GMF_TYPE_VALUES, {}));
155
150
  export {
156
151
  s as C,
157
- n as D
152
+ u as D
158
153
  };