xyvcard-paper-buyer 0.0.37 → 0.0.38
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-CmeMnep8.mjs → applyEdit-Dawg7OOU.mjs} +14 -14
- package/dist/{confirm-BBtbi4mX.mjs → confirm-2p5e0YTd.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-DISDK9IB.mjs → index-C8vnqMMv.mjs} +1 -1
- package/dist/{index-CT0KG-ax.mjs → index-Ckvv9EJa.mjs} +382 -378
- package/dist/{index-ky8hEDAn.mjs → index-VA1xSPHO.mjs} +1 -1
- package/dist/{index-D1h7204v.mjs → index-cet93VuQ.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-BsMR6OqZ.mjs → info-BbZDNkKB.mjs} +2 -2
- package/dist/{invoice-N1lsQHhB.mjs → invoice-1CME5d68.mjs} +2 -2
- package/dist/{invoiceEdit-CILq1n3W.mjs → invoiceEdit-BheiUTbA.mjs} +1 -1
- package/dist/{invoiceView-ClfMLUV3.mjs → invoiceView-BzauDq3v.mjs} +2 -2
- package/dist/{list-BPfP8vsl.mjs → list-Gi-uC47c.mjs} +1 -1
- package/dist/{onlineBanking-Ujhar3LT.mjs → onlineBanking-D40v8MD7.mjs} +17 -16
- package/dist/{orderAddress-CKllpjjU.mjs → orderAddress-BLmoG7St.mjs} +10 -10
- package/dist/{orderInfo-DUeij6eN.mjs → orderInfo-CIOWPF8V.mjs} +5 -5
- package/dist/{orderPaper-DpSTDYX4.mjs → orderPaper-CRqHO_qE.mjs} +1 -1
- package/dist/{payment-BkxF9Q0m.mjs → payment-Bj2wv7Zf.mjs} +7 -7
- package/dist/{prompt-CsoFkmiu.mjs → prompt-D3JrKZHk.mjs} +4 -4
- package/dist/{sendDialog-Bf8rP763.mjs → sendDialog-DQhLGAf_.mjs} +4 -4
- package/dist/style.css +1 -1
- package/package.json +11 -11
- 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
|
+
```
|
|
@@ -5,17 +5,17 @@ import { routerUtil as D } from "jmash-core";
|
|
|
5
5
|
import { useRouter as Q, useRoute as W } from "vue-router";
|
|
6
6
|
import { D as E } from "./index-BGqp7CRm.mjs";
|
|
7
7
|
import { l as X } from "./index-TclOpCe_.mjs";
|
|
8
|
-
import { o as Y } from "./index-
|
|
8
|
+
import { o as Y } from "./index-Ckvv9EJa.mjs";
|
|
9
9
|
import { _ as Z } from "./userInvoice.vue_vue_type_script_setup_true_lang-cUHb_KPE.mjs";
|
|
10
10
|
import { E as x } from "./el-message-VSzNakoG.mjs";
|
|
11
11
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
12
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
|
|
13
13
|
__name: "applyEdit",
|
|
14
14
|
setup(ne) {
|
|
15
|
-
const F = Q(), _ = W(), { t: u } = O(), b = v(""),
|
|
15
|
+
const F = Q(), _ = W(), { t: u } = O(), b = v(""), m = v([]);
|
|
16
16
|
function I() {
|
|
17
17
|
X.findMyList({}).then((e) => {
|
|
18
|
-
|
|
18
|
+
m.value = e.data.results;
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
I();
|
|
@@ -30,14 +30,14 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
30
30
|
fppz: [{ required: !0, message: u("lqfpFps.fplxRead"), trigger: "blur" }],
|
|
31
31
|
infoId: [{ required: !0, message: u("lqfpFps.dwmcRead"), trigger: "blur" }]
|
|
32
32
|
}), N = (e) => {
|
|
33
|
-
const l =
|
|
33
|
+
const l = m.value.find(
|
|
34
34
|
(d) => d.infoId === n.infoId
|
|
35
35
|
);
|
|
36
36
|
return !l || l.gmfType !== "person" ? !1 : e.dictCode !== "02";
|
|
37
37
|
};
|
|
38
38
|
function T(e) {
|
|
39
39
|
if (e) {
|
|
40
|
-
const l =
|
|
40
|
+
const l = m.value.find((d) => d.infoId === e);
|
|
41
41
|
l && (b.value = l.nsrsbh || "", n.email = l.sendEmail || "", l.gmfType === "person" && (n.fppz = "02"));
|
|
42
42
|
} else
|
|
43
43
|
b.value = "", n.email = "", n.fppz = "";
|
|
@@ -67,7 +67,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
67
67
|
D.closeTagView(_.fullPath, F, !1);
|
|
68
68
|
}
|
|
69
69
|
return (e, l) => {
|
|
70
|
-
const d = r("el-radio"), P = r("el-radio-group"),
|
|
70
|
+
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"), q = r("el-input"), G = r("el-row"), H = r("el-form");
|
|
71
71
|
return i(), w("div", le, [
|
|
72
72
|
C("div", oe, [
|
|
73
73
|
t(H, {
|
|
@@ -83,7 +83,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
83
83
|
default: a(() => [
|
|
84
84
|
t(c, { span: 24 }, {
|
|
85
85
|
default: a(() => [
|
|
86
|
-
t(
|
|
86
|
+
t(f, {
|
|
87
87
|
label: e.$t("lqfpFps.fplx"),
|
|
88
88
|
class: "center-align",
|
|
89
89
|
prop: "fppz"
|
|
@@ -116,7 +116,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
116
116
|
}),
|
|
117
117
|
t(c, { span: 24 }, {
|
|
118
118
|
default: a(() => [
|
|
119
|
-
t(
|
|
119
|
+
t(f, {
|
|
120
120
|
label: e.$t("lqfpFps.dwmc"),
|
|
121
121
|
prop: "infoId"
|
|
122
122
|
}, {
|
|
@@ -125,14 +125,14 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
125
125
|
modelValue: s(n).infoId,
|
|
126
126
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => s(n).infoId = o),
|
|
127
127
|
placeholder: e.$t("lqfpFps.dwmcRead"),
|
|
128
|
-
data:
|
|
128
|
+
data: m.value,
|
|
129
129
|
clearable: "",
|
|
130
130
|
filterable: "",
|
|
131
131
|
onChange: T,
|
|
132
132
|
style: { width: "calc(100% - 100px)", "margin-right": "38px" }
|
|
133
133
|
}, {
|
|
134
134
|
default: a(() => [
|
|
135
|
-
(i(!0), w(R, null, z(
|
|
135
|
+
(i(!0), w(R, null, z(m.value, (o) => (i(), y(S, {
|
|
136
136
|
key: o.infoId,
|
|
137
137
|
label: o.gmfmc,
|
|
138
138
|
value: o.infoId
|
|
@@ -158,7 +158,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
158
158
|
}),
|
|
159
159
|
t(c, { span: 24 }, {
|
|
160
160
|
default: a(() => [
|
|
161
|
-
t(
|
|
161
|
+
t(f, {
|
|
162
162
|
label: e.$t("lqfpFps.nsrsbh"),
|
|
163
163
|
prop: "nsrsbh"
|
|
164
164
|
}, {
|
|
@@ -178,7 +178,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
178
178
|
}),
|
|
179
179
|
t(c, { span: 24 }, {
|
|
180
180
|
default: a(() => [
|
|
181
|
-
t(
|
|
181
|
+
t(f, {
|
|
182
182
|
label: e.$t("lqfpFps.email"),
|
|
183
183
|
prop: "email"
|
|
184
184
|
}, {
|
|
@@ -198,7 +198,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
198
198
|
}),
|
|
199
199
|
t(c, { span: 24 }, {
|
|
200
200
|
default: a(() => [
|
|
201
|
-
t(
|
|
201
|
+
t(f, {
|
|
202
202
|
label: e.$t("lqfpFps.remakr"),
|
|
203
203
|
prop: "remark"
|
|
204
204
|
}, {
|
|
@@ -251,7 +251,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
251
251
|
]);
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
|
-
}), ve = /* @__PURE__ */ ee(ae, [["__scopeId", "data-v-
|
|
254
|
+
}), ve = /* @__PURE__ */ ee(ae, [["__scopeId", "data-v-dced4c83"]]);
|
|
255
255
|
export {
|
|
256
256
|
ve as default
|
|
257
257
|
};
|
|
@@ -221,7 +221,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
221
221
|
}, 8, ["modelValue", "title", "width"]);
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
}), te = /* @__PURE__ */ G(L, [["__scopeId", "data-v-
|
|
224
|
+
}), te = /* @__PURE__ */ G(L, [["__scopeId", "data-v-2b057348"]]);
|
|
225
225
|
export {
|
|
226
226
|
te 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
|
};
|
|
@@ -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) {
|