xyvcard-order 0.0.6 → 0.0.7
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/{canceled-CAEulpM1.mjs → canceled-DkLaSCTM.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs → canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs} +86 -86
- package/dist/{change-CH-CF_q-.mjs → change-D_G7h-Nt.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs → change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs} +23 -23
- package/dist/{completed-B70yQ6oI.mjs → completed-D1_MyTO_.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs → completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs} +74 -74
- package/dist/{deliver-Bp2Ckw4g.mjs → deliver-DqqGFB3x.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs → deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs} +58 -59
- package/dist/{edit-DyFqRxsE.mjs → edit-MJXLcLm4.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs → edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs} +6 -6
- package/dist/index-CHzhYqx8.mjs +114 -0
- package/dist/{index-BnhfSp6U.mjs → index-DAb5kkOk.mjs} +3 -23
- package/dist/{index-B3HKfAop.mjs → index-DDG2eFhK.mjs} +94 -94
- package/dist/{index-DHJFncJ6.mjs → index-Dy-lHz4D.mjs} +99 -106
- package/dist/{index-BGDa_EK1.mjs → index-ZL41UIHr.mjs} +146 -164
- package/dist/index.mjs +12 -117
- package/dist/info-Cl9HaMCm.mjs +327 -0
- package/dist/{info-BmqDpsnn.mjs → info-CxZXerj5.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs +178 -0
- package/dist/{review-Dr4_ycsb.mjs → review-Bc-YCZ1X.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs → review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs} +56 -57
- package/dist/style.css +1 -1
- package/dist/{unpay-WAsbEXlr.mjs → unpay-3tbx6NWV.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs → unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs} +72 -72
- package/dist/{unpost-BocJwYcE.mjs → unpost-DOQ_sNYN.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs → unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs} +84 -84
- package/dist/{unreceive-BLcvdJxY.mjs → unreceive-WZteM54K.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs → unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs} +76 -76
- package/dist/{viewLogist-D9-zqepw.mjs → viewLogist-lN1KX2qM.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs +93 -0
- package/dts/src/api/dict.d.ts +3 -0
- package/dts/src/api/index.d.ts +2 -1
- package/dts/src/api/order-appraises/types.d.ts +1 -0
- package/dts/src/api/order-info/types.d.ts +2 -1
- package/dts/src/api/order-logistics/index.d.ts +1 -5
- package/dts/src/api/order-logistics/types.d.ts +3 -62
- package/dts/src/api/order-refunds/index.d.ts +0 -2
- package/dts/src/constant.d.ts +12 -10
- package/dts/src/lang/order/zh-cn.d.ts +2 -2
- package/dts/src/main.d.ts +0 -1
- package/package.json +5 -4
- package/dist/index-suIgymdy.mjs +0 -93
- package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +0 -41
- package/dist/info-Ba-BgJkw.mjs +0 -368
- package/dist/info.vue_vue_type_script_setup_true_lang-CHaAOFGr.mjs +0 -188
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +0 -127
@@ -1,31 +1,31 @@
|
|
1
|
-
import { defineComponent as Z, getCurrentInstance as x, ref as
|
1
|
+
import { defineComponent as Z, getCurrentInstance as x, ref as P, resolveComponent as p, resolveDirective as ee, openBlock as i, createElementBlock as V, createElementVNode as u, createVNode as n, withCtx as t, unref as o, withKeys as g, createTextVNode as s, toDisplayString as l, withDirectives as R, createBlock as f, isRef as U, createCommentVNode as I, Fragment as te, renderList as ae } from "vue";
|
2
2
|
import { useRouter as oe } from "vue-router";
|
3
3
|
import { useTableHooks as le } from "jmash-core";
|
4
4
|
import { useI18n as re } from "vue-i18n";
|
5
5
|
import { o as ne } from "./index-DyFAVz8t.mjs";
|
6
|
-
import { D as m, C as b } from "./index-
|
7
|
-
const de = { class: "app-container" }, ue = { class: "search-container" }, se = { class: "item-spuName" }, ie = { class: "item-salesPrice" }, me = { class: "item-specInfo" }, pe = { class: "item-quantity" }, fe = { class: "orderPrice" }, ye = ["onClick"],
|
8
|
-
__name: "
|
6
|
+
import { D as m, C as b } from "./index-CHzhYqx8.mjs";
|
7
|
+
const de = { class: "app-container" }, ue = { class: "search-container" }, se = { class: "item-spuName" }, ie = { class: "item-salesPrice" }, me = { class: "item-specInfo" }, pe = { class: "item-quantity" }, fe = { class: "orderPrice" }, ye = ["onClick"], ge = /* @__PURE__ */ Z({
|
8
|
+
__name: "unreceive",
|
9
9
|
setup(ve) {
|
10
|
-
const { t:
|
10
|
+
const { t: N } = re(), { proxy: Y } = x();
|
11
11
|
m.shopBizDict.useValues();
|
12
|
-
const h =
|
12
|
+
const h = P([]), d = P({
|
13
13
|
curPage: 1,
|
14
14
|
pageSize: 10,
|
15
|
-
orderStatus: b.
|
16
|
-
}),
|
15
|
+
orderStatus: b.UNRECEIVE
|
16
|
+
}), A = oe(), {
|
17
17
|
tableHooks: y,
|
18
|
-
multipleTableRef:
|
19
|
-
queryFormRef:
|
20
|
-
listLoading:
|
21
|
-
tableData:
|
18
|
+
multipleTableRef: L,
|
19
|
+
queryFormRef: M,
|
20
|
+
listLoading: W,
|
21
|
+
tableData: q,
|
22
22
|
total: _
|
23
|
-
} = le(
|
24
|
-
let
|
23
|
+
} = le(N, ne, d);
|
24
|
+
let C = P([
|
25
25
|
{
|
26
26
|
label: "orderInfo.shopName",
|
27
27
|
prop: "shopId",
|
28
|
-
width: "
|
28
|
+
width: "250",
|
29
29
|
slotName: "shopId",
|
30
30
|
columnType: "slot",
|
31
31
|
isColumn: !0
|
@@ -41,7 +41,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
41
41
|
{
|
42
42
|
label: "orderInfo.orderCodeAndCreateTime",
|
43
43
|
prop: "orderCodeAndCreateTime",
|
44
|
-
width: "
|
44
|
+
width: "200",
|
45
45
|
slotName: "orderCodeAndCreateTime",
|
46
46
|
columnType: "slot",
|
47
47
|
isColumn: !0
|
@@ -65,7 +65,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
65
65
|
{
|
66
66
|
label: "orderInfo.paymentWay",
|
67
67
|
prop: "paymentWay",
|
68
|
-
width: "
|
68
|
+
width: "120",
|
69
69
|
slotName: "paymentWay",
|
70
70
|
columnType: "slot",
|
71
71
|
isColumn: !0
|
@@ -73,29 +73,29 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
73
73
|
{
|
74
74
|
label: "orderInfo.deliveryWay",
|
75
75
|
prop: "deliveryWay",
|
76
|
-
width: "
|
76
|
+
width: "120",
|
77
77
|
slotName: "deliveryWay",
|
78
78
|
columnType: "slot",
|
79
79
|
isColumn: !0
|
80
80
|
},
|
81
81
|
{
|
82
82
|
label: "common.operate",
|
83
|
-
width: "
|
83
|
+
width: "200",
|
84
84
|
slotName: "operation",
|
85
85
|
columnType: "slot",
|
86
86
|
fixed: "right",
|
87
87
|
isColumn: !0
|
88
88
|
}
|
89
89
|
]);
|
90
|
-
function
|
90
|
+
function z(r) {
|
91
91
|
d.value.startCreateTime = r[0], d.value.endCreateTime = r[1];
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function j() {
|
94
94
|
h.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", y.resetQuery();
|
95
95
|
}
|
96
|
-
function
|
97
|
-
|
98
|
-
path: "/
|
96
|
+
function Q(r) {
|
97
|
+
A.push({
|
98
|
+
path: "/raworder/order-info/info",
|
99
99
|
query: { orderId: r.orderId }
|
100
100
|
});
|
101
101
|
}
|
@@ -103,17 +103,17 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
103
103
|
y.selectionRows.value = r;
|
104
104
|
}
|
105
105
|
return y.getList(), (r, a) => {
|
106
|
-
const
|
106
|
+
const T = p("jmash-select"), S = p("el-form-item"), w = p("el-col"), k = p("el-input"), E = p("el-row"), K = p("el-date-picker"), $ = p("el-button"), O = p("el-form"), H = p("jmash-column-select"), v = p("el-tag"), F = p("jmash-table"), G = p("jmash-pagination"), J = p("el-card"), D = ee("hasPerm");
|
107
107
|
return i(), V("div", de, [
|
108
108
|
u("div", ue, [
|
109
|
-
n(
|
109
|
+
n(O, {
|
110
110
|
ref_key: "queryFormRef",
|
111
|
-
ref:
|
111
|
+
ref: M,
|
112
112
|
model: d.value,
|
113
113
|
inline: !0
|
114
114
|
}, {
|
115
115
|
default: t(() => [
|
116
|
-
n(
|
116
|
+
n(E, null, {
|
117
117
|
default: t(() => [
|
118
118
|
n(w, { span: 6 }, {
|
119
119
|
default: t(() => [
|
@@ -122,13 +122,13 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
122
122
|
prop: "shopId"
|
123
123
|
}, {
|
124
124
|
default: t(() => [
|
125
|
-
n(
|
125
|
+
n(T, {
|
126
126
|
modelValue: d.value.shopId,
|
127
127
|
"onUpdate:modelValue": a[0] || (a[0] = (e) => d.value.shopId = e),
|
128
128
|
data: o(m).shopBizDict.values,
|
129
129
|
placeholder: r.$t("orderInfo.shopNameRequired"),
|
130
130
|
clearable: "",
|
131
|
-
onKeyup: a[1] || (a[1] =
|
131
|
+
onKeyup: a[1] || (a[1] = g((e) => o(y).handleQuery(), ["enter"]))
|
132
132
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
133
133
|
]),
|
134
134
|
_: 1
|
@@ -148,7 +148,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
148
148
|
"onUpdate:modelValue": a[2] || (a[2] = (e) => d.value.likeOrderCode = e),
|
149
149
|
placeholder: r.$t("orderInfo.orderCodeRequired"),
|
150
150
|
clearable: "",
|
151
|
-
onKeyup: a[3] || (a[3] =
|
151
|
+
onKeyup: a[3] || (a[3] = g((e) => o(y).handleQuery(), ["enter"])),
|
152
152
|
class: "!w-[203px]"
|
153
153
|
}, null, 8, ["modelValue", "placeholder"])
|
154
154
|
]),
|
@@ -169,7 +169,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
169
169
|
"onUpdate:modelValue": a[4] || (a[4] = (e) => d.value.likeSpuName = e),
|
170
170
|
placeholder: r.$t("orderInfo.spuNameRequired"),
|
171
171
|
clearable: "",
|
172
|
-
onKeyup: a[5] || (a[5] =
|
172
|
+
onKeyup: a[5] || (a[5] = g((e) => o(y).handleQuery(), ["enter"])),
|
173
173
|
class: "!w-[203px]"
|
174
174
|
}, null, 8, ["modelValue", "placeholder"])
|
175
175
|
]),
|
@@ -190,7 +190,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
190
190
|
"onUpdate:modelValue": a[6] || (a[6] = (e) => d.value.likeMobile = e),
|
191
191
|
placeholder: r.$t("orderInfo.likeMobileRequired"),
|
192
192
|
clearable: "",
|
193
|
-
onKeyup: a[7] || (a[7] =
|
193
|
+
onKeyup: a[7] || (a[7] = g((e) => o(y).handleQuery(), ["enter"])),
|
194
194
|
class: "!w-[203px]"
|
195
195
|
}, null, 8, ["modelValue", "placeholder"])
|
196
196
|
]),
|
@@ -202,7 +202,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
202
202
|
]),
|
203
203
|
_: 1
|
204
204
|
}),
|
205
|
-
n(
|
205
|
+
n(E, null, {
|
206
206
|
default: t(() => [
|
207
207
|
n(w, { span: 6 }, {
|
208
208
|
default: t(() => [
|
@@ -211,13 +211,13 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
211
211
|
prop: "paymentStatus"
|
212
212
|
}, {
|
213
213
|
default: t(() => [
|
214
|
-
n(
|
214
|
+
n(T, {
|
215
215
|
modelValue: d.value.paymentStatus,
|
216
216
|
"onUpdate:modelValue": a[8] || (a[8] = (e) => d.value.paymentStatus = e),
|
217
217
|
data: o(m).paymentStatusEnum.values,
|
218
218
|
placeholder: r.$t("orderInfo.paymentStatusRequired"),
|
219
219
|
clearable: "",
|
220
|
-
onKeyup: a[9] || (a[9] =
|
220
|
+
onKeyup: a[9] || (a[9] = g((e) => o(y).handleQuery(), ["enter"]))
|
221
221
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
222
222
|
]),
|
223
223
|
_: 1
|
@@ -241,7 +241,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
241
241
|
"end-placeholder": r.$t("orderInfo.endCreateTime"),
|
242
242
|
format: "YYYY-MM-DD",
|
243
243
|
"value-format": "YYYY-MM-DD",
|
244
|
-
onChange:
|
244
|
+
onChange: z
|
245
245
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
246
246
|
]),
|
247
247
|
_: 1
|
@@ -253,7 +253,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
253
253
|
default: t(() => [
|
254
254
|
n(S, { class: "search-btn" }, {
|
255
255
|
default: t(() => [
|
256
|
-
n(
|
256
|
+
n($, {
|
257
257
|
type: "primary",
|
258
258
|
onClick: a[11] || (a[11] = (e) => o(y).handleQuery())
|
259
259
|
}, {
|
@@ -262,7 +262,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
262
262
|
]),
|
263
263
|
_: 1
|
264
264
|
}),
|
265
|
-
n(
|
265
|
+
n($, { onClick: j }, {
|
266
266
|
default: t(() => [
|
267
267
|
s(l(r.$t("common.reset")), 1)
|
268
268
|
]),
|
@@ -287,7 +287,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
287
287
|
class: "table-container"
|
288
288
|
}, {
|
289
289
|
header: t(() => [
|
290
|
-
n(
|
290
|
+
n(E, null, {
|
291
291
|
default: t(() => [
|
292
292
|
n(w, { span: 17 }),
|
293
293
|
n(w, {
|
@@ -295,10 +295,10 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
295
295
|
class: "container-float"
|
296
296
|
}, {
|
297
297
|
default: t(() => [
|
298
|
-
R((i(), f(
|
298
|
+
R((i(), f($, {
|
299
299
|
plain: "",
|
300
300
|
type: "primary",
|
301
|
-
onClick: a[12] || (a[12] = (e) => o(y).handleExport(o(
|
301
|
+
onClick: a[12] || (a[12] = (e) => o(y).handleExport(o(N)("orderInfo.name")))
|
302
302
|
}, {
|
303
303
|
default: t(() => [
|
304
304
|
s(l(r.$t("common.export")), 1)
|
@@ -307,9 +307,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
307
307
|
})), [
|
308
308
|
[D, ["order:order_info:export"]]
|
309
309
|
]),
|
310
|
-
n(
|
311
|
-
modelValue: o(
|
312
|
-
"onUpdate:modelValue": a[13] || (a[13] = (e) =>
|
310
|
+
n(H, {
|
311
|
+
modelValue: o(C),
|
312
|
+
"onUpdate:modelValue": a[13] || (a[13] = (e) => U(C) ? C.value = e : C = e),
|
313
313
|
"label-name": "order/order-info"
|
314
314
|
}, null, 8, ["modelValue"])
|
315
315
|
]),
|
@@ -323,36 +323,36 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
323
323
|
o(_) > 0 ? (i(), f(G, {
|
324
324
|
key: 0,
|
325
325
|
total: o(_),
|
326
|
-
"onUpdate:total": a[14] || (a[14] = (e) =>
|
326
|
+
"onUpdate:total": a[14] || (a[14] = (e) => U(_) ? _.value = e : null),
|
327
327
|
"current-page": d.value.curPage,
|
328
328
|
"onUpdate:currentPage": a[15] || (a[15] = (e) => d.value.curPage = e),
|
329
329
|
"page-size": d.value.pageSize,
|
330
330
|
"onUpdate:pageSize": a[16] || (a[16] = (e) => d.value.pageSize = e),
|
331
331
|
onPagination: a[17] || (a[17] = (e) => o(y).getList())
|
332
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
332
|
+
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
333
333
|
]),
|
334
334
|
default: t(() => [
|
335
|
-
n(
|
335
|
+
n(F, {
|
336
336
|
ref_key: "multipleTableRef",
|
337
|
-
ref:
|
337
|
+
ref: L,
|
338
338
|
"row-key": "orderId",
|
339
|
-
"list-loading": o(
|
340
|
-
data: o(
|
341
|
-
"table-label": o(
|
339
|
+
"list-loading": o(W),
|
340
|
+
data: o(q),
|
341
|
+
"table-label": o(C),
|
342
342
|
onSelectionChange: B
|
343
343
|
}, {
|
344
344
|
shopId: t((e) => [
|
345
345
|
u("span", null, l(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
|
346
346
|
]),
|
347
347
|
orderItemList: t((e) => [
|
348
|
-
(i(!0), V(te, null, ae(e.data.row.orderItemList.results, (
|
348
|
+
(i(!0), V(te, null, ae(e.data.row.orderItemList.results, (c, X) => (i(), V("div", {
|
349
349
|
key: X,
|
350
350
|
class: "order-item"
|
351
351
|
}, [
|
352
|
-
u("div", se, l(
|
353
|
-
u("div", ie, "¥" + l(
|
354
|
-
u("div", me, l(
|
355
|
-
u("div", pe, "数量:" + l(
|
352
|
+
u("div", se, l(c.spuName), 1),
|
353
|
+
u("div", ie, "¥" + l(c.salesPrice), 1),
|
354
|
+
u("div", me, l(c.specInfo), 1),
|
355
|
+
u("div", pe, "数量:" + l(c.quantity), 1)
|
356
356
|
]))), 128))
|
357
357
|
]),
|
358
358
|
orderCodeAndCreateTime: t((e) => [
|
@@ -368,7 +368,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
368
368
|
status: t((e) => [
|
369
369
|
u("div", null, [
|
370
370
|
s(l(r.$t("orderInfo.orderStatus")) + ": ", 1),
|
371
|
-
e.data.row.orderStatus === o(b).
|
371
|
+
e.data.row.orderStatus === o(b).UNPAY ? (i(), f(v, {
|
372
372
|
key: 0,
|
373
373
|
type: "danger"
|
374
374
|
}, {
|
@@ -376,8 +376,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
376
376
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
377
377
|
]),
|
378
378
|
_: 2
|
379
|
-
}, 1024)) :
|
380
|
-
e.data.row.orderStatus === o(b).
|
379
|
+
}, 1024)) : I("", !0),
|
380
|
+
e.data.row.orderStatus === o(b).UNPOST ? (i(), f(v, {
|
381
381
|
key: 1,
|
382
382
|
type: "warning"
|
383
383
|
}, {
|
@@ -385,8 +385,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
385
385
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
386
386
|
]),
|
387
387
|
_: 2
|
388
|
-
}, 1024)) :
|
389
|
-
e.data.row.orderStatus === o(b).
|
388
|
+
}, 1024)) : I("", !0),
|
389
|
+
e.data.row.orderStatus === o(b).UNRECEIVE ? (i(), f(v, {
|
390
390
|
key: 2,
|
391
391
|
type: "primary"
|
392
392
|
}, {
|
@@ -394,8 +394,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
394
394
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
395
395
|
]),
|
396
396
|
_: 2
|
397
|
-
}, 1024)) :
|
398
|
-
e.data.row.orderStatus === o(b).
|
397
|
+
}, 1024)) : I("", !0),
|
398
|
+
e.data.row.orderStatus === o(b).COMPLETE ? (i(), f(v, {
|
399
399
|
key: 3,
|
400
400
|
type: "success"
|
401
401
|
}, {
|
@@ -403,8 +403,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
403
403
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
404
404
|
]),
|
405
405
|
_: 2
|
406
|
-
}, 1024)) :
|
407
|
-
e.data.row.orderStatus === o(b).
|
406
|
+
}, 1024)) : I("", !0),
|
407
|
+
e.data.row.orderStatus === o(b).CANCEL ? (i(), f(v, {
|
408
408
|
key: 4,
|
409
409
|
type: "info"
|
410
410
|
}, {
|
@@ -412,11 +412,11 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
412
412
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
413
413
|
]),
|
414
414
|
_: 2
|
415
|
-
}, 1024)) :
|
415
|
+
}, 1024)) : I("", !0)
|
416
416
|
]),
|
417
417
|
u("span", null, [
|
418
418
|
s(l(r.$t("orderInfo.paymentStatus")) + ": ", 1),
|
419
|
-
e.data.row.paymentStatus === o(b).
|
419
|
+
e.data.row.paymentStatus === o(b).UNPAID ? (i(), f(v, {
|
420
420
|
key: 0,
|
421
421
|
type: "danger"
|
422
422
|
}, {
|
@@ -426,7 +426,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
426
426
|
)), 1)
|
427
427
|
]),
|
428
428
|
_: 2
|
429
|
-
}, 1024)) : e.data.row.paymentStatus === o(b).
|
429
|
+
}, 1024)) : e.data.row.paymentStatus === o(b).PART_PAID ? (i(), f(v, {
|
430
430
|
key: 1,
|
431
431
|
type: "info"
|
432
432
|
}, {
|
@@ -436,7 +436,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
436
436
|
)), 1)
|
437
437
|
]),
|
438
438
|
_: 2
|
439
|
-
}, 1024)) : e.data.row.paymentStatus === o(b).
|
439
|
+
}, 1024)) : e.data.row.paymentStatus === o(b).PAID ? (i(), f(v, {
|
440
440
|
key: 2,
|
441
441
|
type: "success"
|
442
442
|
}, {
|
@@ -446,7 +446,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
446
446
|
)), 1)
|
447
447
|
]),
|
448
448
|
_: 2
|
449
|
-
}, 1024)) :
|
449
|
+
}, 1024)) : I("", !0)
|
450
450
|
]),
|
451
451
|
u("div", null, [
|
452
452
|
s(l(r.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
@@ -458,7 +458,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
458
458
|
s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
459
459
|
]),
|
460
460
|
_: 2
|
461
|
-
}, 1024)) :
|
461
|
+
}, 1024)) : I("", !0),
|
462
462
|
e.data.row.appraisesStatus === !0 ? (i(), f(v, {
|
463
463
|
key: 1,
|
464
464
|
type: "success"
|
@@ -467,7 +467,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
467
467
|
s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
468
468
|
]),
|
469
469
|
_: 2
|
470
|
-
}, 1024)) :
|
470
|
+
}, 1024)) : I("", !0)
|
471
471
|
])
|
472
472
|
]),
|
473
473
|
salesPrice: t((e) => [
|
@@ -486,8 +486,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
486
486
|
]),
|
487
487
|
operation: t((e) => [
|
488
488
|
R((i(), V("span", {
|
489
|
-
class: "el-button-
|
490
|
-
onClick: (
|
489
|
+
class: "el-button-color dropdown-left",
|
490
|
+
onClick: (c) => Q(e.data.row)
|
491
491
|
}, [
|
492
492
|
s(l(r.$t("common.view")), 1)
|
493
493
|
], 8, ye)), [
|
@@ -504,5 +504,5 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
504
504
|
}
|
505
505
|
});
|
506
506
|
export {
|
507
|
-
|
507
|
+
ge as _
|
508
508
|
};
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import { defineComponent as y, ref as L, onMounted as k, watch as x, resolveComponent as r, openBlock as n, createBlock as u, withCtx as o, createVNode as i, createTextVNode as _, createElementBlock as C, Fragment as S, renderList as b, toDisplayString as B } from "vue";
|
2
|
+
import { useUserStore as A, clearEmpty as D, request as E } from "jmash-core";
|
3
|
+
class N {
|
4
|
+
getKey(e) {
|
5
|
+
return {
|
6
|
+
logisticsId: e.logisticsId
|
7
|
+
};
|
8
|
+
}
|
9
|
+
// 查询物流信息
|
10
|
+
findLogistics(e) {
|
11
|
+
const t = A().user.tenant;
|
12
|
+
return D(e), E({
|
13
|
+
url: "/v1/order/order_logistics/info/" + t,
|
14
|
+
method: "get",
|
15
|
+
params: e
|
16
|
+
});
|
17
|
+
}
|
18
|
+
}
|
19
|
+
const V = new N(), M = /* @__PURE__ */ y({
|
20
|
+
__name: "viewLogist",
|
21
|
+
props: {
|
22
|
+
orderId: {
|
23
|
+
type: String,
|
24
|
+
default: () => ""
|
25
|
+
},
|
26
|
+
orderItemId: {
|
27
|
+
type: String,
|
28
|
+
default: () => ""
|
29
|
+
}
|
30
|
+
},
|
31
|
+
emits: ["close"],
|
32
|
+
setup(s, { emit: e }) {
|
33
|
+
const t = s, l = L(), f = e;
|
34
|
+
function g() {
|
35
|
+
f("close");
|
36
|
+
}
|
37
|
+
function c() {
|
38
|
+
V.findLogistics({
|
39
|
+
orderId: t.orderId,
|
40
|
+
orderItemId: t.orderItemId
|
41
|
+
}).then(({ data: d }) => {
|
42
|
+
l.value = d.list;
|
43
|
+
});
|
44
|
+
}
|
45
|
+
return k(() => {
|
46
|
+
c();
|
47
|
+
}), x([() => t.orderId, () => t.orderItemId], c, {
|
48
|
+
immediate: !0
|
49
|
+
}), (d, m) => {
|
50
|
+
const I = r("el-button"), h = r("el-timeline-item"), v = r("el-timeline"), a = r("el-card");
|
51
|
+
return n(), u(a, { shadow: "never" }, {
|
52
|
+
header: o(() => [
|
53
|
+
i(I, { onClick: g }, {
|
54
|
+
default: o(() => m[0] || (m[0] = [
|
55
|
+
_("关闭")
|
56
|
+
])),
|
57
|
+
_: 1
|
58
|
+
})
|
59
|
+
]),
|
60
|
+
default: o(() => [
|
61
|
+
i(a, {
|
62
|
+
shadow: "never",
|
63
|
+
class: "table-container"
|
64
|
+
}, {
|
65
|
+
default: o(() => [
|
66
|
+
i(v, null, {
|
67
|
+
default: o(() => [
|
68
|
+
(n(!0), C(S, null, b(l.value, (p, w) => (n(), u(h, {
|
69
|
+
key: w,
|
70
|
+
timestamp: p.time,
|
71
|
+
type: "primary",
|
72
|
+
hollow: ""
|
73
|
+
}, {
|
74
|
+
default: o(() => [
|
75
|
+
_(B(p.context), 1)
|
76
|
+
]),
|
77
|
+
_: 2
|
78
|
+
}, 1032, ["timestamp"]))), 128))
|
79
|
+
]),
|
80
|
+
_: 1
|
81
|
+
})
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
})
|
85
|
+
]),
|
86
|
+
_: 1
|
87
|
+
});
|
88
|
+
};
|
89
|
+
}
|
90
|
+
});
|
91
|
+
export {
|
92
|
+
M as _
|
93
|
+
};
|
package/dts/src/api/dict.d.ts
CHANGED
package/dts/src/api/index.d.ts
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
import { CustomBizDict, EnumDict } from "jmash-core";
|
2
|
-
import { ShopBizDict } from "./dict";
|
2
|
+
import { PhoneModelDict, ShopBizDict } from "./dict";
|
3
3
|
import { EntryDict } from "jmash-dict";
|
4
4
|
export declare class Dict {
|
5
5
|
static readonly shopBizDict: ShopBizDict;
|
6
|
+
static readonly phoneModelDict: PhoneModelDict;
|
6
7
|
static readonly orderStatusEnum: EnumDict;
|
7
8
|
static readonly paymentStatusEnum: EnumDict;
|
8
9
|
static readonly appraisesStatus: CustomBizDict;
|
@@ -24,6 +24,7 @@ export interface GoodsAppraisesModel extends EntityModel {
|
|
24
24
|
}
|
25
25
|
export interface OrderInfoModel extends EntityModel {
|
26
26
|
orderCode?: string;
|
27
|
+
appraisesStatus?: boolean;
|
27
28
|
orderItemList?: OrderItemList;
|
28
29
|
}
|
29
30
|
export interface OrderItemList extends EntityList {
|
@@ -38,6 +38,7 @@ export interface OrderItemList extends EntityList {
|
|
38
38
|
results: Array<OrderItemModel>;
|
39
39
|
}
|
40
40
|
export interface OrderItemModel extends EntityModel {
|
41
|
+
orderId?: string;
|
41
42
|
itemId?: string;
|
42
43
|
spuName?: string;
|
43
44
|
salesPrice?: number;
|
@@ -71,7 +72,7 @@ export interface OrderPostReq {
|
|
71
72
|
orderId?: string;
|
72
73
|
orderItemId?: string;
|
73
74
|
postType?: string;
|
74
|
-
|
75
|
+
logisticsCode?: string;
|
75
76
|
logisticsNo?: string;
|
76
77
|
}
|
77
78
|
export interface OrderChangePriceReq {
|
@@ -1,12 +1,8 @@
|
|
1
1
|
import type { AxiosPromise } from "axios";
|
2
|
-
import type { OrderLogisticsApi,
|
2
|
+
import type { OrderLogisticsApi, OrderLogisticsModel, OrderLogisticsKey, LogisticsQueryReq, LogisticsInfoList } from "./types";
|
3
3
|
declare class OrderLogisticsApiImpl implements OrderLogisticsApi {
|
4
4
|
getKey(model: OrderLogisticsModel): OrderLogisticsKey;
|
5
|
-
findPage(query?: OrderLogisticsReq): AxiosPromise<OrderLogisticsPage>;
|
6
|
-
findList(query?: OrderLogisticsReq): AxiosPromise<OrderLogisticsList>;
|
7
|
-
findById(query: OrderLogisticsKey): AxiosPromise<OrderLogisticsModel>;
|
8
5
|
findLogistics(query?: LogisticsQueryReq): AxiosPromise<LogisticsInfoList>;
|
9
|
-
update(data: OrderLogisticsUpdateReq): AxiosPromise<OrderLogisticsModel>;
|
10
6
|
}
|
11
7
|
declare const orderLogisticsApi: OrderLogisticsApiImpl;
|
12
8
|
export { orderLogisticsApi };
|