xyvcard-paper-buyer 0.0.56 → 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-DqKxdFnY.mjs → applyEdit-C2PrzKta.mjs} +3 -3
- package/dist/{index-DvqcVtci.mjs → index-C-g3Ei_P.mjs} +500 -518
- package/dist/index-C_9577tG.mjs +72 -0
- package/dist/{index-DgrzdZxV.mjs → index-CvTXIlZt.mjs} +167 -148
- package/dist/index.mjs +14 -10
- package/dist/{info-bWNQy4VE.mjs → info-JO0c7Ddl.mjs} +2 -2
- package/dist/{invoiceEdit-B-GHm9GY.mjs → invoiceEdit-CyOin4HT.mjs} +2 -2
- package/dist/{orderInfo-1eDmhUdI.mjs → orderInfo--5Dy6ucl.mjs} +2 -2
- 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
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,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { o as W } from "./index-
|
|
2
|
+
import { D as h } from "./index-C_9577tG.mjs";
|
|
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";
|
|
6
6
|
import { goodsSpuApi as pe } from "xyvcard-paper-goods";
|
|
@@ -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,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { o as ke } from "./index-
|
|
3
|
+
import { D as he } from "./index-C_9577tG.mjs";
|
|
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";
|
|
7
7
|
import { goodsSpuApi as xe } from "xyvcard-paper-goods";
|
|
@@ -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
|
-
};
|