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