xyvcard-paper-buyer 0.0.44 → 0.0.46
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-DMbelNYl.mjs → applyEdit-Ch-oVoTx.mjs} +3 -3
- package/dist/{confirm-BYEYokBP.mjs → confirm-CLQHmyNq.mjs} +41 -40
- package/dist/{index-DyTbbNUO.mjs → index-BKZPqxLM.mjs} +518 -500
- package/dist/{index-CJvB_knp.mjs → index-Cn-5Spij.mjs} +165 -192
- package/dist/index-Knr6dYOL.mjs +66 -0
- package/dist/index.mjs +2 -2
- package/dist/{info-iJb2mpwO.mjs → info-BshHBFtv.mjs} +2 -2
- package/dist/{invoiceEdit-D3qEYbNL.mjs → invoiceEdit-CpBEUGPH.mjs} +2 -2
- package/dist/{onlineBanking-CdDAY0YQ.mjs → onlineBanking-5anhjN7y.mjs} +23 -24
- package/dist/{orderInfo-BE6BEAw1.mjs → orderInfo-D4kQAdLE.mjs} +4 -4
- package/dist/{orderPaper-DAXED5UU.mjs → orderPaper-DUCuNxKR.mjs} +50 -49
- package/dist/{payment-DD_Lhvf0.mjs → payment-D2PWs1qD.mjs} +22 -25
- package/dist/style.css +1 -1
- package/dist/{userInvoice-CZ7yW4I6.mjs → userInvoice-DPxbKmv9.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs → userInvoice.vue_vue_type_script_setup_true_lang-3eHl8CCv.mjs} +1 -1
- package/dts/api/buyer/dict.d.ts +0 -13
- package/dts/api/buyer/index.d.ts +1 -4
- package/dts/api/buyer/order-newspaper/types.d.ts +2 -0
- package/dts/constant.d.ts +0 -1
- package/dts/main.d.ts +0 -1
- package/package.json +2 -4
- package/dist/index-BPKQNnjE.mjs +0 -153
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as
|
|
3
|
-
import { o as
|
|
4
|
-
import { vueMetaEnv as fe, useTableHooks as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { useRouter as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class: "distance-left"
|
|
10
|
-
}, Pe = ["onClick"], $e = ["onClick"], De = ["onClick"], Te = ["onClick"], Ee = ["onClick"], Ye = /* @__PURE__ */ pe({
|
|
1
|
+
import { defineComponent as ie, ref as E, onActivated as me, resolveComponent as i, resolveDirective as pe, createElementBlock as I, openBlock as p, createElementVNode as f, createVNode as n, withCtx as r, withKeys as P, unref as a, createTextVNode as u, toDisplayString as d, withDirectives as g, createCommentVNode as y, createBlock as D, isRef as Y } from "vue";
|
|
2
|
+
import { D as k, C as _ } from "./index-Knr6dYOL.mjs";
|
|
3
|
+
import { o as L } from "./index-BKZPqxLM.mjs";
|
|
4
|
+
import { vueMetaEnv as fe, useTableHooks as ce } from "jmash-core";
|
|
5
|
+
import { useI18n as be } from "vue-i18n";
|
|
6
|
+
import { useRouter as ve } from "vue-router";
|
|
7
|
+
import { E as ye } from "./el-message-VSzNakoG.mjs";
|
|
8
|
+
const Ie = { class: "app-container" }, _e = { class: "search-container dis_bottom" }, we = { class: "total-num dis_bottom" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Se = { class: "blue_color" }, ge = { key: 0 }, ke = ["onClick"], Ne = ["onClick"], Pe = ["onClick"], Ve = ["onClick"], $e = ["onClick"], Ye = /* @__PURE__ */ ie({
|
|
11
9
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const U = localStorage.getItem("unionUserInfo"),
|
|
14
|
-
m.unionOrgBizLayDict.useValues(), m.unionOrgPhoneBizLayDict.useValues(), m.unionOrgPhoneInsBizLayDict.useValues();
|
|
15
|
-
const q = fe.APP_ORGAN_ID, { t: M } = ve(), C = Ie(), d = T({
|
|
10
|
+
setup(Te) {
|
|
11
|
+
const U = localStorage.getItem("unionUserInfo"), Q = (U ? JSON.parse(U) : {}).orgId, q = fe.APP_ORGAN_ID, { t: z } = be(), h = ve(), l = E({
|
|
16
12
|
curPage: 1,
|
|
17
13
|
pageSize: 10,
|
|
18
|
-
shopBranchId:
|
|
14
|
+
shopBranchId: Q
|
|
19
15
|
}), {
|
|
20
|
-
tableHooks:
|
|
21
|
-
multipleTableRef:
|
|
22
|
-
queryFormRef:
|
|
23
|
-
listLoading:
|
|
24
|
-
tableData:
|
|
16
|
+
tableHooks: c,
|
|
17
|
+
multipleTableRef: M,
|
|
18
|
+
queryFormRef: K,
|
|
19
|
+
listLoading: B,
|
|
20
|
+
tableData: F,
|
|
25
21
|
total: N
|
|
26
|
-
} =
|
|
27
|
-
function
|
|
22
|
+
} = ce(z, L, l), V = c.totalRecord;
|
|
23
|
+
function W(t) {
|
|
28
24
|
if (!t) return "0";
|
|
29
25
|
const o = parseFloat(String(t));
|
|
30
26
|
return Number.isInteger(o) ? o.toString() : o.toFixed(2);
|
|
31
27
|
}
|
|
32
|
-
const $ =
|
|
33
|
-
function
|
|
34
|
-
|
|
28
|
+
const $ = E([]);
|
|
29
|
+
function G(t) {
|
|
30
|
+
l.value.startDate = t[0], l.value.endDate = t[1];
|
|
35
31
|
}
|
|
36
|
-
function
|
|
37
|
-
$.value = [],
|
|
32
|
+
function H() {
|
|
33
|
+
$.value = [], l.value.startDate = "", l.value.endDate = "", c.resetQuery();
|
|
38
34
|
}
|
|
39
|
-
let
|
|
35
|
+
let C = E([
|
|
40
36
|
{
|
|
41
37
|
label: "orderInfo.orderCode",
|
|
42
38
|
prop: "orderCode",
|
|
@@ -53,11 +49,9 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
53
49
|
},
|
|
54
50
|
{
|
|
55
51
|
label: "orderInfo.unitName",
|
|
56
|
-
prop: "
|
|
52
|
+
prop: "userIdentifier",
|
|
57
53
|
minWidth: "180",
|
|
58
|
-
isColumn: !0
|
|
59
|
-
slotName: "unitName",
|
|
60
|
-
columnType: "slot"
|
|
54
|
+
isColumn: !0
|
|
61
55
|
},
|
|
62
56
|
{
|
|
63
57
|
label: "orderInfo.paperNumber",
|
|
@@ -130,20 +124,20 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
130
124
|
isColumn: !0
|
|
131
125
|
}
|
|
132
126
|
]);
|
|
133
|
-
function
|
|
127
|
+
function J(t) {
|
|
134
128
|
return t ? new Date(t).toLocaleString() : "";
|
|
135
129
|
}
|
|
136
|
-
function
|
|
130
|
+
function X(t) {
|
|
137
131
|
t.mobileEncrypt = !t.mobileEncrypt;
|
|
138
132
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
133
|
+
function Z(t) {
|
|
134
|
+
h.push({
|
|
141
135
|
path: "/buyer/order-info/info",
|
|
142
136
|
query: { orderId: t.orderId }
|
|
143
137
|
});
|
|
144
138
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
139
|
+
function x(t) {
|
|
140
|
+
h.push({
|
|
147
141
|
path: "/buyer/order-info/invoice",
|
|
148
142
|
query: {
|
|
149
143
|
orderCode: t.orderCode,
|
|
@@ -151,8 +145,8 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
151
145
|
}
|
|
152
146
|
});
|
|
153
147
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
148
|
+
function ee(t) {
|
|
149
|
+
h.push({
|
|
156
150
|
path: "/buyer/order-info/invoiceView",
|
|
157
151
|
query: {
|
|
158
152
|
orderCode: t.orderCode,
|
|
@@ -160,56 +154,53 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
160
154
|
}
|
|
161
155
|
});
|
|
162
156
|
}
|
|
163
|
-
async function
|
|
157
|
+
async function oe(t) {
|
|
164
158
|
try {
|
|
165
|
-
const o = await
|
|
166
|
-
o && o.data === !0 ?
|
|
159
|
+
const o = await L.queryOrderAddress({ orderId: t.orderId });
|
|
160
|
+
o && o.data === !0 ? h.push({
|
|
167
161
|
path: "/buyer/order-newspaper/orderDetails",
|
|
168
162
|
query: {
|
|
169
163
|
orderId: t.orderId,
|
|
170
164
|
shopId: t.shopId
|
|
171
165
|
}
|
|
172
|
-
}) : o && o.data === !1 &&
|
|
166
|
+
}) : o && o.data === !1 && h.push({
|
|
173
167
|
path: "/buyer/order-newspaper/orderAddress",
|
|
174
168
|
query: { orderId: t.orderId }
|
|
175
169
|
});
|
|
176
170
|
} catch {
|
|
177
171
|
}
|
|
178
172
|
}
|
|
179
|
-
function
|
|
180
|
-
|
|
181
|
-
path: "/buyer/order-info/applyEdit",
|
|
182
|
-
query: { orderId: t.orderId }
|
|
183
|
-
});
|
|
173
|
+
function te(t) {
|
|
174
|
+
ye.info("该功能正在建设中");
|
|
184
175
|
}
|
|
185
176
|
return me(() => {
|
|
186
|
-
|
|
177
|
+
c.getList();
|
|
187
178
|
}), (t, o) => {
|
|
188
|
-
const
|
|
189
|
-
return p(),
|
|
190
|
-
|
|
191
|
-
|
|
179
|
+
const R = i("el-input"), w = i("el-form-item"), m = i("el-col"), A = i("jmash-select"), re = i("el-date-picker"), O = i("el-button"), T = i("el-row"), ne = i("el-form"), ae = i("jmash-column-select"), j = i("el-tag"), le = i("jmash-mobileIns-component"), de = i("jmash-table"), ue = i("jmash-pagination"), se = i("el-card"), S = pe("hasPerm");
|
|
180
|
+
return p(), I("div", Ie, [
|
|
181
|
+
f("div", _e, [
|
|
182
|
+
n(ne, {
|
|
192
183
|
ref_key: "queryFormRef",
|
|
193
|
-
ref:
|
|
194
|
-
model:
|
|
184
|
+
ref: K,
|
|
185
|
+
model: l.value,
|
|
195
186
|
inline: !0
|
|
196
187
|
}, {
|
|
197
188
|
default: r(() => [
|
|
198
|
-
|
|
189
|
+
n(T, null, {
|
|
199
190
|
default: r(() => [
|
|
200
|
-
|
|
191
|
+
n(m, { span: 6 }, {
|
|
201
192
|
default: r(() => [
|
|
202
|
-
|
|
193
|
+
n(w, {
|
|
203
194
|
label: t.$t("orderInfo.orderCode"),
|
|
204
195
|
prop: "likeOrderCode"
|
|
205
196
|
}, {
|
|
206
197
|
default: r(() => [
|
|
207
|
-
|
|
208
|
-
modelValue:
|
|
209
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) =>
|
|
198
|
+
n(R, {
|
|
199
|
+
modelValue: l.value.likeOrderCode,
|
|
200
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => l.value.likeOrderCode = e),
|
|
210
201
|
placeholder: t.$t("orderInfo.orderCodeRequired"),
|
|
211
202
|
clearable: "",
|
|
212
|
-
onKeyup: o[1] || (o[1] =
|
|
203
|
+
onKeyup: o[1] || (o[1] = P((e) => a(c).handleQuery(), ["enter"])),
|
|
213
204
|
class: "!w-[203px]"
|
|
214
205
|
}, null, 8, ["modelValue", "placeholder"])
|
|
215
206
|
]),
|
|
@@ -218,19 +209,19 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
218
209
|
]),
|
|
219
210
|
_: 1
|
|
220
211
|
}),
|
|
221
|
-
|
|
212
|
+
n(m, { span: 6 }, {
|
|
222
213
|
default: r(() => [
|
|
223
|
-
|
|
214
|
+
n(w, {
|
|
224
215
|
label: t.$t("orderInfo.spuName"),
|
|
225
216
|
prop: "likeSpuName"
|
|
226
217
|
}, {
|
|
227
218
|
default: r(() => [
|
|
228
|
-
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": o[2] || (o[2] = (e) =>
|
|
219
|
+
n(R, {
|
|
220
|
+
modelValue: l.value.likeSpuName,
|
|
221
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => l.value.likeSpuName = e),
|
|
231
222
|
placeholder: t.$t("orderInfo.spuNameRequired"),
|
|
232
223
|
clearable: "",
|
|
233
|
-
onKeyup: o[3] || (o[3] =
|
|
224
|
+
onKeyup: o[3] || (o[3] = P((e) => a(c).handleQuery(), ["enter"])),
|
|
234
225
|
class: "!w-[203px]"
|
|
235
226
|
}, null, 8, ["modelValue", "placeholder"])
|
|
236
227
|
]),
|
|
@@ -239,20 +230,20 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
239
230
|
]),
|
|
240
231
|
_: 1
|
|
241
232
|
}),
|
|
242
|
-
|
|
233
|
+
n(m, { span: 6 }, {
|
|
243
234
|
default: r(() => [
|
|
244
|
-
|
|
235
|
+
n(w, {
|
|
245
236
|
label: t.$t("orderInfo.orderStatus"),
|
|
246
237
|
prop: "orderStatusPc"
|
|
247
238
|
}, {
|
|
248
239
|
default: r(() => [
|
|
249
|
-
|
|
250
|
-
modelValue:
|
|
251
|
-
"onUpdate:modelValue": o[4] || (o[4] = (e) =>
|
|
252
|
-
data:
|
|
240
|
+
n(A, {
|
|
241
|
+
modelValue: l.value.orderStatusPc,
|
|
242
|
+
"onUpdate:modelValue": o[4] || (o[4] = (e) => l.value.orderStatusPc = e),
|
|
243
|
+
data: a(k).orderStatusEnum.values,
|
|
253
244
|
placeholder: t.$t("orderInfo.orderStatusRequired"),
|
|
254
245
|
clearable: "",
|
|
255
|
-
onKeyup: o[5] || (o[5] =
|
|
246
|
+
onKeyup: o[5] || (o[5] = P((e) => a(c).handleQuery(), ["enter"]))
|
|
256
247
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
257
248
|
]),
|
|
258
249
|
_: 1
|
|
@@ -260,20 +251,20 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
260
251
|
]),
|
|
261
252
|
_: 1
|
|
262
253
|
}),
|
|
263
|
-
|
|
254
|
+
n(m, { span: 6 }, {
|
|
264
255
|
default: r(() => [
|
|
265
|
-
|
|
256
|
+
n(w, {
|
|
266
257
|
label: t.$t("orderInfo.invoiceStatus"),
|
|
267
258
|
prop: "invoiceStatus"
|
|
268
259
|
}, {
|
|
269
260
|
default: r(() => [
|
|
270
|
-
|
|
271
|
-
modelValue:
|
|
272
|
-
"onUpdate:modelValue": o[6] || (o[6] = (e) =>
|
|
273
|
-
data:
|
|
261
|
+
n(A, {
|
|
262
|
+
modelValue: l.value.invoiceStatus,
|
|
263
|
+
"onUpdate:modelValue": o[6] || (o[6] = (e) => l.value.invoiceStatus = e),
|
|
264
|
+
data: a(k).invoiceStatusEnum.values,
|
|
274
265
|
placeholder: t.$t("orderInfo.invoiceStatusRequired"),
|
|
275
266
|
clearable: "",
|
|
276
|
-
onKeyup: o[7] || (o[7] =
|
|
267
|
+
onKeyup: o[7] || (o[7] = P((e) => a(c).handleQuery(), ["enter"]))
|
|
277
268
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
278
269
|
]),
|
|
279
270
|
_: 1
|
|
@@ -281,14 +272,14 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
281
272
|
]),
|
|
282
273
|
_: 1
|
|
283
274
|
}),
|
|
284
|
-
|
|
275
|
+
n(m, { span: 6 }, {
|
|
285
276
|
default: r(() => [
|
|
286
|
-
|
|
277
|
+
n(w, {
|
|
287
278
|
label: t.$t("orderInfo.createTime"),
|
|
288
279
|
prop: "startCreateTime"
|
|
289
280
|
}, {
|
|
290
281
|
default: r(() => [
|
|
291
|
-
|
|
282
|
+
n(re, {
|
|
292
283
|
modelValue: $.value,
|
|
293
284
|
"onUpdate:modelValue": o[8] || (o[8] = (e) => $.value = e),
|
|
294
285
|
type: "daterange",
|
|
@@ -296,7 +287,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
296
287
|
"end-placeholder": t.$t("orderInfo.endCreateTime"),
|
|
297
288
|
format: "YYYY-MM-DD",
|
|
298
289
|
"value-format": "YYYY-MM-DD",
|
|
299
|
-
onChange:
|
|
290
|
+
onChange: G
|
|
300
291
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
301
292
|
]),
|
|
302
293
|
_: 1
|
|
@@ -304,22 +295,22 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
304
295
|
]),
|
|
305
296
|
_: 1
|
|
306
297
|
}),
|
|
307
|
-
|
|
298
|
+
n(m, { span: 18 }, {
|
|
308
299
|
default: r(() => [
|
|
309
|
-
|
|
300
|
+
n(w, { class: "search-btn" }, {
|
|
310
301
|
default: r(() => [
|
|
311
|
-
|
|
302
|
+
n(O, {
|
|
312
303
|
type: "primary",
|
|
313
|
-
onClick: o[9] || (o[9] = (e) =>
|
|
304
|
+
onClick: o[9] || (o[9] = (e) => a(c).handleQuery())
|
|
314
305
|
}, {
|
|
315
306
|
default: r(() => [
|
|
316
|
-
u(
|
|
307
|
+
u(d(t.$t("common.search")), 1)
|
|
317
308
|
]),
|
|
318
309
|
_: 1
|
|
319
310
|
}),
|
|
320
|
-
|
|
311
|
+
n(O, { onClick: H }, {
|
|
321
312
|
default: r(() => [
|
|
322
|
-
u(
|
|
313
|
+
u(d(t.$t("common.reset")), 1)
|
|
323
314
|
]),
|
|
324
315
|
_: 1
|
|
325
316
|
})
|
|
@@ -336,31 +327,31 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
336
327
|
_: 1
|
|
337
328
|
}, 8, ["model"])
|
|
338
329
|
]),
|
|
339
|
-
|
|
340
|
-
|
|
330
|
+
f("div", we, [
|
|
331
|
+
n(T, { gutter: 20 }, {
|
|
341
332
|
default: r(() => [
|
|
342
|
-
|
|
333
|
+
n(m, { span: 4 }, {
|
|
343
334
|
default: r(() => [
|
|
344
335
|
o[15] || (o[15] = u("订阅单位:")),
|
|
345
|
-
|
|
336
|
+
f("span", he, d(a(V).totalUnit || 0), 1),
|
|
346
337
|
o[16] || (o[16] = u("家 "))
|
|
347
338
|
]),
|
|
348
339
|
_: 1,
|
|
349
340
|
__: [15, 16]
|
|
350
341
|
}),
|
|
351
|
-
|
|
342
|
+
n(m, { span: 4 }, {
|
|
352
343
|
default: r(() => [
|
|
353
344
|
o[17] || (o[17] = u(" 订阅报刊:")),
|
|
354
|
-
|
|
345
|
+
f("span", Ce, d(a(V).totalQuantity || 0), 1),
|
|
355
346
|
o[18] || (o[18] = u("份 "))
|
|
356
347
|
]),
|
|
357
348
|
_: 1,
|
|
358
349
|
__: [17, 18]
|
|
359
350
|
}),
|
|
360
|
-
|
|
351
|
+
n(m, { span: 4 }, {
|
|
361
352
|
default: r(() => [
|
|
362
353
|
o[19] || (o[19] = u("订购总金额:")),
|
|
363
|
-
|
|
354
|
+
f("span", Se, d(a(V).totalAmount || 0), 1),
|
|
364
355
|
o[20] || (o[20] = u("元 "))
|
|
365
356
|
]),
|
|
366
357
|
_: 1,
|
|
@@ -370,21 +361,21 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
370
361
|
_: 1
|
|
371
362
|
})
|
|
372
363
|
]),
|
|
373
|
-
|
|
364
|
+
n(se, {
|
|
374
365
|
shadow: "never",
|
|
375
366
|
class: "table-container"
|
|
376
367
|
}, {
|
|
377
368
|
header: r(() => [
|
|
378
|
-
|
|
369
|
+
n(T, null, {
|
|
379
370
|
default: r(() => [
|
|
380
|
-
|
|
371
|
+
n(m, {
|
|
381
372
|
span: 24,
|
|
382
373
|
class: "container-float"
|
|
383
374
|
}, {
|
|
384
375
|
default: r(() => [
|
|
385
|
-
|
|
386
|
-
modelValue:
|
|
387
|
-
"onUpdate:modelValue": o[10] || (o[10] = (e) =>
|
|
376
|
+
n(ae, {
|
|
377
|
+
modelValue: a(C),
|
|
378
|
+
"onUpdate:modelValue": o[10] || (o[10] = (e) => Y(C) ? C.value = e : C = e),
|
|
388
379
|
"label-name": "paper-order/order-info"
|
|
389
380
|
}, null, 8, ["modelValue"])
|
|
390
381
|
]),
|
|
@@ -395,149 +386,131 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
395
386
|
})
|
|
396
387
|
]),
|
|
397
388
|
footer: r(() => [
|
|
398
|
-
|
|
389
|
+
a(N) > 0 ? (p(), D(ue, {
|
|
399
390
|
key: 0,
|
|
400
|
-
total:
|
|
401
|
-
"onUpdate:total": o[11] || (o[11] = (e) =>
|
|
402
|
-
"current-page":
|
|
403
|
-
"onUpdate:currentPage": o[12] || (o[12] = (e) =>
|
|
404
|
-
"page-size":
|
|
405
|
-
"onUpdate:pageSize": o[13] || (o[13] = (e) =>
|
|
406
|
-
onPagination: o[14] || (o[14] = (e) =>
|
|
407
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
391
|
+
total: a(N),
|
|
392
|
+
"onUpdate:total": o[11] || (o[11] = (e) => Y(N) ? N.value = e : null),
|
|
393
|
+
"current-page": l.value.curPage,
|
|
394
|
+
"onUpdate:currentPage": o[12] || (o[12] = (e) => l.value.curPage = e),
|
|
395
|
+
"page-size": l.value.pageSize,
|
|
396
|
+
"onUpdate:pageSize": o[13] || (o[13] = (e) => l.value.pageSize = e),
|
|
397
|
+
onPagination: o[14] || (o[14] = (e) => a(c).getList())
|
|
398
|
+
}, null, 8, ["total", "current-page", "page-size"])) : y("", !0)
|
|
408
399
|
]),
|
|
409
400
|
default: r(() => [
|
|
410
|
-
|
|
401
|
+
n(de, {
|
|
411
402
|
ref_key: "multipleTableRef",
|
|
412
|
-
ref:
|
|
403
|
+
ref: M,
|
|
413
404
|
"row-key": "orderId",
|
|
414
|
-
"list-loading":
|
|
415
|
-
data:
|
|
416
|
-
"table-label":
|
|
405
|
+
"list-loading": a(B),
|
|
406
|
+
data: a(F),
|
|
407
|
+
"table-label": a(C),
|
|
417
408
|
isSelection: !1
|
|
418
409
|
}, {
|
|
419
410
|
createTime: r((e) => [
|
|
420
|
-
|
|
411
|
+
f("span", null, d(J(e.data.row.createTime)), 1)
|
|
421
412
|
]),
|
|
422
413
|
spuName: r((e) => {
|
|
423
|
-
var s, b,
|
|
414
|
+
var s, b, v;
|
|
424
415
|
return [
|
|
425
|
-
|
|
416
|
+
f("span", null, d((v = (b = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : b[0]) == null ? void 0 : v.spuName), 1)
|
|
426
417
|
];
|
|
427
418
|
}),
|
|
428
419
|
quantity: r((e) => {
|
|
429
|
-
var s, b,
|
|
420
|
+
var s, b, v;
|
|
430
421
|
return [
|
|
431
|
-
|
|
422
|
+
f("span", null, d((v = (b = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : b[0]) == null ? void 0 : v.quantity), 1)
|
|
432
423
|
];
|
|
433
424
|
}),
|
|
434
425
|
unitPrice: r((e) => {
|
|
435
|
-
var s, b,
|
|
426
|
+
var s, b, v;
|
|
436
427
|
return [
|
|
437
|
-
|
|
438
|
-
(
|
|
428
|
+
f("span", null, d(W(
|
|
429
|
+
(v = (b = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : b[0]) == null ? void 0 : v.salesPrice
|
|
439
430
|
)), 1)
|
|
440
431
|
];
|
|
441
432
|
}),
|
|
442
433
|
orderCycle: r((e) => [
|
|
443
|
-
e.data.row.remark !== "undefined至undefined" ? (p(),
|
|
444
|
-
]),
|
|
445
|
-
unitName: r((e) => [
|
|
446
|
-
c("span", null, l(n(m).unionOrgBizLayDict.getValue(e.data.row.shopBrancheId)), 1)
|
|
434
|
+
e.data.row.remark !== "undefined至undefined" ? (p(), I("span", ge, d(e.data.row.remark), 1)) : y("", !0)
|
|
447
435
|
]),
|
|
448
436
|
orderStatus: r((e) => [
|
|
449
|
-
|
|
450
|
-
e.data.row.orderStatus ===
|
|
437
|
+
f("div", null, [
|
|
438
|
+
e.data.row.orderStatus === a(_).UNPAY ? (p(), D(j, {
|
|
451
439
|
key: 0,
|
|
452
440
|
type: "danger"
|
|
453
441
|
}, {
|
|
454
442
|
default: r(() => [
|
|
455
|
-
u(
|
|
443
|
+
u(d(a(k).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
456
444
|
]),
|
|
457
445
|
_: 2
|
|
458
|
-
}, 1024)) :
|
|
459
|
-
e.data.row.orderStatus ===
|
|
446
|
+
}, 1024)) : y("", !0),
|
|
447
|
+
e.data.row.orderStatus === a(_).UNPOST ? (p(), D(j, {
|
|
460
448
|
key: 1,
|
|
461
449
|
type: "success"
|
|
462
450
|
}, {
|
|
463
451
|
default: r(() => [
|
|
464
|
-
u(
|
|
452
|
+
u(d(a(k).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
465
453
|
]),
|
|
466
454
|
_: 2
|
|
467
|
-
}, 1024)) :
|
|
455
|
+
}, 1024)) : y("", !0)
|
|
468
456
|
])
|
|
469
457
|
]),
|
|
470
458
|
invoiceStatus: r((e) => [
|
|
471
|
-
u(
|
|
459
|
+
u(d(a(k).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
472
460
|
]),
|
|
473
461
|
mobilePhone: r((e) => [
|
|
474
|
-
|
|
475
|
-
e.data.row.
|
|
476
|
-
|
|
477
|
-
e.data.row.
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
e.data.row.shopBrancheId
|
|
481
|
-
) ? (p(), y("span", Ve, [
|
|
482
|
-
h(a(A, {
|
|
483
|
-
"icon-class": "close-eye",
|
|
484
|
-
onClick: (s) => O(e.data.row)
|
|
485
|
-
}, null, 8, ["onClick"]), [
|
|
486
|
-
[Y, !e.data.row.mobileEncrypt]
|
|
487
|
-
]),
|
|
488
|
-
h(a(A, {
|
|
489
|
-
"icon-class": "eye-open",
|
|
490
|
-
onClick: (s) => O(e.data.row)
|
|
491
|
-
}, null, 8, ["onClick"]), [
|
|
492
|
-
[Y, e.data.row.mobileEncrypt]
|
|
493
|
-
])
|
|
494
|
-
])) : I("", !0)
|
|
462
|
+
n(le, {
|
|
463
|
+
mobilePhoneIns: e.data.row.mobilePhoneIns,
|
|
464
|
+
mobilePhone: e.data.row.mobilePhone,
|
|
465
|
+
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
466
|
+
onToggleEncrypt: (s) => X(e.data.row)
|
|
467
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
495
468
|
]),
|
|
496
469
|
operation: r((e) => [
|
|
497
|
-
|
|
470
|
+
g((p(), I("span", {
|
|
498
471
|
class: "el-button-color",
|
|
499
|
-
onClick: (s) =>
|
|
472
|
+
onClick: (s) => Z(e.data.row)
|
|
500
473
|
}, [
|
|
501
|
-
u(
|
|
502
|
-
], 8,
|
|
503
|
-
[
|
|
474
|
+
u(d(t.$t("common.view")), 1)
|
|
475
|
+
], 8, ke)), [
|
|
476
|
+
[S, ["order:order_info:view"]]
|
|
504
477
|
]),
|
|
505
|
-
e.data.row.invoiceStatus ===
|
|
478
|
+
e.data.row.invoiceStatus === a(_).UNINVOICE && e.data.row.orderStatus === a(_).UNPOST ? g((p(), I("span", {
|
|
506
479
|
key: 0,
|
|
507
480
|
class: "el-button-color dropdown-left",
|
|
508
|
-
onClick: (s) =>
|
|
481
|
+
onClick: (s) => te(e.data.row)
|
|
509
482
|
}, [
|
|
510
|
-
u(
|
|
511
|
-
], 8,
|
|
512
|
-
[
|
|
513
|
-
]) :
|
|
514
|
-
e.data.row.invoiceStatus ===
|
|
483
|
+
u(d(t.$t("orderInfo.apply")), 1)
|
|
484
|
+
], 8, Ne)), [
|
|
485
|
+
[S, ["order:order_info:view"]]
|
|
486
|
+
]) : y("", !0),
|
|
487
|
+
e.data.row.invoiceStatus === a(_).INVOICING ? g((p(), I("span", {
|
|
515
488
|
key: 1,
|
|
516
489
|
class: "el-button-color dropdown-left",
|
|
517
|
-
onClick: (s) =>
|
|
490
|
+
onClick: (s) => x(e.data.row)
|
|
518
491
|
}, [
|
|
519
|
-
u(
|
|
520
|
-
], 8,
|
|
521
|
-
[
|
|
522
|
-
]) :
|
|
523
|
-
e.data.row.orderStatus ===
|
|
492
|
+
u(d(t.$t("orderInfo.invoiceInformation")), 1)
|
|
493
|
+
], 8, Pe)), [
|
|
494
|
+
[S, ["order:order_info:view"]]
|
|
495
|
+
]) : y("", !0),
|
|
496
|
+
e.data.row.orderStatus === a(_).UNPAY ? g((p(), I("span", {
|
|
524
497
|
key: 2,
|
|
525
498
|
class: "el-button-color dropdown-left",
|
|
526
|
-
onClick: (s) =>
|
|
499
|
+
onClick: (s) => oe(e.data.row)
|
|
527
500
|
}, [
|
|
528
|
-
u(
|
|
529
|
-
], 8,
|
|
530
|
-
[
|
|
531
|
-
]) :
|
|
532
|
-
e.data.row.invoiceStatus ===
|
|
501
|
+
u(d(t.$t("orderInfo.payment")), 1)
|
|
502
|
+
], 8, Ve)), [
|
|
503
|
+
[S, ["order:order_info:view"]]
|
|
504
|
+
]) : y("", !0),
|
|
505
|
+
e.data.row.invoiceStatus === a(_).INVOICED ? g((p(), I("span", {
|
|
533
506
|
key: 3,
|
|
534
507
|
class: "el-button-color dropdown-left",
|
|
535
|
-
onClick: (s) =>
|
|
508
|
+
onClick: (s) => ee(e.data.row)
|
|
536
509
|
}, [
|
|
537
|
-
u(
|
|
538
|
-
], 8,
|
|
539
|
-
[
|
|
540
|
-
]) :
|
|
510
|
+
u(d(t.$t("orderInfo.viewInvoice")), 1)
|
|
511
|
+
], 8, $e)), [
|
|
512
|
+
[S, ["order:order_info:view"]]
|
|
513
|
+
]) : y("", !0)
|
|
541
514
|
]),
|
|
542
515
|
_: 1
|
|
543
516
|
}, 8, ["list-loading", "data", "table-label"])
|