xyvcard-paper-buyer 0.0.57 → 0.0.59
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-CaA6msp0.mjs} +2 -2
- package/dist/index-BsMxZHKS.mjs +77 -0
- package/dist/{index-Cl3sRj1E.mjs → index-Dm1jWxfy.mjs} +184 -169
- package/dist/index.mjs +14 -10
- package/dist/{info-Db-eQyrG.mjs → info-DzP1Rqdp.mjs} +1 -1
- package/dist/invoice-FyU8UuaA.mjs +176 -0
- package/dist/{invoiceEdit-B-GHm9GY.mjs → invoiceEdit-D_Kyu67m.mjs} +2 -2
- package/dist/{orderInfo-PLvka9mS.mjs → orderInfo-C-vhqrxN.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{userInvoice-CDsynyWz.mjs → userInvoice-BU6NDRlL.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-Bzqz4vIJ.mjs → userInvoice.vue_vue_type_script_setup_true_lang-CM1wsRXx.mjs} +1 -1
- package/dts/api/buyer/index.d.ts +2 -0
- package/dts/constant.d.ts +3 -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/invoice-C6mhD6zX.mjs +0 -174
|
@@ -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-BsMxZHKS.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
|
};
|