xyvcard-paper-buyer 0.0.40 → 0.0.41

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 (30) hide show
  1. package/README.md +51 -51
  2. package/dist/{applyEdit-B0CKdbR2.mjs → applyEdit-Cyj9Q0lP.mjs} +4 -3
  3. package/dist/{confirm-HoPA9uSr.mjs → confirm-BYEYokBP.mjs} +24 -26
  4. package/dist/{edit-D2_W7oIL.mjs → edit-BgQo-uqd.mjs} +1 -1
  5. package/dist/{edit-CgLvvQy2.mjs → edit-DHXk9uMQ.mjs} +9 -9
  6. package/dist/{index-CX-7x1SL.mjs → index-BEPJuAyP.mjs} +1 -1
  7. package/dist/{index-DyTbbNUO.mjs → index-BKZPqxLM.mjs} +518 -500
  8. package/dist/{index-BqwYBqQF.mjs → index-BWV5njqv.mjs} +1 -1
  9. package/dist/{index-C8vnqMMv.mjs → index-DrADb2uC.mjs} +3 -2
  10. package/dist/index.mjs +6 -10
  11. package/dist/{info-BhjWwF6z.mjs → info-BLkVF0dz.mjs} +2 -2
  12. package/dist/{invoice-DppfMFDj.mjs → invoice-Ca967WuM.mjs} +2 -2
  13. package/dist/{invoiceEdit-BKEb7oNj.mjs → invoiceEdit-jwC6d-7m.mjs} +29 -28
  14. package/dist/{invoiceView-41EDyu0B.mjs → invoiceView-BQ20QFpo.mjs} +4 -3
  15. package/dist/{list-DNIbCic-.mjs → list-CeY2OdrK.mjs} +28 -25
  16. package/dist/{onlineBanking-BIjxFuQ5.mjs → onlineBanking-BjnT3Pli.mjs} +42 -39
  17. package/dist/{orderAddress-BHmLnG9Z.mjs → orderAddress-DBPQQVGw.mjs} +67 -66
  18. package/dist/{orderInfo-CiPVCQxz.mjs → orderInfo-D_KS6_dc.mjs} +23 -20
  19. package/dist/orderPaper-DAXED5UU.mjs +148 -0
  20. package/dist/{payment-B8q1Mpiy.mjs → payment-DD_Lhvf0.mjs} +7 -7
  21. package/dist/{prompt-CF5J3V95.mjs → prompt-DQX4apPU.mjs} +1 -1
  22. package/dist/{sendDialog-D50t3cjw.mjs → sendDialog-B0HE_2cs.mjs} +4 -4
  23. package/dist/style.css +1 -1
  24. package/dts/api/buyer/lqfp-fp/types.d.ts +1 -0
  25. package/dts/api/buyer/order-newspaper/types.d.ts +1 -1
  26. package/dts/api/buyer/order-user-address/types.d.ts +1 -0
  27. package/dts/utils/momentPlugin.d.ts +5 -0
  28. package/dts/views/buyer/order-newspaper/payment copy.vue.d.ts +2 -0
  29. package/package.json +62 -62
  30. package/dist/orderPaper-DLv8c7Hi.mjs +0 -153
package/README.md CHANGED
@@ -1,51 +1,51 @@
1
- # pnpm publish --no-git-checks
2
- npm config set registry https://registry.npmjs.org/
3
-
4
- # pnpm install
5
- npm config set registry https://registry.npmmirror.com/
6
-
7
-
8
- This template should help get you started developing with Vue 3 in Vite.
9
-
10
- ## Recommended IDE Setup
11
-
12
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
13
-
14
- ## Type Support for `.vue` Imports in TS
15
-
16
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
17
-
18
- If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
19
-
20
- 1. Disable the built-in TypeScript Extension
21
- 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
22
- 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
23
- 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
24
-
25
- ## Customize configuration
26
-
27
- See [Vite Configuration Reference](https://vitejs.dev/config/).
28
-
29
- ## Project Setup
30
-
31
- ```sh
32
- pnpm install
33
- ```
34
-
35
- ### Compile and Hot-Reload for Development
36
-
37
- ```sh
38
- pnpm dev
39
- ```
40
-
41
- ### Type-Check, Compile and Minify for Production
42
-
43
- ```sh
44
- pnpm build
45
- ```
46
-
47
- ### Lint with [ESLint](https://eslint.org/)
48
-
49
- ```sh
50
- pnpm lint
51
- ```
1
+ # pnpm publish --no-git-checks
2
+ npm config set registry https://registry.npmjs.org/
3
+
4
+ # pnpm install
5
+ npm config set registry https://registry.npmmirror.com/
6
+
7
+
8
+ This template should help get you started developing with Vue 3 in Vite.
9
+
10
+ ## Recommended IDE Setup
11
+
12
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
13
+
14
+ ## Type Support for `.vue` Imports in TS
15
+
16
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
17
+
18
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
19
+
20
+ 1. Disable the built-in TypeScript Extension
21
+ 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
22
+ 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
23
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
24
+
25
+ ## Customize configuration
26
+
27
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
28
+
29
+ ## Project Setup
30
+
31
+ ```sh
32
+ pnpm install
33
+ ```
34
+
35
+ ### Compile and Hot-Reload for Development
36
+
37
+ ```sh
38
+ pnpm dev
39
+ ```
40
+
41
+ ### Type-Check, Compile and Minify for Production
42
+
43
+ ```sh
44
+ pnpm build
45
+ ```
46
+
47
+ ### Lint with [ESLint](https://eslint.org/)
48
+
49
+ ```sh
50
+ pnpm lint
51
+ ```
@@ -5,7 +5,7 @@ import { routerUtil as D } from "jmash-core";
5
5
  import { useRouter as Q, useRoute as W } from "vue-router";
6
6
  import { D as U } from "./index-BGqp7CRm.mjs";
7
7
  import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs";
8
- import { o as Z } from "./index-DyTbbNUO.mjs";
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";
11
11
  const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
@@ -245,12 +245,13 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
245
245
  "onUpdate:modelValue": l[5] || (l[5] = (o) => p.value.visible = o),
246
246
  title: p.value.title,
247
247
  onRefresh: B,
248
- width: "900px"
248
+ width: "900px",
249
+ "close-on-click-modal": !1
249
250
  }, null, 8, ["modelValue", "title"])) : K("", !0)
250
251
  ]);
251
252
  };
252
253
  }
253
- }), be = /* @__PURE__ */ ee(ae, [["__scopeId", "data-v-07a198b3"]]);
254
+ }), be = /* @__PURE__ */ ee(ae, [["__scopeId", "data-v-9797cd8c"]]);
254
255
  export {
255
256
  be as default
256
257
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, mergeModels as h, useModel as U, ref as E, reactive as y, resolveComponent as n, createBlock as H, openBlock as B, withCtx as o, createVNode as e, unref as a, createElementVNode as F, createTextVNode as V, toDisplayString as g } from "vue";
1
+ import { defineComponent as Y, mergeModels as h, useModel as U, ref as E, reactive as y, resolveComponent as n, createBlock as H, openBlock as B, withCtx as o, createVNode as e, unref as r, createElementVNode as F, createTextVNode as V, toDisplayString as g } from "vue";
2
2
  import { useI18n as K } from "vue-i18n";
3
3
  import { useRouter as j, useRoute as O } from "vue-router";
4
4
  import { ElMessage as k } from "element-plus";
@@ -26,10 +26,8 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
26
26
  }),
27
27
  emits: /* @__PURE__ */ h(["close"], ["update:modelValue"]),
28
28
  setup(i, { emit: v }) {
29
- const _ = i, u = U(i, "modelValue"), R = v, { t: c } = K(), P = j(), D = O(), w = E(), r = y({
30
- requestId: Math.random() * 10 + "",
31
- opponentAccountNo: "",
32
- bankSerialNo: ""
29
+ const _ = i, u = U(i, "modelValue"), R = v, { t: c } = K(), P = j(), D = O(), w = E(), a = y({
30
+ requestId: Math.random() * 10 + ""
33
31
  }), q = y({
34
32
  opponentAccountNo: [
35
33
  {
@@ -51,7 +49,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
51
49
  if (t)
52
50
  try {
53
51
  (await z.completedTransfer({
54
- ...r,
52
+ ...a,
55
53
  shopPayInfoId: _.confirmKey.shopPayInfoId,
56
54
  orderCode: _.confirmKey.orderCode
57
55
  })).data === "success" && (k.success(c("common.submitSuccess")), f(), P.push({
@@ -67,8 +65,8 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
67
65
  R("close"), u.value = !1;
68
66
  }
69
67
  return (l, t) => {
70
- const p = n("el-input"), s = n("el-form-item"), m = n("el-col"), S = n("el-date-picker"), A = n("el-divider"), C = n("el-image"), I = n("el-row"), M = n("el-form"), b = n("el-button"), T = n("el-dialog");
71
- return B(), H(T, {
68
+ const p = n("el-input"), s = n("el-form-item"), m = n("el-col"), C = n("el-date-picker"), I = n("el-divider"), M = n("el-image"), S = n("el-row"), T = n("el-form"), b = n("el-button"), A = n("el-dialog");
69
+ return B(), H(A, {
72
70
  modelValue: u.value,
73
71
  "onUpdate:modelValue": t[4] || (t[4] = (d) => u.value = d),
74
72
  title: i.title,
@@ -96,16 +94,16 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
96
94
  ])
97
95
  ]),
98
96
  default: o(() => [
99
- e(M, {
97
+ e(T, {
100
98
  ref_key: "confirmFormRef",
101
99
  ref: w,
102
- model: a(r),
100
+ model: r(a),
103
101
  "label-width": "120px",
104
- rules: a(q),
102
+ rules: r(q),
105
103
  style: { "margin-top": "20px" }
106
104
  }, {
107
105
  default: o(() => [
108
- e(I, { gutter: 20 }, {
106
+ e(S, { gutter: 20 }, {
109
107
  default: o(() => [
110
108
  e(m, { span: 20 }, {
111
109
  default: o(() => [
@@ -115,8 +113,8 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
115
113
  }, {
116
114
  default: o(() => [
117
115
  e(p, {
118
- modelValue: a(r).opponentAccountNo,
119
- "onUpdate:modelValue": t[0] || (t[0] = (d) => a(r).opponentAccountNo = d),
116
+ modelValue: r(a).opponentAccountNo,
117
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => r(a).opponentAccountNo = d),
120
118
  placeholder: l.$t("newsPapepr.opponentAccountNoRequired"),
121
119
  "show-word-limit": "",
122
120
  clearable: ""
@@ -134,9 +132,9 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
134
132
  prop: "tradeDateTime"
135
133
  }, {
136
134
  default: o(() => [
137
- e(S, {
138
- modelValue: a(r).tradeDateTime,
139
- "onUpdate:modelValue": t[1] || (t[1] = (d) => a(r).tradeDateTime = d),
135
+ e(C, {
136
+ modelValue: r(a).tradeDateTime,
137
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => r(a).tradeDateTime = d),
140
138
  type: "datetime",
141
139
  placeholder: l.$t("newsPapepr.tradeDateTimeRequired"),
142
140
  format: "YYYY-MM-DD HH:mm:ss",
@@ -157,8 +155,8 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
157
155
  }, {
158
156
  default: o(() => [
159
157
  e(p, {
160
- modelValue: a(r).bankSerialNo,
161
- "onUpdate:modelValue": t[2] || (t[2] = (d) => a(r).bankSerialNo = d),
158
+ modelValue: r(a).bankSerialNo,
159
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => r(a).bankSerialNo = d),
162
160
  placeholder: l.$t("newsPapepr.bankSerialNoRequired"),
163
161
  "show-word-limit": "",
164
162
  clearable: ""
@@ -177,8 +175,8 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
177
175
  }, {
178
176
  default: o(() => [
179
177
  e(p, {
180
- modelValue: a(r).handleRemark,
181
- "onUpdate:modelValue": t[3] || (t[3] = (d) => a(r).handleRemark = d),
178
+ modelValue: r(a).handleRemark,
179
+ "onUpdate:modelValue": t[3] || (t[3] = (d) => r(a).handleRemark = d),
182
180
  placeholder: l.$t("newsPapepr.handleRemarkRequired"),
183
181
  "show-word-limit": "",
184
182
  clearable: ""
@@ -189,16 +187,16 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
189
187
  ]),
190
188
  _: 1
191
189
  }),
192
- e(A),
190
+ e(I),
193
191
  e(m, { span: 24 }, {
194
192
  default: o(() => [
195
193
  e(s, {
196
194
  label: l.$t("newsPapepr.image")
197
195
  }, {
198
196
  default: o(() => [
199
- e(C, {
200
- src: a(N),
201
- "preview-src-list": [a(N)],
197
+ e(M, {
198
+ src: r(N),
199
+ "preview-src-list": [r(N)],
202
200
  "preview-teleported": "",
203
201
  "hide-on-click-modal": "",
204
202
  fit: "contain",
@@ -221,7 +219,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
221
219
  }, 8, ["modelValue", "title", "width"]);
222
220
  };
223
221
  }
224
- }), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-09dc4f32"]]);
222
+ }), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-df1b6dc1"]]);
225
223
  export {
226
224
  le as default
227
225
  };
@@ -221,7 +221,7 @@ const j = { class: "dialog-footer" }, J = /* @__PURE__ */ I({
221
221
  }, 8, ["modelValue"]);
222
222
  };
223
223
  }
224
- }), Q = /* @__PURE__ */ S(J, [["__scopeId", "data-v-f4b618e0"]]);
224
+ }), Q = /* @__PURE__ */ S(J, [["__scopeId", "data-v-e66725eb"]]);
225
225
  export {
226
226
  Q as default
227
227
  };
@@ -1,4 +1,4 @@
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 z, createTextVNode as q, toDisplayString as R } from "vue";
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";
2
2
  import { ElMessage as w } from "element-plus";
3
3
  import { JmashRegionTree as C, dictRegionApi as G } from "jmash-region";
4
4
  import { useI18n as H } from "vue-i18n";
@@ -18,7 +18,7 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
18
18
  }),
19
19
  emits: /* @__PURE__ */ y(["refresh"], ["update:modelValue"]),
20
20
  setup(b, { emit: I }) {
21
- const { t: u } = H(), g = c();
21
+ const { t: u } = H(), g = f();
22
22
  let t = A({
23
23
  requestId: Math.random() * 10 + "",
24
24
  updateMask: "note,userName,mobilePhone,provinceName,detailInfo"
@@ -61,7 +61,7 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
61
61
  trigger: "change"
62
62
  }
63
63
  ]
64
- }), i = T(b, "modelValue"), v = b, N = I, M = Object.keys(v.entityKey), _ = c(M.length >= 1);
64
+ }), i = T(b, "modelValue"), v = b, N = I, M = Object.keys(v.entityKey), _ = f(M.length >= 1);
65
65
  _.value && h.findById(v.entityKey).then(({ data: e }) => {
66
66
  Object.assign(t, e);
67
67
  });
@@ -70,23 +70,23 @@ const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ S({
70
70
  t.cityName = e;
71
71
  });
72
72
  }
73
- const f = c(/* @__PURE__ */ new Map());
73
+ const c = f(/* @__PURE__ */ new Map());
74
74
  async function B(e) {
75
75
  if (!e)
76
76
  return "";
77
- if (f.value.has(e))
78
- return f.value.get(e) || e;
77
+ if (c.value.has(e))
78
+ return c.value.get(e) || e;
79
79
  try {
80
80
  const r = await G.findByCode({
81
81
  regionCode: e
82
82
  });
83
83
  if (r.data) {
84
84
  const o = F(r.data);
85
- return f.value.set(e, o), o;
85
+ return c.value.set(e, o), o;
86
86
  }
87
87
  return e;
88
88
  } catch {
89
- return f.value.set(e, e), e;
89
+ return c.value.set(e, e), e;
90
90
  }
91
91
  }
92
92
  function F(e) {
@@ -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-2b93f823"]]);
265
+ }), oe = /* @__PURE__ */ L(W, [["__scopeId", "data-v-cbbeb2ba"]]);
266
266
  export {
267
267
  oe as default
268
268
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as ie, ref as T, onActivated as pe, resolveComponent as i, resolveDirective as me, createElementBlock as y, openBlock as p, createElementVNode as c, createVNode as a, withCtx as r, withKeys as V, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as h, createCommentVNode as I, vShow as Y, createBlock as E, isRef as W } from "vue";
2
2
  import { D as m, C as w } from "./index-BGqp7CRm.mjs";
3
- import { o as j } from "./index-DyTbbNUO.mjs";
3
+ import { o as j } from "./index-BKZPqxLM.mjs";
4
4
  import { vueMetaEnv as ce, useTableHooks as fe } from "jmash-core";
5
5
  import { useI18n as ye } from "vue-i18n";
6
6
  import { useRoute as ve, useRouter as Ie } from "vue-router";