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
|
@@ -1,43 +1,54 @@
|
|
|
1
|
-
import { defineComponent as ie, ref as U, onActivated as
|
|
2
|
-
import { D as
|
|
3
|
-
import { o as Q } from "./index-
|
|
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
|
+
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) {
|
|
30
|
+
if (!t || t.length !== 2) {
|
|
31
|
+
d.value.startDate = "", d.value.endDate = "";
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
29
34
|
d.value.startDate = t[0], d.value.endDate = t[1];
|
|
30
35
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
36
|
+
function J() {
|
|
37
|
+
$.value = [], d.value.startDate = "", d.value.endDate = "", c.resetQuery();
|
|
33
38
|
}
|
|
34
|
-
let
|
|
39
|
+
let k = U([
|
|
35
40
|
{
|
|
36
41
|
label: "orderInfo.orderCode",
|
|
37
42
|
prop: "orderCode",
|
|
38
43
|
width: "270",
|
|
39
44
|
isColumn: !0
|
|
40
45
|
},
|
|
46
|
+
{
|
|
47
|
+
label: "orderInfo.unitName",
|
|
48
|
+
prop: "userIdentifier",
|
|
49
|
+
minWidth: "180",
|
|
50
|
+
isColumn: !0
|
|
51
|
+
},
|
|
41
52
|
{
|
|
42
53
|
label: "orderInfo.spuName",
|
|
43
54
|
prop: "spuName",
|
|
@@ -46,12 +57,6 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
46
57
|
slotName: "spuName",
|
|
47
58
|
columnType: "slot"
|
|
48
59
|
},
|
|
49
|
-
{
|
|
50
|
-
label: "orderInfo.unitName",
|
|
51
|
-
prop: "userIdentifier",
|
|
52
|
-
minWidth: "180",
|
|
53
|
-
isColumn: !0
|
|
54
|
-
},
|
|
55
60
|
{
|
|
56
61
|
label: "orderInfo.paperNumber",
|
|
57
62
|
prop: "quantity",
|
|
@@ -60,14 +65,6 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
60
65
|
slotName: "quantity",
|
|
61
66
|
columnType: "slot"
|
|
62
67
|
},
|
|
63
|
-
{
|
|
64
|
-
label: "orderInfo.unitPrice",
|
|
65
|
-
prop: "unitPrice",
|
|
66
|
-
width: "105",
|
|
67
|
-
isColumn: !0,
|
|
68
|
-
slotName: "unitPrice",
|
|
69
|
-
columnType: "slot"
|
|
70
|
-
},
|
|
71
68
|
{
|
|
72
69
|
label: "orderInfo.salesPrice",
|
|
73
70
|
prop: "salesPrice",
|
|
@@ -91,12 +88,28 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
91
88
|
columnType: "slot"
|
|
92
89
|
},
|
|
93
90
|
{
|
|
94
|
-
label: "orderInfo.
|
|
95
|
-
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",
|
|
96
101
|
width: "160",
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
|
100
113
|
},
|
|
101
114
|
{
|
|
102
115
|
label: "orderInfo.orderCycle",
|
|
@@ -107,12 +120,12 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
107
120
|
columnType: "slot"
|
|
108
121
|
},
|
|
109
122
|
{
|
|
110
|
-
label: "orderInfo.
|
|
111
|
-
prop: "
|
|
123
|
+
label: "orderInfo.mobilePhone",
|
|
124
|
+
prop: "mobilePhone",
|
|
112
125
|
width: "160",
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
126
|
+
isColumn: !0,
|
|
127
|
+
slotName: "mobilePhone",
|
|
128
|
+
columnType: "slot"
|
|
116
129
|
},
|
|
117
130
|
{
|
|
118
131
|
label: "common.operate",
|
|
@@ -123,20 +136,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
123
136
|
isColumn: !0
|
|
124
137
|
}
|
|
125
138
|
]);
|
|
126
|
-
function
|
|
139
|
+
function A(t) {
|
|
127
140
|
return t ? new Date(t).toLocaleString() : "";
|
|
128
141
|
}
|
|
129
142
|
function X(t) {
|
|
130
143
|
t.mobileEncrypt = !t.mobileEncrypt;
|
|
131
144
|
}
|
|
132
145
|
function Z(t) {
|
|
133
|
-
|
|
146
|
+
h.push({
|
|
134
147
|
path: "/buyer/order-info/info",
|
|
135
148
|
query: { orderId: t.orderId }
|
|
136
149
|
});
|
|
137
150
|
}
|
|
138
151
|
function x(t) {
|
|
139
|
-
|
|
152
|
+
h.push({
|
|
140
153
|
path: "/buyer/order-info/invoice",
|
|
141
154
|
query: {
|
|
142
155
|
orderCode: t.orderCode,
|
|
@@ -145,7 +158,7 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
145
158
|
});
|
|
146
159
|
}
|
|
147
160
|
function ee(t) {
|
|
148
|
-
|
|
161
|
+
h.push({
|
|
149
162
|
path: "/buyer/order-info/invoiceView",
|
|
150
163
|
query: {
|
|
151
164
|
orderCode: t.orderCode,
|
|
@@ -156,13 +169,13 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
156
169
|
async function oe(t) {
|
|
157
170
|
try {
|
|
158
171
|
const o = await Q.queryOrderAddress({ orderId: t.orderId });
|
|
159
|
-
o && o.data === !0 ?
|
|
172
|
+
o && o.data === !0 ? h.push({
|
|
160
173
|
path: "/buyer/order-newspaper/orderDetails",
|
|
161
174
|
query: {
|
|
162
175
|
orderId: t.orderId,
|
|
163
176
|
shopId: t.shopId
|
|
164
177
|
}
|
|
165
|
-
}) : o && o.data === !1 &&
|
|
178
|
+
}) : o && o.data === !1 && h.push({
|
|
166
179
|
path: "/buyer/order-newspaper/orderAddress",
|
|
167
180
|
query: { orderId: t.orderId }
|
|
168
181
|
});
|
|
@@ -170,39 +183,39 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
170
183
|
}
|
|
171
184
|
}
|
|
172
185
|
function te(t) {
|
|
173
|
-
|
|
186
|
+
h.push({
|
|
174
187
|
path: "/buyer/order-info/applyEdit",
|
|
175
188
|
query: { orderId: t.orderId }
|
|
176
189
|
});
|
|
177
190
|
}
|
|
178
|
-
return
|
|
179
|
-
|
|
191
|
+
return me(() => {
|
|
192
|
+
c.getList();
|
|
180
193
|
}), (t, o) => {
|
|
181
|
-
const O = i("el-input"),
|
|
182
|
-
return
|
|
183
|
-
|
|
184
|
-
|
|
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, {
|
|
185
198
|
ref_key: "queryFormRef",
|
|
186
|
-
ref:
|
|
199
|
+
ref: B,
|
|
187
200
|
model: d.value,
|
|
188
201
|
inline: !0
|
|
189
202
|
}, {
|
|
190
203
|
default: r(() => [
|
|
191
|
-
|
|
204
|
+
a(D, null, {
|
|
192
205
|
default: r(() => [
|
|
193
|
-
|
|
206
|
+
a(m, { span: 6 }, {
|
|
194
207
|
default: r(() => [
|
|
195
|
-
|
|
208
|
+
a(C, {
|
|
196
209
|
label: t.$t("orderInfo.orderCode"),
|
|
197
210
|
prop: "likeOrderCode"
|
|
198
211
|
}, {
|
|
199
212
|
default: r(() => [
|
|
200
|
-
|
|
213
|
+
a(O, {
|
|
201
214
|
modelValue: d.value.likeOrderCode,
|
|
202
215
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeOrderCode = e),
|
|
203
216
|
placeholder: t.$t("orderInfo.orderCodeRequired"),
|
|
204
217
|
clearable: "",
|
|
205
|
-
onKeyup: o[1] || (o[1] = P((e) =>
|
|
218
|
+
onKeyup: o[1] || (o[1] = P((e) => n(c).handleQuery(), ["enter"])),
|
|
206
219
|
class: "!w-[203px]"
|
|
207
220
|
}, null, 8, ["modelValue", "placeholder"])
|
|
208
221
|
]),
|
|
@@ -211,19 +224,19 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
211
224
|
]),
|
|
212
225
|
_: 1
|
|
213
226
|
}),
|
|
214
|
-
|
|
227
|
+
a(m, { span: 6 }, {
|
|
215
228
|
default: r(() => [
|
|
216
|
-
|
|
229
|
+
a(C, {
|
|
217
230
|
label: t.$t("orderInfo.spuName"),
|
|
218
231
|
prop: "likeSpuName"
|
|
219
232
|
}, {
|
|
220
233
|
default: r(() => [
|
|
221
|
-
|
|
234
|
+
a(O, {
|
|
222
235
|
modelValue: d.value.likeSpuName,
|
|
223
236
|
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeSpuName = e),
|
|
224
237
|
placeholder: t.$t("orderInfo.spuNameRequired"),
|
|
225
238
|
clearable: "",
|
|
226
|
-
onKeyup: o[3] || (o[3] = P((e) =>
|
|
239
|
+
onKeyup: o[3] || (o[3] = P((e) => n(c).handleQuery(), ["enter"])),
|
|
227
240
|
class: "!w-[203px]"
|
|
228
241
|
}, null, 8, ["modelValue", "placeholder"])
|
|
229
242
|
]),
|
|
@@ -232,20 +245,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
232
245
|
]),
|
|
233
246
|
_: 1
|
|
234
247
|
}),
|
|
235
|
-
|
|
248
|
+
a(m, { span: 6 }, {
|
|
236
249
|
default: r(() => [
|
|
237
|
-
|
|
250
|
+
a(C, {
|
|
238
251
|
label: t.$t("orderInfo.orderStatus"),
|
|
239
252
|
prop: "orderStatusPc"
|
|
240
253
|
}, {
|
|
241
254
|
default: r(() => [
|
|
242
|
-
|
|
255
|
+
a(j, {
|
|
243
256
|
modelValue: d.value.orderStatusPc,
|
|
244
257
|
"onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.orderStatusPc = e),
|
|
245
|
-
data:
|
|
258
|
+
data: n(I).orderStatusEnum.values,
|
|
246
259
|
placeholder: t.$t("orderInfo.orderStatusRequired"),
|
|
247
260
|
clearable: "",
|
|
248
|
-
onKeyup: o[5] || (o[5] = P((e) =>
|
|
261
|
+
onKeyup: o[5] || (o[5] = P((e) => n(c).handleQuery(), ["enter"]))
|
|
249
262
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
250
263
|
]),
|
|
251
264
|
_: 1
|
|
@@ -253,20 +266,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
253
266
|
]),
|
|
254
267
|
_: 1
|
|
255
268
|
}),
|
|
256
|
-
|
|
269
|
+
a(m, { span: 6 }, {
|
|
257
270
|
default: r(() => [
|
|
258
|
-
|
|
271
|
+
a(C, {
|
|
259
272
|
label: t.$t("orderInfo.invoiceStatus"),
|
|
260
273
|
prop: "invoiceStatus"
|
|
261
274
|
}, {
|
|
262
275
|
default: r(() => [
|
|
263
|
-
|
|
276
|
+
a(j, {
|
|
264
277
|
modelValue: d.value.invoiceStatus,
|
|
265
278
|
"onUpdate:modelValue": o[6] || (o[6] = (e) => d.value.invoiceStatus = e),
|
|
266
|
-
data:
|
|
279
|
+
data: n(I).invoiceStatusEnum.values,
|
|
267
280
|
placeholder: t.$t("orderInfo.invoiceStatusRequired"),
|
|
268
281
|
clearable: "",
|
|
269
|
-
onKeyup: o[7] || (o[7] = P((e) =>
|
|
282
|
+
onKeyup: o[7] || (o[7] = P((e) => n(c).handleQuery(), ["enter"]))
|
|
270
283
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
271
284
|
]),
|
|
272
285
|
_: 1
|
|
@@ -274,22 +287,22 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
274
287
|
]),
|
|
275
288
|
_: 1
|
|
276
289
|
}),
|
|
277
|
-
|
|
290
|
+
a(m, { span: 6 }, {
|
|
278
291
|
default: r(() => [
|
|
279
|
-
|
|
292
|
+
a(C, {
|
|
280
293
|
label: t.$t("orderInfo.createTime"),
|
|
281
294
|
prop: "startCreateTime"
|
|
282
295
|
}, {
|
|
283
296
|
default: r(() => [
|
|
284
|
-
|
|
285
|
-
modelValue:
|
|
286
|
-
"onUpdate:modelValue": o[8] || (o[8] = (e) =>
|
|
297
|
+
a(re, {
|
|
298
|
+
modelValue: $.value,
|
|
299
|
+
"onUpdate:modelValue": o[8] || (o[8] = (e) => $.value = e),
|
|
287
300
|
type: "daterange",
|
|
288
301
|
"start-placeholder": t.$t("orderInfo.startCreateTime"),
|
|
289
302
|
"end-placeholder": t.$t("orderInfo.endCreateTime"),
|
|
290
303
|
format: "YYYY-MM-DD",
|
|
291
304
|
"value-format": "YYYY-MM-DD",
|
|
292
|
-
onChange:
|
|
305
|
+
onChange: H
|
|
293
306
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
294
307
|
]),
|
|
295
308
|
_: 1
|
|
@@ -297,20 +310,20 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
297
310
|
]),
|
|
298
311
|
_: 1
|
|
299
312
|
}),
|
|
300
|
-
|
|
313
|
+
a(m, { span: 18 }, {
|
|
301
314
|
default: r(() => [
|
|
302
|
-
|
|
315
|
+
a(C, { class: "search-btn" }, {
|
|
303
316
|
default: r(() => [
|
|
304
|
-
|
|
317
|
+
a(E, {
|
|
305
318
|
type: "primary",
|
|
306
|
-
onClick: o[9] || (o[9] = (e) =>
|
|
319
|
+
onClick: o[9] || (o[9] = (e) => n(c).handleQuery())
|
|
307
320
|
}, {
|
|
308
321
|
default: r(() => [
|
|
309
322
|
u(l(t.$t("common.search")), 1)
|
|
310
323
|
]),
|
|
311
324
|
_: 1
|
|
312
325
|
}),
|
|
313
|
-
|
|
326
|
+
a(E, { onClick: J }, {
|
|
314
327
|
default: r(() => [
|
|
315
328
|
u(l(t.$t("common.reset")), 1)
|
|
316
329
|
]),
|
|
@@ -329,31 +342,31 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
329
342
|
_: 1
|
|
330
343
|
}, 8, ["model"])
|
|
331
344
|
]),
|
|
332
|
-
|
|
333
|
-
|
|
345
|
+
f("div", _e, [
|
|
346
|
+
a(D, { gutter: 20 }, {
|
|
334
347
|
default: r(() => [
|
|
335
|
-
|
|
348
|
+
a(m, { span: 4 }, {
|
|
336
349
|
default: r(() => [
|
|
337
350
|
o[16] || (o[16] = u("订阅单位:")),
|
|
338
|
-
|
|
351
|
+
f("span", we, l(n(T).totalUnit || 0), 1),
|
|
339
352
|
o[17] || (o[17] = u("家 "))
|
|
340
353
|
]),
|
|
341
354
|
_: 1,
|
|
342
355
|
__: [16, 17]
|
|
343
356
|
}),
|
|
344
|
-
|
|
357
|
+
a(m, { span: 4 }, {
|
|
345
358
|
default: r(() => [
|
|
346
359
|
o[18] || (o[18] = u(" 订阅报刊:")),
|
|
347
|
-
|
|
360
|
+
f("span", he, l(n(T).totalQuantity || 0), 1),
|
|
348
361
|
o[19] || (o[19] = u("份 "))
|
|
349
362
|
]),
|
|
350
363
|
_: 1,
|
|
351
364
|
__: [18, 19]
|
|
352
365
|
}),
|
|
353
|
-
|
|
366
|
+
a(m, { span: 4 }, {
|
|
354
367
|
default: r(() => [
|
|
355
368
|
o[20] || (o[20] = u("订购总金额:")),
|
|
356
|
-
|
|
369
|
+
f("span", Ce, l(n(T).totalAmount || 0), 1),
|
|
357
370
|
o[21] || (o[21] = u("元 "))
|
|
358
371
|
]),
|
|
359
372
|
_: 1,
|
|
@@ -363,34 +376,34 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
363
376
|
_: 1
|
|
364
377
|
})
|
|
365
378
|
]),
|
|
366
|
-
|
|
379
|
+
a(se, {
|
|
367
380
|
shadow: "never",
|
|
368
381
|
class: "table-container"
|
|
369
382
|
}, {
|
|
370
383
|
header: r(() => [
|
|
371
|
-
|
|
384
|
+
a(D, null, {
|
|
372
385
|
default: r(() => [
|
|
373
|
-
|
|
374
|
-
|
|
386
|
+
a(m, { span: 17 }),
|
|
387
|
+
a(m, {
|
|
375
388
|
span: 7,
|
|
376
389
|
class: "container-float"
|
|
377
390
|
}, {
|
|
378
391
|
default: r(() => [
|
|
379
|
-
|
|
392
|
+
g((p(), V(E, {
|
|
380
393
|
plain: "",
|
|
381
394
|
type: "primary",
|
|
382
|
-
onClick: o[10] || (o[10] = (e) =>
|
|
395
|
+
onClick: o[10] || (o[10] = (e) => n(c).handleExport(n(M)("orderInfo.name")))
|
|
383
396
|
}, {
|
|
384
397
|
default: r(() => [
|
|
385
|
-
u(l(t.$t("
|
|
398
|
+
u(l(t.$t("orderInfo.paperInfoName")), 1)
|
|
386
399
|
]),
|
|
387
400
|
_: 1
|
|
388
401
|
})), [
|
|
389
|
-
[
|
|
402
|
+
[S, ["order:order_info:export"]]
|
|
390
403
|
]),
|
|
391
|
-
|
|
392
|
-
modelValue:
|
|
393
|
-
"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),
|
|
394
407
|
"label-name": "paper-order/order-info"
|
|
395
408
|
}, null, 8, ["modelValue"])
|
|
396
409
|
]),
|
|
@@ -401,80 +414,86 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
401
414
|
})
|
|
402
415
|
]),
|
|
403
416
|
footer: r(() => [
|
|
404
|
-
|
|
417
|
+
n(N) > 0 ? (p(), V(ue, {
|
|
405
418
|
key: 0,
|
|
406
|
-
total:
|
|
419
|
+
total: n(N),
|
|
407
420
|
"onUpdate:total": o[12] || (o[12] = (e) => L(N) ? N.value = e : null),
|
|
408
421
|
"current-page": d.value.curPage,
|
|
409
422
|
"onUpdate:currentPage": o[13] || (o[13] = (e) => d.value.curPage = e),
|
|
410
423
|
"page-size": d.value.pageSize,
|
|
411
424
|
"onUpdate:pageSize": o[14] || (o[14] = (e) => d.value.pageSize = e),
|
|
412
|
-
onPagination: o[15] || (o[15] = (e) =>
|
|
413
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
425
|
+
onPagination: o[15] || (o[15] = (e) => n(c).getList())
|
|
426
|
+
}, null, 8, ["total", "current-page", "page-size"])) : v("", !0)
|
|
414
427
|
]),
|
|
415
428
|
default: r(() => [
|
|
416
|
-
|
|
429
|
+
a(de, {
|
|
417
430
|
ref_key: "multipleTableRef",
|
|
418
431
|
ref: K,
|
|
419
432
|
"row-key": "orderId",
|
|
420
|
-
"list-loading":
|
|
421
|
-
data:
|
|
422
|
-
"table-label":
|
|
433
|
+
"list-loading": n(F),
|
|
434
|
+
data: n(W),
|
|
435
|
+
"table-label": n(k),
|
|
423
436
|
isSelection: !1
|
|
424
437
|
}, {
|
|
425
438
|
createTime: r((e) => [
|
|
426
|
-
|
|
439
|
+
f("span", null, l(A(e.data.row.createTime)), 1)
|
|
427
440
|
]),
|
|
428
441
|
spuName: r((e) => {
|
|
429
|
-
var s,
|
|
442
|
+
var s, y, b;
|
|
430
443
|
return [
|
|
431
|
-
|
|
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)
|
|
432
445
|
];
|
|
433
446
|
}),
|
|
434
447
|
quantity: r((e) => {
|
|
435
|
-
var s,
|
|
448
|
+
var s, y, b;
|
|
436
449
|
return [
|
|
437
|
-
|
|
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)
|
|
438
451
|
];
|
|
439
452
|
}),
|
|
440
453
|
unitPrice: r((e) => {
|
|
441
|
-
var s,
|
|
454
|
+
var s, y, b;
|
|
442
455
|
return [
|
|
443
|
-
|
|
444
|
-
(
|
|
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
|
|
445
458
|
)), 1)
|
|
446
459
|
];
|
|
447
460
|
}),
|
|
448
461
|
orderCycle: r((e) => [
|
|
449
|
-
e.data.row.remark !== "undefined至undefined" ? (
|
|
462
|
+
e.data.row.remark !== "undefined至undefined" ? (p(), _("span", Se, l(e.data.row.remark), 1)) : v("", !0)
|
|
450
463
|
]),
|
|
451
464
|
orderStatus: r((e) => [
|
|
452
|
-
|
|
453
|
-
e.data.row.orderStatus ===
|
|
465
|
+
f("div", null, [
|
|
466
|
+
e.data.row.orderStatus === n(w).UNPAY ? (p(), V(Y, {
|
|
454
467
|
key: 0,
|
|
455
468
|
type: "danger"
|
|
456
469
|
}, {
|
|
457
470
|
default: r(() => [
|
|
458
|
-
u(l(
|
|
471
|
+
u(l(n(I).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
459
472
|
]),
|
|
460
473
|
_: 2
|
|
461
|
-
}, 1024)) :
|
|
462
|
-
e.data.row.orderStatus ===
|
|
474
|
+
}, 1024)) : v("", !0),
|
|
475
|
+
e.data.row.orderStatus === n(w).UNPOST ? (p(), V(Y, {
|
|
463
476
|
key: 1,
|
|
464
477
|
type: "success"
|
|
465
478
|
}, {
|
|
466
479
|
default: r(() => [
|
|
467
|
-
u(l(
|
|
480
|
+
u(l(n(I).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
468
481
|
]),
|
|
469
482
|
_: 2
|
|
470
|
-
}, 1024)) :
|
|
483
|
+
}, 1024)) : v("", !0)
|
|
471
484
|
])
|
|
472
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
|
+
]),
|
|
473
492
|
invoiceStatus: r((e) => [
|
|
474
|
-
u(l(
|
|
493
|
+
u(l(n(I).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
475
494
|
]),
|
|
476
495
|
mobilePhone: r((e) => [
|
|
477
|
-
|
|
496
|
+
a(le, {
|
|
478
497
|
mobilePhoneIns: e.data.row.mobilePhoneIns,
|
|
479
498
|
mobilePhone: e.data.row.mobilePhone,
|
|
480
499
|
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
@@ -482,50 +501,50 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
482
501
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
483
502
|
]),
|
|
484
503
|
operation: r((e) => [
|
|
485
|
-
|
|
504
|
+
g((p(), _("span", {
|
|
486
505
|
class: "el-button-color",
|
|
487
506
|
onClick: (s) => Z(e.data.row)
|
|
488
507
|
}, [
|
|
489
508
|
u(l(t.$t("common.view")), 1)
|
|
490
509
|
], 8, ge)), [
|
|
491
|
-
[
|
|
510
|
+
[S, ["order:order_info:view"]]
|
|
492
511
|
]),
|
|
493
|
-
e.data.row.invoiceStatus ===
|
|
512
|
+
e.data.row.invoiceStatus === n(w).UNINVOICE && e.data.row.orderStatus === n(w).UNPOST ? g((p(), _("span", {
|
|
494
513
|
key: 0,
|
|
495
514
|
class: "el-button-color dropdown-left",
|
|
496
515
|
onClick: (s) => te(e.data.row)
|
|
497
516
|
}, [
|
|
498
517
|
u(l(t.$t("orderInfo.apply")), 1)
|
|
499
518
|
], 8, ke)), [
|
|
500
|
-
[
|
|
501
|
-
]) :
|
|
502
|
-
e.data.row.invoiceStatus ===
|
|
519
|
+
[S, ["order:order_info:view"]]
|
|
520
|
+
]) : v("", !0),
|
|
521
|
+
e.data.row.invoiceStatus === n(w).INVOICING ? g((p(), _("span", {
|
|
503
522
|
key: 1,
|
|
504
523
|
class: "el-button-color dropdown-left",
|
|
505
524
|
onClick: (s) => x(e.data.row)
|
|
506
525
|
}, [
|
|
507
526
|
u(l(t.$t("orderInfo.invoiceInformation")), 1)
|
|
508
527
|
], 8, Ne)), [
|
|
509
|
-
[
|
|
510
|
-
]) :
|
|
511
|
-
e.data.row.orderStatus ===
|
|
528
|
+
[S, ["order:order_info:view"]]
|
|
529
|
+
]) : v("", !0),
|
|
530
|
+
e.data.row.orderStatus === n(w).UNPAY ? g((p(), _("span", {
|
|
512
531
|
key: 2,
|
|
513
532
|
class: "el-button-color dropdown-left",
|
|
514
533
|
onClick: (s) => oe(e.data.row)
|
|
515
534
|
}, [
|
|
516
535
|
u(l(t.$t("orderInfo.payment")), 1)
|
|
517
536
|
], 8, Pe)), [
|
|
518
|
-
[
|
|
519
|
-
]) :
|
|
520
|
-
e.data.row.invoiceStatus ===
|
|
537
|
+
[S, ["order:order_info:view"]]
|
|
538
|
+
]) : v("", !0),
|
|
539
|
+
e.data.row.invoiceStatus === n(w).INVOICED ? g((p(), _("span", {
|
|
521
540
|
key: 3,
|
|
522
541
|
class: "el-button-color dropdown-left",
|
|
523
542
|
onClick: (s) => ee(e.data.row)
|
|
524
543
|
}, [
|
|
525
544
|
u(l(t.$t("orderInfo.viewInvoice")), 1)
|
|
526
|
-
], 8,
|
|
527
|
-
[
|
|
528
|
-
]) :
|
|
545
|
+
], 8, Ve)), [
|
|
546
|
+
[S, ["order:order_info:view"]]
|
|
547
|
+
]) : v("", !0)
|
|
529
548
|
]),
|
|
530
549
|
_: 1
|
|
531
550
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -537,5 +556,5 @@ const ye = { class: "app-container" }, Ie = { class: "search-container dis_botto
|
|
|
537
556
|
}
|
|
538
557
|
});
|
|
539
558
|
export {
|
|
540
|
-
|
|
559
|
+
Ae as default
|
|
541
560
|
};
|