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/dist/index.mjs
CHANGED
|
@@ -377,7 +377,7 @@ function g(e) {
|
|
|
377
377
|
let i = e.global.getLocaleMessage("en");
|
|
378
378
|
i = d(i, b), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
|
|
379
379
|
}
|
|
380
|
-
const R = () => import("./index-
|
|
380
|
+
const R = () => import("./index-BqwYBqQF.mjs"), w = () => import("./orderPaper-DLv8c7Hi.mjs"), P = () => import("./orderAddress-BHmLnG9Z.mjs"), q = () => import("./orderInfo-CiPVCQxz.mjs"), D = () => import("./payment-B8q1Mpiy.mjs"), N = () => import("./invoice-DppfMFDj.mjs"), z = () => import("./invoiceView-41EDyu0B.mjs"), x = () => import("./applyEdit-B0CKdbR2.mjs"), C = () => import("./invoiceEdit-BKEb7oNj.mjs"), k = () => import("./info-BhjWwF6z.mjs"), t = [
|
|
381
381
|
{
|
|
382
382
|
path: "/buyer",
|
|
383
383
|
component: r,
|
|
@@ -547,7 +547,7 @@ const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-C
|
|
|
547
547
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
548
548
|
});
|
|
549
549
|
c.value = T;
|
|
550
|
-
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-
|
|
550
|
+
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-B0CKdbR2.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CX-7x1SL.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BhjWwF6z.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-DppfMFDj.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-BKEb7oNj.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-41EDyu0B.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-DNIbCic-.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-D50t3cjw.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-DhoqnQE4.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-HoPA9uSr.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-D2_W7oIL.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-BqwYBqQF.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-BIjxFuQ5.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BHmLnG9Z.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-CiPVCQxz.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DLv8c7Hi.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-B8q1Mpiy.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-CF5J3V95.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-CgLvvQy2.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-C8vnqMMv.mjs") }), M = {
|
|
551
551
|
install(e) {
|
|
552
552
|
l(A, 7), f(t), g(h);
|
|
553
553
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as h, onMounted as Z, resolveComponent as r, createElementBlock as x, openBlock as W, createVNode as t, withCtx as s, createElementVNode as e, unref as u, toDisplayString as l, createTextVNode as m, createBlock as ee, createCommentVNode as oe } from "vue";
|
|
2
2
|
import { D as f } from "./index-BGqp7CRm.mjs";
|
|
3
|
-
import { o as q } from "./index-
|
|
3
|
+
import { o as q } from "./index-DyTbbNUO.mjs";
|
|
4
4
|
import { fileApi as R, routerUtil as te } from "jmash-core";
|
|
5
5
|
import { useRouter as se, useRoute as le } from "vue-router";
|
|
6
6
|
import { goodsSpuApi as ne } from "xyvcard-paper-goods";
|
|
@@ -188,7 +188,7 @@ const ae = { class: "app-container" }, re = { class: "subscription-container" },
|
|
|
188
188
|
]);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
}), Se = /* @__PURE__ */ ie(Pe, [["__scopeId", "data-v-
|
|
191
|
+
}), Se = /* @__PURE__ */ ie(Pe, [["__scopeId", "data-v-a566eb2f"]]);
|
|
192
192
|
export {
|
|
193
193
|
Se as default
|
|
194
194
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, ref as r, resolveComponent as d, createElementBlock as F, openBlock as $, createElementVNode as t, createVNode as o, withCtx as n, createTextVNode as a, toDisplayString as e } from "vue";
|
|
2
2
|
import { useRouter as j, useRoute as z } from "vue-router";
|
|
3
3
|
import { routerUtil as x } from "jmash-core";
|
|
4
|
-
import y from "./list-
|
|
4
|
+
import y from "./list-DNIbCic-.mjs";
|
|
5
5
|
import { l as C } from "./index-CokKesIL.mjs";
|
|
6
6
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const U = { class: "app-container" }, N = { class: "search-container" }, V = { class: "result" }, w = { class: "result-item" }, B = { class: "result-item-label" }, D = { class: "result-item" }, L = { class: "result-item-label" }, E = { class: "bottom-remark" }, R = { class: "remark-item" }, T = { class: "remark-item-label" }, A = /* @__PURE__ */ k({
|
|
@@ -168,7 +168,7 @@ const U = { class: "app-container" }, N = { class: "search-container" }, V = { c
|
|
|
168
168
|
]);
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
}), M = /* @__PURE__ */ I(A, [["__scopeId", "data-v-
|
|
171
|
+
}), M = /* @__PURE__ */ I(A, [["__scopeId", "data-v-978d2b4d"]]);
|
|
172
172
|
export {
|
|
173
173
|
M as default
|
|
174
174
|
};
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as O, ref as I, reactive as D, resolveComponent as s, createElementBlock as w, openBlock as f, createElementVNode as $, createBlock as y, createCommentVNode as Q, createVNode as o, unref as r, withCtx as t, Fragment as R, renderList as E, createTextVNode as v, toDisplayString as V } from "vue";
|
|
2
|
+
import { useI18n as W } from "vue-i18n";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as F } from "jmash-core";
|
|
5
|
-
import { useRouter as
|
|
6
|
-
import { D as
|
|
7
|
-
import { l as
|
|
8
|
-
import { _ as ee } from "./userInvoice.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { E as
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
5
|
+
import { useRouter as X, useRoute as Y } from "vue-router";
|
|
6
|
+
import { D as U } from "./index-BGqp7CRm.mjs";
|
|
7
|
+
import { l as Z } from "./index-DspCttgG.mjs";
|
|
8
|
+
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs";
|
|
9
|
+
import { E as oe } from "./el-message-VSzNakoG.mjs";
|
|
10
|
+
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
|
+
const ae = { class: "app-container" }, ne = { class: "search-container" }, se = { class: "form-footer" }, re = /* @__PURE__ */ O({
|
|
12
12
|
__name: "invoiceEdit",
|
|
13
|
-
setup(
|
|
14
|
-
const b =
|
|
13
|
+
setup(de) {
|
|
14
|
+
const b = X(), m = Y(), { t: c } = W(), N = m.query.orderCode, T = m.query.organId, g = I(""), _ = I([]);
|
|
15
15
|
function C() {
|
|
16
|
-
|
|
16
|
+
le.findMyUserInvoiceList({}).then((e) => {
|
|
17
17
|
_.value = e.data.results;
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
C();
|
|
21
|
-
const z =
|
|
22
|
-
|
|
21
|
+
const z = I();
|
|
22
|
+
U.fppzDict.useDictValues();
|
|
23
23
|
let n = D({
|
|
24
24
|
requestId: Math.random() * 10 + ""
|
|
25
25
|
});
|
|
26
|
-
const
|
|
26
|
+
const L = D({
|
|
27
27
|
fppz: [{ required: !0, message: c("lqfpFps.fplxRead"), trigger: "blur" }],
|
|
28
28
|
infoId: [{ required: !0, message: c("lqfpFps.dwmcRead"), trigger: "blur" }]
|
|
29
|
-
}),
|
|
29
|
+
}), M = (e) => {
|
|
30
30
|
const l = _.value.find(
|
|
31
31
|
(d) => d.infoId === n.infoId
|
|
32
32
|
);
|
|
33
33
|
return !l || l.gmfType !== "person" ? !1 : e.dictCode !== "02";
|
|
34
34
|
};
|
|
35
|
-
function
|
|
35
|
+
function A(e) {
|
|
36
36
|
if (e) {
|
|
37
37
|
const l = _.value.find((d) => d.infoId === e);
|
|
38
38
|
l && (g.value = l.nsrsbh || "", n.email = l.sendEmail || "", l.gmfType === "person" && (n.fppz = "02"));
|
|
39
39
|
} else
|
|
40
40
|
g.value = "", n.email = "", n.fppz = "";
|
|
41
41
|
}
|
|
42
|
-
const p =
|
|
42
|
+
const p = I({
|
|
43
43
|
title: c("common.add"),
|
|
44
44
|
visible: !1
|
|
45
45
|
});
|
|
46
|
-
function
|
|
46
|
+
function B() {
|
|
47
47
|
p.value.title = c("common.add"), p.value.visible = !0;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function P() {
|
|
50
50
|
b.push({
|
|
51
51
|
path: "/union-information/invoice"
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const S = async () => {
|
|
55
55
|
var e;
|
|
56
56
|
await ((e = z.value) == null ? void 0 : e.validate((l) => {
|
|
57
57
|
if (l) {
|
|
58
58
|
const d = {
|
|
59
59
|
requestId: n.requestId,
|
|
60
|
-
organId:
|
|
61
|
-
orderNo:
|
|
60
|
+
organId: T,
|
|
61
|
+
orderNo: N,
|
|
62
62
|
infoId: n.infoId,
|
|
63
63
|
fppz: n.fppz
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
Z.reissue(d).then((q) => {
|
|
66
66
|
if (q.status === 200) {
|
|
67
|
-
|
|
67
|
+
oe({
|
|
68
68
|
message: c("common.submitSuccess"),
|
|
69
69
|
type: "success"
|
|
70
70
|
}), F.closeTagView(m.fullPath, b, !1);
|
|
@@ -75,26 +75,26 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
75
75
|
}
|
|
76
76
|
}));
|
|
77
77
|
};
|
|
78
|
-
function
|
|
78
|
+
function j(e) {
|
|
79
79
|
e && C();
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function x() {
|
|
82
82
|
F.closeTagView(m.fullPath, b, !1);
|
|
83
83
|
}
|
|
84
84
|
return (e, l) => {
|
|
85
|
-
const d = s("el-radio"), q = s("el-radio-group"), i = s("el-form-item"), u = s("el-col"),
|
|
86
|
-
return f(), w("div",
|
|
87
|
-
$("div",
|
|
88
|
-
o(
|
|
85
|
+
const d = s("el-radio"), q = s("el-radio-group"), i = s("el-form-item"), u = s("el-col"), G = s("el-option"), H = s("el-select"), h = s("el-button"), k = s("el-input"), J = s("el-row"), K = s("el-form");
|
|
86
|
+
return f(), w("div", ae, [
|
|
87
|
+
$("div", ne, [
|
|
88
|
+
o(K, {
|
|
89
89
|
ref_key: "lqfpFpsInvoiceFormRef",
|
|
90
90
|
ref: z,
|
|
91
91
|
model: r(n),
|
|
92
92
|
"label-width": "120px",
|
|
93
|
-
rules:
|
|
93
|
+
rules: L,
|
|
94
94
|
class: "centered-form"
|
|
95
95
|
}, {
|
|
96
96
|
default: t(() => [
|
|
97
|
-
o(
|
|
97
|
+
o(J, null, {
|
|
98
98
|
default: t(() => [
|
|
99
99
|
o(u, { span: 18 }, {
|
|
100
100
|
default: t(() => [
|
|
@@ -109,14 +109,14 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
109
109
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => r(n).fppz = a)
|
|
110
110
|
}, {
|
|
111
111
|
default: t(() => [
|
|
112
|
-
(f(!0), w(R, null, E(r(
|
|
112
|
+
(f(!0), w(R, null, E(r(U).fppzDict.values, (a) => (f(), y(d, {
|
|
113
113
|
key: a.dictCode,
|
|
114
114
|
value: a.dictCode,
|
|
115
|
-
disabled:
|
|
115
|
+
disabled: M(a),
|
|
116
116
|
size: "large"
|
|
117
117
|
}, {
|
|
118
118
|
default: t(() => [
|
|
119
|
-
v(
|
|
119
|
+
v(V(a.dictName), 1)
|
|
120
120
|
]),
|
|
121
121
|
_: 2
|
|
122
122
|
}, 1032, ["value", "disabled"]))), 128))
|
|
@@ -136,17 +136,17 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
136
136
|
prop: "infoId"
|
|
137
137
|
}, {
|
|
138
138
|
default: t(() => [
|
|
139
|
-
o(
|
|
139
|
+
o(H, {
|
|
140
140
|
modelValue: r(n).infoId,
|
|
141
141
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => r(n).infoId = a),
|
|
142
142
|
placeholder: e.$t("lqfpFps.dwmcRead"),
|
|
143
143
|
data: _.value,
|
|
144
144
|
clearable: "",
|
|
145
145
|
filterable: "",
|
|
146
|
-
onChange:
|
|
146
|
+
onChange: A
|
|
147
147
|
}, {
|
|
148
148
|
default: t(() => [
|
|
149
|
-
(f(!0), w(R, null, E(_.value, (a) => (f(), y(
|
|
149
|
+
(f(!0), w(R, null, E(_.value, (a) => (f(), y(G, {
|
|
150
150
|
key: a.infoId,
|
|
151
151
|
label: a.gmfmc,
|
|
152
152
|
value: a.infoId
|
|
@@ -165,11 +165,11 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
165
165
|
o(h, {
|
|
166
166
|
type: "danger",
|
|
167
167
|
plain: "",
|
|
168
|
-
onClick:
|
|
168
|
+
onClick: B,
|
|
169
169
|
style: { "margin-left": "12px" }
|
|
170
170
|
}, {
|
|
171
171
|
default: t(() => [
|
|
172
|
-
v(
|
|
172
|
+
v(V(e.$t("common.add")), 1)
|
|
173
173
|
]),
|
|
174
174
|
_: 1
|
|
175
175
|
})
|
|
@@ -180,7 +180,7 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
180
180
|
default: t(() => [
|
|
181
181
|
o(h, {
|
|
182
182
|
type: "danger",
|
|
183
|
-
onClick:
|
|
183
|
+
onClick: P
|
|
184
184
|
}, {
|
|
185
185
|
default: t(() => l[5] || (l[5] = [
|
|
186
186
|
v(" 管理")
|
|
@@ -234,19 +234,19 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
234
234
|
]),
|
|
235
235
|
_: 1
|
|
236
236
|
}),
|
|
237
|
-
$("div",
|
|
238
|
-
o(h, { onClick:
|
|
237
|
+
$("div", se, [
|
|
238
|
+
o(h, { onClick: x }, {
|
|
239
239
|
default: t(() => [
|
|
240
|
-
v(
|
|
240
|
+
v(V(e.$t("common.cancel")), 1)
|
|
241
241
|
]),
|
|
242
242
|
_: 1
|
|
243
243
|
}),
|
|
244
244
|
o(h, {
|
|
245
245
|
type: "primary",
|
|
246
|
-
onClick:
|
|
246
|
+
onClick: S
|
|
247
247
|
}, {
|
|
248
248
|
default: t(() => [
|
|
249
|
-
v(
|
|
249
|
+
v(V(e.$t("common.confirm")), 1)
|
|
250
250
|
]),
|
|
251
251
|
_: 1
|
|
252
252
|
})
|
|
@@ -260,13 +260,13 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
260
260
|
modelValue: p.value.visible,
|
|
261
261
|
"onUpdate:modelValue": l[4] || (l[4] = (a) => p.value.visible = a),
|
|
262
262
|
title: p.value.title,
|
|
263
|
-
onRefresh:
|
|
263
|
+
onRefresh: j,
|
|
264
264
|
width: "900px"
|
|
265
|
-
}, null, 8, ["modelValue", "title"])) :
|
|
265
|
+
}, null, 8, ["modelValue", "title"])) : Q("", !0)
|
|
266
266
|
]);
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
|
-
}),
|
|
269
|
+
}), he = /* @__PURE__ */ te(re, [["__scopeId", "data-v-3a01048a"]]);
|
|
270
270
|
export {
|
|
271
|
-
|
|
271
|
+
he as default
|
|
272
272
|
};
|
|
@@ -3,8 +3,8 @@ import { useI18n as P } from "vue-i18n";
|
|
|
3
3
|
import { useRouter as X, useRoute as G } from "vue-router";
|
|
4
4
|
import { p as W } from "./index-sU6sAHrn.mjs";
|
|
5
5
|
import { routerUtil as z } from "jmash-core";
|
|
6
|
-
import J from "./sendDialog-
|
|
7
|
-
import { l as g } from "./index-
|
|
6
|
+
import J from "./sendDialog-D50t3cjw.mjs";
|
|
7
|
+
import { l as g } from "./index-DspCttgG.mjs";
|
|
8
8
|
import { l as Q } from "./index-CokKesIL.mjs";
|
|
9
9
|
import { c as E } from "./_commonjsHelpers-BVfed4GL.mjs";
|
|
10
10
|
import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -250,7 +250,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, oe = {
|
|
|
250
250
|
]);
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
}), me = /* @__PURE__ */ Y(ne, [["__scopeId", "data-v-
|
|
253
|
+
}), me = /* @__PURE__ */ Y(ne, [["__scopeId", "data-v-7706e388"]]);
|
|
254
254
|
export {
|
|
255
255
|
me as default
|
|
256
256
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, ref as s, watch as _, resolveComponent as g, createBlock as C, openBlock as q, unref as a } from "vue";
|
|
2
2
|
import { useI18n as w } from "vue-i18n";
|
|
3
3
|
import { useTableHooks as D } from "jmash-core";
|
|
4
|
-
import { l as F } from "./index-
|
|
4
|
+
import { l as F } from "./index-DspCttgG.mjs";
|
|
5
5
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const j = /* @__PURE__ */ h({
|
|
7
7
|
__name: "list",
|
|
@@ -114,7 +114,7 @@ const j = /* @__PURE__ */ h({
|
|
|
114
114
|
}, null, 8, ["list-loading", "data", "table-label"]);
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
}), L = /* @__PURE__ */ S(j, [["__scopeId", "data-v-
|
|
117
|
+
}), L = /* @__PURE__ */ S(j, [["__scopeId", "data-v-6cbe22b4"]]);
|
|
118
118
|
export {
|
|
119
119
|
L as default
|
|
120
120
|
};
|
|
@@ -193,7 +193,7 @@ const z = { class: "info-card" }, D = { class: "info-item" }, F = { class: "info
|
|
|
193
193
|
}, 8, ["modelValue", "title", "width"]);
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
|
-
}), pe = /* @__PURE__ */ T(ee, [["__scopeId", "data-v-
|
|
196
|
+
}), pe = /* @__PURE__ */ T(ee, [["__scopeId", "data-v-ec10fc32"]]);
|
|
197
197
|
export {
|
|
198
198
|
pe as default
|
|
199
199
|
};
|
|
@@ -4,13 +4,13 @@ import { o as M } from "./index-BP8zUjOw.mjs";
|
|
|
4
4
|
import { useTableHooks as G } from "jmash-core";
|
|
5
5
|
import { useI18n as J } from "vue-i18n";
|
|
6
6
|
import { useRoute as K, useRouter as W } from "vue-router";
|
|
7
|
-
import X from "./edit-
|
|
7
|
+
import X from "./edit-D2_W7oIL.mjs";
|
|
8
8
|
import { E as y } from "./el-message-VSzNakoG.mjs";
|
|
9
9
|
import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const Z = { class: "app-container" }, ee = { class: "search-container" }, te = { class: "address-management-container" }, oe = { class: "subscription-info" }, se = { class: "info-item" }, ne = { class: "value" }, le = { class: "info-item" }, ae = { class: "value" }, de = { class: "info-item" }, re = { class: "value" }, ie = { class: "action-bar" }, ue = { class: "address-table" }, me = { class: "footer" }, pe = /* @__PURE__ */ z({
|
|
11
11
|
__name: "orderAddress",
|
|
12
12
|
setup(ce) {
|
|
13
|
-
const { t: c } = J(),
|
|
13
|
+
const { t: c } = J(), v = d([]), I = K(), B = W(), f = d(0), x = d(""), r = d({
|
|
14
14
|
title: c("common.edit"),
|
|
15
15
|
visible: !1
|
|
16
16
|
});
|
|
@@ -22,11 +22,11 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
|
|
|
22
22
|
var l, a, _, b;
|
|
23
23
|
x.value = (a = (l = t.data.orderItemList) == null ? void 0 : l.results[0]) == null ? void 0 : a.itemId;
|
|
24
24
|
const e = (b = (_ = t.data.orderItemList) == null ? void 0 : _.results[0]) == null ? void 0 : b.quantity;
|
|
25
|
-
|
|
25
|
+
f.value = typeof e == "number" ? e : 0, C.value = t.data.shopId;
|
|
26
26
|
});
|
|
27
|
-
const h = q(() =>
|
|
27
|
+
const h = q(() => v.value.reduce((t, e) => t + (e.goodsNum || 0), 0)), P = q(() => f.value - h.value), V = (t) => {
|
|
28
28
|
const e = h.value - (t.goodsNum || 0);
|
|
29
|
-
return
|
|
29
|
+
return f.value - e;
|
|
30
30
|
}, T = (t) => {
|
|
31
31
|
const e = t.goodsNum ?? 0;
|
|
32
32
|
e < 0 && (t.goodsNum = 0);
|
|
@@ -36,7 +36,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
|
|
|
36
36
|
N();
|
|
37
37
|
function N() {
|
|
38
38
|
M.findList().then((t) => {
|
|
39
|
-
|
|
39
|
+
v.value = t.data.results.map((e) => ({
|
|
40
40
|
...e,
|
|
41
41
|
goodsNum: 0
|
|
42
42
|
// 初始化为0
|
|
@@ -44,7 +44,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
const R = () => {
|
|
47
|
-
const t =
|
|
47
|
+
const t = v.value.filter((e) => e.goodsNum && e.goodsNum > 0).map((e) => ({
|
|
48
48
|
addressId: e.addressId,
|
|
49
49
|
goodsNum: e.goodsNum
|
|
50
50
|
}));
|
|
@@ -95,7 +95,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
|
|
|
95
95
|
o("div", oe, [
|
|
96
96
|
o("div", se, [
|
|
97
97
|
e[5] || (e[5] = o("span", null, "总订阅份数:", -1)),
|
|
98
|
-
o("span", ne, p(
|
|
98
|
+
o("span", ne, p(f.value) + "份", 1)
|
|
99
99
|
]),
|
|
100
100
|
o("div", le, [
|
|
101
101
|
e[6] || (e[6] = o("span", null, "已分配:", -1)),
|
|
@@ -132,7 +132,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
|
|
|
132
132
|
]),
|
|
133
133
|
o("div", ue, [
|
|
134
134
|
n(b, {
|
|
135
|
-
data:
|
|
135
|
+
data: v.value,
|
|
136
136
|
border: "",
|
|
137
137
|
style: { width: "100%" },
|
|
138
138
|
"header-cell-style": { backgroundColor: "#fafafa", color: "#333" }
|
|
@@ -227,7 +227,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
|
|
|
227
227
|
]);
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
}), ke = /* @__PURE__ */ Y(pe, [["__scopeId", "data-v-
|
|
230
|
+
}), ke = /* @__PURE__ */ Y(pe, [["__scopeId", "data-v-8b47b541"]]);
|
|
231
231
|
export {
|
|
232
232
|
ke as default
|
|
233
233
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as we, ref as _, reactive as h, onMounted as Ke, resolveComponent as m, createElementBlock as Le, openBlock as k, createVNode as r, createBlock as B, createCommentVNode as D, withCtx as c, createElementVNode as t, unref as O, toDisplayString as a, createTextVNode as fe } from "vue";
|
|
2
2
|
import { useI18n as Ae } from "vue-i18n";
|
|
3
3
|
import { D as ve } from "./index-BGqp7CRm.mjs";
|
|
4
|
-
import { o as be } from "./index-
|
|
4
|
+
import { o as be } from "./index-DyTbbNUO.mjs";
|
|
5
5
|
import { fileApi as ye } from "jmash-core";
|
|
6
6
|
import { useRoute as $e, useRouter as Ue } from "vue-router";
|
|
7
7
|
import { goodsSpuApi as Me } from "xyvcard-paper-goods";
|
|
8
|
-
import qe from "./onlineBanking-
|
|
9
|
-
import Se from "./prompt-
|
|
10
|
-
import Te from "./confirm-
|
|
8
|
+
import qe from "./onlineBanking-BIjxFuQ5.mjs";
|
|
9
|
+
import Se from "./prompt-CF5J3V95.mjs";
|
|
10
|
+
import Te from "./confirm-HoPA9uSr.mjs";
|
|
11
11
|
import { o as Ie } from "./index-B90ZLkZ9.mjs";
|
|
12
12
|
import { E as _e } from "./el-message-VSzNakoG.mjs";
|
|
13
13
|
import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -300,7 +300,7 @@ const xe = { class: "app-container" }, ze = { class: "subscription-container" },
|
|
|
300
300
|
]);
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
-
}), Do = /* @__PURE__ */ je(uo, [["__scopeId", "data-v-
|
|
303
|
+
}), Do = /* @__PURE__ */ je(uo, [["__scopeId", "data-v-e445c2a6"]]);
|
|
304
304
|
export {
|
|
305
305
|
Do as default
|
|
306
306
|
};
|
|
@@ -147,7 +147,7 @@ const R = { class: "app-container" }, J = { class: "search-container" }, T = { c
|
|
|
147
147
|
]);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
|
-
}), pe = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-
|
|
150
|
+
}), pe = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-024494d4"]]);
|
|
151
151
|
export {
|
|
152
152
|
pe as default
|
|
153
153
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as x, ref as a, onMounted as L, onUnmounted as P, resolveComponent as _, createElementBlock as s, openBlock as l, createElementVNode as c, createCommentVNode as v, createVNode as u, withCtx as
|
|
2
|
-
import { l as
|
|
3
|
-
import { useRoute as
|
|
1
|
+
import { defineComponent as x, ref as a, onMounted as L, onUnmounted as P, resolveComponent as _, createElementBlock as s, openBlock as l, createElementVNode as c, createCommentVNode as v, createVNode as u, withCtx as C, unref as N } from "vue";
|
|
2
|
+
import { l as U } from "./index-sU6sAHrn.mjs";
|
|
3
|
+
import { useRoute as b, useRouter as M } from "vue-router";
|
|
4
4
|
import { o as R } from "./index-B90ZLkZ9.mjs";
|
|
5
5
|
import { ElMessage as V } from "element-plus";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -13,7 +13,7 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
|
13
13
|
}, F = /* @__PURE__ */ x({
|
|
14
14
|
__name: "payment",
|
|
15
15
|
setup(G) {
|
|
16
|
-
const n =
|
|
16
|
+
const n = b(), y = M(), h = n.query.counterUrl, i = n.query.orderId, k = n.params.tenant, d = a(""), o = a(!0), r = a(""), I = a(null), t = a();
|
|
17
17
|
L(() => {
|
|
18
18
|
g();
|
|
19
19
|
});
|
|
@@ -68,8 +68,8 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
|
68
68
|
class: "loading-icon",
|
|
69
69
|
size: 30
|
|
70
70
|
}, {
|
|
71
|
-
default:
|
|
72
|
-
u(
|
|
71
|
+
default: C(() => [
|
|
72
|
+
u(N(U))
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
75
75
|
}),
|
|
@@ -87,7 +87,7 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
|
87
87
|
]);
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
}), W = /* @__PURE__ */ B(F, [["__scopeId", "data-v-
|
|
90
|
+
}), W = /* @__PURE__ */ B(F, [["__scopeId", "data-v-fa46eda3"]]);
|
|
91
91
|
export {
|
|
92
92
|
W as default
|
|
93
93
|
};
|
|
@@ -70,7 +70,7 @@ const g = { class: "footer" }, w = /* @__PURE__ */ C({
|
|
|
70
70
|
}, 8, ["modelValue", "title", "width"]);
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
}), N = /* @__PURE__ */ b(w, [["__scopeId", "data-v-
|
|
73
|
+
}), N = /* @__PURE__ */ b(w, [["__scopeId", "data-v-b4e068ed"]]);
|
|
74
74
|
export {
|
|
75
75
|
N as default
|
|
76
76
|
};
|
|
@@ -3,7 +3,7 @@ import { useRoute as A } from "vue-router";
|
|
|
3
3
|
import { useI18n as O } from "vue-i18n";
|
|
4
4
|
import { ElMessage as T } from "element-plus";
|
|
5
5
|
import { useUserStore as z, validateEmail as G } from "jmash-core";
|
|
6
|
-
import { l as H } from "./index-
|
|
6
|
+
import { l as H } from "./index-DspCttgG.mjs";
|
|
7
7
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
8
|
const L = { class: "dialog-footer" }, P = /* @__PURE__ */ U({
|
|
9
9
|
__name: "sendDialog",
|
|
@@ -19,7 +19,7 @@ const L = { class: "dialog-footer" }, P = /* @__PURE__ */ U({
|
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ g(["refresh"], ["update:modelValue"]),
|
|
21
21
|
setup(f, { emit: F }) {
|
|
22
|
-
const { t: d } = O(),
|
|
22
|
+
const { t: d } = O(), c = A(), p = $(), b = z().user.tenant, I = c.query.orderCode, w = c.query.organId, _ = f;
|
|
23
23
|
let s = y({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
25
|
sendEmail: "",
|
|
@@ -36,7 +36,7 @@ const L = { class: "dialog-footer" }, P = /* @__PURE__ */ U({
|
|
|
36
36
|
}), n = x(f, "modelValue"), N = F;
|
|
37
37
|
function R() {
|
|
38
38
|
var t;
|
|
39
|
-
(t =
|
|
39
|
+
(t = p.value) == null || t.validate((e, a) => {
|
|
40
40
|
e && H.sendEmail(s).then((m) => {
|
|
41
41
|
m.status === 200 && (T({
|
|
42
42
|
message: d("common.submitSuccess"),
|
|
@@ -78,7 +78,7 @@ const L = { class: "dialog-footer" }, P = /* @__PURE__ */ U({
|
|
|
78
78
|
e[2] || (e[2] = V("div", { class: "title-content" }, "发送邮箱", -1)),
|
|
79
79
|
r(K, {
|
|
80
80
|
ref_key: "cardsFormRef",
|
|
81
|
-
ref:
|
|
81
|
+
ref: p,
|
|
82
82
|
model: u(s),
|
|
83
83
|
rules: D
|
|
84
84
|
}, {
|
|
@@ -114,7 +114,7 @@ const L = { class: "dialog-footer" }, P = /* @__PURE__ */ U({
|
|
|
114
114
|
}, 8, ["modelValue"]);
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
}), te = /* @__PURE__ */ J(P, [["__scopeId", "data-v-
|
|
117
|
+
}), te = /* @__PURE__ */ J(P, [["__scopeId", "data-v-d443c6c3"]]);
|
|
118
118
|
export {
|
|
119
119
|
te as default
|
|
120
120
|
};
|