xyvcard-paper-buyer 0.0.57 → 0.0.58
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/dist/{applyEdit-CNh3bH5h.mjs → applyEdit-C2PrzKta.mjs} +2 -2
- package/dist/index-C_9577tG.mjs +72 -0
- package/dist/{index-Cl3sRj1E.mjs → index-CvTXIlZt.mjs} +184 -169
- package/dist/index.mjs +14 -10
- package/dist/{info-Db-eQyrG.mjs → info-JO0c7Ddl.mjs} +1 -1
- package/dist/{invoiceEdit-B-GHm9GY.mjs → invoiceEdit-CyOin4HT.mjs} +2 -2
- package/dist/{orderInfo-PLvka9mS.mjs → orderInfo--5Dy6ucl.mjs} +1 -1
- package/dist/{userInvoice-CDsynyWz.mjs → userInvoice-BGxdy8kb.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-Bzqz4vIJ.mjs → userInvoice.vue_vue_type_script_setup_true_lang-_E3C_ACs.mjs} +1 -1
- package/dts/api/buyer/index.d.ts +1 -0
- package/dts/constant.d.ts +2 -0
- package/dts/lang/order/zh-cn.d.ts +4 -0
- package/package.json +1 -1
- package/dist/index-Knr6dYOL.mjs +0 -66
|
@@ -3,8 +3,8 @@ 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 U } from "./index-
|
|
7
|
-
import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { D as U } from "./index-C_9577tG.mjs";
|
|
7
|
+
import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-_E3C_ACs.mjs";
|
|
8
8
|
import { o as Z } from "./index-C-g3Ei_P.mjs";
|
|
9
9
|
import { E as x } from "./el-message-VSzNakoG.mjs";
|
|
10
10
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var n = (r, i, a) => i in r ? l(r, i, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[i] = a;
|
|
3
|
+
var e = (r, i, a) => n(r, typeof i != "symbol" ? i + "" : i, a);
|
|
4
|
+
import { ref as y } from "vue";
|
|
5
|
+
import { BizLayDict as T, CustomBizDict as o, EnumDict as p } from "jmash-core";
|
|
6
|
+
import { goodsCategoryApi as P } from "xyvcard-paper-goods";
|
|
7
|
+
import { EntryDict as d } from "jmash-dict";
|
|
8
|
+
class t {
|
|
9
|
+
}
|
|
10
|
+
//模块
|
|
11
|
+
e(t, "PAPER_DICT", "paper"), // 订单状态
|
|
12
|
+
e(t, "ENUM_ORDER_STATUS", y([
|
|
13
|
+
{ key: "unpay", value: "待付款" },
|
|
14
|
+
{ key: "unpost", value: "订阅成功" }
|
|
15
|
+
])), // 订单状态常量
|
|
16
|
+
e(t, "UNPAY", "unpay"), e(t, "UNPOST", "unpost"), // 发票票种
|
|
17
|
+
e(t, "LQFP_FPPZ", "Fppz"), // 开票状态
|
|
18
|
+
e(t, "INVOICE_STATUS", "xyvcard.order.protobuf.InvoiceStatus"), e(t, "UNINVOICE", "uninvoice"), e(t, "INVOICING", "invoicing"), e(t, "INVOICED", "invoiced"), // 企业
|
|
19
|
+
e(t, "GMF_TYPE_ENT", "ent"), // 个人
|
|
20
|
+
e(t, "GMF_TYPE_PER", "person"), // 证件类型
|
|
21
|
+
e(t, "DICT_TYPE_ID", "TypeID"), // 抬头类型
|
|
22
|
+
e(t, "GMF_TYPE_VALUES", y([
|
|
23
|
+
{ key: "ent", value: "企业" },
|
|
24
|
+
{ key: "person", value: "个人" }
|
|
25
|
+
])), // 订单模块
|
|
26
|
+
e(t, "MODULE_ORDER", "order"), // 支付方式
|
|
27
|
+
e(t, "PAYMENT_MODE", "xyvcard.order.protobuf.PaymentMode");
|
|
28
|
+
function _(r, i, a) {
|
|
29
|
+
return !Array.isArray(r) || r.length === 0 ? [] : r.map((s) => {
|
|
30
|
+
let E = [];
|
|
31
|
+
return Array.isArray(s.children) && s.children.length > 0 && (E = _(s.children, i, a)), {
|
|
32
|
+
value: s[a],
|
|
33
|
+
label: s[i],
|
|
34
|
+
parentId: s.parentId,
|
|
35
|
+
children: E
|
|
36
|
+
};
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
class I extends T {
|
|
40
|
+
// 实现 useValues 方法
|
|
41
|
+
useValues() {
|
|
42
|
+
return new Promise((i, a) => {
|
|
43
|
+
P.findTreeListApi(this.query).then((u) => {
|
|
44
|
+
const { data: s } = u;
|
|
45
|
+
this.values.length = 0, this.values.push(..._(s.results, "label", "value")), i(this.values);
|
|
46
|
+
}).catch(a);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
class c {
|
|
51
|
+
}
|
|
52
|
+
// 订单状态
|
|
53
|
+
e(c, "orderStatusEnum", new o(
|
|
54
|
+
t.ENUM_ORDER_STATUS,
|
|
55
|
+
{}
|
|
56
|
+
)), // 发票票种
|
|
57
|
+
e(c, "fppzDict", new d(t.LQFP_FPPZ)), // 开票状态
|
|
58
|
+
e(c, "invoiceStatusEnum", new p(
|
|
59
|
+
t.PAPER_DICT,
|
|
60
|
+
t.INVOICE_STATUS
|
|
61
|
+
)), // 商品分类(发行频率)
|
|
62
|
+
e(c, "goodsCategoryListBizLayDict", new I(
|
|
63
|
+
{}
|
|
64
|
+
)), e(c, "gmfTypeDict", new o(t.GMF_TYPE_VALUES, {})), // 支付方式
|
|
65
|
+
e(c, "paymentMode", new p(
|
|
66
|
+
t.MODULE_ORDER,
|
|
67
|
+
t.PAYMENT_MODE
|
|
68
|
+
));
|
|
69
|
+
export {
|
|
70
|
+
t as C,
|
|
71
|
+
c as D
|
|
72
|
+
};
|
|
@@ -1,47 +1,54 @@
|
|
|
1
|
-
import { defineComponent as ie, ref as U, onActivated as
|
|
2
|
-
import { D as
|
|
1
|
+
import { defineComponent as ie, ref as U, onActivated as me, resolveComponent as i, resolveDirective as pe, createElementBlock as _, openBlock as p, createElementVNode as f, createVNode as a, withCtx as r, withKeys as P, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as g, createCommentVNode as v, createBlock as V, isRef as L } from "vue";
|
|
2
|
+
import { D as I, C as w } from "./index-C_9577tG.mjs";
|
|
3
3
|
import { o as Q } from "./index-C-g3Ei_P.mjs";
|
|
4
4
|
import { vueMetaEnv as fe, useTableHooks as ce } from "jmash-core";
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { useRouter as
|
|
7
|
-
const
|
|
5
|
+
import { useI18n as ye } from "vue-i18n";
|
|
6
|
+
import { useRouter as be } from "vue-router";
|
|
7
|
+
const ve = { class: "app-container" }, Ie = { class: "search-container dis_bottom" }, _e = { class: "total-num dis_bottom" }, we = { class: "blue_color" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Se = { key: 0 }, ge = ["onClick"], ke = ["onClick"], Ne = ["onClick"], Pe = ["onClick"], Ve = ["onClick"], Ae = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "index",
|
|
9
|
-
setup(
|
|
10
|
-
|
|
9
|
+
setup(Te) {
|
|
10
|
+
I.paymentMode.useEnumValues(), I.invoiceStatusEnum.useEnumValues();
|
|
11
|
+
const q = localStorage.getItem("unionUserInfo"), z = (q ? JSON.parse(q) : {}).orgId, R = fe.APP_ORGAN_ID, { t: M } = ye(), h = be(), d = U({
|
|
11
12
|
curPage: 1,
|
|
12
13
|
pageSize: 10,
|
|
13
14
|
shopBranchId: z
|
|
14
15
|
}), {
|
|
15
|
-
tableHooks:
|
|
16
|
+
tableHooks: c,
|
|
16
17
|
multipleTableRef: K,
|
|
17
|
-
queryFormRef:
|
|
18
|
-
listLoading:
|
|
19
|
-
tableData:
|
|
18
|
+
queryFormRef: B,
|
|
19
|
+
listLoading: F,
|
|
20
|
+
tableData: W,
|
|
20
21
|
total: N
|
|
21
|
-
} = ce(
|
|
22
|
-
function
|
|
22
|
+
} = ce(M, Q, d), T = c.totalRecord;
|
|
23
|
+
function G(t) {
|
|
23
24
|
if (!t) return "0";
|
|
24
25
|
const o = parseFloat(String(t));
|
|
25
26
|
return Number.isInteger(o) ? o.toString() : o.toFixed(2);
|
|
26
27
|
}
|
|
27
|
-
const
|
|
28
|
-
function
|
|
28
|
+
const $ = U([]);
|
|
29
|
+
function H(t) {
|
|
29
30
|
if (!t || t.length !== 2) {
|
|
30
|
-
|
|
31
|
+
d.value.startDate = "", d.value.endDate = "";
|
|
31
32
|
return;
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
+
d.value.startDate = t[0], d.value.endDate = t[1];
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
36
|
+
function J() {
|
|
37
|
+
$.value = [], d.value.startDate = "", d.value.endDate = "", c.resetQuery();
|
|
37
38
|
}
|
|
38
|
-
let
|
|
39
|
+
let k = U([
|
|
39
40
|
{
|
|
40
41
|
label: "orderInfo.orderCode",
|
|
41
42
|
prop: "orderCode",
|
|
42
43
|
width: "270",
|
|
43
44
|
isColumn: !0
|
|
44
45
|
},
|
|
46
|
+
{
|
|
47
|
+
label: "orderInfo.unitName",
|
|
48
|
+
prop: "userIdentifier",
|
|
49
|
+
minWidth: "180",
|
|
50
|
+
isColumn: !0
|
|
51
|
+
},
|
|
45
52
|
{
|
|
46
53
|
label: "orderInfo.spuName",
|
|
47
54
|
prop: "spuName",
|
|
@@ -50,12 +57,6 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
50
57
|
slotName: "spuName",
|
|
51
58
|
columnType: "slot"
|
|
52
59
|
},
|
|
53
|
-
{
|
|
54
|
-
label: "orderInfo.unitName",
|
|
55
|
-
prop: "userIdentifier",
|
|
56
|
-
minWidth: "180",
|
|
57
|
-
isColumn: !0
|
|
58
|
-
},
|
|
59
60
|
{
|
|
60
61
|
label: "orderInfo.paperNumber",
|
|
61
62
|
prop: "quantity",
|
|
@@ -64,14 +65,6 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
64
65
|
slotName: "quantity",
|
|
65
66
|
columnType: "slot"
|
|
66
67
|
},
|
|
67
|
-
{
|
|
68
|
-
label: "orderInfo.unitPrice",
|
|
69
|
-
prop: "unitPrice",
|
|
70
|
-
width: "105",
|
|
71
|
-
isColumn: !0,
|
|
72
|
-
slotName: "unitPrice",
|
|
73
|
-
columnType: "slot"
|
|
74
|
-
},
|
|
75
68
|
{
|
|
76
69
|
label: "orderInfo.salesPrice",
|
|
77
70
|
prop: "salesPrice",
|
|
@@ -95,12 +88,28 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
95
88
|
columnType: "slot"
|
|
96
89
|
},
|
|
97
90
|
{
|
|
98
|
-
label: "orderInfo.
|
|
99
|
-
prop: "
|
|
91
|
+
label: "orderInfo.payMode",
|
|
92
|
+
prop: "payMode",
|
|
93
|
+
width: "90",
|
|
94
|
+
slotName: "payMode",
|
|
95
|
+
columnType: "slot",
|
|
96
|
+
isColumn: !0
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: "orderInfo.tradeTime",
|
|
100
|
+
prop: "tradeTime",
|
|
100
101
|
width: "160",
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
slotName: "tradeTime",
|
|
103
|
+
columnType: "slot",
|
|
104
|
+
isColumn: !0
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
label: "orderInfo.createTime",
|
|
108
|
+
prop: "createTime",
|
|
109
|
+
width: "160",
|
|
110
|
+
slotName: "createTime",
|
|
111
|
+
columnType: "slot",
|
|
112
|
+
isColumn: !0
|
|
104
113
|
},
|
|
105
114
|
{
|
|
106
115
|
label: "orderInfo.orderCycle",
|
|
@@ -111,12 +120,12 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
111
120
|
columnType: "slot"
|
|
112
121
|
},
|
|
113
122
|
{
|
|
114
|
-
label: "orderInfo.
|
|
115
|
-
prop: "
|
|
123
|
+
label: "orderInfo.mobilePhone",
|
|
124
|
+
prop: "mobilePhone",
|
|
116
125
|
width: "160",
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
126
|
+
isColumn: !0,
|
|
127
|
+
slotName: "mobilePhone",
|
|
128
|
+
columnType: "slot"
|
|
120
129
|
},
|
|
121
130
|
{
|
|
122
131
|
label: "common.operate",
|
|
@@ -127,20 +136,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
127
136
|
isColumn: !0
|
|
128
137
|
}
|
|
129
138
|
]);
|
|
130
|
-
function
|
|
139
|
+
function A(t) {
|
|
131
140
|
return t ? new Date(t).toLocaleString() : "";
|
|
132
141
|
}
|
|
133
142
|
function X(t) {
|
|
134
143
|
t.mobileEncrypt = !t.mobileEncrypt;
|
|
135
144
|
}
|
|
136
145
|
function Z(t) {
|
|
137
|
-
|
|
146
|
+
h.push({
|
|
138
147
|
path: "/buyer/order-info/info",
|
|
139
148
|
query: { orderId: t.orderId }
|
|
140
149
|
});
|
|
141
150
|
}
|
|
142
151
|
function x(t) {
|
|
143
|
-
|
|
152
|
+
h.push({
|
|
144
153
|
path: "/buyer/order-info/invoice",
|
|
145
154
|
query: {
|
|
146
155
|
orderCode: t.orderCode,
|
|
@@ -149,7 +158,7 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
149
158
|
});
|
|
150
159
|
}
|
|
151
160
|
function ee(t) {
|
|
152
|
-
|
|
161
|
+
h.push({
|
|
153
162
|
path: "/buyer/order-info/invoiceView",
|
|
154
163
|
query: {
|
|
155
164
|
orderCode: t.orderCode,
|
|
@@ -160,13 +169,13 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
160
169
|
async function oe(t) {
|
|
161
170
|
try {
|
|
162
171
|
const o = await Q.queryOrderAddress({ orderId: t.orderId });
|
|
163
|
-
o && o.data === !0 ?
|
|
172
|
+
o && o.data === !0 ? h.push({
|
|
164
173
|
path: "/buyer/order-newspaper/orderDetails",
|
|
165
174
|
query: {
|
|
166
175
|
orderId: t.orderId,
|
|
167
176
|
shopId: t.shopId
|
|
168
177
|
}
|
|
169
|
-
}) : o && o.data === !1 &&
|
|
178
|
+
}) : o && o.data === !1 && h.push({
|
|
170
179
|
path: "/buyer/order-newspaper/orderAddress",
|
|
171
180
|
query: { orderId: t.orderId }
|
|
172
181
|
});
|
|
@@ -174,39 +183,39 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
174
183
|
}
|
|
175
184
|
}
|
|
176
185
|
function te(t) {
|
|
177
|
-
|
|
186
|
+
h.push({
|
|
178
187
|
path: "/buyer/order-info/applyEdit",
|
|
179
188
|
query: { orderId: t.orderId }
|
|
180
189
|
});
|
|
181
190
|
}
|
|
182
|
-
return
|
|
183
|
-
|
|
191
|
+
return me(() => {
|
|
192
|
+
c.getList();
|
|
184
193
|
}), (t, o) => {
|
|
185
|
-
const O = i("el-input"),
|
|
186
|
-
return
|
|
187
|
-
|
|
188
|
-
|
|
194
|
+
const O = i("el-input"), C = i("el-form-item"), m = i("el-col"), j = i("jmash-select"), re = i("el-date-picker"), E = i("el-button"), D = i("el-row"), ae = i("el-form"), ne = i("jmash-column-select"), Y = i("el-tag"), le = i("jmash-mobileIns-component"), de = i("jmash-table"), ue = i("jmash-pagination"), se = i("el-card"), S = pe("hasPerm");
|
|
195
|
+
return p(), _("div", ve, [
|
|
196
|
+
f("div", Ie, [
|
|
197
|
+
a(ae, {
|
|
189
198
|
ref_key: "queryFormRef",
|
|
190
|
-
ref:
|
|
191
|
-
model:
|
|
199
|
+
ref: B,
|
|
200
|
+
model: d.value,
|
|
192
201
|
inline: !0
|
|
193
202
|
}, {
|
|
194
203
|
default: r(() => [
|
|
195
|
-
|
|
204
|
+
a(D, null, {
|
|
196
205
|
default: r(() => [
|
|
197
|
-
|
|
206
|
+
a(m, { span: 6 }, {
|
|
198
207
|
default: r(() => [
|
|
199
|
-
|
|
208
|
+
a(C, {
|
|
200
209
|
label: t.$t("orderInfo.orderCode"),
|
|
201
210
|
prop: "likeOrderCode"
|
|
202
211
|
}, {
|
|
203
212
|
default: r(() => [
|
|
204
|
-
|
|
205
|
-
modelValue:
|
|
206
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) =>
|
|
213
|
+
a(O, {
|
|
214
|
+
modelValue: d.value.likeOrderCode,
|
|
215
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeOrderCode = e),
|
|
207
216
|
placeholder: t.$t("orderInfo.orderCodeRequired"),
|
|
208
217
|
clearable: "",
|
|
209
|
-
onKeyup: o[1] || (o[1] = P((e) =>
|
|
218
|
+
onKeyup: o[1] || (o[1] = P((e) => n(c).handleQuery(), ["enter"])),
|
|
210
219
|
class: "!w-[203px]"
|
|
211
220
|
}, null, 8, ["modelValue", "placeholder"])
|
|
212
221
|
]),
|
|
@@ -215,19 +224,19 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
215
224
|
]),
|
|
216
225
|
_: 1
|
|
217
226
|
}),
|
|
218
|
-
|
|
227
|
+
a(m, { span: 6 }, {
|
|
219
228
|
default: r(() => [
|
|
220
|
-
|
|
229
|
+
a(C, {
|
|
221
230
|
label: t.$t("orderInfo.spuName"),
|
|
222
231
|
prop: "likeSpuName"
|
|
223
232
|
}, {
|
|
224
233
|
default: r(() => [
|
|
225
|
-
|
|
226
|
-
modelValue:
|
|
227
|
-
"onUpdate:modelValue": o[2] || (o[2] = (e) =>
|
|
234
|
+
a(O, {
|
|
235
|
+
modelValue: d.value.likeSpuName,
|
|
236
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeSpuName = e),
|
|
228
237
|
placeholder: t.$t("orderInfo.spuNameRequired"),
|
|
229
238
|
clearable: "",
|
|
230
|
-
onKeyup: o[3] || (o[3] = P((e) =>
|
|
239
|
+
onKeyup: o[3] || (o[3] = P((e) => n(c).handleQuery(), ["enter"])),
|
|
231
240
|
class: "!w-[203px]"
|
|
232
241
|
}, null, 8, ["modelValue", "placeholder"])
|
|
233
242
|
]),
|
|
@@ -236,20 +245,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
236
245
|
]),
|
|
237
246
|
_: 1
|
|
238
247
|
}),
|
|
239
|
-
|
|
248
|
+
a(m, { span: 6 }, {
|
|
240
249
|
default: r(() => [
|
|
241
|
-
|
|
250
|
+
a(C, {
|
|
242
251
|
label: t.$t("orderInfo.orderStatus"),
|
|
243
252
|
prop: "orderStatusPc"
|
|
244
253
|
}, {
|
|
245
254
|
default: r(() => [
|
|
246
|
-
|
|
247
|
-
modelValue:
|
|
248
|
-
"onUpdate:modelValue": o[4] || (o[4] = (e) =>
|
|
249
|
-
data:
|
|
255
|
+
a(j, {
|
|
256
|
+
modelValue: d.value.orderStatusPc,
|
|
257
|
+
"onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.orderStatusPc = e),
|
|
258
|
+
data: n(I).orderStatusEnum.values,
|
|
250
259
|
placeholder: t.$t("orderInfo.orderStatusRequired"),
|
|
251
260
|
clearable: "",
|
|
252
|
-
onKeyup: o[5] || (o[5] = P((e) =>
|
|
261
|
+
onKeyup: o[5] || (o[5] = P((e) => n(c).handleQuery(), ["enter"]))
|
|
253
262
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
254
263
|
]),
|
|
255
264
|
_: 1
|
|
@@ -257,20 +266,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
257
266
|
]),
|
|
258
267
|
_: 1
|
|
259
268
|
}),
|
|
260
|
-
|
|
269
|
+
a(m, { span: 6 }, {
|
|
261
270
|
default: r(() => [
|
|
262
|
-
|
|
271
|
+
a(C, {
|
|
263
272
|
label: t.$t("orderInfo.invoiceStatus"),
|
|
264
273
|
prop: "invoiceStatus"
|
|
265
274
|
}, {
|
|
266
275
|
default: r(() => [
|
|
267
|
-
|
|
268
|
-
modelValue:
|
|
269
|
-
"onUpdate:modelValue": o[6] || (o[6] = (e) =>
|
|
270
|
-
data:
|
|
276
|
+
a(j, {
|
|
277
|
+
modelValue: d.value.invoiceStatus,
|
|
278
|
+
"onUpdate:modelValue": o[6] || (o[6] = (e) => d.value.invoiceStatus = e),
|
|
279
|
+
data: n(I).invoiceStatusEnum.values,
|
|
271
280
|
placeholder: t.$t("orderInfo.invoiceStatusRequired"),
|
|
272
281
|
clearable: "",
|
|
273
|
-
onKeyup: o[7] || (o[7] = P((e) =>
|
|
282
|
+
onKeyup: o[7] || (o[7] = P((e) => n(c).handleQuery(), ["enter"]))
|
|
274
283
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
275
284
|
]),
|
|
276
285
|
_: 1
|
|
@@ -278,22 +287,22 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
278
287
|
]),
|
|
279
288
|
_: 1
|
|
280
289
|
}),
|
|
281
|
-
|
|
290
|
+
a(m, { span: 6 }, {
|
|
282
291
|
default: r(() => [
|
|
283
|
-
|
|
292
|
+
a(C, {
|
|
284
293
|
label: t.$t("orderInfo.createTime"),
|
|
285
294
|
prop: "startCreateTime"
|
|
286
295
|
}, {
|
|
287
296
|
default: r(() => [
|
|
288
|
-
|
|
289
|
-
modelValue:
|
|
290
|
-
"onUpdate:modelValue": o[8] || (o[8] = (e) =>
|
|
297
|
+
a(re, {
|
|
298
|
+
modelValue: $.value,
|
|
299
|
+
"onUpdate:modelValue": o[8] || (o[8] = (e) => $.value = e),
|
|
291
300
|
type: "daterange",
|
|
292
301
|
"start-placeholder": t.$t("orderInfo.startCreateTime"),
|
|
293
302
|
"end-placeholder": t.$t("orderInfo.endCreateTime"),
|
|
294
303
|
format: "YYYY-MM-DD",
|
|
295
304
|
"value-format": "YYYY-MM-DD",
|
|
296
|
-
onChange:
|
|
305
|
+
onChange: H
|
|
297
306
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
298
307
|
]),
|
|
299
308
|
_: 1
|
|
@@ -301,22 +310,22 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
301
310
|
]),
|
|
302
311
|
_: 1
|
|
303
312
|
}),
|
|
304
|
-
|
|
313
|
+
a(m, { span: 18 }, {
|
|
305
314
|
default: r(() => [
|
|
306
|
-
|
|
315
|
+
a(C, { class: "search-btn" }, {
|
|
307
316
|
default: r(() => [
|
|
308
|
-
|
|
317
|
+
a(E, {
|
|
309
318
|
type: "primary",
|
|
310
|
-
onClick: o[9] || (o[9] = (e) =>
|
|
319
|
+
onClick: o[9] || (o[9] = (e) => n(c).handleQuery())
|
|
311
320
|
}, {
|
|
312
321
|
default: r(() => [
|
|
313
|
-
u(
|
|
322
|
+
u(l(t.$t("common.search")), 1)
|
|
314
323
|
]),
|
|
315
324
|
_: 1
|
|
316
325
|
}),
|
|
317
|
-
|
|
326
|
+
a(E, { onClick: J }, {
|
|
318
327
|
default: r(() => [
|
|
319
|
-
u(
|
|
328
|
+
u(l(t.$t("common.reset")), 1)
|
|
320
329
|
]),
|
|
321
330
|
_: 1
|
|
322
331
|
})
|
|
@@ -333,31 +342,31 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
333
342
|
_: 1
|
|
334
343
|
}, 8, ["model"])
|
|
335
344
|
]),
|
|
336
|
-
|
|
337
|
-
|
|
345
|
+
f("div", _e, [
|
|
346
|
+
a(D, { gutter: 20 }, {
|
|
338
347
|
default: r(() => [
|
|
339
|
-
|
|
348
|
+
a(m, { span: 4 }, {
|
|
340
349
|
default: r(() => [
|
|
341
350
|
o[16] || (o[16] = u("订阅单位:")),
|
|
342
|
-
|
|
351
|
+
f("span", we, l(n(T).totalUnit || 0), 1),
|
|
343
352
|
o[17] || (o[17] = u("家 "))
|
|
344
353
|
]),
|
|
345
354
|
_: 1,
|
|
346
355
|
__: [16, 17]
|
|
347
356
|
}),
|
|
348
|
-
|
|
357
|
+
a(m, { span: 4 }, {
|
|
349
358
|
default: r(() => [
|
|
350
359
|
o[18] || (o[18] = u(" 订阅报刊:")),
|
|
351
|
-
|
|
360
|
+
f("span", he, l(n(T).totalQuantity || 0), 1),
|
|
352
361
|
o[19] || (o[19] = u("份 "))
|
|
353
362
|
]),
|
|
354
363
|
_: 1,
|
|
355
364
|
__: [18, 19]
|
|
356
365
|
}),
|
|
357
|
-
|
|
366
|
+
a(m, { span: 4 }, {
|
|
358
367
|
default: r(() => [
|
|
359
368
|
o[20] || (o[20] = u("订购总金额:")),
|
|
360
|
-
|
|
369
|
+
f("span", Ce, l(n(T).totalAmount || 0), 1),
|
|
361
370
|
o[21] || (o[21] = u("元 "))
|
|
362
371
|
]),
|
|
363
372
|
_: 1,
|
|
@@ -367,34 +376,34 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
367
376
|
_: 1
|
|
368
377
|
})
|
|
369
378
|
]),
|
|
370
|
-
|
|
379
|
+
a(se, {
|
|
371
380
|
shadow: "never",
|
|
372
381
|
class: "table-container"
|
|
373
382
|
}, {
|
|
374
383
|
header: r(() => [
|
|
375
|
-
|
|
384
|
+
a(D, null, {
|
|
376
385
|
default: r(() => [
|
|
377
|
-
|
|
378
|
-
|
|
386
|
+
a(m, { span: 17 }),
|
|
387
|
+
a(m, {
|
|
379
388
|
span: 7,
|
|
380
389
|
class: "container-float"
|
|
381
390
|
}, {
|
|
382
391
|
default: r(() => [
|
|
383
|
-
|
|
392
|
+
g((p(), V(E, {
|
|
384
393
|
plain: "",
|
|
385
394
|
type: "primary",
|
|
386
|
-
onClick: o[10] || (o[10] = (e) =>
|
|
395
|
+
onClick: o[10] || (o[10] = (e) => n(c).handleExport(n(M)("orderInfo.name")))
|
|
387
396
|
}, {
|
|
388
397
|
default: r(() => [
|
|
389
|
-
u(
|
|
398
|
+
u(l(t.$t("orderInfo.paperInfoName")), 1)
|
|
390
399
|
]),
|
|
391
400
|
_: 1
|
|
392
401
|
})), [
|
|
393
|
-
[
|
|
402
|
+
[S, ["order:order_info:export"]]
|
|
394
403
|
]),
|
|
395
|
-
|
|
396
|
-
modelValue:
|
|
397
|
-
"onUpdate:modelValue": o[11] || (o[11] = (e) => L(
|
|
404
|
+
a(ne, {
|
|
405
|
+
modelValue: n(k),
|
|
406
|
+
"onUpdate:modelValue": o[11] || (o[11] = (e) => L(k) ? k.value = e : k = e),
|
|
398
407
|
"label-name": "paper-order/order-info"
|
|
399
408
|
}, null, 8, ["modelValue"])
|
|
400
409
|
]),
|
|
@@ -405,80 +414,86 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
405
414
|
})
|
|
406
415
|
]),
|
|
407
416
|
footer: r(() => [
|
|
408
|
-
|
|
417
|
+
n(N) > 0 ? (p(), V(ue, {
|
|
409
418
|
key: 0,
|
|
410
|
-
total:
|
|
419
|
+
total: n(N),
|
|
411
420
|
"onUpdate:total": o[12] || (o[12] = (e) => L(N) ? N.value = e : null),
|
|
412
|
-
"current-page":
|
|
413
|
-
"onUpdate:currentPage": o[13] || (o[13] = (e) =>
|
|
414
|
-
"page-size":
|
|
415
|
-
"onUpdate:pageSize": o[14] || (o[14] = (e) =>
|
|
416
|
-
onPagination: o[15] || (o[15] = (e) =>
|
|
417
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
421
|
+
"current-page": d.value.curPage,
|
|
422
|
+
"onUpdate:currentPage": o[13] || (o[13] = (e) => d.value.curPage = e),
|
|
423
|
+
"page-size": d.value.pageSize,
|
|
424
|
+
"onUpdate:pageSize": o[14] || (o[14] = (e) => d.value.pageSize = e),
|
|
425
|
+
onPagination: o[15] || (o[15] = (e) => n(c).getList())
|
|
426
|
+
}, null, 8, ["total", "current-page", "page-size"])) : v("", !0)
|
|
418
427
|
]),
|
|
419
428
|
default: r(() => [
|
|
420
|
-
|
|
429
|
+
a(de, {
|
|
421
430
|
ref_key: "multipleTableRef",
|
|
422
431
|
ref: K,
|
|
423
432
|
"row-key": "orderId",
|
|
424
|
-
"list-loading":
|
|
425
|
-
data:
|
|
426
|
-
"table-label":
|
|
433
|
+
"list-loading": n(F),
|
|
434
|
+
data: n(W),
|
|
435
|
+
"table-label": n(k),
|
|
427
436
|
isSelection: !1
|
|
428
437
|
}, {
|
|
429
438
|
createTime: r((e) => [
|
|
430
|
-
|
|
439
|
+
f("span", null, l(A(e.data.row.createTime)), 1)
|
|
431
440
|
]),
|
|
432
441
|
spuName: r((e) => {
|
|
433
|
-
var s,
|
|
442
|
+
var s, y, b;
|
|
434
443
|
return [
|
|
435
|
-
|
|
444
|
+
f("span", null, l((b = (y = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : y[0]) == null ? void 0 : b.spuName), 1)
|
|
436
445
|
];
|
|
437
446
|
}),
|
|
438
447
|
quantity: r((e) => {
|
|
439
|
-
var s,
|
|
448
|
+
var s, y, b;
|
|
440
449
|
return [
|
|
441
|
-
|
|
450
|
+
f("span", null, l((b = (y = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : y[0]) == null ? void 0 : b.quantity), 1)
|
|
442
451
|
];
|
|
443
452
|
}),
|
|
444
453
|
unitPrice: r((e) => {
|
|
445
|
-
var s,
|
|
454
|
+
var s, y, b;
|
|
446
455
|
return [
|
|
447
|
-
|
|
448
|
-
(
|
|
456
|
+
f("span", null, l(G(
|
|
457
|
+
(b = (y = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : y[0]) == null ? void 0 : b.salesPrice
|
|
449
458
|
)), 1)
|
|
450
459
|
];
|
|
451
460
|
}),
|
|
452
461
|
orderCycle: r((e) => [
|
|
453
|
-
e.data.row.remark !== "undefined至undefined" ? (
|
|
462
|
+
e.data.row.remark !== "undefined至undefined" ? (p(), _("span", Se, l(e.data.row.remark), 1)) : v("", !0)
|
|
454
463
|
]),
|
|
455
464
|
orderStatus: r((e) => [
|
|
456
|
-
|
|
457
|
-
e.data.row.orderStatus ===
|
|
465
|
+
f("div", null, [
|
|
466
|
+
e.data.row.orderStatus === n(w).UNPAY ? (p(), V(Y, {
|
|
458
467
|
key: 0,
|
|
459
468
|
type: "danger"
|
|
460
469
|
}, {
|
|
461
470
|
default: r(() => [
|
|
462
|
-
u(
|
|
471
|
+
u(l(n(I).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
463
472
|
]),
|
|
464
473
|
_: 2
|
|
465
|
-
}, 1024)) :
|
|
466
|
-
e.data.row.orderStatus ===
|
|
474
|
+
}, 1024)) : v("", !0),
|
|
475
|
+
e.data.row.orderStatus === n(w).UNPOST ? (p(), V(Y, {
|
|
467
476
|
key: 1,
|
|
468
477
|
type: "success"
|
|
469
478
|
}, {
|
|
470
479
|
default: r(() => [
|
|
471
|
-
u(
|
|
480
|
+
u(l(n(I).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
472
481
|
]),
|
|
473
482
|
_: 2
|
|
474
|
-
}, 1024)) :
|
|
483
|
+
}, 1024)) : v("", !0)
|
|
475
484
|
])
|
|
476
485
|
]),
|
|
486
|
+
payMode: r((e) => [
|
|
487
|
+
u(l(n(I).paymentMode.getEnumValue(e.data.row.payMode)), 1)
|
|
488
|
+
]),
|
|
489
|
+
tradeTime: r((e) => [
|
|
490
|
+
f("span", null, l(A(e.data.row.tradeTime)), 1)
|
|
491
|
+
]),
|
|
477
492
|
invoiceStatus: r((e) => [
|
|
478
|
-
u(
|
|
493
|
+
u(l(n(I).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
479
494
|
]),
|
|
480
495
|
mobilePhone: r((e) => [
|
|
481
|
-
|
|
496
|
+
a(le, {
|
|
482
497
|
mobilePhoneIns: e.data.row.mobilePhoneIns,
|
|
483
498
|
mobilePhone: e.data.row.mobilePhone,
|
|
484
499
|
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
@@ -486,50 +501,50 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
486
501
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
487
502
|
]),
|
|
488
503
|
operation: r((e) => [
|
|
489
|
-
|
|
504
|
+
g((p(), _("span", {
|
|
490
505
|
class: "el-button-color",
|
|
491
506
|
onClick: (s) => Z(e.data.row)
|
|
492
507
|
}, [
|
|
493
|
-
u(
|
|
508
|
+
u(l(t.$t("common.view")), 1)
|
|
494
509
|
], 8, ge)), [
|
|
495
|
-
[
|
|
510
|
+
[S, ["order:order_info:view"]]
|
|
496
511
|
]),
|
|
497
|
-
e.data.row.invoiceStatus ===
|
|
512
|
+
e.data.row.invoiceStatus === n(w).UNINVOICE && e.data.row.orderStatus === n(w).UNPOST ? g((p(), _("span", {
|
|
498
513
|
key: 0,
|
|
499
514
|
class: "el-button-color dropdown-left",
|
|
500
515
|
onClick: (s) => te(e.data.row)
|
|
501
516
|
}, [
|
|
502
|
-
u(
|
|
517
|
+
u(l(t.$t("orderInfo.apply")), 1)
|
|
503
518
|
], 8, ke)), [
|
|
504
|
-
[
|
|
505
|
-
]) :
|
|
506
|
-
e.data.row.invoiceStatus ===
|
|
519
|
+
[S, ["order:order_info:view"]]
|
|
520
|
+
]) : v("", !0),
|
|
521
|
+
e.data.row.invoiceStatus === n(w).INVOICING ? g((p(), _("span", {
|
|
507
522
|
key: 1,
|
|
508
523
|
class: "el-button-color dropdown-left",
|
|
509
524
|
onClick: (s) => x(e.data.row)
|
|
510
525
|
}, [
|
|
511
|
-
u(
|
|
526
|
+
u(l(t.$t("orderInfo.invoiceInformation")), 1)
|
|
512
527
|
], 8, Ne)), [
|
|
513
|
-
[
|
|
514
|
-
]) :
|
|
515
|
-
e.data.row.orderStatus ===
|
|
528
|
+
[S, ["order:order_info:view"]]
|
|
529
|
+
]) : v("", !0),
|
|
530
|
+
e.data.row.orderStatus === n(w).UNPAY ? g((p(), _("span", {
|
|
516
531
|
key: 2,
|
|
517
532
|
class: "el-button-color dropdown-left",
|
|
518
533
|
onClick: (s) => oe(e.data.row)
|
|
519
534
|
}, [
|
|
520
|
-
u(
|
|
535
|
+
u(l(t.$t("orderInfo.payment")), 1)
|
|
521
536
|
], 8, Pe)), [
|
|
522
|
-
[
|
|
523
|
-
]) :
|
|
524
|
-
e.data.row.invoiceStatus ===
|
|
537
|
+
[S, ["order:order_info:view"]]
|
|
538
|
+
]) : v("", !0),
|
|
539
|
+
e.data.row.invoiceStatus === n(w).INVOICED ? g((p(), _("span", {
|
|
525
540
|
key: 3,
|
|
526
541
|
class: "el-button-color dropdown-left",
|
|
527
542
|
onClick: (s) => ee(e.data.row)
|
|
528
543
|
}, [
|
|
529
|
-
u(
|
|
530
|
-
], 8,
|
|
531
|
-
[
|
|
532
|
-
]) :
|
|
544
|
+
u(l(t.$t("orderInfo.viewInvoice")), 1)
|
|
545
|
+
], 8, Ve)), [
|
|
546
|
+
[S, ["order:order_info:view"]]
|
|
547
|
+
]) : v("", !0)
|
|
533
548
|
]),
|
|
534
549
|
_: 1
|
|
535
550
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -541,5 +556,5 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
541
556
|
}
|
|
542
557
|
});
|
|
543
558
|
export {
|
|
544
|
-
|
|
559
|
+
Ae as default
|
|
545
560
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { deepMerge as d, RedirectPage as
|
|
1
|
+
import { deepMerge as d, RedirectPage as t, Layout as r, LoginPage as n, MultiFactorLoginPage as s, ProfilePage as m, Error401Page as p, Error404Page as u, routerRef as c, addViteMenus as l, addDynamicRoute as f, i18n as h } from "jmash-core";
|
|
2
2
|
import { createRouter as y, createWebHistory as I } from "vue-router";
|
|
3
3
|
const b = {
|
|
4
4
|
// 订单账单
|
|
@@ -259,6 +259,10 @@ const b = {
|
|
|
259
259
|
// 订单管理
|
|
260
260
|
orderInfo: {
|
|
261
261
|
name: "订单管理",
|
|
262
|
+
paperInfoName: "订单明细",
|
|
263
|
+
accTradeNo: "交易单号",
|
|
264
|
+
payMode: "支付方式",
|
|
265
|
+
tradeTime: "支付时间",
|
|
262
266
|
orderCode: "订单号",
|
|
263
267
|
orderCodeRequired: "请输入订单号",
|
|
264
268
|
spuName: "报刊名称",
|
|
@@ -378,7 +382,7 @@ function g(e) {
|
|
|
378
382
|
let i = e.global.getLocaleMessage("en");
|
|
379
383
|
i = d(i, b), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
|
|
380
384
|
}
|
|
381
|
-
const R = () => import("./index-jeaiOykS.mjs"), w = () => import("./orderPaper-Bn6SwUD0.mjs"), P = () => import("./orderAddress-CqIRyskd.mjs"), q = () => import("./orderInfo
|
|
385
|
+
const R = () => import("./index-jeaiOykS.mjs"), w = () => import("./orderPaper-Bn6SwUD0.mjs"), P = () => import("./orderAddress-CqIRyskd.mjs"), q = () => import("./orderInfo--5Dy6ucl.mjs"), D = () => import("./payment-BWhe3mhK.mjs"), N = () => import("./invoice-C6mhD6zX.mjs"), z = () => import("./invoiceView-Cvwqlg-m.mjs"), x = () => import("./applyEdit-C2PrzKta.mjs"), C = () => import("./invoiceEdit-CyOin4HT.mjs"), k = () => import("./info-JO0c7Ddl.mjs"), a = [
|
|
382
386
|
{
|
|
383
387
|
path: "/buyer",
|
|
384
388
|
component: r,
|
|
@@ -468,7 +472,7 @@ const R = () => import("./index-jeaiOykS.mjs"), w = () => import("./orderPaper-B
|
|
|
468
472
|
}
|
|
469
473
|
]
|
|
470
474
|
}
|
|
471
|
-
],
|
|
475
|
+
], T = [
|
|
472
476
|
{
|
|
473
477
|
path: "/redirect",
|
|
474
478
|
component: r,
|
|
@@ -476,7 +480,7 @@ const R = () => import("./index-jeaiOykS.mjs"), w = () => import("./orderPaper-B
|
|
|
476
480
|
children: [
|
|
477
481
|
{
|
|
478
482
|
path: "/redirect/:path(.*)",
|
|
479
|
-
component:
|
|
483
|
+
component: t
|
|
480
484
|
}
|
|
481
485
|
]
|
|
482
486
|
},
|
|
@@ -536,17 +540,17 @@ const R = () => import("./index-jeaiOykS.mjs"), w = () => import("./orderPaper-B
|
|
|
536
540
|
}
|
|
537
541
|
]
|
|
538
542
|
},
|
|
539
|
-
...
|
|
540
|
-
],
|
|
543
|
+
...a
|
|
544
|
+
], S = y({
|
|
541
545
|
history: I(void 0),
|
|
542
|
-
routes:
|
|
546
|
+
routes: T,
|
|
543
547
|
// 刷新时,滚动条位置还原
|
|
544
548
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
545
549
|
});
|
|
546
|
-
c.value =
|
|
547
|
-
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-
|
|
550
|
+
c.value = S;
|
|
551
|
+
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-C2PrzKta.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CvTXIlZt.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-JO0c7Ddl.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-C6mhD6zX.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-CyOin4HT.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-Cvwqlg-m.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-BlV0irYa.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-D50t3cjw.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-BGxdy8kb.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-Be02OkOA.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-B3vIbXsy.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-jeaiOykS.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-e57OBfmj.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-CqIRyskd.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo--5Dy6ucl.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-Bn6SwUD0.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-BWhe3mhK.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-CF5J3V95.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-1PaZ9XLl.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-BuhpHQLA.mjs") }), M = {
|
|
548
552
|
install(e) {
|
|
549
|
-
l(A, 7), f(
|
|
553
|
+
l(A, 7), f(a), g(h);
|
|
550
554
|
}
|
|
551
555
|
};
|
|
552
556
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as v, onMounted as re, resolveComponent as a, createElementBlock as ie, openBlock as Q, createVNode as s, withCtx as r, createElementVNode as e, unref as _, toDisplayString as l, createTextVNode as u, createBlock as ae, createCommentVNode as de } from "vue";
|
|
2
|
-
import { D as h } from "./index-
|
|
2
|
+
import { D as h } from "./index-C_9577tG.mjs";
|
|
3
3
|
import { o as W } from "./index-C-g3Ei_P.mjs";
|
|
4
4
|
import { fileApi as X, routerUtil as ce } from "jmash-core";
|
|
5
5
|
import { useRouter as ue, useRoute as me } from "vue-router";
|
|
@@ -3,9 +3,9 @@ import { useI18n as W } from "vue-i18n";
|
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as F } from "jmash-core";
|
|
5
5
|
import { useRouter as X, useRoute as Y } from "vue-router";
|
|
6
|
-
import { D as U } from "./index-
|
|
6
|
+
import { D as U } from "./index-C_9577tG.mjs";
|
|
7
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-
|
|
8
|
+
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-_E3C_ACs.mjs";
|
|
9
9
|
import { E as oe } from "./el-message-VSzNakoG.mjs";
|
|
10
10
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const ae = { class: "app-container" }, ne = { class: "search-container" }, se = { class: "form-footer" }, re = /* @__PURE__ */ O({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Ue, ref as _, reactive as h, onMounted as Me, resolveComponent as c, createElementBlock as qe, openBlock as k, createVNode as r, createBlock as D, createCommentVNode as B, withCtx as m, createElementVNode as t, unref as L, toDisplayString as i, createTextVNode as _e } from "vue";
|
|
2
2
|
import { useI18n as Se } from "vue-i18n";
|
|
3
|
-
import { D as he } from "./index-
|
|
3
|
+
import { D as he } from "./index-C_9577tG.mjs";
|
|
4
4
|
import { o as ke } from "./index-C-g3Ei_P.mjs";
|
|
5
5
|
import { fileApi as Pe } from "jmash-core";
|
|
6
6
|
import { useRoute as Te, useRouter as je } from "vue-router";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as N, mergeModels as Y, ref as G, reactive as y, useMod
|
|
|
2
2
|
import { useI18n as A } from "vue-i18n";
|
|
3
3
|
import { ElMessage as L } from "element-plus";
|
|
4
4
|
import { useUserStore as $, clearEmpty as q, request as R, validateEmail as K, validatePhoneOrLandline as O, validateIDCard as H } from "jmash-core";
|
|
5
|
-
import { C as i, D as J } from "./index-
|
|
5
|
+
import { C as i, D as J } from "./index-C_9577tG.mjs";
|
|
6
6
|
class Q {
|
|
7
7
|
getKey() {
|
|
8
8
|
}
|
package/dts/api/buyer/index.d.ts
CHANGED
package/dts/constant.d.ts
CHANGED
package/package.json
CHANGED
package/dist/index-Knr6dYOL.mjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
var o = Object.defineProperty;
|
|
2
|
-
var l = (i, r, a) => r in i ? o(i, r, { enumerable: !0, configurable: !0, writable: !0, value: a }) : i[r] = a;
|
|
3
|
-
var t = (i, r, a) => l(i, typeof r != "symbol" ? r + "" : r, a);
|
|
4
|
-
import { ref as y } from "vue";
|
|
5
|
-
import { BizLayDict as T, CustomBizDict as E, EnumDict as _ } from "jmash-core";
|
|
6
|
-
import { goodsCategoryApi as I } from "xyvcard-paper-goods";
|
|
7
|
-
import { EntryDict as P } from "jmash-dict";
|
|
8
|
-
class e {
|
|
9
|
-
}
|
|
10
|
-
//模块
|
|
11
|
-
t(e, "PAPER_DICT", "paper"), // 订单状态
|
|
12
|
-
t(e, "ENUM_ORDER_STATUS", y([
|
|
13
|
-
{ key: "unpay", value: "待付款" },
|
|
14
|
-
{ key: "unpost", value: "订阅成功" }
|
|
15
|
-
])), // 订单状态常量
|
|
16
|
-
t(e, "UNPAY", "unpay"), t(e, "UNPOST", "unpost"), // 发票票种
|
|
17
|
-
t(e, "LQFP_FPPZ", "Fppz"), // 开票状态
|
|
18
|
-
t(e, "INVOICE_STATUS", "xyvcard.order.protobuf.InvoiceStatus"), t(e, "UNINVOICE", "uninvoice"), t(e, "INVOICING", "invoicing"), t(e, "INVOICED", "invoiced"), // 企业
|
|
19
|
-
t(e, "GMF_TYPE_ENT", "ent"), // 个人
|
|
20
|
-
t(e, "GMF_TYPE_PER", "person"), // 证件类型
|
|
21
|
-
t(e, "DICT_TYPE_ID", "TypeID"), // 抬头类型
|
|
22
|
-
t(e, "GMF_TYPE_VALUES", y([
|
|
23
|
-
{ key: "ent", value: "企业" },
|
|
24
|
-
{ key: "person", value: "个人" }
|
|
25
|
-
]));
|
|
26
|
-
function n(i, r, a) {
|
|
27
|
-
return !Array.isArray(i) || i.length === 0 ? [] : i.map((s) => {
|
|
28
|
-
let p = [];
|
|
29
|
-
return Array.isArray(s.children) && s.children.length > 0 && (p = n(s.children, r, a)), {
|
|
30
|
-
value: s[a],
|
|
31
|
-
label: s[r],
|
|
32
|
-
parentId: s.parentId,
|
|
33
|
-
children: p
|
|
34
|
-
};
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
class d extends T {
|
|
38
|
-
// 实现 useValues 方法
|
|
39
|
-
useValues() {
|
|
40
|
-
return new Promise((r, a) => {
|
|
41
|
-
I.findTreeListApi(this.query).then((u) => {
|
|
42
|
-
const { data: s } = u;
|
|
43
|
-
this.values.length = 0, this.values.push(...n(s.results, "label", "value")), r(this.values);
|
|
44
|
-
}).catch(a);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
class c {
|
|
49
|
-
}
|
|
50
|
-
// 订单状态
|
|
51
|
-
t(c, "orderStatusEnum", new E(
|
|
52
|
-
e.ENUM_ORDER_STATUS,
|
|
53
|
-
{}
|
|
54
|
-
)), // 发票票种
|
|
55
|
-
t(c, "fppzDict", new P(e.LQFP_FPPZ)), // 开票状态
|
|
56
|
-
t(c, "invoiceStatusEnum", new _(
|
|
57
|
-
e.PAPER_DICT,
|
|
58
|
-
e.INVOICE_STATUS
|
|
59
|
-
)), // 商品分类(发行频率)
|
|
60
|
-
t(c, "goodsCategoryListBizLayDict", new d(
|
|
61
|
-
{}
|
|
62
|
-
)), t(c, "gmfTypeDict", new E(e.GMF_TYPE_VALUES, {}));
|
|
63
|
-
export {
|
|
64
|
-
e as C,
|
|
65
|
-
c as D
|
|
66
|
-
};
|