xyvcard-order 0.0.5 → 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-Dvf0V5EP.mjs → index-DAb5kkOk.mjs} +11 -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-CL3mlOnd.mjs → index-ZL41UIHr.mjs} +162 -148
- package/dist/index.mjs +147 -248
- package/dist/info-Cl9HaMCm.mjs +327 -0
- package/dist/{info-DtOaZ-hg.mjs → info-CxZXerj5.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs +178 -0
- package/dist/{review-DjGDxyqZ.mjs → review-Bc-YCZ1X.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-CKGCdXD5.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 +2 -3
- package/dts/src/api/order-refunds/types.d.ts +5 -0
- package/dts/src/constant.d.ts +12 -10
- package/dts/src/lang/order/zh-cn.d.ts +6 -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-DLnh7W1x.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"],
|
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
8
|
__name: "canceled",
|
9
9
|
setup(ve) {
|
10
|
-
const { t:
|
10
|
+
const { t: N } = re(), { proxy: A } = 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.CANCEL
|
16
|
+
}), L = oe(), {
|
17
17
|
tableHooks: y,
|
18
|
-
multipleTableRef:
|
19
|
-
queryFormRef:
|
20
|
-
listLoading:
|
21
|
-
tableData:
|
18
|
+
multipleTableRef: Y,
|
19
|
+
queryFormRef: M,
|
20
|
+
listLoading: W,
|
21
|
+
tableData: q,
|
22
22
|
total: _
|
23
|
-
} = le(
|
24
|
-
let
|
23
|
+
} = le(N, ne, d);
|
24
|
+
let S = 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
|
+
L.push({
|
98
|
+
path: "/raworder/order-info/info",
|
99
99
|
query: { orderId: r.orderId }
|
100
100
|
});
|
101
101
|
}
|
@@ -103,32 +103,32 @@ 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"), C = p("el-form-item"), w = p("el-col"), k = p("el-input"), $ = p("el-row"), K = p("el-date-picker"), E = 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
116
|
n($, null, {
|
117
117
|
default: t(() => [
|
118
|
-
n(
|
118
|
+
n(w, { span: 6 }, {
|
119
119
|
default: t(() => [
|
120
|
-
n(
|
120
|
+
n(C, {
|
121
121
|
label: r.$t("orderInfo.shopName"),
|
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
|
@@ -136,9 +136,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
136
136
|
]),
|
137
137
|
_: 1
|
138
138
|
}),
|
139
|
-
n(
|
139
|
+
n(w, { span: 6 }, {
|
140
140
|
default: t(() => [
|
141
|
-
n(
|
141
|
+
n(C, {
|
142
142
|
label: r.$t("orderInfo.orderCode"),
|
143
143
|
prop: "likeOrderCode"
|
144
144
|
}, {
|
@@ -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
|
]),
|
@@ -157,9 +157,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
157
157
|
]),
|
158
158
|
_: 1
|
159
159
|
}),
|
160
|
-
n(
|
160
|
+
n(w, { span: 6 }, {
|
161
161
|
default: t(() => [
|
162
|
-
n(
|
162
|
+
n(C, {
|
163
163
|
label: r.$t("orderInfo.spuName"),
|
164
164
|
prop: "likeSpuName"
|
165
165
|
}, {
|
@@ -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
|
]),
|
@@ -178,9 +178,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
178
178
|
]),
|
179
179
|
_: 1
|
180
180
|
}),
|
181
|
-
n(
|
181
|
+
n(w, { span: 6 }, {
|
182
182
|
default: t(() => [
|
183
|
-
n(
|
183
|
+
n(C, {
|
184
184
|
label: r.$t("orderInfo.likeMobile"),
|
185
185
|
prop: "likeMobile"
|
186
186
|
}, {
|
@@ -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
|
]),
|
@@ -204,20 +204,20 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
204
204
|
}),
|
205
205
|
n($, null, {
|
206
206
|
default: t(() => [
|
207
|
-
n(
|
207
|
+
n(w, { span: 6 }, {
|
208
208
|
default: t(() => [
|
209
|
-
n(
|
209
|
+
n(C, {
|
210
210
|
label: r.$t("orderInfo.paymentStatus"),
|
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
|
@@ -225,9 +225,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
225
225
|
]),
|
226
226
|
_: 1
|
227
227
|
}),
|
228
|
-
n(
|
228
|
+
n(w, { span: 6 }, {
|
229
229
|
default: t(() => [
|
230
|
-
n(
|
230
|
+
n(C, {
|
231
231
|
label: r.$t("orderInfo.orderTime"),
|
232
232
|
prop: "startCreateTime"
|
233
233
|
}, {
|
@@ -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
|
@@ -249,9 +249,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
249
249
|
]),
|
250
250
|
_: 1
|
251
251
|
}),
|
252
|
-
n(
|
252
|
+
n(w, { span: 12 }, {
|
253
253
|
default: t(() => [
|
254
|
-
n(
|
254
|
+
n(C, { class: "search-btn" }, {
|
255
255
|
default: t(() => [
|
256
256
|
n(E, {
|
257
257
|
type: "primary",
|
@@ -262,7 +262,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
262
262
|
]),
|
263
263
|
_: 1
|
264
264
|
}),
|
265
|
-
n(E, { onClick:
|
265
|
+
n(E, { onClick: j }, {
|
266
266
|
default: t(() => [
|
267
267
|
s(l(r.$t("common.reset")), 1)
|
268
268
|
]),
|
@@ -289,8 +289,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
289
289
|
header: t(() => [
|
290
290
|
n($, null, {
|
291
291
|
default: t(() => [
|
292
|
-
n(
|
293
|
-
n(
|
292
|
+
n(w, { span: 17 }),
|
293
|
+
n(w, {
|
294
294
|
span: 7,
|
295
295
|
class: "container-float"
|
296
296
|
}, {
|
@@ -298,7 +298,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
298
298
|
R((i(), f(E, {
|
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(S),
|
312
|
+
"onUpdate:modelValue": a[13] || (a[13] = (e) => U(S) ? S.value = e : S = e),
|
313
313
|
"label-name": "order/order-info"
|
314
314
|
}, null, 8, ["modelValue"])
|
315
315
|
]),
|
@@ -323,41 +323,41 @@ 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: Y,
|
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(S),
|
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) => [
|
359
359
|
u("span", null, [
|
360
|
-
s(l(o(
|
360
|
+
s(l(o(A).$moment.formatDate(
|
361
361
|
e.data.row.createTime,
|
362
362
|
"YYYY-MM-DD HH:mm:ss"
|
363
363
|
)) + " ", 1),
|
@@ -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) => [
|
@@ -487,7 +487,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
487
487
|
operation: t((e) => [
|
488
488
|
R((i(), V("span", {
|
489
489
|
class: "el-button-color dropdown-left",
|
490
|
-
onClick: (
|
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
|
};
|
@@ -48,38 +48,38 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
48
48
|
]
|
49
49
|
}), s = j(p, "modelValue"), w = M, n = p, $ = Object.keys(n.entityKey), _ = I($.length >= 1);
|
50
50
|
F([() => n.entityKey, () => n.entityModel], async () => {
|
51
|
-
var
|
51
|
+
var e;
|
52
52
|
if (_.value) {
|
53
|
-
const { data: i } = await N.findById(n.entityKey),
|
53
|
+
const { data: i } = await N.findById(n.entityKey), t = (e = i.orderItemList) == null ? void 0 : e.results.find(
|
54
54
|
(d) => d.itemId === n.entityModel.itemId
|
55
55
|
);
|
56
|
-
|
56
|
+
t && (r.items[0].spuName = t.spuName, r.items[0].salesPrice = Number(t.salesPrice), r.items[0].freightPrice = Number(t.freightPrice));
|
57
57
|
}
|
58
58
|
}, {
|
59
59
|
immediate: !0,
|
60
60
|
deep: !0
|
61
61
|
});
|
62
62
|
const q = async () => {
|
63
|
-
var
|
64
|
-
await ((
|
63
|
+
var e;
|
64
|
+
await ((e = g.value) == null ? void 0 : e.validate((i) => {
|
65
65
|
i && _.value && N.orderPrice({
|
66
|
-
items: r.items.map((
|
67
|
-
...
|
66
|
+
items: r.items.map((t) => ({
|
67
|
+
...t,
|
68
68
|
orderItemId: n.entityModel.itemId
|
69
69
|
}))
|
70
|
-
}).then((
|
71
|
-
|
70
|
+
}).then((t) => {
|
71
|
+
t.status === 200 && (E({
|
72
72
|
message: c("common.submitSuccess"),
|
73
73
|
type: "success"
|
74
|
-
}), s.value && (s.value = !1), w("refresh",
|
74
|
+
}), s.value && (s.value = !1), w("refresh", t.status === 200));
|
75
75
|
});
|
76
76
|
}));
|
77
77
|
};
|
78
78
|
function y() {
|
79
79
|
s.value && (s.value = !1);
|
80
80
|
}
|
81
|
-
return (
|
82
|
-
const
|
81
|
+
return (e, i) => {
|
82
|
+
const t = a("el-form-item"), d = a("el-col"), h = a("el-input"), B = a("el-row"), D = a("el-form"), P = a("el-button"), K = a("el-dialog");
|
83
83
|
return O(), U(K, {
|
84
84
|
modelValue: s.value,
|
85
85
|
"onUpdate:modelValue": i[2] || (i[2] = (u) => s.value = u),
|
@@ -89,7 +89,7 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
89
89
|
v("div", A, [
|
90
90
|
l(P, { onClick: y }, {
|
91
91
|
default: o(() => [
|
92
|
-
C(f(
|
92
|
+
C(f(e.$t("common.cancel")), 1)
|
93
93
|
]),
|
94
94
|
_: 1
|
95
95
|
}),
|
@@ -98,7 +98,7 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
98
98
|
onClick: q
|
99
99
|
}, {
|
100
100
|
default: o(() => [
|
101
|
-
C(f(
|
101
|
+
C(f(e.$t("common.confirm")), 1)
|
102
102
|
]),
|
103
103
|
_: 1
|
104
104
|
})
|
@@ -117,12 +117,12 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
117
117
|
default: o(() => [
|
118
118
|
l(d, { span: 24 }, {
|
119
119
|
default: o(() => [
|
120
|
-
l(
|
121
|
-
label:
|
120
|
+
l(t, {
|
121
|
+
label: e.$t("orderInfo.spuName"),
|
122
122
|
prop: "spuName"
|
123
123
|
}, {
|
124
124
|
default: o(() => [
|
125
|
-
v("span", null,
|
125
|
+
v("span", null, f(m(r).items[0].spuName), 1)
|
126
126
|
]),
|
127
127
|
_: 1
|
128
128
|
}, 8, ["label"])
|
@@ -131,15 +131,15 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
131
131
|
}),
|
132
132
|
l(d, { span: 24 }, {
|
133
133
|
default: o(() => [
|
134
|
-
l(
|
135
|
-
label:
|
134
|
+
l(t, {
|
135
|
+
label: e.$t("orderInfo.sellPrice"),
|
136
136
|
prop: "salesPrice"
|
137
137
|
}, {
|
138
138
|
default: o(() => [
|
139
139
|
l(h, {
|
140
140
|
modelValue: m(r).items[0].salesPrice,
|
141
141
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => m(r).items[0].salesPrice = u),
|
142
|
-
placeholder:
|
142
|
+
placeholder: e.$t("orderInfo.sellPriceRequired"),
|
143
143
|
clearable: "",
|
144
144
|
type: "number"
|
145
145
|
}, null, 8, ["modelValue", "placeholder"])
|
@@ -151,15 +151,15 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
151
151
|
}),
|
152
152
|
l(d, { span: 24 }, {
|
153
153
|
default: o(() => [
|
154
|
-
l(
|
155
|
-
label:
|
154
|
+
l(t, {
|
155
|
+
label: e.$t("orderInfo.freightPrice"),
|
156
156
|
prop: "freightPrice"
|
157
157
|
}, {
|
158
158
|
default: o(() => [
|
159
159
|
l(h, {
|
160
160
|
modelValue: m(r).items[0].freightPrice,
|
161
161
|
"onUpdate:modelValue": i[1] || (i[1] = (u) => m(r).items[0].freightPrice = u),
|
162
|
-
placeholder:
|
162
|
+
placeholder: e.$t("orderInfo.freightPriceRequired"),
|
163
163
|
clearable: "",
|
164
164
|
type: "number"
|
165
165
|
}, null, 8, ["modelValue", "placeholder"])
|