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