xyvcard-paper-buyer 0.0.38 → 0.0.39
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-Dawg7OOU.mjs → applyEdit-Bcl_bli2.mjs} +14 -14
- package/dist/{confirm-2p5e0YTd.mjs → confirm-BIHrk7gs.mjs} +57 -57
- package/dist/{edit-D2_W7oIL.mjs → edit-BgQo-uqd.mjs} +1 -1
- package/dist/{edit-CgLvvQy2.mjs → edit-DHXk9uMQ.mjs} +9 -9
- package/dist/index-B90ZLkZ9.mjs +98 -0
- package/dist/{index-cet93VuQ.mjs → index-BEPJuAyP.mjs} +149 -144
- package/dist/{index-Ckvv9EJa.mjs → index-BKZPqxLM.mjs} +485 -462
- package/dist/{index-VA1xSPHO.mjs → index-BWV5njqv.mjs} +2 -2
- package/dist/{index-C8vnqMMv.mjs → index-DISDK9IB.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-BbZDNkKB.mjs → info-BLkVF0dz.mjs} +2 -2
- package/dist/{invoice-1CME5d68.mjs → invoice-N1lsQHhB.mjs} +2 -2
- package/dist/{invoiceEdit-BheiUTbA.mjs → invoiceEdit-CILq1n3W.mjs} +1 -1
- package/dist/{invoiceView-BzauDq3v.mjs → invoiceView-ClfMLUV3.mjs} +2 -2
- package/dist/{list-Gi-uC47c.mjs → list-BPfP8vsl.mjs} +1 -1
- package/dist/onlineBanking-DfzIYOBF.mjs +199 -0
- package/dist/{orderAddress-BLmoG7St.mjs → orderAddress-CK22n9R3.mjs} +11 -11
- package/dist/orderInfo-DKPnxmRD.mjs +306 -0
- package/dist/{orderPaper-CRqHO_qE.mjs → orderPaper-Cscnx-MT.mjs} +2 -2
- package/dist/{payment-Bj2wv7Zf.mjs → payment-DD_Lhvf0.mjs} +8 -8
- package/dist/{prompt-D3JrKZHk.mjs → prompt-DQX4apPU.mjs} +4 -4
- package/dist/{sendDialog-DQhLGAf_.mjs → sendDialog-Bf8rP763.mjs} +4 -4
- package/dist/style.css +1 -1
- package/dts/api/buyer/order-info/index.d.ts +1 -0
- package/dts/api/buyer/order-newspaper/index.d.ts +2 -6
- package/dts/api/buyer/order-newspaper/types.d.ts +6 -10
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/buyer/order-newspaper/confirm.vue.d.ts +4 -4
- package/dts/views/buyer/order-newspaper/payment copy.vue.d.ts +2 -0
- package/dts/views/buyer/order-newspaper/prompt.vue.d.ts +4 -4
- package/package.json +62 -66
- package/dist/index-Dph_ktOL.mjs +0 -9456
- package/dist/onlineBanking-D40v8MD7.mjs +0 -208
- package/dist/orderInfo-CIOWPF8V.mjs +0 -309
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-BKZPqxLM.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(""), f = v([]);
|
|
16
16
|
function I() {
|
|
17
17
|
X.findMyList({}).then((e) => {
|
|
18
|
-
|
|
18
|
+
f.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 = f.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 = f.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"), m = 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(m, {
|
|
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(m, {
|
|
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: f.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(f.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(m, {
|
|
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(m, {
|
|
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(m, {
|
|
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-efe24526"]]);
|
|
255
255
|
export {
|
|
256
256
|
ve as default
|
|
257
257
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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";
|
|
2
2
|
import { useI18n as K } from "vue-i18n";
|
|
3
3
|
import { useRouter as j, useRoute as O } from "vue-router";
|
|
4
|
-
import { ElMessage as
|
|
5
|
-
import { o as z } from "./index-
|
|
6
|
-
import
|
|
4
|
+
import { ElMessage as k } from "element-plus";
|
|
5
|
+
import { o as z } from "./index-B90ZLkZ9.mjs";
|
|
6
|
+
import N from "./assets/3a1c0fd6fbc19dd2.png";
|
|
7
7
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
-
const J = { class: "footer" }, L = /* @__PURE__ */
|
|
8
|
+
const J = { class: "footer" }, L = /* @__PURE__ */ Y({
|
|
9
9
|
__name: "confirm",
|
|
10
10
|
props: /* @__PURE__ */ h({
|
|
11
11
|
confirmKey: {
|
|
@@ -26,7 +26,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
26
26
|
}),
|
|
27
27
|
emits: /* @__PURE__ */ h(["close"], ["update:modelValue"]),
|
|
28
28
|
setup(i, { emit: v }) {
|
|
29
|
-
const _ = i, u =
|
|
29
|
+
const _ = i, u = U(i, "modelValue"), R = v, { t: c } = K(), P = j(), D = O(), w = E(), r = y({
|
|
30
30
|
requestId: Math.random() * 10 + "",
|
|
31
31
|
opponentAccountNo: "",
|
|
32
32
|
bankSerialNo: ""
|
|
@@ -46,31 +46,31 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
}), $ = async () => {
|
|
49
|
-
var
|
|
50
|
-
await ((
|
|
51
|
-
if (
|
|
49
|
+
var l;
|
|
50
|
+
await ((l = w.value) == null ? void 0 : l.validate(async (t) => {
|
|
51
|
+
if (t)
|
|
52
52
|
try {
|
|
53
53
|
(await z.completedTransfer({
|
|
54
|
-
...
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
})).data === "success" && (
|
|
54
|
+
...r,
|
|
55
|
+
shopPayInfoId: _.confirmKey.shopPayInfoId,
|
|
56
|
+
orderCode: _.confirmKey.orderCode
|
|
57
|
+
})).data === "success" && (k.success(c("common.submitSuccess")), f(), P.push({
|
|
58
58
|
path: "/buyer/order-info/applyEdit",
|
|
59
|
-
query: { orderId:
|
|
59
|
+
query: { orderId: D.query.orderId }
|
|
60
60
|
}));
|
|
61
61
|
} catch {
|
|
62
|
-
|
|
62
|
+
k.error("提交失败,请重试");
|
|
63
63
|
}
|
|
64
64
|
}));
|
|
65
65
|
};
|
|
66
66
|
function f() {
|
|
67
67
|
R("close"), u.value = !1;
|
|
68
68
|
}
|
|
69
|
-
return (
|
|
70
|
-
const p = n("el-input"),
|
|
71
|
-
return B(), H(
|
|
69
|
+
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, {
|
|
72
72
|
modelValue: u.value,
|
|
73
|
-
"onUpdate:modelValue":
|
|
73
|
+
"onUpdate:modelValue": t[4] || (t[4] = (d) => u.value = d),
|
|
74
74
|
title: i.title,
|
|
75
75
|
width: i.width,
|
|
76
76
|
onClose: f,
|
|
@@ -80,7 +80,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
80
80
|
F("div", J, [
|
|
81
81
|
e(b, { onClick: f }, {
|
|
82
82
|
default: o(() => [
|
|
83
|
-
|
|
83
|
+
V(g(l.$t("common.cancel")), 1)
|
|
84
84
|
]),
|
|
85
85
|
_: 1
|
|
86
86
|
}),
|
|
@@ -89,35 +89,35 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
89
89
|
onClick: $
|
|
90
90
|
}, {
|
|
91
91
|
default: o(() => [
|
|
92
|
-
|
|
92
|
+
V(g(l.$t("common.confirm")), 1)
|
|
93
93
|
]),
|
|
94
94
|
_: 1
|
|
95
95
|
})
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
98
98
|
default: o(() => [
|
|
99
|
-
e(
|
|
99
|
+
e(M, {
|
|
100
100
|
ref_key: "confirmFormRef",
|
|
101
101
|
ref: w,
|
|
102
|
-
model: r
|
|
102
|
+
model: a(r),
|
|
103
103
|
"label-width": "120px",
|
|
104
|
-
rules:
|
|
104
|
+
rules: a(q),
|
|
105
105
|
style: { "margin-top": "20px" }
|
|
106
106
|
}, {
|
|
107
107
|
default: o(() => [
|
|
108
|
-
e(
|
|
108
|
+
e(I, { gutter: 20 }, {
|
|
109
109
|
default: o(() => [
|
|
110
|
-
e(
|
|
110
|
+
e(m, { span: 20 }, {
|
|
111
111
|
default: o(() => [
|
|
112
|
-
e(
|
|
113
|
-
label:
|
|
112
|
+
e(s, {
|
|
113
|
+
label: l.$t("newsPapepr.opponentAccountNo"),
|
|
114
114
|
prop: "opponentAccountNo"
|
|
115
115
|
}, {
|
|
116
116
|
default: o(() => [
|
|
117
117
|
e(p, {
|
|
118
|
-
modelValue: r
|
|
119
|
-
"onUpdate:modelValue":
|
|
120
|
-
placeholder:
|
|
118
|
+
modelValue: a(r).opponentAccountNo,
|
|
119
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => a(r).opponentAccountNo = d),
|
|
120
|
+
placeholder: l.$t("newsPapepr.opponentAccountNoRequired"),
|
|
121
121
|
"show-word-limit": "",
|
|
122
122
|
clearable: ""
|
|
123
123
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -127,18 +127,18 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
129
|
}),
|
|
130
|
-
e(
|
|
130
|
+
e(m, { span: 20 }, {
|
|
131
131
|
default: o(() => [
|
|
132
|
-
e(
|
|
133
|
-
label:
|
|
132
|
+
e(s, {
|
|
133
|
+
label: l.$t("newsPapepr.tradeDateTime"),
|
|
134
134
|
prop: "tradeDateTime"
|
|
135
135
|
}, {
|
|
136
136
|
default: o(() => [
|
|
137
137
|
e(S, {
|
|
138
|
-
modelValue: r
|
|
139
|
-
"onUpdate:modelValue":
|
|
138
|
+
modelValue: a(r).tradeDateTime,
|
|
139
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => a(r).tradeDateTime = d),
|
|
140
140
|
type: "datetime",
|
|
141
|
-
placeholder:
|
|
141
|
+
placeholder: l.$t("newsPapepr.tradeDateTimeRequired"),
|
|
142
142
|
format: "YYYY-MM-DD HH:mm:ss",
|
|
143
143
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
144
144
|
class: "w-full"
|
|
@@ -149,17 +149,17 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
149
149
|
]),
|
|
150
150
|
_: 1
|
|
151
151
|
}),
|
|
152
|
-
e(
|
|
152
|
+
e(m, { span: 20 }, {
|
|
153
153
|
default: o(() => [
|
|
154
|
-
e(
|
|
155
|
-
label:
|
|
154
|
+
e(s, {
|
|
155
|
+
label: l.$t("newsPapepr.bankSerialNo"),
|
|
156
156
|
prop: "bankSerialNo"
|
|
157
157
|
}, {
|
|
158
158
|
default: o(() => [
|
|
159
159
|
e(p, {
|
|
160
|
-
modelValue: r
|
|
161
|
-
"onUpdate:modelValue":
|
|
162
|
-
placeholder:
|
|
160
|
+
modelValue: a(r).bankSerialNo,
|
|
161
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => a(r).bankSerialNo = d),
|
|
162
|
+
placeholder: l.$t("newsPapepr.bankSerialNoRequired"),
|
|
163
163
|
"show-word-limit": "",
|
|
164
164
|
clearable: ""
|
|
165
165
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -169,17 +169,17 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
169
169
|
]),
|
|
170
170
|
_: 1
|
|
171
171
|
}),
|
|
172
|
-
e(
|
|
172
|
+
e(m, { span: 20 }, {
|
|
173
173
|
default: o(() => [
|
|
174
|
-
e(
|
|
175
|
-
label:
|
|
174
|
+
e(s, {
|
|
175
|
+
label: l.$t("newsPapepr.handleRemark"),
|
|
176
176
|
prop: "handleRemark"
|
|
177
177
|
}, {
|
|
178
178
|
default: o(() => [
|
|
179
179
|
e(p, {
|
|
180
|
-
modelValue: r
|
|
181
|
-
"onUpdate:modelValue":
|
|
182
|
-
placeholder:
|
|
180
|
+
modelValue: a(r).handleRemark,
|
|
181
|
+
"onUpdate:modelValue": t[3] || (t[3] = (d) => a(r).handleRemark = d),
|
|
182
|
+
placeholder: l.$t("newsPapepr.handleRemarkRequired"),
|
|
183
183
|
"show-word-limit": "",
|
|
184
184
|
clearable: ""
|
|
185
185
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -190,15 +190,15 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
190
190
|
_: 1
|
|
191
191
|
}),
|
|
192
192
|
e(A),
|
|
193
|
-
e(
|
|
193
|
+
e(m, { span: 24 }, {
|
|
194
194
|
default: o(() => [
|
|
195
|
-
e(
|
|
196
|
-
label:
|
|
195
|
+
e(s, {
|
|
196
|
+
label: l.$t("newsPapepr.image")
|
|
197
197
|
}, {
|
|
198
198
|
default: o(() => [
|
|
199
|
-
e(
|
|
200
|
-
src:
|
|
201
|
-
"preview-src-list": [
|
|
199
|
+
e(C, {
|
|
200
|
+
src: a(N),
|
|
201
|
+
"preview-src-list": [a(N)],
|
|
202
202
|
"preview-teleported": "",
|
|
203
203
|
"hide-on-click-modal": "",
|
|
204
204
|
fit: "contain",
|
|
@@ -221,7 +221,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
221
221
|
}, 8, ["modelValue", "title", "width"]);
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
}),
|
|
224
|
+
}), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-3564bac4"]]);
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
le as default
|
|
227
227
|
};
|
|
@@ -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-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
|
|
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 =
|
|
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), _ =
|
|
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
|
|
73
|
+
const c = f(/* @__PURE__ */ new Map());
|
|
74
74
|
async function B(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return "";
|
|
77
|
-
if (
|
|
78
|
-
return
|
|
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
|
|
85
|
+
return c.value.set(e, o), o;
|
|
86
86
|
}
|
|
87
87
|
return e;
|
|
88
88
|
} catch {
|
|
89
|
-
return
|
|
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-
|
|
265
|
+
}), oe = /* @__PURE__ */ L(W, [["__scopeId", "data-v-cbbeb2ba"]]);
|
|
266
266
|
export {
|
|
267
267
|
oe as default
|
|
268
268
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { useUserStore as r, clearEmpty as t, request as n } from "jmash-core";
|
|
2
|
+
class s {
|
|
3
|
+
getKey(e) {
|
|
4
|
+
return {};
|
|
5
|
+
}
|
|
6
|
+
// 查询翻页信息用户地址
|
|
7
|
+
findPage(e) {
|
|
8
|
+
e.curPage || (e.curPage = 1);
|
|
9
|
+
const o = r().user.tenant;
|
|
10
|
+
return t(e), n({
|
|
11
|
+
url: "/v1/front/goods/goods_page/" + o,
|
|
12
|
+
method: "get",
|
|
13
|
+
params: e
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 根据商品SPU的ID进行查询
|
|
18
|
+
* @param query 商品SPU的查询键,包含需要查询的SPU ID
|
|
19
|
+
* @returns 返回一个AxiosPromise对象,解析为商品SPU模型
|
|
20
|
+
*/
|
|
21
|
+
findById(e) {
|
|
22
|
+
const o = r().user.tenant;
|
|
23
|
+
return t(e), n({
|
|
24
|
+
url: "/v1/goods/goods_spu/id/" + o + "/" + e.spuId,
|
|
25
|
+
method: "get"
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
// 创建报刊订单
|
|
29
|
+
create(e) {
|
|
30
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
31
|
+
url: "/v1/front/order/order_info",
|
|
32
|
+
method: "post",
|
|
33
|
+
data: e
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
// 订单支付结果查询
|
|
37
|
+
queryPayResult(e) {
|
|
38
|
+
const o = r().user.tenant;
|
|
39
|
+
return t(e), n({
|
|
40
|
+
url: "/v1/front/order/pay_query/" + o,
|
|
41
|
+
method: "get",
|
|
42
|
+
params: e
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
// 查询订单管理
|
|
46
|
+
findOrderInfoById(e) {
|
|
47
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
48
|
+
url: "/v1/front/order/order_info/id/" + e.tenant + "/" + e.orderId,
|
|
49
|
+
method: "GET"
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
// 创建实体订单收货地址
|
|
53
|
+
createOrderAddress(e) {
|
|
54
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
55
|
+
url: "/v1/order/order_address",
|
|
56
|
+
method: "post",
|
|
57
|
+
data: e
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
// 查工会名称
|
|
61
|
+
findUnionName(e) {
|
|
62
|
+
const o = r().user.tenant;
|
|
63
|
+
return t(e), n({
|
|
64
|
+
url: "/v1/union/union_org/user/" + o,
|
|
65
|
+
method: "get",
|
|
66
|
+
params: e
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
// 已完成转账接口
|
|
70
|
+
completedTransfer(e) {
|
|
71
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
72
|
+
url: "/v1/order/complete_pay",
|
|
73
|
+
method: "post",
|
|
74
|
+
data: e
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
// 支付接口
|
|
78
|
+
createPay(e) {
|
|
79
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
80
|
+
url: "/v1/order/order_pay",
|
|
81
|
+
method: "post",
|
|
82
|
+
data: e
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
// 查支付方式
|
|
86
|
+
findPayMode(e) {
|
|
87
|
+
const o = r().user.tenant;
|
|
88
|
+
return t(e), n({
|
|
89
|
+
url: "/v1/shop/pay_info/page/" + o,
|
|
90
|
+
method: "get",
|
|
91
|
+
params: e
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const a = new s();
|
|
96
|
+
export {
|
|
97
|
+
a as o
|
|
98
|
+
};
|