xyvcard-paper-buyer 0.0.29 → 0.0.30
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-BBkGmNz4.mjs → applyEdit-DYinV0av.mjs} +22 -22
- package/dist/assets/3a1c0fd6fbc19dd2.png +0 -0
- package/dist/confirm-B5tQ5VMT.mjs +178 -0
- package/dist/{edit-CEqukYUY.mjs → edit-BgQo-uqd.mjs} +24 -24
- package/dist/{edit-CCUAR44E.mjs → edit-DHXk9uMQ.mjs} +84 -84
- package/dist/el-message-VSzNakoG.mjs +1381 -0
- package/dist/{index-CT0KG-ax.mjs → index-1iQKY0yJ.mjs} +512 -494
- package/dist/{index-izvLgG-Q.mjs → index-BCSYWkW7.mjs} +159 -163
- package/dist/{index-oEQVLdND.mjs → index-DISDK9IB.mjs} +1 -1
- package/dist/index-Dph_ktOL.mjs +9456 -0
- package/dist/{index-3POeZkeU.mjs → index-ky8hEDAn.mjs} +35 -35
- package/dist/index-sU6sAHrn.mjs +35 -0
- package/dist/index.mjs +52 -30
- package/dist/info-B4ow2tzV.mjs +194 -0
- package/dist/{invoiceEdit-CezFMQuV.mjs → invoiceEdit-CILq1n3W.mjs} +18 -18
- package/dist/{invoiceView-CQ8xpAcH.mjs → invoiceView-ClfMLUV3.mjs} +37 -37
- package/dist/onlineBanking--2OAMgrT.mjs +204 -0
- package/dist/{orderAddress-BkCadi1G.mjs → orderAddress-CKllpjjU.mjs} +79 -76
- package/dist/orderInfo-Cl2DftVh.mjs +309 -0
- package/dist/{orderPaper-DfDpfRek.mjs → orderPaper-DpSTDYX4.mjs} +35 -37
- package/dist/{payment-CaWj9re7.mjs → payment-BkxF9Q0m.mjs} +14 -14
- package/dist/prompt-CsoFkmiu.mjs +76 -0
- package/dist/style.css +1 -1
- package/dts/api/buyer/order-newspaper/index.d.ts +8 -1
- package/dts/api/buyer/order-newspaper/types.d.ts +30 -0
- package/dts/lang/order/zh-cn.d.ts +13 -0
- package/dts/router/index.d.ts +2 -1
- package/dts/utils/index.d.ts +1 -0
- package/dts/utils/signature.d.ts +7 -0
- package/dts/views/buyer/order-newspaper/confirm.vue.d.ts +39 -0
- package/dts/views/buyer/order-newspaper/onlineBanking.vue.d.ts +43 -0
- package/dts/views/buyer/order-newspaper/orderInfo.vue.d.ts +2 -0
- package/dts/views/buyer/order-newspaper/prompt.vue.d.ts +45 -0
- package/package.json +1 -1
- package/dist/el-message-D5NtBelf.mjs +0 -1229
- package/dist/index-C8xOGCSg.mjs +0 -73
- package/dist/index-DOOUDqve.mjs +0 -110
- package/dist/info-BpCTqM6V.mjs +0 -189
- package/dist/payment copy-CyZWiAyq.mjs +0 -69
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ie, ref as T, onActivated as pe, resolveComponent as i, resolveDirective as me, createElementBlock as y, openBlock as p, createElementVNode as c, createVNode as a, withCtx as t, withKeys as V, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as w, createCommentVNode as b, vShow as Y, createBlock as E, isRef as W } from "vue";
|
|
2
2
|
import { D as m, C as h } from "./index-BGqp7CRm.mjs";
|
|
3
|
-
import { o as
|
|
4
|
-
import { vueMetaEnv as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { useRoute as
|
|
7
|
-
import { E as
|
|
8
|
-
const
|
|
3
|
+
import { o as ce } from "./index-1iQKY0yJ.mjs";
|
|
4
|
+
import { vueMetaEnv as fe, useTableHooks as ye } from "jmash-core";
|
|
5
|
+
import { useI18n as ve } from "vue-i18n";
|
|
6
|
+
import { useRoute as be, useRouter as _e } from "vue-router";
|
|
7
|
+
import { E as j } from "./el-message-VSzNakoG.mjs";
|
|
8
|
+
const Ie = { class: "app-container" }, we = { class: "search-container dis_bottom" }, he = { class: "total-num dis_bottom" }, Ce = { class: "blue_color" }, ge = { class: "blue_color" }, Se = { class: "blue_color" }, ke = { key: 0 }, Ne = { key: 0 }, Ve = { key: 1 }, Pe = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "distance-left"
|
|
11
|
-
},
|
|
11
|
+
}, $e = ["onClick"], De = ["onClick"], Te = ["onClick"], Ee = ["onClick"], Ue = ["onClick"], je = /* @__PURE__ */ ie({
|
|
12
12
|
__name: "index",
|
|
13
|
-
setup(
|
|
14
|
-
|
|
13
|
+
setup(Oe) {
|
|
14
|
+
be();
|
|
15
|
+
const U = localStorage.getItem("unionUserInfo"), Q = (U ? JSON.parse(U) : {}).orgId;
|
|
15
16
|
m.unionOrgBizLayDict.useValues(), m.unionOrgPhoneBizLayDict.useValues(), m.unionOrgPhoneInsBizLayDict.useValues();
|
|
16
|
-
const
|
|
17
|
+
const O = fe.APP_ORGAN_ID, { t: M } = ve(), g = _e(), d = T({
|
|
17
18
|
curPage: 1,
|
|
18
19
|
pageSize: 10,
|
|
19
|
-
shopBranchId:
|
|
20
|
+
shopBranchId: Q
|
|
20
21
|
}), {
|
|
21
22
|
tableHooks: v,
|
|
22
|
-
multipleTableRef:
|
|
23
|
-
queryFormRef:
|
|
24
|
-
listLoading:
|
|
25
|
-
tableData:
|
|
23
|
+
multipleTableRef: K,
|
|
24
|
+
queryFormRef: F,
|
|
25
|
+
listLoading: G,
|
|
26
|
+
tableData: H,
|
|
26
27
|
total: N
|
|
27
|
-
} =
|
|
28
|
-
function
|
|
29
|
-
d.value.startDate =
|
|
28
|
+
} = ye(M, ce, d), P = v.totalRecord, $ = T([]);
|
|
29
|
+
function J(r) {
|
|
30
|
+
d.value.startDate = r[0], d.value.endDate = r[1];
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
32
|
+
function X() {
|
|
33
|
+
$.value = [], d.value.startDate = "", d.value.endDate = "", v.resetQuery();
|
|
33
34
|
}
|
|
34
|
-
let S =
|
|
35
|
+
let S = T([
|
|
35
36
|
{
|
|
36
37
|
label: "orderInfo.orderCode",
|
|
37
38
|
prop: "orderCode",
|
|
@@ -41,7 +42,7 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
41
42
|
{
|
|
42
43
|
label: "orderInfo.spuName",
|
|
43
44
|
prop: "spuName",
|
|
44
|
-
minWidth: "
|
|
45
|
+
minWidth: "180",
|
|
45
46
|
isColumn: !0,
|
|
46
47
|
slotName: "spuName",
|
|
47
48
|
columnType: "slot"
|
|
@@ -133,85 +134,80 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
133
134
|
isColumn: !0
|
|
134
135
|
}
|
|
135
136
|
]);
|
|
136
|
-
function
|
|
137
|
-
return
|
|
137
|
+
function Z(r) {
|
|
138
|
+
return r ? new Date(r).toLocaleString() : "";
|
|
138
139
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
140
|
+
function q(r) {
|
|
141
|
+
r.mobileEncrypt = !r.mobileEncrypt;
|
|
141
142
|
}
|
|
142
|
-
function
|
|
143
|
+
function x(r) {
|
|
143
144
|
g.push({
|
|
144
145
|
path: "/buyer/order-info/info",
|
|
145
|
-
query: { orderId:
|
|
146
|
+
query: { orderId: r.orderId }
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
+
function ee(r) {
|
|
149
150
|
g.push({
|
|
150
151
|
path: "/buyer/order-info/invoice",
|
|
151
152
|
query: {
|
|
152
|
-
orderCode:
|
|
153
|
-
organId:
|
|
153
|
+
orderCode: r.orderCode,
|
|
154
|
+
organId: O
|
|
154
155
|
}
|
|
155
156
|
});
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
+
function oe(r) {
|
|
158
159
|
g.push({
|
|
159
160
|
path: "/buyer/order-info/invoiceView",
|
|
160
161
|
query: {
|
|
161
|
-
orderCode:
|
|
162
|
-
organId:
|
|
162
|
+
orderCode: r.orderCode,
|
|
163
|
+
organId: O
|
|
163
164
|
}
|
|
164
165
|
});
|
|
165
166
|
}
|
|
166
|
-
|
|
167
|
-
async function ne(t) {
|
|
167
|
+
async function te(r) {
|
|
168
168
|
try {
|
|
169
|
-
|
|
170
|
-
orderId: t.orderId,
|
|
171
|
-
tenant: K.query.tenant
|
|
172
|
-
});
|
|
173
|
-
console.log(o.data, "=>res "), B.value = o.data.counterUrl, console.log(o.data.counterUrl, "=>counterUrl "), g.push({
|
|
169
|
+
g.push({
|
|
174
170
|
path: "/buyer/order-newspaper/orderAddress",
|
|
175
|
-
query: { orderId:
|
|
171
|
+
query: { orderId: r.orderId }
|
|
176
172
|
});
|
|
177
173
|
} catch (o) {
|
|
178
|
-
o instanceof Error ?
|
|
174
|
+
o instanceof Error ? j.error("获取支付信息失败: " + o.message) : j.error("获取支付信息失败,请稍后重试");
|
|
179
175
|
}
|
|
180
176
|
}
|
|
181
|
-
function
|
|
177
|
+
function re(r) {
|
|
182
178
|
g.push({
|
|
183
179
|
path: "/buyer/order-info/applyEdit",
|
|
184
|
-
query: { orderId:
|
|
180
|
+
query: { orderId: r.orderId }
|
|
185
181
|
});
|
|
186
182
|
}
|
|
187
|
-
return
|
|
183
|
+
return pe(() => {
|
|
188
184
|
v.getList();
|
|
189
|
-
}), (
|
|
190
|
-
const
|
|
191
|
-
return p(), y("div",
|
|
192
|
-
c("div",
|
|
193
|
-
a(
|
|
185
|
+
}), (r, o) => {
|
|
186
|
+
const B = i("el-input"), C = i("el-form-item"), f = i("el-col"), L = i("jmash-select"), ae = i("el-date-picker"), R = i("el-button"), D = i("el-row"), ne = i("el-form"), le = i("jmash-column-select"), z = i("el-tag"), A = i("svg-icon"), de = i("jmash-table"), ue = i("jmash-pagination"), se = i("el-card"), k = me("hasPerm");
|
|
187
|
+
return p(), y("div", Ie, [
|
|
188
|
+
c("div", we, [
|
|
189
|
+
a(ne, {
|
|
194
190
|
ref_key: "queryFormRef",
|
|
195
|
-
ref:
|
|
191
|
+
ref: F,
|
|
196
192
|
model: d.value,
|
|
197
193
|
inline: !0
|
|
198
194
|
}, {
|
|
199
|
-
default:
|
|
200
|
-
a(
|
|
201
|
-
default:
|
|
195
|
+
default: t(() => [
|
|
196
|
+
a(D, null, {
|
|
197
|
+
default: t(() => [
|
|
202
198
|
a(f, { span: 6 }, {
|
|
203
|
-
default:
|
|
199
|
+
default: t(() => [
|
|
204
200
|
a(C, {
|
|
205
|
-
label:
|
|
201
|
+
label: r.$t("orderInfo.orderCode"),
|
|
206
202
|
prop: "likeOrderCode"
|
|
207
203
|
}, {
|
|
208
|
-
default:
|
|
209
|
-
a(
|
|
204
|
+
default: t(() => [
|
|
205
|
+
a(B, {
|
|
210
206
|
modelValue: d.value.likeOrderCode,
|
|
211
207
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeOrderCode = e),
|
|
212
|
-
placeholder:
|
|
208
|
+
placeholder: r.$t("orderInfo.orderCodeRequired"),
|
|
213
209
|
clearable: "",
|
|
214
|
-
onKeyup: o[1] || (o[1] =
|
|
210
|
+
onKeyup: o[1] || (o[1] = V((e) => n(v).handleQuery(), ["enter"])),
|
|
215
211
|
class: "!w-[203px]"
|
|
216
212
|
}, null, 8, ["modelValue", "placeholder"])
|
|
217
213
|
]),
|
|
@@ -221,18 +217,18 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
221
217
|
_: 1
|
|
222
218
|
}),
|
|
223
219
|
a(f, { span: 6 }, {
|
|
224
|
-
default:
|
|
220
|
+
default: t(() => [
|
|
225
221
|
a(C, {
|
|
226
|
-
label:
|
|
222
|
+
label: r.$t("orderInfo.spuName"),
|
|
227
223
|
prop: "likeSpuName"
|
|
228
224
|
}, {
|
|
229
|
-
default:
|
|
230
|
-
a(
|
|
225
|
+
default: t(() => [
|
|
226
|
+
a(B, {
|
|
231
227
|
modelValue: d.value.likeSpuName,
|
|
232
228
|
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeSpuName = e),
|
|
233
|
-
placeholder:
|
|
229
|
+
placeholder: r.$t("orderInfo.spuNameRequired"),
|
|
234
230
|
clearable: "",
|
|
235
|
-
onKeyup: o[3] || (o[3] =
|
|
231
|
+
onKeyup: o[3] || (o[3] = V((e) => n(v).handleQuery(), ["enter"])),
|
|
236
232
|
class: "!w-[203px]"
|
|
237
233
|
}, null, 8, ["modelValue", "placeholder"])
|
|
238
234
|
]),
|
|
@@ -242,19 +238,19 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
242
238
|
_: 1
|
|
243
239
|
}),
|
|
244
240
|
a(f, { span: 6 }, {
|
|
245
|
-
default:
|
|
241
|
+
default: t(() => [
|
|
246
242
|
a(C, {
|
|
247
|
-
label:
|
|
243
|
+
label: r.$t("orderInfo.orderStatus"),
|
|
248
244
|
prop: "orderStatusPc"
|
|
249
245
|
}, {
|
|
250
|
-
default:
|
|
251
|
-
a(
|
|
246
|
+
default: t(() => [
|
|
247
|
+
a(L, {
|
|
252
248
|
modelValue: d.value.orderStatusPc,
|
|
253
249
|
"onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.orderStatusPc = e),
|
|
254
250
|
data: n(m).orderStatusEnum.values,
|
|
255
|
-
placeholder:
|
|
251
|
+
placeholder: r.$t("orderInfo.orderStatusRequired"),
|
|
256
252
|
clearable: "",
|
|
257
|
-
onKeyup: o[5] || (o[5] =
|
|
253
|
+
onKeyup: o[5] || (o[5] = V((e) => n(v).handleQuery(), ["enter"]))
|
|
258
254
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
259
255
|
]),
|
|
260
256
|
_: 1
|
|
@@ -263,19 +259,19 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
263
259
|
_: 1
|
|
264
260
|
}),
|
|
265
261
|
a(f, { span: 6 }, {
|
|
266
|
-
default:
|
|
262
|
+
default: t(() => [
|
|
267
263
|
a(C, {
|
|
268
|
-
label:
|
|
264
|
+
label: r.$t("orderInfo.invoiceStatus"),
|
|
269
265
|
prop: "invoiceStatus"
|
|
270
266
|
}, {
|
|
271
|
-
default:
|
|
272
|
-
a(
|
|
267
|
+
default: t(() => [
|
|
268
|
+
a(L, {
|
|
273
269
|
modelValue: d.value.invoiceStatus,
|
|
274
270
|
"onUpdate:modelValue": o[6] || (o[6] = (e) => d.value.invoiceStatus = e),
|
|
275
271
|
data: n(m).invoiceStatusEnum.values,
|
|
276
|
-
placeholder:
|
|
272
|
+
placeholder: r.$t("orderInfo.invoiceStatusRequired"),
|
|
277
273
|
clearable: "",
|
|
278
|
-
onKeyup: o[7] || (o[7] =
|
|
274
|
+
onKeyup: o[7] || (o[7] = V((e) => n(v).handleQuery(), ["enter"]))
|
|
279
275
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
280
276
|
]),
|
|
281
277
|
_: 1
|
|
@@ -284,21 +280,21 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
284
280
|
_: 1
|
|
285
281
|
}),
|
|
286
282
|
a(f, { span: 6 }, {
|
|
287
|
-
default:
|
|
283
|
+
default: t(() => [
|
|
288
284
|
a(C, {
|
|
289
|
-
label:
|
|
285
|
+
label: r.$t("orderInfo.createTime"),
|
|
290
286
|
prop: "startCreateTime"
|
|
291
287
|
}, {
|
|
292
|
-
default:
|
|
293
|
-
a(
|
|
294
|
-
modelValue:
|
|
295
|
-
"onUpdate:modelValue": o[8] || (o[8] = (e) =>
|
|
288
|
+
default: t(() => [
|
|
289
|
+
a(ae, {
|
|
290
|
+
modelValue: $.value,
|
|
291
|
+
"onUpdate:modelValue": o[8] || (o[8] = (e) => $.value = e),
|
|
296
292
|
type: "daterange",
|
|
297
|
-
"start-placeholder":
|
|
298
|
-
"end-placeholder":
|
|
293
|
+
"start-placeholder": r.$t("orderInfo.startCreateTime"),
|
|
294
|
+
"end-placeholder": r.$t("orderInfo.endCreateTime"),
|
|
299
295
|
format: "YYYY-MM-DD",
|
|
300
296
|
"value-format": "YYYY-MM-DD",
|
|
301
|
-
onChange:
|
|
297
|
+
onChange: J
|
|
302
298
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
303
299
|
]),
|
|
304
300
|
_: 1
|
|
@@ -307,21 +303,21 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
307
303
|
_: 1
|
|
308
304
|
}),
|
|
309
305
|
a(f, { span: 18 }, {
|
|
310
|
-
default:
|
|
306
|
+
default: t(() => [
|
|
311
307
|
a(C, { class: "search-btn" }, {
|
|
312
|
-
default:
|
|
313
|
-
a(
|
|
308
|
+
default: t(() => [
|
|
309
|
+
a(R, {
|
|
314
310
|
type: "primary",
|
|
315
311
|
onClick: o[9] || (o[9] = (e) => n(v).handleQuery())
|
|
316
312
|
}, {
|
|
317
|
-
default:
|
|
318
|
-
u(l(
|
|
313
|
+
default: t(() => [
|
|
314
|
+
u(l(r.$t("common.search")), 1)
|
|
319
315
|
]),
|
|
320
316
|
_: 1
|
|
321
317
|
}),
|
|
322
|
-
a(
|
|
323
|
-
default:
|
|
324
|
-
u(l(
|
|
318
|
+
a(R, { onClick: X }, {
|
|
319
|
+
default: t(() => [
|
|
320
|
+
u(l(r.$t("common.reset")), 1)
|
|
325
321
|
]),
|
|
326
322
|
_: 1
|
|
327
323
|
})
|
|
@@ -338,31 +334,31 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
338
334
|
_: 1
|
|
339
335
|
}, 8, ["model"])
|
|
340
336
|
]),
|
|
341
|
-
c("div",
|
|
342
|
-
a(
|
|
343
|
-
default:
|
|
337
|
+
c("div", he, [
|
|
338
|
+
a(D, { gutter: 20 }, {
|
|
339
|
+
default: t(() => [
|
|
344
340
|
a(f, { span: 4 }, {
|
|
345
|
-
default:
|
|
341
|
+
default: t(() => [
|
|
346
342
|
o[15] || (o[15] = u("订阅单位:")),
|
|
347
|
-
c("span",
|
|
343
|
+
c("span", Ce, l(n(P).totalUnit || 0), 1),
|
|
348
344
|
o[16] || (o[16] = u("家 "))
|
|
349
345
|
]),
|
|
350
346
|
_: 1,
|
|
351
347
|
__: [15, 16]
|
|
352
348
|
}),
|
|
353
349
|
a(f, { span: 4 }, {
|
|
354
|
-
default:
|
|
350
|
+
default: t(() => [
|
|
355
351
|
o[17] || (o[17] = u(" 订阅报刊:")),
|
|
356
|
-
c("span",
|
|
352
|
+
c("span", ge, l(n(P).totalQuantity || 0), 1),
|
|
357
353
|
o[18] || (o[18] = u("份 "))
|
|
358
354
|
]),
|
|
359
355
|
_: 1,
|
|
360
356
|
__: [17, 18]
|
|
361
357
|
}),
|
|
362
358
|
a(f, { span: 4 }, {
|
|
363
|
-
default:
|
|
359
|
+
default: t(() => [
|
|
364
360
|
o[19] || (o[19] = u("订购总金额:")),
|
|
365
|
-
c("span",
|
|
361
|
+
c("span", Se, l(n(P).totalAmount || 0), 1),
|
|
366
362
|
o[20] || (o[20] = u("元 "))
|
|
367
363
|
]),
|
|
368
364
|
_: 1,
|
|
@@ -372,21 +368,21 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
372
368
|
_: 1
|
|
373
369
|
})
|
|
374
370
|
]),
|
|
375
|
-
a(
|
|
371
|
+
a(se, {
|
|
376
372
|
shadow: "never",
|
|
377
373
|
class: "table-container"
|
|
378
374
|
}, {
|
|
379
|
-
header:
|
|
380
|
-
a(
|
|
381
|
-
default:
|
|
375
|
+
header: t(() => [
|
|
376
|
+
a(D, null, {
|
|
377
|
+
default: t(() => [
|
|
382
378
|
a(f, {
|
|
383
379
|
span: 24,
|
|
384
380
|
class: "container-float"
|
|
385
381
|
}, {
|
|
386
|
-
default:
|
|
387
|
-
a(
|
|
382
|
+
default: t(() => [
|
|
383
|
+
a(le, {
|
|
388
384
|
modelValue: n(S),
|
|
389
|
-
"onUpdate:modelValue": o[10] || (o[10] = (e) =>
|
|
385
|
+
"onUpdate:modelValue": o[10] || (o[10] = (e) => W(S) ? S.value = e : S = e),
|
|
390
386
|
"label-name": "paper-order/order-info"
|
|
391
387
|
}, null, 8, ["modelValue"])
|
|
392
388
|
]),
|
|
@@ -396,11 +392,11 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
396
392
|
_: 1
|
|
397
393
|
})
|
|
398
394
|
]),
|
|
399
|
-
footer:
|
|
400
|
-
n(N) > 0 ? (p(), E(
|
|
395
|
+
footer: t(() => [
|
|
396
|
+
n(N) > 0 ? (p(), E(ue, {
|
|
401
397
|
key: 0,
|
|
402
398
|
total: n(N),
|
|
403
|
-
"onUpdate:total": o[11] || (o[11] = (e) =>
|
|
399
|
+
"onUpdate:total": o[11] || (o[11] = (e) => W(N) ? N.value = e : null),
|
|
404
400
|
"current-page": d.value.curPage,
|
|
405
401
|
"onUpdate:currentPage": o[12] || (o[12] = (e) => d.value.curPage = e),
|
|
406
402
|
"page-size": d.value.pageSize,
|
|
@@ -408,137 +404,137 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
408
404
|
onPagination: o[14] || (o[14] = (e) => n(v).getList())
|
|
409
405
|
}, null, 8, ["total", "current-page", "page-size"])) : b("", !0)
|
|
410
406
|
]),
|
|
411
|
-
default:
|
|
412
|
-
a(
|
|
407
|
+
default: t(() => [
|
|
408
|
+
a(de, {
|
|
413
409
|
ref_key: "multipleTableRef",
|
|
414
|
-
ref:
|
|
410
|
+
ref: K,
|
|
415
411
|
"row-key": "orderId",
|
|
416
|
-
"list-loading": n(
|
|
417
|
-
data: n(
|
|
412
|
+
"list-loading": n(G),
|
|
413
|
+
data: n(H),
|
|
418
414
|
"table-label": n(S),
|
|
419
415
|
isSelection: !1
|
|
420
416
|
}, {
|
|
421
|
-
createTime:
|
|
422
|
-
c("span", null, l(
|
|
417
|
+
createTime: t((e) => [
|
|
418
|
+
c("span", null, l(Z(e.data.row.createTime)), 1)
|
|
423
419
|
]),
|
|
424
|
-
spuName:
|
|
420
|
+
spuName: t((e) => {
|
|
425
421
|
var s, _, I;
|
|
426
422
|
return [
|
|
427
423
|
c("span", null, l((I = (_ = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : _[0]) == null ? void 0 : I.spuName), 1)
|
|
428
424
|
];
|
|
429
425
|
}),
|
|
430
|
-
quantity:
|
|
426
|
+
quantity: t((e) => {
|
|
431
427
|
var s, _, I;
|
|
432
428
|
return [
|
|
433
429
|
c("span", null, l((I = (_ = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : _[0]) == null ? void 0 : I.quantity), 1)
|
|
434
430
|
];
|
|
435
431
|
}),
|
|
436
|
-
unitPrice:
|
|
432
|
+
unitPrice: t((e) => {
|
|
437
433
|
var s, _, I;
|
|
438
434
|
return [
|
|
439
435
|
c("span", null, l((I = (_ = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : _[0]) == null ? void 0 : I.salesPrice), 1)
|
|
440
436
|
];
|
|
441
437
|
}),
|
|
442
|
-
orderCycle:
|
|
443
|
-
e.data.row.remark !== "undefined至undefined" ? (p(), y("span",
|
|
438
|
+
orderCycle: t((e) => [
|
|
439
|
+
e.data.row.remark !== "undefined至undefined" ? (p(), y("span", ke, l(e.data.row.remark), 1)) : b("", !0)
|
|
444
440
|
]),
|
|
445
|
-
unitName:
|
|
441
|
+
unitName: t((e) => [
|
|
446
442
|
c("span", null, l(n(m).unionOrgBizLayDict.getValue(e.data.row.shopBrancheId)), 1)
|
|
447
443
|
]),
|
|
448
|
-
orderStatus:
|
|
444
|
+
orderStatus: t((e) => [
|
|
449
445
|
c("div", null, [
|
|
450
|
-
e.data.row.orderStatus === n(h).UNPAY ? (p(), E(
|
|
446
|
+
e.data.row.orderStatus === n(h).UNPAY ? (p(), E(z, {
|
|
451
447
|
key: 0,
|
|
452
448
|
type: "danger"
|
|
453
449
|
}, {
|
|
454
|
-
default:
|
|
450
|
+
default: t(() => [
|
|
455
451
|
u(l(n(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
456
452
|
]),
|
|
457
453
|
_: 2
|
|
458
454
|
}, 1024)) : b("", !0),
|
|
459
|
-
e.data.row.orderStatus === n(h).UNPOST ? (p(), E(
|
|
455
|
+
e.data.row.orderStatus === n(h).UNPOST ? (p(), E(z, {
|
|
460
456
|
key: 1,
|
|
461
457
|
type: "success"
|
|
462
458
|
}, {
|
|
463
|
-
default:
|
|
459
|
+
default: t(() => [
|
|
464
460
|
u(l(n(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
465
461
|
]),
|
|
466
462
|
_: 2
|
|
467
463
|
}, 1024)) : b("", !0)
|
|
468
464
|
])
|
|
469
465
|
]),
|
|
470
|
-
paymentWay:
|
|
466
|
+
paymentWay: t((e) => [
|
|
471
467
|
c("span", null, l(n(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
|
472
468
|
]),
|
|
473
|
-
invoiceStatus:
|
|
469
|
+
invoiceStatus: t((e) => [
|
|
474
470
|
u(l(n(m).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
475
471
|
]),
|
|
476
|
-
mobilePhone:
|
|
477
|
-
e.data.row.mobileEncrypt ? (p(), y("span",
|
|
472
|
+
mobilePhone: t((e) => [
|
|
473
|
+
e.data.row.mobileEncrypt ? (p(), y("span", Ve, l(n(m).unionOrgPhoneBizLayDict.getValue(
|
|
478
474
|
e.data.row.shopBrancheId
|
|
479
|
-
)), 1)) : (p(), y("span",
|
|
475
|
+
)), 1)) : (p(), y("span", Ne, l(n(m).unionOrgPhoneInsBizLayDict.getValue(
|
|
480
476
|
e.data.row.shopBrancheId
|
|
481
477
|
)), 1)),
|
|
482
478
|
n(m).unionOrgPhoneBizLayDict.getValue(
|
|
483
479
|
e.data.row.shopBrancheId
|
|
484
|
-
) ? (p(), y("span",
|
|
485
|
-
w(a(
|
|
480
|
+
) ? (p(), y("span", Pe, [
|
|
481
|
+
w(a(A, {
|
|
486
482
|
"icon-class": "close-eye",
|
|
487
|
-
onClick: (s) =>
|
|
483
|
+
onClick: (s) => q(e.data.row)
|
|
488
484
|
}, null, 8, ["onClick"]), [
|
|
489
|
-
[
|
|
485
|
+
[Y, !e.data.row.mobileEncrypt]
|
|
490
486
|
]),
|
|
491
|
-
w(a(
|
|
487
|
+
w(a(A, {
|
|
492
488
|
"icon-class": "eye-open",
|
|
493
|
-
onClick: (s) =>
|
|
489
|
+
onClick: (s) => q(e.data.row)
|
|
494
490
|
}, null, 8, ["onClick"]), [
|
|
495
|
-
[
|
|
491
|
+
[Y, e.data.row.mobileEncrypt]
|
|
496
492
|
])
|
|
497
493
|
])) : b("", !0)
|
|
498
494
|
]),
|
|
499
|
-
operation:
|
|
495
|
+
operation: t((e) => [
|
|
500
496
|
w((p(), y("span", {
|
|
501
497
|
class: "el-button-color",
|
|
502
|
-
onClick: (s) =>
|
|
498
|
+
onClick: (s) => x(e.data.row)
|
|
503
499
|
}, [
|
|
504
|
-
u(l(
|
|
505
|
-
], 8,
|
|
500
|
+
u(l(r.$t("common.view")), 1)
|
|
501
|
+
], 8, $e)), [
|
|
506
502
|
[k, ["order:order_info:view"]]
|
|
507
503
|
]),
|
|
508
504
|
e.data.row.invoiceStatus === n(h).UNINVOICE && e.data.row.orderStatus === n(h).UNPOST ? w((p(), y("span", {
|
|
509
505
|
key: 0,
|
|
510
506
|
class: "el-button-color dropdown-left",
|
|
511
|
-
onClick: (s) =>
|
|
507
|
+
onClick: (s) => re(e.data.row)
|
|
512
508
|
}, [
|
|
513
|
-
u(l(
|
|
514
|
-
], 8,
|
|
509
|
+
u(l(r.$t("orderInfo.apply")), 1)
|
|
510
|
+
], 8, De)), [
|
|
515
511
|
[k, ["order:order_info:view"]]
|
|
516
512
|
]) : b("", !0),
|
|
517
513
|
e.data.row.invoiceStatus === n(h).INVOICING ? w((p(), y("span", {
|
|
518
514
|
key: 1,
|
|
519
515
|
class: "el-button-color dropdown-left",
|
|
520
|
-
onClick: (s) =>
|
|
516
|
+
onClick: (s) => ee(e.data.row)
|
|
521
517
|
}, [
|
|
522
|
-
u(l(
|
|
523
|
-
], 8,
|
|
518
|
+
u(l(r.$t("orderInfo.invoiceInformation")), 1)
|
|
519
|
+
], 8, Te)), [
|
|
524
520
|
[k, ["order:order_info:view"]]
|
|
525
521
|
]) : b("", !0),
|
|
526
522
|
e.data.row.orderStatus === n(h).UNPAY ? w((p(), y("span", {
|
|
527
523
|
key: 2,
|
|
528
524
|
class: "el-button-color dropdown-left",
|
|
529
|
-
onClick: (s) =>
|
|
525
|
+
onClick: (s) => te(e.data.row)
|
|
530
526
|
}, [
|
|
531
|
-
u(l(
|
|
532
|
-
], 8,
|
|
527
|
+
u(l(r.$t("orderInfo.payment")), 1)
|
|
528
|
+
], 8, Ee)), [
|
|
533
529
|
[k, ["order:order_info:view"]]
|
|
534
530
|
]) : b("", !0),
|
|
535
531
|
e.data.row.invoiceStatus === n(h).INVOICED ? w((p(), y("span", {
|
|
536
532
|
key: 3,
|
|
537
533
|
class: "el-button-color dropdown-left",
|
|
538
|
-
onClick: (s) =>
|
|
534
|
+
onClick: (s) => oe(e.data.row)
|
|
539
535
|
}, [
|
|
540
|
-
u(l(
|
|
541
|
-
], 8,
|
|
536
|
+
u(l(r.$t("orderInfo.viewInvoice")), 1)
|
|
537
|
+
], 8, Ue)), [
|
|
542
538
|
[k, ["order:order_info:view"]]
|
|
543
539
|
]) : b("", !0)
|
|
544
540
|
]),
|
|
@@ -552,5 +548,5 @@ const he = { class: "app-container" }, Ce = { class: "search-container dis_botto
|
|
|
552
548
|
}
|
|
553
549
|
});
|
|
554
550
|
export {
|
|
555
|
-
|
|
551
|
+
je as default
|
|
556
552
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as C, reactive as T, onActivated as le, reso
|
|
|
2
2
|
import { useTableHooks as re } from "jmash-core";
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
4
|
import { o as se } from "./index-BP8zUjOw.mjs";
|
|
5
|
-
import de from "./edit-
|
|
5
|
+
import de from "./edit-DHXk9uMQ.mjs";
|
|
6
6
|
const ie = { class: "app-container" }, me = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], ke = /* @__PURE__ */ te({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ce) {
|