xyvcard-paper-buyer 0.0.42 → 0.0.44
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-PZxjIdlm.mjs → applyEdit-DMbelNYl.mjs} +3 -3
- package/dist/{edit--iYDGPN6.mjs → edit-DwsTiwF8.mjs} +48 -48
- package/dist/{edit-DxbJEXn-.mjs → edit-Omp_CxC3.mjs} +50 -50
- package/dist/{index-CUfcoWMj.mjs → index-BPKQNnjE.mjs} +30 -35
- package/dist/{index-BRBqB4uC.mjs → index-CJvB_knp.mjs} +15 -26
- package/dist/{index-BKZPqxLM.mjs → index-DyTbbNUO.mjs} +500 -518
- package/dist/{index-C_O5LkoO.mjs → index-MoEV6c7S.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-yQ5o6UTa.mjs → info-iJb2mpwO.mjs} +65 -74
- package/dist/{invoiceEdit-BPyK5oBD.mjs → invoiceEdit-D3qEYbNL.mjs} +2 -2
- package/dist/orderAddress-DMeZ9ynO.mjs +249 -0
- package/dist/{orderInfo-CxDN2Vgs.mjs → orderInfo-BE6BEAw1.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{userInvoice-ByXwccaa.mjs → userInvoice-CZ7yW4I6.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-BaWmhSHl.mjs → userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs} +1 -1
- package/dts/api/buyer/index.d.ts +0 -1
- package/dts/constant.d.ts +0 -1
- package/package.json +2 -2
- package/dist/orderAddress-BXu0z9LD.mjs +0 -234
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as pe, ref as T, onActivated as me, resolveComponent as i, resolveDirective as ce, createElementBlock as y, openBlock as p, createElementVNode as c, createVNode as a, withCtx as r, withKeys as V, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as h, createCommentVNode as I, vShow as Y, createBlock as E, isRef as
|
|
2
|
-
import { D as m, C as w } from "./index-
|
|
3
|
-
import { o as
|
|
1
|
+
import { defineComponent as pe, ref as T, onActivated as me, resolveComponent as i, resolveDirective as ce, createElementBlock as y, openBlock as p, createElementVNode as c, createVNode as a, withCtx as r, withKeys as V, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as h, createCommentVNode as I, vShow as Y, createBlock as E, isRef as j } from "vue";
|
|
2
|
+
import { D as m, C as w } from "./index-BPKQNnjE.mjs";
|
|
3
|
+
import { o as Q } from "./index-DyTbbNUO.mjs";
|
|
4
4
|
import { vueMetaEnv as fe, useTableHooks as ye } from "jmash-core";
|
|
5
5
|
import { useI18n as ve } from "vue-i18n";
|
|
6
6
|
import { useRouter as Ie } from "vue-router";
|
|
@@ -10,20 +10,20 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
10
10
|
}, Pe = ["onClick"], $e = ["onClick"], De = ["onClick"], Te = ["onClick"], Ee = ["onClick"], Ye = /* @__PURE__ */ pe({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Ue) {
|
|
13
|
-
const U = localStorage.getItem("unionUserInfo"),
|
|
13
|
+
const U = localStorage.getItem("unionUserInfo"), K = (U ? JSON.parse(U) : {}).orgId;
|
|
14
14
|
m.unionOrgBizLayDict.useValues(), m.unionOrgPhoneBizLayDict.useValues(), m.unionOrgPhoneInsBizLayDict.useValues();
|
|
15
|
-
const q = fe.APP_ORGAN_ID, { t:
|
|
15
|
+
const q = fe.APP_ORGAN_ID, { t: M } = ve(), C = Ie(), d = T({
|
|
16
16
|
curPage: 1,
|
|
17
17
|
pageSize: 10,
|
|
18
|
-
shopBranchId:
|
|
18
|
+
shopBranchId: K
|
|
19
19
|
}), {
|
|
20
20
|
tableHooks: v,
|
|
21
|
-
multipleTableRef:
|
|
22
|
-
queryFormRef:
|
|
21
|
+
multipleTableRef: F,
|
|
22
|
+
queryFormRef: W,
|
|
23
23
|
listLoading: G,
|
|
24
24
|
tableData: H,
|
|
25
25
|
total: N
|
|
26
|
-
} = ye(
|
|
26
|
+
} = ye(M, Q, d), P = v.totalRecord;
|
|
27
27
|
function J(t) {
|
|
28
28
|
if (!t) return "0";
|
|
29
29
|
const o = parseFloat(String(t));
|
|
@@ -89,14 +89,6 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
89
89
|
columnType: "slot",
|
|
90
90
|
isColumn: !0
|
|
91
91
|
},
|
|
92
|
-
{
|
|
93
|
-
label: "orderInfo.paymentWay",
|
|
94
|
-
prop: "paymentWay",
|
|
95
|
-
width: "90",
|
|
96
|
-
slotName: "paymentWay",
|
|
97
|
-
columnType: "slot",
|
|
98
|
-
isColumn: !0
|
|
99
|
-
},
|
|
100
92
|
{
|
|
101
93
|
label: "orderInfo.invoiceStatus",
|
|
102
94
|
prop: "invoiceStatus",
|
|
@@ -124,7 +116,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
124
116
|
{
|
|
125
117
|
label: "orderInfo.createTime",
|
|
126
118
|
prop: "createTime",
|
|
127
|
-
width: "
|
|
119
|
+
width: "160",
|
|
128
120
|
slotName: "createTime",
|
|
129
121
|
columnType: "slot",
|
|
130
122
|
isColumn: !0
|
|
@@ -170,7 +162,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
170
162
|
}
|
|
171
163
|
async function re(t) {
|
|
172
164
|
try {
|
|
173
|
-
const o = await
|
|
165
|
+
const o = await Q.queryOrderAddress({ orderId: t.orderId });
|
|
174
166
|
o && o.data === !0 ? C.push({
|
|
175
167
|
path: "/buyer/order-newspaper/orderDetails",
|
|
176
168
|
query: {
|
|
@@ -198,7 +190,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
198
190
|
c("div", _e, [
|
|
199
191
|
a(le, {
|
|
200
192
|
ref_key: "queryFormRef",
|
|
201
|
-
ref:
|
|
193
|
+
ref: W,
|
|
202
194
|
model: d.value,
|
|
203
195
|
inline: !0
|
|
204
196
|
}, {
|
|
@@ -392,7 +384,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
392
384
|
default: r(() => [
|
|
393
385
|
a(de, {
|
|
394
386
|
modelValue: n(S),
|
|
395
|
-
"onUpdate:modelValue": o[10] || (o[10] = (e) =>
|
|
387
|
+
"onUpdate:modelValue": o[10] || (o[10] = (e) => j(S) ? S.value = e : S = e),
|
|
396
388
|
"label-name": "paper-order/order-info"
|
|
397
389
|
}, null, 8, ["modelValue"])
|
|
398
390
|
]),
|
|
@@ -406,7 +398,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
406
398
|
n(N) > 0 ? (p(), E(se, {
|
|
407
399
|
key: 0,
|
|
408
400
|
total: n(N),
|
|
409
|
-
"onUpdate:total": o[11] || (o[11] = (e) =>
|
|
401
|
+
"onUpdate:total": o[11] || (o[11] = (e) => j(N) ? N.value = e : null),
|
|
410
402
|
"current-page": d.value.curPage,
|
|
411
403
|
"onUpdate:currentPage": o[12] || (o[12] = (e) => d.value.curPage = e),
|
|
412
404
|
"page-size": d.value.pageSize,
|
|
@@ -417,7 +409,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
417
409
|
default: r(() => [
|
|
418
410
|
a(ue, {
|
|
419
411
|
ref_key: "multipleTableRef",
|
|
420
|
-
ref:
|
|
412
|
+
ref: F,
|
|
421
413
|
"row-key": "orderId",
|
|
422
414
|
"list-loading": n(G),
|
|
423
415
|
data: n(H),
|
|
@@ -475,9 +467,6 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
475
467
|
}, 1024)) : I("", !0)
|
|
476
468
|
])
|
|
477
469
|
]),
|
|
478
|
-
paymentWay: r((e) => [
|
|
479
|
-
c("span", null, l(n(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
|
480
|
-
]),
|
|
481
470
|
invoiceStatus: r((e) => [
|
|
482
471
|
u(l(n(m).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
483
472
|
]),
|