xyvcard-paper-buyer 0.0.38 → 0.0.40

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 (36) hide show
  1. package/dist/{applyEdit-Dawg7OOU.mjs → applyEdit-B0CKdbR2.mjs} +25 -26
  2. package/dist/{confirm-2p5e0YTd.mjs → confirm-HoPA9uSr.mjs} +57 -57
  3. package/dist/index-B90ZLkZ9.mjs +98 -0
  4. package/dist/{index-VA1xSPHO.mjs → index-BqwYBqQF.mjs} +1 -1
  5. package/dist/{index-cet93VuQ.mjs → index-CX-7x1SL.mjs} +149 -144
  6. package/dist/{index-TclOpCe_.mjs → index-DspCttgG.mjs} +10 -27
  7. package/dist/{index-Ckvv9EJa.mjs → index-DyTbbNUO.mjs} +410 -405
  8. package/dist/index.mjs +2 -2
  9. package/dist/{info-BbZDNkKB.mjs → info-BhjWwF6z.mjs} +1 -1
  10. package/dist/{invoice-1CME5d68.mjs → invoice-DppfMFDj.mjs} +1 -1
  11. package/dist/{invoiceEdit-BheiUTbA.mjs → invoiceEdit-BKEb7oNj.mjs} +51 -51
  12. package/dist/{invoiceView-BzauDq3v.mjs → invoiceView-41EDyu0B.mjs} +2 -2
  13. package/dist/{list-Gi-uC47c.mjs → list-DNIbCic-.mjs} +1 -1
  14. package/dist/onlineBanking-BIjxFuQ5.mjs +199 -0
  15. package/dist/{orderAddress-BLmoG7St.mjs → orderAddress-BHmLnG9Z.mjs} +1 -1
  16. package/dist/orderInfo-CiPVCQxz.mjs +306 -0
  17. package/dist/{orderPaper-CRqHO_qE.mjs → orderPaper-DLv8c7Hi.mjs} +1 -1
  18. package/dist/{payment-Bj2wv7Zf.mjs → payment-B8q1Mpiy.mjs} +1 -1
  19. package/dist/{prompt-D3JrKZHk.mjs → prompt-CF5J3V95.mjs} +4 -4
  20. package/dist/{sendDialog-DQhLGAf_.mjs → sendDialog-D50t3cjw.mjs} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{userInvoice-S09QEhkA.mjs → userInvoice-DhoqnQE4.mjs} +1 -1
  23. package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-cUHb_KPE.mjs → userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs} +119 -100
  24. package/dts/api/buyer/lqfp-fp/index.d.ts +1 -3
  25. package/dts/api/buyer/lqfp-fp/types.d.ts +0 -32
  26. package/dts/api/buyer/order-info/index.d.ts +1 -0
  27. package/dts/api/buyer/order-newspaper/index.d.ts +2 -6
  28. package/dts/api/buyer/order-newspaper/types.d.ts +6 -10
  29. package/dts/api/buyer/user_invoice/index.d.ts +9 -0
  30. package/dts/api/buyer/user_invoice/types.d.ts +38 -0
  31. package/dts/views/buyer/order-newspaper/confirm.vue.d.ts +4 -4
  32. package/dts/views/buyer/order-newspaper/prompt.vue.d.ts +4 -4
  33. package/package.json +3 -7
  34. package/dist/index-Dph_ktOL.mjs +0 -9456
  35. package/dist/onlineBanking-D40v8MD7.mjs +0 -208
  36. package/dist/orderInfo-CIOWPF8V.mjs +0 -309
@@ -1,133 +1,151 @@
1
- import { defineComponent as k, mergeModels as C, ref as N, reactive as T, useModel as I, resolveComponent as s, createBlock as g, openBlock as h, withCtx as m, createVNode as a, unref as e, createCommentVNode as c, createElementVNode as Y, createTextVNode as E, toDisplayString as z } from "vue";
2
- import { useI18n as G } from "vue-i18n";
3
- import { ElMessage as B } from "element-plus";
4
- import { l as S } from "./index-TclOpCe_.mjs";
5
- import { C as i, D as A } from "./index-BGqp7CRm.mjs";
6
- import { validateEmail as L, validatePhoneOrLandline as O, validateIDCard as H } from "jmash-core";
7
- const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
1
+ import { defineComponent as N, mergeModels as Y, ref as G, reactive as y, useModel as B, resolveComponent as f, createBlock as c, openBlock as h, withCtx as m, createVNode as a, unref as e, createCommentVNode as v, createElementVNode as S, createTextVNode as z, toDisplayString as w } from "vue";
2
+ import { useI18n as A } from "vue-i18n";
3
+ import { ElMessage as L } from "element-plus";
4
+ import { useUserStore as $, clearEmpty as q, request as R, validateEmail as K, validatePhoneOrLandline as O, validateIDCard as H } from "jmash-core";
5
+ import { C as i, D as J } from "./index-BGqp7CRm.mjs";
6
+ class Q {
7
+ getKey() {
8
+ }
9
+ // 查询列表用户发票信息
10
+ findMyUserInvoiceList(p) {
11
+ const d = $().user.tenant;
12
+ return q(p), R({
13
+ url: "/v1/user/user_invoice_info/mylist/" + d,
14
+ method: "get",
15
+ params: p
16
+ });
17
+ }
18
+ // 创建实体用户发票信息
19
+ createUserInvoice(p) {
20
+ return p.tenant = $().user.tenant, q(p), R({
21
+ url: "/v1/user/user_invoice_info",
22
+ method: "post",
23
+ data: p
24
+ });
25
+ }
26
+ }
27
+ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
8
28
  __name: "userInvoice",
9
29
  props: {
10
30
  modelValue: { type: Boolean },
11
31
  modelModifiers: {}
12
32
  },
13
- emits: /* @__PURE__ */ C(["refresh"], ["update:modelValue"]),
14
- setup(y, { emit: w }) {
15
- const { t: f } = G(), _ = N();
16
- let o = T(
17
- {
18
- requestId: Math.random() * 10 + "",
19
- gmfType: i.GMF_TYPE_ENT
20
- }
21
- );
22
- const q = (r, l, t) => {
23
- l && (O(l) || t(new Error(f("invoice.gmfdhRequireds")))), t();
24
- }, $ = (r, l, t) => {
25
- l && (H(l) || t(new Error(f("invoice.zrrzjhmRequireds")))), t();
26
- }, R = T({
33
+ emits: /* @__PURE__ */ Y(["refresh"], ["update:modelValue"]),
34
+ setup(b, { emit: p }) {
35
+ const { t: d } = A(), V = G();
36
+ let o = y({
37
+ requestId: Math.random() * 10 + "",
38
+ gmfType: i.GMF_TYPE_ENT
39
+ });
40
+ const U = (r, l, n) => {
41
+ l && (O(l) || n(new Error(d("invoice.gmfdhRequireds")))), n();
42
+ }, I = (r, l, n) => {
43
+ l && (H(l) || n(new Error(d("invoice.zrrzjhmRequireds")))), n();
44
+ }, j = y({
27
45
  gmfType: [
28
46
  {
29
47
  required: !0,
30
- message: f("invoice.gmfTypeRequired"),
48
+ message: d("invoice.gmfTypeRequired"),
31
49
  trigger: "change"
32
50
  }
33
51
  ],
34
52
  gmfmc: [
35
53
  {
36
54
  required: !0,
37
- message: f("invoice.gmfmcRequired"),
55
+ message: d("invoice.gmfmcRequired"),
38
56
  trigger: "blur"
39
57
  }
40
58
  ],
41
59
  nsrsbh: [
42
60
  {
43
61
  required: !0,
44
- message: f("invoice.nsrsbhRequired"),
62
+ message: d("invoice.nsrsbhRequired"),
45
63
  trigger: "blur"
46
64
  }
47
65
  ],
48
66
  sendEmail: [
49
67
  {
50
68
  required: !0,
51
- validator: (r, l, t) => {
52
- l ? L(l) ? t() : t(new Error(f("invoice.sendEmailRequireds"))) : t(new Error(f("invoice.sendEmailRequired")));
69
+ validator: (r, l, n) => {
70
+ l ? K(l) ? n() : n(new Error(d("invoice.sendEmailRequireds"))) : n(new Error(d("invoice.sendEmailRequired")));
53
71
  },
54
72
  trigger: "blur"
55
73
  }
56
74
  ],
57
75
  gmfdh: [
58
76
  {
59
- validator: q,
77
+ validator: U,
60
78
  trigger: "blur"
61
79
  }
62
80
  ],
63
81
  zrrzjhm: [
64
82
  {
65
- validator: $,
83
+ validator: I,
66
84
  trigger: "blur"
67
85
  }
68
86
  ]
69
- }), v = I(y, "modelValue"), j = w, F = async () => {
87
+ }), _ = B(b, "modelValue"), M = p, P = async () => {
70
88
  var r;
71
- await ((r = _.value) == null ? void 0 : r.validate((l) => {
72
- l && S.createUserFp(o).then((t) => {
73
- t.status === 200 && (B({
74
- message: f("common.submitSuccess"),
89
+ await ((r = V.value) == null ? void 0 : r.validate((l) => {
90
+ l && W.createUserInvoice(o).then((n) => {
91
+ n.status === 200 && (L({
92
+ message: d("common.submitSuccess"),
75
93
  type: "success"
76
- }), v.value && (v.value = !1), j("refresh", t.status === 200));
94
+ }), _.value && (_.value = !1), M("refresh", n.status === 200));
77
95
  });
78
96
  }));
79
97
  };
80
- function b() {
81
- v.value && (v.value = !1);
98
+ function T() {
99
+ _.value && (_.value = !1);
82
100
  }
83
101
  return (r, l) => {
84
- const t = s("jmash-enum-radio"), n = s("el-form-item"), u = s("el-col"), p = s("el-input"), M = s("jmash-dict-select"), P = s("el-row"), D = s("el-form"), V = s("el-button"), U = s("el-dialog");
85
- return h(), g(U, {
86
- modelValue: v.value,
87
- "onUpdate:modelValue": l[10] || (l[10] = (d) => v.value = d),
88
- onClose: b
102
+ const n = f("jmash-enum-radio"), u = f("el-form-item"), s = f("el-col"), g = f("el-input"), D = f("jmash-dict-select"), k = f("el-row"), F = f("el-form"), E = f("el-button"), C = f("el-dialog");
103
+ return h(), c(C, {
104
+ modelValue: _.value,
105
+ "onUpdate:modelValue": l[10] || (l[10] = (t) => _.value = t),
106
+ onClose: T
89
107
  }, {
90
108
  footer: m(() => [
91
- Y("div", J, [
92
- a(V, { onClick: b }, {
109
+ S("div", X, [
110
+ a(E, { onClick: T }, {
93
111
  default: m(() => [
94
- E(z(r.$t("common.cancel")), 1)
112
+ z(w(r.$t("common.cancel")), 1)
95
113
  ]),
96
114
  _: 1
97
115
  }),
98
- a(V, {
116
+ a(E, {
99
117
  type: "primary",
100
- onClick: F
118
+ onClick: P
101
119
  }, {
102
120
  default: m(() => [
103
- E(z(r.$t("common.confirm")), 1)
121
+ z(w(r.$t("common.confirm")), 1)
104
122
  ]),
105
123
  _: 1
106
124
  })
107
125
  ])
108
126
  ]),
109
127
  default: m(() => [
110
- a(D, {
128
+ a(F, {
111
129
  ref_key: "UserInvoiceInfoFormRef",
112
- ref: _,
130
+ ref: V,
113
131
  model: e(o),
114
132
  "label-width": "120px",
115
- rules: R
133
+ rules: j
116
134
  }, {
117
135
  default: m(() => [
118
- a(P, null, {
136
+ a(k, null, {
119
137
  default: m(() => [
120
- a(u, { span: 12 }, {
138
+ a(s, { span: 12 }, {
121
139
  default: m(() => [
122
- a(n, {
140
+ a(u, {
123
141
  label: r.$t("invoice.gmfType"),
124
142
  prop: "gmfType"
125
143
  }, {
126
144
  default: m(() => [
127
- a(t, {
145
+ a(n, {
128
146
  modelValue: e(o).gmfType,
129
- "onUpdate:modelValue": l[0] || (l[0] = (d) => e(o).gmfType = d),
130
- data: e(A).gmfTypeDict.values
147
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => e(o).gmfType = t),
148
+ data: e(J).gmfTypeDict.values
131
149
  }, null, 8, ["modelValue", "data"])
132
150
  ]),
133
151
  _: 1
@@ -135,16 +153,16 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
135
153
  ]),
136
154
  _: 1
137
155
  }),
138
- a(u, { span: 12 }, {
156
+ a(s, { span: 12 }, {
139
157
  default: m(() => [
140
- a(n, {
158
+ a(u, {
141
159
  label: e(o).gmfType === e(i).GMF_TYPE_ENT ? r.$t("invoice.gmfmc") : r.$t("invoice.name"),
142
160
  prop: "gmfmc"
143
161
  }, {
144
162
  default: m(() => [
145
- a(p, {
163
+ a(g, {
146
164
  modelValue: e(o).gmfmc,
147
- "onUpdate:modelValue": l[1] || (l[1] = (d) => e(o).gmfmc = d),
165
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => e(o).gmfmc = t),
148
166
  placeholder: e(o).gmfType === e(i).GMF_TYPE_ENT ? r.$t("invoice.gmfmcRequired") : r.$t("invoice.nameRequired"),
149
167
  maxlength: "30",
150
168
  "show-word-limit": "",
@@ -156,19 +174,19 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
156
174
  ]),
157
175
  _: 1
158
176
  }),
159
- e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), g(u, {
177
+ e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
160
178
  key: 0,
161
179
  span: 12
162
180
  }, {
163
181
  default: m(() => [
164
- a(n, {
182
+ a(u, {
165
183
  label: r.$t("invoice.nsrsbh"),
166
184
  prop: "nsrsbh"
167
185
  }, {
168
186
  default: m(() => [
169
- a(p, {
187
+ a(g, {
170
188
  modelValue: e(o).nsrsbh,
171
- "onUpdate:modelValue": l[2] || (l[2] = (d) => e(o).nsrsbh = d),
189
+ "onUpdate:modelValue": l[2] || (l[2] = (t) => e(o).nsrsbh = t),
172
190
  placeholder: r.$t("invoice.nsrsbhRequired"),
173
191
  maxlength: "60",
174
192
  "show-word-limit": "",
@@ -179,20 +197,20 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
179
197
  }, 8, ["label"])
180
198
  ]),
181
199
  _: 1
182
- })) : c("", !0),
183
- e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), g(u, {
200
+ })) : v("", !0),
201
+ e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
184
202
  key: 1,
185
203
  span: 12
186
204
  }, {
187
205
  default: m(() => [
188
- a(n, {
206
+ a(u, {
189
207
  label: r.$t("invoice.gmfdz"),
190
208
  prop: "gmfdz"
191
209
  }, {
192
210
  default: m(() => [
193
- a(p, {
211
+ a(g, {
194
212
  modelValue: e(o).gmfdz,
195
- "onUpdate:modelValue": l[3] || (l[3] = (d) => e(o).gmfdz = d),
213
+ "onUpdate:modelValue": l[3] || (l[3] = (t) => e(o).gmfdz = t),
196
214
  placeholder: r.$t("invoice.gmfdzRequired"),
197
215
  maxlength: "60",
198
216
  "show-word-limit": "",
@@ -203,20 +221,20 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
203
221
  }, 8, ["label"])
204
222
  ]),
205
223
  _: 1
206
- })) : c("", !0),
207
- e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), g(u, {
224
+ })) : v("", !0),
225
+ e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
208
226
  key: 2,
209
227
  span: 12
210
228
  }, {
211
229
  default: m(() => [
212
- a(n, {
230
+ a(u, {
213
231
  label: r.$t("invoice.gmfdh"),
214
232
  prop: "gmfdh"
215
233
  }, {
216
234
  default: m(() => [
217
- a(p, {
235
+ a(g, {
218
236
  modelValue: e(o).gmfdh,
219
- "onUpdate:modelValue": l[4] || (l[4] = (d) => e(o).gmfdh = d),
237
+ "onUpdate:modelValue": l[4] || (l[4] = (t) => e(o).gmfdh = t),
220
238
  placeholder: r.$t("invoice.gmfdhRequired"),
221
239
  maxlength: "11",
222
240
  "show-word-limit": "",
@@ -227,20 +245,20 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
227
245
  }, 8, ["label"])
228
246
  ]),
229
247
  _: 1
230
- })) : c("", !0),
231
- e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), g(u, {
248
+ })) : v("", !0),
249
+ e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
232
250
  key: 3,
233
251
  span: 12
234
252
  }, {
235
253
  default: m(() => [
236
- a(n, {
254
+ a(u, {
237
255
  label: r.$t("invoice.gmfkhh"),
238
256
  prop: "gmfkhh"
239
257
  }, {
240
258
  default: m(() => [
241
- a(p, {
259
+ a(g, {
242
260
  modelValue: e(o).gmfkhh,
243
- "onUpdate:modelValue": l[5] || (l[5] = (d) => e(o).gmfkhh = d),
261
+ "onUpdate:modelValue": l[5] || (l[5] = (t) => e(o).gmfkhh = t),
244
262
  placeholder: r.$t("invoice.gmfkhhRequired"),
245
263
  maxlength: "30",
246
264
  "show-word-limit": "",
@@ -251,20 +269,20 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
251
269
  }, 8, ["label"])
252
270
  ]),
253
271
  _: 1
254
- })) : c("", !0),
255
- e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), g(u, {
272
+ })) : v("", !0),
273
+ e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
256
274
  key: 4,
257
275
  span: 12
258
276
  }, {
259
277
  default: m(() => [
260
- a(n, {
278
+ a(u, {
261
279
  label: r.$t("invoice.gmfzh"),
262
280
  prop: "gmfzh"
263
281
  }, {
264
282
  default: m(() => [
265
- a(p, {
283
+ a(g, {
266
284
  modelValue: e(o).gmfzh,
267
- "onUpdate:modelValue": l[6] || (l[6] = (d) => e(o).gmfzh = d),
285
+ "onUpdate:modelValue": l[6] || (l[6] = (t) => e(o).gmfzh = t),
268
286
  placeholder: r.$t("invoice.gmfzhRequired"),
269
287
  maxlength: "30",
270
288
  "show-word-limit": "",
@@ -275,20 +293,20 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
275
293
  }, 8, ["label"])
276
294
  ]),
277
295
  _: 1
278
- })) : c("", !0),
279
- e(o).gmfType === e(i).GMF_TYPE_PER ? (h(), g(u, {
296
+ })) : v("", !0),
297
+ e(o).gmfType === e(i).GMF_TYPE_PER ? (h(), c(s, {
280
298
  key: 5,
281
299
  span: 12
282
300
  }, {
283
301
  default: m(() => [
284
- a(n, {
302
+ a(u, {
285
303
  label: r.$t("invoice.zrrzjlxDm"),
286
304
  prop: "zrrzjlxDm"
287
305
  }, {
288
306
  default: m(() => [
289
- a(M, {
307
+ a(D, {
290
308
  modelValue: e(o).zrrzjlxDm,
291
- "onUpdate:modelValue": l[7] || (l[7] = (d) => e(o).zrrzjlxDm = d),
309
+ "onUpdate:modelValue": l[7] || (l[7] = (t) => e(o).zrrzjlxDm = t),
292
310
  placeholder: r.$t("invoice.zrrzjlxDmRequired"),
293
311
  "type-code": e(i).DICT_TYPE_ID,
294
312
  class: "w-full"
@@ -298,20 +316,20 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
298
316
  }, 8, ["label"])
299
317
  ]),
300
318
  _: 1
301
- })) : c("", !0),
302
- e(o).gmfType === e(i).GMF_TYPE_PER ? (h(), g(u, {
319
+ })) : v("", !0),
320
+ e(o).gmfType === e(i).GMF_TYPE_PER ? (h(), c(s, {
303
321
  key: 6,
304
322
  span: 12
305
323
  }, {
306
324
  default: m(() => [
307
- a(n, {
325
+ a(u, {
308
326
  label: r.$t("invoice.zrrzjhm"),
309
327
  prop: "zrrzjhm"
310
328
  }, {
311
329
  default: m(() => [
312
- a(p, {
330
+ a(g, {
313
331
  modelValue: e(o).zrrzjhm,
314
- "onUpdate:modelValue": l[8] || (l[8] = (d) => e(o).zrrzjhm = d),
332
+ "onUpdate:modelValue": l[8] || (l[8] = (t) => e(o).zrrzjhm = t),
315
333
  placeholder: r.$t("invoice.zrrzjhmRequired"),
316
334
  maxlength: "18",
317
335
  "show-word-limit": "",
@@ -322,17 +340,17 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
322
340
  }, 8, ["label"])
323
341
  ]),
324
342
  _: 1
325
- })) : c("", !0),
326
- a(u, { span: 12 }, {
343
+ })) : v("", !0),
344
+ a(s, { span: 12 }, {
327
345
  default: m(() => [
328
- a(n, {
346
+ a(u, {
329
347
  label: r.$t("invoice.sendEmail"),
330
348
  prop: "sendEmail"
331
349
  }, {
332
350
  default: m(() => [
333
- a(p, {
351
+ a(g, {
334
352
  modelValue: e(o).sendEmail,
335
- "onUpdate:modelValue": l[9] || (l[9] = (d) => e(o).sendEmail = d),
353
+ "onUpdate:modelValue": l[9] || (l[9] = (t) => e(o).sendEmail = t),
336
354
  placeholder: r.$t("invoice.sendEmailRequired"),
337
355
  maxlength: "30",
338
356
  "show-word-limit": "",
@@ -357,5 +375,6 @@ const J = { class: "dialog-footer" }, ee = /* @__PURE__ */ k({
357
375
  }
358
376
  });
359
377
  export {
360
- ee as _
378
+ re as _,
379
+ W as u
361
380
  };
@@ -1,5 +1,5 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { LqfpFpReq, LqfpFpList, LqfpFpApi, LqfpFpDownloadReq, LqfpFpMyListReq, LqfpUserInvoiceInfoList, LqfpUserInvoiceInfoCreateReq, LqfpUserInvoiceInfoModel, InvoiceReissueReq } from "./types";
2
+ import type { LqfpFpReq, LqfpFpList, LqfpFpApi, LqfpFpDownloadReq, InvoiceReissueReq } from "./types";
3
3
  declare class LqfpFpApiImpl implements LqfpFpApi {
4
4
  getKey(): any;
5
5
  findList(query?: LqfpFpReq): AxiosPromise<LqfpFpList>;
@@ -8,8 +8,6 @@ declare class LqfpFpApiImpl implements LqfpFpApi {
8
8
  downloadXML(query: LqfpFpDownloadReq): AxiosPromise<any>;
9
9
  downloadPDF(query: LqfpFpDownloadReq): AxiosPromise<any>;
10
10
  downloadOFD(query: LqfpFpDownloadReq): AxiosPromise<any>;
11
- findMyList(query: LqfpFpMyListReq): AxiosPromise<LqfpUserInvoiceInfoList>;
12
- createUserFp(data: LqfpUserInvoiceInfoCreateReq): AxiosPromise<LqfpUserInvoiceInfoModel>;
13
11
  reissue(data: InvoiceReissueReq): AxiosPromise<boolean>;
14
12
  }
15
13
  declare const lqfpFpApi: LqfpFpApiImpl;
@@ -53,38 +53,6 @@ export interface LqfpFpRedReq extends EntityReq {
53
53
  export interface LqfpFpMyListReq extends EntityReq {
54
54
  tenant?: string;
55
55
  }
56
- export interface LqfpUserInvoiceInfoList extends EntityList {
57
- results: Array<LqfpUserInvoiceInfoModel>;
58
- }
59
- export interface LqfpUserInvoiceInfoModel extends EntityModel {
60
- tenant?: string;
61
- infoId?: string;
62
- userId?: string;
63
- gmfType?: string;
64
- gmfmc?: string;
65
- nsrsbh?: string;
66
- sendEmail?: string;
67
- }
68
- export interface LqfpUserInvoiceInfoCreateReq extends EntityReq {
69
- tenant?: string;
70
- requestId?: string;
71
- infoId?: string;
72
- gmfType?: string;
73
- gmfmc?: string;
74
- nsrsbh?: string;
75
- gmfdz?: string;
76
- gmfdh?: string;
77
- gmfkhh?: string;
78
- gmfzh?: string;
79
- sendEmail?: string;
80
- xsfkhh?: string;
81
- xsfzh?: string;
82
- xsfdz?: string;
83
- xsfdh?: string;
84
- noticeEmail?: string;
85
- zrrzjlxDm?: string;
86
- zrrzjhm?: string;
87
- }
88
56
  export interface InvoiceReissueReq {
89
57
  tenant?: string;
90
58
  requestId?: string;
@@ -12,6 +12,7 @@ declare class OrderInfoApiImpl implements OrderInfoApi {
12
12
  findOrderAddressList(query?: OrderAddressInfoReq): AxiosPromise<OrderUserAddressList>;
13
13
  lqfpApply(query?: LqfpApplyReq): AxiosPromise<boolean>;
14
14
  pay(query: OrderInfoKey): AxiosPromise<OrderPayModel>;
15
+ queryOrderAddress(query: OrderInfoKey): AxiosPromise<boolean>;
15
16
  }
16
17
  declare const orderInfoApi: OrderInfoApiImpl;
17
18
  export { orderInfoApi };
@@ -2,12 +2,6 @@ import type { AxiosPromise } from "axios";
2
2
  import type { OrderInfoKey, OrderInfoModel, OrderNewsPaperApi, OrderNewsPaperCreateReq, OrderNewsPaperGoodsModel, OrderNewsPaperGoodsPage, OrderNewsPaperGoodsReq, OrderNewsPaperGoodsSpuKey, OrderNewsPaperPayModel, OrderNewsPaperPayResultModel, OrderNewsPaperPayResultReq, OrderUserAddressModel, PayCreateReq, PayCreateRes, PayResultReq, UnionOrgModel, UnionOrgReq } from "./types";
3
3
  declare class OrderNewsPaperApiImpl implements OrderNewsPaperApi {
4
4
  getKey(model: any): any;
5
- /**
6
- * 调用外部支付创建接口
7
- * @param data 支付请求参数
8
- * @returns 支付创建结果
9
- */
10
- createPay(data: PayCreateReq): AxiosPromise<PayCreateRes>;
11
5
  findPage(query: OrderNewsPaperGoodsReq): AxiosPromise<OrderNewsPaperGoodsPage>;
12
6
  /**
13
7
  * 根据商品SPU的ID进行查询
@@ -21,6 +15,8 @@ declare class OrderNewsPaperApiImpl implements OrderNewsPaperApi {
21
15
  createOrderAddress(data: OrderUserAddressModel): AxiosPromise<boolean>;
22
16
  findUnionName(query: UnionOrgReq): AxiosPromise<UnionOrgModel>;
23
17
  completedTransfer(data: PayResultReq): AxiosPromise<"success" | boolean>;
18
+ createPay(data: PayCreateReq): AxiosPromise<PayCreateRes>;
19
+ findPayMode(query: PayCreateReq): AxiosPromise<OrderNewsPaperGoodsPage>;
24
20
  }
25
21
  declare const orderNewsPaperApi: OrderNewsPaperApiImpl;
26
22
  export { orderNewsPaperApi };
@@ -135,14 +135,10 @@ export interface UnionOrgModel extends EntityModel {
135
135
  }
136
136
  export interface PayCreateReq {
137
137
  tenant?: string;
138
- requestId?: string;
139
- merchantNo?: string;
140
- termNo?: string;
141
- payMode?: string;
142
- outOrderNo?: string;
143
- orderTitle?: string;
144
- payableAmount?: string;
145
- notifyUrl?: string;
138
+ shopId?: string;
139
+ shopPayInfoId?: string;
140
+ orderId?: string;
141
+ orderCode?: string;
146
142
  }
147
143
  export interface PayCreateRes {
148
144
  payeeName?: string;
@@ -157,10 +153,10 @@ export interface PayCreateRes {
157
153
  export interface PayResultReq {
158
154
  tenant?: string;
159
155
  requestId?: string;
160
- merchantNo?: string;
161
- orderNo?: string;
162
156
  opponentAccountNo?: string;
163
157
  bankSerialNo?: string;
164
158
  tradeDateTime?: string;
165
159
  handleRemark?: string;
160
+ shopPayInfoId?: string;
161
+ orderCode?: string;
166
162
  }
@@ -0,0 +1,9 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { UserInvoiceApi, UserInvoiceReq, UserInvoiceInfoList, UserInvoiceInfoCreateReq, UserInvoiceInfoModel } from "./types";
3
+ declare class UserInvoiceApiImpl implements UserInvoiceApi {
4
+ getKey(): any;
5
+ findMyUserInvoiceList(query: UserInvoiceReq): AxiosPromise<UserInvoiceInfoList>;
6
+ createUserInvoice(data: UserInvoiceInfoCreateReq): AxiosPromise<UserInvoiceInfoModel>;
7
+ }
8
+ declare const userInvoiceApi: UserInvoiceApiImpl;
9
+ export { userInvoiceApi };
@@ -0,0 +1,38 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList } from "jmash-core";
2
+ export interface UserInvoiceApi extends EntityApi {
3
+ }
4
+ export interface UserInvoiceReq extends EntityReq {
5
+ tenant?: string;
6
+ }
7
+ export interface UserInvoiceInfoList extends EntityList {
8
+ results: Array<UserInvoiceInfoModel>;
9
+ }
10
+ export interface UserInvoiceInfoModel extends EntityModel {
11
+ tenant?: string;
12
+ infoId?: string;
13
+ userId?: string;
14
+ gmfType?: string;
15
+ gmfmc?: string;
16
+ nsrsbh?: string;
17
+ sendEmail?: string;
18
+ }
19
+ export interface UserInvoiceInfoCreateReq extends EntityReq {
20
+ tenant?: string;
21
+ requestId?: string;
22
+ infoId?: string;
23
+ gmfType?: string;
24
+ gmfmc?: string;
25
+ nsrsbh?: string;
26
+ gmfdz?: string;
27
+ gmfdh?: string;
28
+ gmfkhh?: string;
29
+ gmfzh?: string;
30
+ sendEmail?: string;
31
+ xsfkhh?: string;
32
+ xsfzh?: string;
33
+ xsfdz?: string;
34
+ xsfdh?: string;
35
+ noticeEmail?: string;
36
+ zrrzjlxDm?: string;
37
+ zrrzjhm?: string;
38
+ }
@@ -1,8 +1,8 @@
1
- import type { PayCreateRes } from "@/api/buyer/order-newspaper/types";
1
+ import type { PayResultReq } from "@/api/buyer/order-newspaper/types";
2
2
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
3
3
  modelValue: globalThis.PropType<boolean>;
4
4
  confirmKey: {
5
- type: globalThis.PropType<PayCreateRes>;
5
+ type: globalThis.PropType<PayResultReq>;
6
6
  default: () => {};
7
7
  };
8
8
  title: {
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
18
18
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
19
19
  modelValue: globalThis.PropType<boolean>;
20
20
  confirmKey: {
21
- type: globalThis.PropType<PayCreateRes>;
21
+ type: globalThis.PropType<PayResultReq>;
22
22
  default: () => {};
23
23
  };
24
24
  title: {
@@ -34,6 +34,6 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
34
34
  }>, {
35
35
  title: string;
36
36
  width: string;
37
- confirmKey: PayCreateRes;
37
+ confirmKey: PayResultReq;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
39
  export default _default;