xyvcard-paper-buyer 0.0.39 → 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.
- package/README.md +51 -51
- package/dist/{applyEdit-Bcl_bli2.mjs → applyEdit-B0CKdbR2.mjs} +34 -35
- package/dist/{confirm-BIHrk7gs.mjs → confirm-HoPA9uSr.mjs} +1 -1
- package/dist/{edit-DHXk9uMQ.mjs → edit-CgLvvQy2.mjs} +9 -9
- package/dist/{edit-BgQo-uqd.mjs → edit-D2_W7oIL.mjs} +1 -1
- package/dist/{index-BWV5njqv.mjs → index-BqwYBqQF.mjs} +1 -1
- package/dist/{index-DISDK9IB.mjs → index-C8vnqMMv.mjs} +1 -1
- package/dist/{index-BEPJuAyP.mjs → index-CX-7x1SL.mjs} +1 -1
- package/dist/{index-TclOpCe_.mjs → index-DspCttgG.mjs} +10 -27
- package/dist/{index-BKZPqxLM.mjs → index-DyTbbNUO.mjs} +500 -518
- package/dist/index.mjs +2 -2
- package/dist/{info-BLkVF0dz.mjs → info-BhjWwF6z.mjs} +2 -2
- package/dist/{invoice-N1lsQHhB.mjs → invoice-DppfMFDj.mjs} +2 -2
- package/dist/{invoiceEdit-CILq1n3W.mjs → invoiceEdit-BKEb7oNj.mjs} +51 -51
- package/dist/{invoiceView-ClfMLUV3.mjs → invoiceView-41EDyu0B.mjs} +3 -3
- package/dist/{list-BPfP8vsl.mjs → list-DNIbCic-.mjs} +2 -2
- package/dist/{onlineBanking-DfzIYOBF.mjs → onlineBanking-BIjxFuQ5.mjs} +1 -1
- package/dist/{orderAddress-CK22n9R3.mjs → orderAddress-BHmLnG9Z.mjs} +10 -10
- package/dist/{orderInfo-DKPnxmRD.mjs → orderInfo-CiPVCQxz.mjs} +5 -5
- package/dist/{orderPaper-Cscnx-MT.mjs → orderPaper-DLv8c7Hi.mjs} +1 -1
- package/dist/{payment-DD_Lhvf0.mjs → payment-B8q1Mpiy.mjs} +7 -7
- package/dist/{prompt-DQX4apPU.mjs → prompt-CF5J3V95.mjs} +1 -1
- package/dist/{sendDialog-Bf8rP763.mjs → sendDialog-D50t3cjw.mjs} +5 -5
- package/dist/style.css +1 -1
- package/dist/{userInvoice-S09QEhkA.mjs → userInvoice-DhoqnQE4.mjs} +1 -1
- 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
- package/dts/api/buyer/lqfp-fp/index.d.ts +1 -3
- package/dts/api/buyer/lqfp-fp/types.d.ts +0 -32
- package/dts/api/buyer/user_invoice/index.d.ts +9 -0
- package/dts/api/buyer/user_invoice/types.d.ts +38 -0
- package/package.json +62 -62
- package/dts/utils/momentPlugin.d.ts +0 -5
- package/dts/views/buyer/order-newspaper/payment copy.vue.d.ts +0 -2
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
|
+
```
|
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
import { defineComponent as J, ref as v, reactive as $, resolveComponent as r, createElementBlock as
|
|
1
|
+
import { defineComponent as J, ref as v, reactive as $, resolveComponent as r, createElementBlock as q, openBlock as i, createElementVNode as C, createBlock as y, createCommentVNode as K, createVNode as t, unref as s, withCtx as a, Fragment as R, renderList as z, createTextVNode as g, toDisplayString as h } from "vue";
|
|
2
2
|
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
|
|
7
|
-
import {
|
|
8
|
-
import { o as
|
|
9
|
-
import { _ as Z } from "./userInvoice.vue_vue_type_script_setup_true_lang-cUHb_KPE.mjs";
|
|
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";
|
|
8
|
+
import { o as Z } from "./index-DyTbbNUO.mjs";
|
|
10
9
|
import { E as x } from "./el-message-VSzNakoG.mjs";
|
|
11
10
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
11
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
|
|
13
12
|
__name: "applyEdit",
|
|
14
13
|
setup(ne) {
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
const I = Q(), _ = W(), { t: u } = O(), b = v(""), m = v([]);
|
|
15
|
+
function F() {
|
|
16
|
+
Y.findMyUserInvoiceList({}).then((e) => {
|
|
17
|
+
m.value = e.data.results;
|
|
19
18
|
});
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
F();
|
|
22
21
|
const k = v();
|
|
23
|
-
|
|
22
|
+
U.fppzDict.useDictValues();
|
|
24
23
|
let n = $({
|
|
25
24
|
requestId: Math.random() * 10 + "",
|
|
26
25
|
orderId: _.query.orderId,
|
|
27
26
|
tenant: _.query.tenant
|
|
28
27
|
});
|
|
29
|
-
const
|
|
28
|
+
const E = $({
|
|
30
29
|
fppz: [{ required: !0, message: u("lqfpFps.fplxRead"), trigger: "blur" }],
|
|
31
30
|
infoId: [{ required: !0, message: u("lqfpFps.dwmcRead"), trigger: "blur" }]
|
|
32
31
|
}), N = (e) => {
|
|
33
|
-
const l =
|
|
32
|
+
const l = m.value.find(
|
|
34
33
|
(d) => d.infoId === n.infoId
|
|
35
34
|
);
|
|
36
35
|
return !l || l.gmfType !== "person" ? !1 : e.dictCode !== "02";
|
|
37
36
|
};
|
|
38
37
|
function T(e) {
|
|
39
38
|
if (e) {
|
|
40
|
-
const l =
|
|
39
|
+
const l = m.value.find((d) => d.infoId === e);
|
|
41
40
|
l && (b.value = l.nsrsbh || "", n.email = l.sendEmail || "", l.gmfType === "person" && (n.fppz = "02"));
|
|
42
41
|
} else
|
|
43
42
|
b.value = "", n.email = "", n.fppz = "";
|
|
@@ -52,30 +51,30 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
52
51
|
const L = async () => {
|
|
53
52
|
var e;
|
|
54
53
|
await ((e = k.value) == null ? void 0 : e.validate((l) => {
|
|
55
|
-
l &&
|
|
54
|
+
l && Z.lqfpApply(n).then((d) => {
|
|
56
55
|
d.status === 200 && (x({
|
|
57
56
|
message: u("common.submitSuccess"),
|
|
58
57
|
type: "success"
|
|
59
|
-
}), D.closeTagView(_.fullPath,
|
|
58
|
+
}), D.closeTagView(_.fullPath, I, !1));
|
|
60
59
|
});
|
|
61
60
|
}));
|
|
62
61
|
};
|
|
63
62
|
function B(e) {
|
|
64
|
-
e &&
|
|
63
|
+
e && F();
|
|
65
64
|
}
|
|
66
65
|
function M() {
|
|
67
|
-
D.closeTagView(_.fullPath,
|
|
66
|
+
D.closeTagView(_.fullPath, I, !1);
|
|
68
67
|
}
|
|
69
68
|
return (e, l) => {
|
|
70
|
-
const d = r("el-radio"), P = r("el-radio-group"),
|
|
71
|
-
return i(),
|
|
69
|
+
const d = r("el-radio"), P = r("el-radio-group"), f = r("el-form-item"), c = r("el-col"), S = r("el-option"), j = r("el-select"), V = r("el-button"), w = r("el-input"), G = r("el-row"), H = r("el-form");
|
|
70
|
+
return i(), q("div", le, [
|
|
72
71
|
C("div", oe, [
|
|
73
72
|
t(H, {
|
|
74
73
|
ref_key: "lqfpFpsFormRef",
|
|
75
74
|
ref: k,
|
|
76
75
|
model: s(n),
|
|
77
76
|
"label-width": "120px",
|
|
78
|
-
rules:
|
|
77
|
+
rules: E,
|
|
79
78
|
class: "centered-form"
|
|
80
79
|
}, {
|
|
81
80
|
default: a(() => [
|
|
@@ -83,7 +82,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
83
82
|
default: a(() => [
|
|
84
83
|
t(c, { span: 24 }, {
|
|
85
84
|
default: a(() => [
|
|
86
|
-
t(
|
|
85
|
+
t(f, {
|
|
87
86
|
label: e.$t("lqfpFps.fplx"),
|
|
88
87
|
class: "center-align",
|
|
89
88
|
prop: "fppz"
|
|
@@ -94,7 +93,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
94
93
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => s(n).fppz = o)
|
|
95
94
|
}, {
|
|
96
95
|
default: a(() => [
|
|
97
|
-
(i(!0),
|
|
96
|
+
(i(!0), q(R, null, z(s(U).fppzDict.values, (o) => (i(), y(d, {
|
|
98
97
|
key: o.dictCode,
|
|
99
98
|
value: o.dictCode,
|
|
100
99
|
disabled: N(o),
|
|
@@ -116,7 +115,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
116
115
|
}),
|
|
117
116
|
t(c, { span: 24 }, {
|
|
118
117
|
default: a(() => [
|
|
119
|
-
t(
|
|
118
|
+
t(f, {
|
|
120
119
|
label: e.$t("lqfpFps.dwmc"),
|
|
121
120
|
prop: "infoId"
|
|
122
121
|
}, {
|
|
@@ -125,14 +124,14 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
125
124
|
modelValue: s(n).infoId,
|
|
126
125
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => s(n).infoId = o),
|
|
127
126
|
placeholder: e.$t("lqfpFps.dwmcRead"),
|
|
128
|
-
data:
|
|
127
|
+
data: m.value,
|
|
129
128
|
clearable: "",
|
|
130
129
|
filterable: "",
|
|
131
130
|
onChange: T,
|
|
132
131
|
style: { width: "calc(100% - 100px)", "margin-right": "38px" }
|
|
133
132
|
}, {
|
|
134
133
|
default: a(() => [
|
|
135
|
-
(i(!0),
|
|
134
|
+
(i(!0), q(R, null, z(m.value, (o) => (i(), y(S, {
|
|
136
135
|
key: o.infoId,
|
|
137
136
|
label: o.gmfmc,
|
|
138
137
|
value: o.infoId
|
|
@@ -158,12 +157,12 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
158
157
|
}),
|
|
159
158
|
t(c, { span: 24 }, {
|
|
160
159
|
default: a(() => [
|
|
161
|
-
t(
|
|
160
|
+
t(f, {
|
|
162
161
|
label: e.$t("lqfpFps.nsrsbh"),
|
|
163
162
|
prop: "nsrsbh"
|
|
164
163
|
}, {
|
|
165
164
|
default: a(() => [
|
|
166
|
-
t(
|
|
165
|
+
t(w, {
|
|
167
166
|
modelValue: b.value,
|
|
168
167
|
"onUpdate:modelValue": l[2] || (l[2] = (o) => b.value = o),
|
|
169
168
|
placeholder: e.$t("lqfpFps.nsrsbhRead"),
|
|
@@ -178,12 +177,12 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
178
177
|
}),
|
|
179
178
|
t(c, { span: 24 }, {
|
|
180
179
|
default: a(() => [
|
|
181
|
-
t(
|
|
180
|
+
t(f, {
|
|
182
181
|
label: e.$t("lqfpFps.email"),
|
|
183
182
|
prop: "email"
|
|
184
183
|
}, {
|
|
185
184
|
default: a(() => [
|
|
186
|
-
t(
|
|
185
|
+
t(w, {
|
|
187
186
|
modelValue: s(n).email,
|
|
188
187
|
"onUpdate:modelValue": l[3] || (l[3] = (o) => s(n).email = o),
|
|
189
188
|
placeholder: e.$t("lqfpFps.emailRead"),
|
|
@@ -198,12 +197,12 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
198
197
|
}),
|
|
199
198
|
t(c, { span: 24 }, {
|
|
200
199
|
default: a(() => [
|
|
201
|
-
t(
|
|
200
|
+
t(f, {
|
|
202
201
|
label: e.$t("lqfpFps.remakr"),
|
|
203
202
|
prop: "remark"
|
|
204
203
|
}, {
|
|
205
204
|
default: a(() => [
|
|
206
|
-
t(
|
|
205
|
+
t(w, {
|
|
207
206
|
modelValue: s(n).note,
|
|
208
207
|
"onUpdate:modelValue": l[4] || (l[4] = (o) => s(n).note = o),
|
|
209
208
|
placeholder: e.$t("lqfpFps.remakrRead"),
|
|
@@ -240,7 +239,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
240
239
|
_: 1
|
|
241
240
|
}, 8, ["model", "rules"])
|
|
242
241
|
]),
|
|
243
|
-
p.value.visible ? (i(), y(
|
|
242
|
+
p.value.visible ? (i(), y(X, {
|
|
244
243
|
key: 0,
|
|
245
244
|
modelValue: p.value.visible,
|
|
246
245
|
"onUpdate:modelValue": l[5] || (l[5] = (o) => p.value.visible = o),
|
|
@@ -251,7 +250,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
251
250
|
]);
|
|
252
251
|
};
|
|
253
252
|
}
|
|
254
|
-
}),
|
|
253
|
+
}), be = /* @__PURE__ */ ee(ae, [["__scopeId", "data-v-07a198b3"]]);
|
|
255
254
|
export {
|
|
256
|
-
|
|
255
|
+
be as default
|
|
257
256
|
};
|
|
@@ -221,7 +221,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
|
|
|
221
221
|
}, 8, ["modelValue", "title", "width"]);
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
}), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-
|
|
224
|
+
}), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-09dc4f32"]]);
|
|
225
225
|
export {
|
|
226
226
|
le as default
|
|
227
227
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, mergeModels as y, ref as
|
|
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";
|
|
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 =
|
|
21
|
+
const { t: u } = H(), g = c();
|
|
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), _ =
|
|
64
|
+
}), i = T(b, "modelValue"), v = b, N = I, M = Object.keys(v.entityKey), _ = c(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
|
|
73
|
+
const f = c(/* @__PURE__ */ new Map());
|
|
74
74
|
async function B(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return "";
|
|
77
|
-
if (
|
|
78
|
-
return
|
|
77
|
+
if (f.value.has(e))
|
|
78
|
+
return f.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
|
|
85
|
+
return f.value.set(e, o), o;
|
|
86
86
|
}
|
|
87
87
|
return e;
|
|
88
88
|
} catch {
|
|
89
|
-
return
|
|
89
|
+
return f.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-
|
|
265
|
+
}), oe = /* @__PURE__ */ L(W, [["__scopeId", "data-v-2b93f823"]]);
|
|
266
266
|
export {
|
|
267
267
|
oe as default
|
|
268
268
|
};
|
|
@@ -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-
|
|
224
|
+
}), Q = /* @__PURE__ */ S(J, [["__scopeId", "data-v-f4b618e0"]]);
|
|
225
225
|
export {
|
|
226
226
|
Q as default
|
|
227
227
|
};
|
|
@@ -129,7 +129,7 @@ const M = { class: "app-container" }, T = { class: "search-container" }, G = { c
|
|
|
129
129
|
]);
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
}), pe = /* @__PURE__ */ K(ee, [["__scopeId", "data-v-
|
|
132
|
+
}), pe = /* @__PURE__ */ K(ee, [["__scopeId", "data-v-82469abd"]]);
|
|
133
133
|
export {
|
|
134
134
|
pe as default
|
|
135
135
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as C, reactive as T, onActivated as le, reso
|
|
|
2
2
|
import { useTableHooks as re } from "jmash-core";
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
4
|
import { o as se } from "./index-BP8zUjOw.mjs";
|
|
5
|
-
import de from "./edit-
|
|
5
|
+
import de from "./edit-CgLvvQy2.mjs";
|
|
6
6
|
const ie = { class: "app-container" }, me = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], ke = /* @__PURE__ */ te({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ce) {
|
|
@@ -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-
|
|
3
|
+
import { o as j } from "./index-DyTbbNUO.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";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useUserStore as
|
|
2
|
-
class
|
|
1
|
+
import { useUserStore as p, clearEmpty as e, request as o } from "jmash-core";
|
|
2
|
+
class r {
|
|
3
3
|
getKey() {
|
|
4
4
|
}
|
|
5
5
|
// 查询列表信息乐企发票
|
|
6
6
|
findList(t) {
|
|
7
|
-
const n =
|
|
7
|
+
const n = p().user.tenant;
|
|
8
8
|
return e(t), o({
|
|
9
9
|
url: "/v1/lqfp/lqfp_fp_detail/list/" + n,
|
|
10
10
|
method: "get",
|
|
@@ -21,7 +21,7 @@ class s {
|
|
|
21
21
|
}
|
|
22
22
|
// 查看详情里面的发票图片展示接口
|
|
23
23
|
download(t) {
|
|
24
|
-
const n =
|
|
24
|
+
const n = p().user.tenant;
|
|
25
25
|
return e(t), o({
|
|
26
26
|
url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".jpg",
|
|
27
27
|
method: "get",
|
|
@@ -31,7 +31,7 @@ class s {
|
|
|
31
31
|
}
|
|
32
32
|
// 下载发票
|
|
33
33
|
downloadXML(t) {
|
|
34
|
-
const n =
|
|
34
|
+
const n = p().user.tenant;
|
|
35
35
|
return e(t), o({
|
|
36
36
|
url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".xml",
|
|
37
37
|
method: "get",
|
|
@@ -40,7 +40,7 @@ class s {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
downloadPDF(t) {
|
|
43
|
-
const n =
|
|
43
|
+
const n = p().user.tenant;
|
|
44
44
|
return e(t), o({
|
|
45
45
|
url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".pdf",
|
|
46
46
|
method: "get",
|
|
@@ -49,7 +49,7 @@ class s {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
downloadOFD(t) {
|
|
52
|
-
const n =
|
|
52
|
+
const n = p().user.tenant;
|
|
53
53
|
return e(t), o({
|
|
54
54
|
url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".ofd",
|
|
55
55
|
method: "get",
|
|
@@ -57,33 +57,16 @@ class s {
|
|
|
57
57
|
responseType: "blob"
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
// 查询列表用户发票信息
|
|
61
|
-
findMyList(t) {
|
|
62
|
-
const n = r().user.tenant;
|
|
63
|
-
return e(t), o({
|
|
64
|
-
url: "/v1/lqfp/user_invoice_info/mylist/" + n,
|
|
65
|
-
method: "get",
|
|
66
|
-
params: t
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
// 创建实体用户发票信息
|
|
70
|
-
createUserFp(t) {
|
|
71
|
-
return t.tenant = r().user.tenant, e(t), o({
|
|
72
|
-
url: "/v1/lqfp/user_invoice_info",
|
|
73
|
-
method: "post",
|
|
74
|
-
data: t
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
60
|
// 换开发票
|
|
78
61
|
reissue(t) {
|
|
79
|
-
return t.tenant =
|
|
62
|
+
return t.tenant = p().user.tenant, e(t), o({
|
|
80
63
|
url: "/v1/front/lqfp/reissue",
|
|
81
64
|
method: "post",
|
|
82
65
|
data: t
|
|
83
66
|
});
|
|
84
67
|
}
|
|
85
68
|
}
|
|
86
|
-
const
|
|
69
|
+
const d = new r();
|
|
87
70
|
export {
|
|
88
|
-
|
|
71
|
+
d as l
|
|
89
72
|
};
|