xyvcard-order 0.0.7 → 0.0.8
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-DkLaSCTM.mjs → canceled-CTHGNWuB.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs → canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs} +2 -3
- package/dist/{change-D_G7h-Nt.mjs → change-3TnGoLNv.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs → change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs} +30 -26
- package/dist/{completed-D1_MyTO_.mjs → completed-BnD0Wh1K.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs → completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs} +2 -3
- package/dist/{deliver-DqqGFB3x.mjs → deliver-DZDmtbHY.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs → deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs} +1 -1
- package/dist/{edit-MJXLcLm4.mjs → edit-BgR1glUx.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs → edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs} +1 -1
- package/dist/{index-ZL41UIHr.mjs → index-BTfCAYQ-.mjs} +76 -78
- package/dist/{index-DDG2eFhK.mjs → index-CaKojOfx.mjs} +228 -241
- package/dist/{index-DyFAVz8t.mjs → index-CfEKTjAd.mjs} +1 -1
- package/dist/{index-Dy-lHz4D.mjs → index-S4jzuvn6.mjs} +148 -144
- package/dist/index.mjs +2 -2
- package/dist/{info-CxZXerj5.mjs → info-3uYTUNzE.mjs} +1 -1
- package/dist/{info-Cl9HaMCm.mjs → info-DiPfhbtx.mjs} +85 -84
- package/dist/{info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs → info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs} +1 -1
- package/dist/{review-Bc-YCZ1X.mjs → review-DY1KQI3U.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs → review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs} +74 -72
- package/dist/style.css +1 -1
- package/dist/{unpay-3tbx6NWV.mjs → unpay-Bc8ekFnl.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs → unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs} +197 -210
- package/dist/{unpost-DOQ_sNYN.mjs → unpost-DE4VcTu2.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs → unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs} +39 -40
- package/dist/{unreceive-WZteM54K.mjs → unreceive-CUiJvXq1.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs → unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs} +2 -3
- package/dist/{viewLogist-lN1KX2qM.mjs → viewLogist-Cxu-IV-d.mjs} +1 -1
- package/dist/{viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs → viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs} +19 -21
- package/package.json +1 -1
@@ -1,34 +1,34 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRouter as
|
3
|
-
import { ElMessageBox as
|
4
|
-
import { useTableHooks as
|
5
|
-
import { useI18n as
|
6
|
-
import { o as O } from "./index-
|
7
|
-
import { _ as Se } from "./deliver.vue_vue_type_script_setup_true_lang-
|
8
|
-
import { _ as
|
9
|
-
import { D as f, C as
|
10
|
-
import { _ as
|
11
|
-
import { _ as
|
12
|
-
import { _ as Ve } from "./completed.vue_vue_type_script_setup_true_lang-
|
13
|
-
import { _ as
|
14
|
-
import { _ as
|
15
|
-
const
|
1
|
+
import { defineComponent as ye, getCurrentInstance as ve, ref as C, reactive as Q, resolveComponent as v, resolveDirective as ce, openBlock as d, createElementBlock as k, createVNode as r, withCtx as a, createElementVNode as m, unref as l, withKeys as V, createTextVNode as s, toDisplayString as n, withDirectives as N, createBlock as i, isRef as z, createCommentVNode as p, Fragment as B, renderList as j } from "vue";
|
2
|
+
import { useRouter as be } from "vue-router";
|
3
|
+
import { ElMessageBox as Ie, ElMessage as K } from "element-plus";
|
4
|
+
import { useTableHooks as _e } from "jmash-core";
|
5
|
+
import { useI18n as we } from "vue-i18n";
|
6
|
+
import { o as O } from "./index-CfEKTjAd.mjs";
|
7
|
+
import { _ as Se } from "./deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs";
|
8
|
+
import { _ as ge } from "./change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs";
|
9
|
+
import { D as f, C as w } from "./index-CHzhYqx8.mjs";
|
10
|
+
import { _ as ke } from "./unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs";
|
11
|
+
import { _ as Ce } from "./unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs";
|
12
|
+
import { _ as Ve } from "./completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs";
|
13
|
+
import { _ as he } from "./canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs";
|
14
|
+
import { _ as $e } from "./unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs";
|
15
|
+
const Ee = { class: "app-container" }, Pe = { class: "search-container" }, Te = { class: "item-spuName" }, Ne = { class: "item-salesPrice" }, De = { class: "item-specInfo" }, Ue = { class: "item-quantity" }, Re = { class: "orderPrice" }, Me = ["onClick"], Le = ["onClick"], Ye = ["onClick"], xe = /* @__PURE__ */ ye({
|
16
16
|
__name: "index",
|
17
|
-
setup(
|
18
|
-
const { t:
|
17
|
+
setup(Ae) {
|
18
|
+
const { t: c } = we(), { proxy: F } = ve();
|
19
19
|
f.shopBizDict.useValues();
|
20
|
-
const
|
20
|
+
const D = C([]), S = C("5"), u = C({
|
21
21
|
curPage: 1,
|
22
22
|
pageSize: 10
|
23
|
-
}), H =
|
23
|
+
}), H = be(), {
|
24
24
|
tableHooks: y,
|
25
25
|
multipleTableRef: G,
|
26
26
|
queryFormRef: J,
|
27
27
|
listLoading: X,
|
28
28
|
tableData: Z,
|
29
|
-
total:
|
30
|
-
} =
|
31
|
-
let
|
29
|
+
total: E
|
30
|
+
} = _e(c, O, u);
|
31
|
+
let h = C([
|
32
32
|
{
|
33
33
|
label: "orderInfo.shopName",
|
34
34
|
prop: "shopId",
|
@@ -95,102 +95,99 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
95
95
|
}
|
96
96
|
]);
|
97
97
|
const $ = C({
|
98
|
-
title:
|
98
|
+
title: c("orderInfo.deliver"),
|
99
99
|
visible: !1
|
100
|
-
}),
|
101
|
-
title:
|
100
|
+
}), P = C({
|
101
|
+
title: c("orderInfo.changePrice"),
|
102
102
|
visible: !1
|
103
103
|
});
|
104
|
-
let
|
104
|
+
let U = Q({}), R = Q({});
|
105
105
|
function x(o) {
|
106
106
|
var t;
|
107
|
-
|
107
|
+
R.itemId = (t = o.orderItemList) == null ? void 0 : t.results[0].itemId, U.orderId = o.orderId, $.value.visible = !0;
|
108
108
|
}
|
109
|
-
function ee(o
|
110
|
-
U.itemId = t.itemId, D.orderId = o.orderId, E.value.visible = !0;
|
111
|
-
}
|
112
|
-
function te(o) {
|
109
|
+
function ee(o) {
|
113
110
|
u.value.startCreateTime = o[0], u.value.endCreateTime = o[1];
|
114
111
|
}
|
115
|
-
function
|
116
|
-
|
112
|
+
function te() {
|
113
|
+
D.value = [], u.value.startCreateTime = "", u.value.endCreateTime = "", y.resetQuery();
|
117
114
|
}
|
118
|
-
function
|
115
|
+
function ae(o) {
|
119
116
|
H.push({
|
120
117
|
path: "/raworder/order-info/info",
|
121
118
|
query: { orderId: o.orderId }
|
122
119
|
});
|
123
120
|
}
|
124
121
|
const le = async (o) => {
|
125
|
-
|
126
|
-
confirmButtonText:
|
127
|
-
cancelButtonText:
|
122
|
+
Ie.confirm(c("orderInfo.confirmCancel"), c("common.cancel"), {
|
123
|
+
confirmButtonText: c("common.confirm"),
|
124
|
+
cancelButtonText: c("common.cancel"),
|
128
125
|
type: "warning"
|
129
126
|
}).then(() => {
|
130
127
|
O.cancel({
|
131
128
|
orderId: o.orderId
|
132
129
|
}).then((t) => {
|
133
130
|
t.status === 200 && (K({
|
134
|
-
message:
|
131
|
+
message: c("orderInfo.cancelSuccess"),
|
135
132
|
type: "success"
|
136
133
|
}), y.handleQuery());
|
137
134
|
}).catch((t) => {
|
138
135
|
console.error("Error canceling order:", t), K({
|
139
|
-
message:
|
136
|
+
message: c("orderInfo.cancelFailed"),
|
140
137
|
type: "error"
|
141
138
|
});
|
142
139
|
});
|
143
140
|
}).catch(() => {
|
144
141
|
});
|
145
142
|
};
|
146
|
-
function
|
147
|
-
|
143
|
+
function oe(o) {
|
144
|
+
S.value = o.name, o.name === "5" && y.handleQuery();
|
148
145
|
}
|
149
|
-
function
|
146
|
+
function re(o) {
|
150
147
|
y.selectionRows.value = o;
|
151
148
|
}
|
152
149
|
function q(o) {
|
153
150
|
o && y.getList();
|
154
151
|
}
|
155
152
|
return y.getList(), (o, t) => {
|
156
|
-
const M = v("jmash-select"),
|
157
|
-
return d(), k("div",
|
158
|
-
|
159
|
-
modelValue:
|
160
|
-
"onUpdate:modelValue": t[20] || (t[20] = (e) =>
|
153
|
+
const M = v("jmash-select"), g = v("el-form-item"), b = v("el-col"), L = v("el-input"), Y = v("el-row"), ne = v("el-date-picker"), A = v("el-button"), de = v("el-form"), ue = v("jmash-column-select"), I = v("el-tag"), se = v("jmash-table"), ie = v("jmash-pagination"), me = v("el-card"), W = v("el-tab-pane"), pe = v("el-tabs"), T = ce("hasPerm");
|
154
|
+
return d(), k("div", Ee, [
|
155
|
+
r(pe, {
|
156
|
+
modelValue: S.value,
|
157
|
+
"onUpdate:modelValue": t[20] || (t[20] = (e) => S.value = e),
|
161
158
|
type: "border-card",
|
162
|
-
onTabClick:
|
159
|
+
onTabClick: oe
|
163
160
|
}, {
|
164
|
-
default:
|
165
|
-
|
161
|
+
default: a(() => [
|
162
|
+
r(W, {
|
166
163
|
label: "全部订单",
|
167
164
|
name: "5"
|
168
165
|
}, {
|
169
|
-
default:
|
170
|
-
m("div",
|
171
|
-
|
166
|
+
default: a(() => [
|
167
|
+
m("div", Pe, [
|
168
|
+
r(de, {
|
172
169
|
ref_key: "queryFormRef",
|
173
170
|
ref: J,
|
174
171
|
model: u.value,
|
175
172
|
inline: !0
|
176
173
|
}, {
|
177
|
-
default:
|
178
|
-
|
179
|
-
default:
|
180
|
-
|
181
|
-
default:
|
182
|
-
|
174
|
+
default: a(() => [
|
175
|
+
r(Y, null, {
|
176
|
+
default: a(() => [
|
177
|
+
r(b, { span: 6 }, {
|
178
|
+
default: a(() => [
|
179
|
+
r(g, {
|
183
180
|
label: o.$t("orderInfo.shopName"),
|
184
181
|
prop: "shopId"
|
185
182
|
}, {
|
186
|
-
default:
|
187
|
-
|
183
|
+
default: a(() => [
|
184
|
+
r(M, {
|
188
185
|
modelValue: u.value.shopId,
|
189
186
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.shopId = e),
|
190
|
-
data:
|
187
|
+
data: l(f).shopBizDict.values,
|
191
188
|
placeholder: o.$t("orderInfo.shopNameRequired"),
|
192
189
|
clearable: "",
|
193
|
-
onKeyup: t[1] || (t[1] =
|
190
|
+
onKeyup: t[1] || (t[1] = V((e) => l(y).handleQuery(), ["enter"]))
|
194
191
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
195
192
|
]),
|
196
193
|
_: 1
|
@@ -198,19 +195,19 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
198
195
|
]),
|
199
196
|
_: 1
|
200
197
|
}),
|
201
|
-
|
202
|
-
default:
|
203
|
-
|
198
|
+
r(b, { span: 6 }, {
|
199
|
+
default: a(() => [
|
200
|
+
r(g, {
|
204
201
|
label: o.$t("orderInfo.orderCode"),
|
205
202
|
prop: "likeOrderCode"
|
206
203
|
}, {
|
207
|
-
default:
|
208
|
-
|
204
|
+
default: a(() => [
|
205
|
+
r(L, {
|
209
206
|
modelValue: u.value.likeOrderCode,
|
210
207
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.likeOrderCode = e),
|
211
208
|
placeholder: o.$t("orderInfo.orderCodeRequired"),
|
212
209
|
clearable: "",
|
213
|
-
onKeyup: t[3] || (t[3] =
|
210
|
+
onKeyup: t[3] || (t[3] = V((e) => l(y).handleQuery(), ["enter"])),
|
214
211
|
class: "!w-[203px]"
|
215
212
|
}, null, 8, ["modelValue", "placeholder"])
|
216
213
|
]),
|
@@ -219,19 +216,19 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
219
216
|
]),
|
220
217
|
_: 1
|
221
218
|
}),
|
222
|
-
|
223
|
-
default:
|
224
|
-
|
219
|
+
r(b, { span: 6 }, {
|
220
|
+
default: a(() => [
|
221
|
+
r(g, {
|
225
222
|
label: o.$t("orderInfo.spuName"),
|
226
223
|
prop: "likeSpuName"
|
227
224
|
}, {
|
228
|
-
default:
|
229
|
-
|
225
|
+
default: a(() => [
|
226
|
+
r(L, {
|
230
227
|
modelValue: u.value.likeSpuName,
|
231
228
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.likeSpuName = e),
|
232
229
|
placeholder: o.$t("orderInfo.spuNameRequired"),
|
233
230
|
clearable: "",
|
234
|
-
onKeyup: t[5] || (t[5] =
|
231
|
+
onKeyup: t[5] || (t[5] = V((e) => l(y).handleQuery(), ["enter"])),
|
235
232
|
class: "!w-[203px]"
|
236
233
|
}, null, 8, ["modelValue", "placeholder"])
|
237
234
|
]),
|
@@ -240,20 +237,20 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
240
237
|
]),
|
241
238
|
_: 1
|
242
239
|
}),
|
243
|
-
|
244
|
-
default:
|
245
|
-
|
240
|
+
r(b, { span: 6 }, {
|
241
|
+
default: a(() => [
|
242
|
+
r(g, {
|
246
243
|
label: o.$t("orderInfo.orderStatus"),
|
247
244
|
prop: "orderStatus"
|
248
245
|
}, {
|
249
|
-
default:
|
250
|
-
|
246
|
+
default: a(() => [
|
247
|
+
r(M, {
|
251
248
|
modelValue: u.value.orderStatus,
|
252
249
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.orderStatus = e),
|
253
|
-
data:
|
250
|
+
data: l(f).orderStatusEnum.values,
|
254
251
|
placeholder: o.$t("orderInfo.orderStatusRequired"),
|
255
252
|
clearable: "",
|
256
|
-
onKeyup: t[7] || (t[7] =
|
253
|
+
onKeyup: t[7] || (t[7] = V((e) => l(y).handleQuery(), ["enter"]))
|
257
254
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
258
255
|
]),
|
259
256
|
_: 1
|
@@ -264,21 +261,21 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
264
261
|
]),
|
265
262
|
_: 1
|
266
263
|
}),
|
267
|
-
|
268
|
-
default:
|
269
|
-
|
270
|
-
default:
|
271
|
-
|
264
|
+
r(Y, null, {
|
265
|
+
default: a(() => [
|
266
|
+
r(b, { span: 6 }, {
|
267
|
+
default: a(() => [
|
268
|
+
r(g, {
|
272
269
|
label: o.$t("orderInfo.likeMobile"),
|
273
270
|
prop: "likeMobile"
|
274
271
|
}, {
|
275
|
-
default:
|
276
|
-
|
272
|
+
default: a(() => [
|
273
|
+
r(L, {
|
277
274
|
modelValue: u.value.likeMobile,
|
278
275
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => u.value.likeMobile = e),
|
279
276
|
placeholder: o.$t("orderInfo.likeMobileRequired"),
|
280
277
|
clearable: "",
|
281
|
-
onKeyup: t[9] || (t[9] =
|
278
|
+
onKeyup: t[9] || (t[9] = V((e) => l(y).handleQuery(), ["enter"])),
|
282
279
|
class: "!w-[203px]"
|
283
280
|
}, null, 8, ["modelValue", "placeholder"])
|
284
281
|
]),
|
@@ -287,20 +284,20 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
287
284
|
]),
|
288
285
|
_: 1
|
289
286
|
}),
|
290
|
-
|
291
|
-
default:
|
292
|
-
|
287
|
+
r(b, { span: 6 }, {
|
288
|
+
default: a(() => [
|
289
|
+
r(g, {
|
293
290
|
label: o.$t("orderInfo.paymentStatus"),
|
294
291
|
prop: "paymentStatus"
|
295
292
|
}, {
|
296
|
-
default:
|
297
|
-
|
293
|
+
default: a(() => [
|
294
|
+
r(M, {
|
298
295
|
modelValue: u.value.paymentStatus,
|
299
296
|
"onUpdate:modelValue": t[10] || (t[10] = (e) => u.value.paymentStatus = e),
|
300
|
-
data:
|
297
|
+
data: l(f).paymentStatusEnum.values,
|
301
298
|
placeholder: o.$t("orderInfo.paymentStatusRequired"),
|
302
299
|
clearable: "",
|
303
|
-
onKeyup: t[11] || (t[11] =
|
300
|
+
onKeyup: t[11] || (t[11] = V((e) => l(y).handleQuery(), ["enter"]))
|
304
301
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
305
302
|
]),
|
306
303
|
_: 1
|
@@ -308,23 +305,22 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
308
305
|
]),
|
309
306
|
_: 1
|
310
307
|
}),
|
311
|
-
|
312
|
-
default:
|
313
|
-
|
308
|
+
r(b, { span: 6 }, {
|
309
|
+
default: a(() => [
|
310
|
+
r(g, {
|
314
311
|
label: o.$t("orderInfo.orderTime"),
|
315
312
|
prop: "startCreateTime"
|
316
313
|
}, {
|
317
|
-
default:
|
318
|
-
|
319
|
-
modelValue:
|
320
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
321
|
-
class: "dropdown-left",
|
314
|
+
default: a(() => [
|
315
|
+
r(ne, {
|
316
|
+
modelValue: D.value,
|
317
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => D.value = e),
|
322
318
|
type: "daterange",
|
323
319
|
"start-placeholder": o.$t("orderInfo.startCreateTime"),
|
324
320
|
"end-placeholder": o.$t("orderInfo.endCreateTime"),
|
325
321
|
format: "YYYY-MM-DD",
|
326
322
|
"value-format": "YYYY-MM-DD",
|
327
|
-
onChange:
|
323
|
+
onChange: ee
|
328
324
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
329
325
|
]),
|
330
326
|
_: 1
|
@@ -332,22 +328,22 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
332
328
|
]),
|
333
329
|
_: 1
|
334
330
|
}),
|
335
|
-
|
336
|
-
default:
|
337
|
-
|
338
|
-
default:
|
339
|
-
|
331
|
+
r(b, { span: 6 }, {
|
332
|
+
default: a(() => [
|
333
|
+
r(g, { class: "search-btn" }, {
|
334
|
+
default: a(() => [
|
335
|
+
r(A, {
|
340
336
|
type: "primary",
|
341
|
-
onClick: t[13] || (t[13] = (e) =>
|
337
|
+
onClick: t[13] || (t[13] = (e) => l(y).handleQuery())
|
342
338
|
}, {
|
343
|
-
default:
|
344
|
-
s(
|
339
|
+
default: a(() => [
|
340
|
+
s(n(o.$t("common.search")), 1)
|
345
341
|
]),
|
346
342
|
_: 1
|
347
343
|
}),
|
348
|
-
|
349
|
-
default:
|
350
|
-
s(
|
344
|
+
r(A, { onClick: te }, {
|
345
|
+
default: a(() => [
|
346
|
+
s(n(o.$t("common.reset")), 1)
|
351
347
|
]),
|
352
348
|
_: 1
|
353
349
|
})
|
@@ -365,34 +361,34 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
365
361
|
}, 8, ["model"]),
|
366
362
|
t[23] || (t[23] = m("div", { class: "clear" }, null, -1))
|
367
363
|
]),
|
368
|
-
|
364
|
+
r(me, {
|
369
365
|
shadow: "never",
|
370
366
|
class: "table-container"
|
371
367
|
}, {
|
372
|
-
header:
|
373
|
-
|
374
|
-
default:
|
375
|
-
|
376
|
-
|
368
|
+
header: a(() => [
|
369
|
+
r(Y, null, {
|
370
|
+
default: a(() => [
|
371
|
+
r(b, { span: 17 }),
|
372
|
+
r(b, {
|
377
373
|
span: 7,
|
378
374
|
class: "container-float"
|
379
375
|
}, {
|
380
|
-
default:
|
381
|
-
|
376
|
+
default: a(() => [
|
377
|
+
N((d(), i(A, {
|
382
378
|
plain: "",
|
383
379
|
type: "primary",
|
384
|
-
onClick: t[14] || (t[14] = (e) =>
|
380
|
+
onClick: t[14] || (t[14] = (e) => l(y).handleExport(l(c)("orderInfo.name")))
|
385
381
|
}, {
|
386
|
-
default:
|
387
|
-
s(
|
382
|
+
default: a(() => [
|
383
|
+
s(n(o.$t("common.export")), 1)
|
388
384
|
]),
|
389
385
|
_: 1
|
390
386
|
})), [
|
391
|
-
[
|
387
|
+
[T, ["order:order_info:export"]]
|
392
388
|
]),
|
393
|
-
|
394
|
-
modelValue:
|
395
|
-
"onUpdate:modelValue": t[15] || (t[15] = (e) => z(
|
389
|
+
r(ue, {
|
390
|
+
modelValue: l(h),
|
391
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => z(h) ? h.value = e : h = e),
|
396
392
|
"label-name": "order/order-info"
|
397
393
|
}, null, 8, ["modelValue"])
|
398
394
|
]),
|
@@ -402,114 +398,105 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
402
398
|
_: 1
|
403
399
|
})
|
404
400
|
]),
|
405
|
-
footer:
|
406
|
-
|
401
|
+
footer: a(() => [
|
402
|
+
l(E) > 0 ? (d(), i(ie, {
|
407
403
|
key: 0,
|
408
|
-
total:
|
409
|
-
"onUpdate:total": t[16] || (t[16] = (e) => z(
|
404
|
+
total: l(E),
|
405
|
+
"onUpdate:total": t[16] || (t[16] = (e) => z(E) ? E.value = e : null),
|
410
406
|
"current-page": u.value.curPage,
|
411
407
|
"onUpdate:currentPage": t[17] || (t[17] = (e) => u.value.curPage = e),
|
412
408
|
"page-size": u.value.pageSize,
|
413
409
|
"onUpdate:pageSize": t[18] || (t[18] = (e) => u.value.pageSize = e),
|
414
|
-
onPagination: t[19] || (t[19] = (e) =>
|
410
|
+
onPagination: t[19] || (t[19] = (e) => l(y).getList())
|
415
411
|
}, null, 8, ["total", "current-page", "page-size"])) : p("", !0)
|
416
412
|
]),
|
417
|
-
default:
|
418
|
-
|
413
|
+
default: a(() => [
|
414
|
+
r(se, {
|
419
415
|
ref_key: "multipleTableRef",
|
420
416
|
ref: G,
|
421
417
|
"row-key": "orderId",
|
422
|
-
"list-loading":
|
423
|
-
data:
|
424
|
-
"table-label":
|
425
|
-
onSelectionChange:
|
418
|
+
"list-loading": l(X),
|
419
|
+
data: l(Z),
|
420
|
+
"table-label": l(h),
|
421
|
+
onSelectionChange: re
|
426
422
|
}, {
|
427
|
-
shopId:
|
428
|
-
m("span", null,
|
423
|
+
shopId: a((e) => [
|
424
|
+
m("span", null, n(l(f).shopBizDict.getValue(e.data.row.shopId)), 1)
|
429
425
|
]),
|
430
|
-
orderItemList:
|
431
|
-
(d(!0), k(B, null, j(e.data.row.orderItemList.results, (
|
432
|
-
key:
|
426
|
+
orderItemList: a((e) => [
|
427
|
+
(d(!0), k(B, null, j(e.data.row.orderItemList.results, (_, fe) => (d(), k("div", {
|
428
|
+
key: fe,
|
433
429
|
class: "order-item"
|
434
430
|
}, [
|
435
|
-
m("div",
|
436
|
-
m("div",
|
437
|
-
m("div",
|
438
|
-
m("div",
|
439
|
-
e.data.row.orderStatus === a(b).UNPAY ? T((d(), k("div", {
|
440
|
-
key: 0,
|
441
|
-
class: "el-button-color change-price-btn",
|
442
|
-
onClick: (Qe) => ee(e.data.row, c)
|
443
|
-
}, [
|
444
|
-
s(r(o.$t("orderInfo.changePrice")), 1)
|
445
|
-
], 8, Me)), [
|
446
|
-
[P, ["order:order_info:changePrice"]]
|
447
|
-
]) : p("", !0)
|
431
|
+
m("div", Te, n(_.spuName), 1),
|
432
|
+
m("div", Ne, "¥" + n(_.salesPrice), 1),
|
433
|
+
m("div", De, n(_.specInfo), 1),
|
434
|
+
m("div", Ue, "数量:" + n(_.quantity), 1)
|
448
435
|
]))), 128))
|
449
436
|
]),
|
450
|
-
orderCodeAndCreateTime:
|
437
|
+
orderCodeAndCreateTime: a((e) => [
|
451
438
|
m("span", null, [
|
452
|
-
s(
|
439
|
+
s(n(l(F).$moment.formatDate(
|
453
440
|
e.data.row.createTime,
|
454
441
|
"YYYY-MM-DD HH:mm:ss"
|
455
442
|
)) + " ", 1),
|
456
443
|
t[24] || (t[24] = m("br", null, null, -1)),
|
457
|
-
s(" " +
|
444
|
+
s(" " + n(e.data.row.orderCode), 1)
|
458
445
|
])
|
459
446
|
]),
|
460
|
-
status:
|
447
|
+
status: a((e) => [
|
461
448
|
m("div", null, [
|
462
|
-
s(
|
463
|
-
e.data.row.orderStatus ===
|
449
|
+
s(n(o.$t("orderInfo.orderStatus")) + ": ", 1),
|
450
|
+
e.data.row.orderStatus === l(w).UNPAY ? (d(), i(I, {
|
464
451
|
key: 0,
|
465
452
|
type: "danger"
|
466
453
|
}, {
|
467
|
-
default:
|
468
|
-
s(
|
454
|
+
default: a(() => [
|
455
|
+
s(n(l(f).orderStatusEnum.getEnumValue(
|
469
456
|
e.data.row.orderStatus
|
470
457
|
)), 1)
|
471
458
|
]),
|
472
459
|
_: 2
|
473
460
|
}, 1024)) : p("", !0),
|
474
|
-
e.data.row.orderStatus ===
|
461
|
+
e.data.row.orderStatus === l(w).UNPOST ? (d(), i(I, {
|
475
462
|
key: 1,
|
476
463
|
type: "warning"
|
477
464
|
}, {
|
478
|
-
default:
|
479
|
-
s(
|
465
|
+
default: a(() => [
|
466
|
+
s(n(l(f).orderStatusEnum.getEnumValue(
|
480
467
|
e.data.row.orderStatus
|
481
468
|
)), 1)
|
482
469
|
]),
|
483
470
|
_: 2
|
484
471
|
}, 1024)) : p("", !0),
|
485
|
-
e.data.row.orderStatus ===
|
472
|
+
e.data.row.orderStatus === l(w).UNRECEIVE ? (d(), i(I, {
|
486
473
|
key: 2,
|
487
474
|
type: "primary"
|
488
475
|
}, {
|
489
|
-
default:
|
490
|
-
s(
|
476
|
+
default: a(() => [
|
477
|
+
s(n(l(f).orderStatusEnum.getEnumValue(
|
491
478
|
e.data.row.orderStatus
|
492
479
|
)), 1)
|
493
480
|
]),
|
494
481
|
_: 2
|
495
482
|
}, 1024)) : p("", !0),
|
496
|
-
e.data.row.orderStatus ===
|
483
|
+
e.data.row.orderStatus === l(w).COMPLETE ? (d(), i(I, {
|
497
484
|
key: 3,
|
498
485
|
type: "success"
|
499
486
|
}, {
|
500
|
-
default:
|
501
|
-
s(
|
487
|
+
default: a(() => [
|
488
|
+
s(n(l(f).orderStatusEnum.getEnumValue(
|
502
489
|
e.data.row.orderStatus
|
503
490
|
)), 1)
|
504
491
|
]),
|
505
492
|
_: 2
|
506
493
|
}, 1024)) : p("", !0),
|
507
|
-
e.data.row.orderStatus ===
|
494
|
+
e.data.row.orderStatus === l(w).CANCEL ? (d(), i(I, {
|
508
495
|
key: 4,
|
509
496
|
type: "info"
|
510
497
|
}, {
|
511
|
-
default:
|
512
|
-
s(
|
498
|
+
default: a(() => [
|
499
|
+
s(n(l(f).orderStatusEnum.getEnumValue(
|
513
500
|
e.data.row.orderStatus
|
514
501
|
)), 1)
|
515
502
|
]),
|
@@ -517,33 +504,33 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
517
504
|
}, 1024)) : p("", !0)
|
518
505
|
]),
|
519
506
|
m("span", null, [
|
520
|
-
s(
|
521
|
-
e.data.row.paymentStatus ===
|
507
|
+
s(n(o.$t("orderInfo.paymentStatus")) + ": ", 1),
|
508
|
+
e.data.row.paymentStatus === l(w).UNPAID ? (d(), i(I, {
|
522
509
|
key: 0,
|
523
510
|
type: "danger"
|
524
511
|
}, {
|
525
|
-
default:
|
526
|
-
s(
|
512
|
+
default: a(() => [
|
513
|
+
s(n(l(f).paymentStatusEnum.getEnumValue(
|
527
514
|
e.data.row.paymentStatus
|
528
515
|
)), 1)
|
529
516
|
]),
|
530
517
|
_: 2
|
531
|
-
}, 1024)) : e.data.row.paymentStatus ===
|
518
|
+
}, 1024)) : e.data.row.paymentStatus === l(w).PART_PAID ? (d(), i(I, {
|
532
519
|
key: 1,
|
533
520
|
type: "info"
|
534
521
|
}, {
|
535
|
-
default:
|
536
|
-
s(
|
522
|
+
default: a(() => [
|
523
|
+
s(n(l(f).paymentStatusEnum.getEnumValue(
|
537
524
|
e.data.row.paymentStatus
|
538
525
|
)), 1)
|
539
526
|
]),
|
540
527
|
_: 2
|
541
|
-
}, 1024)) : e.data.row.paymentStatus ===
|
528
|
+
}, 1024)) : e.data.row.paymentStatus === l(w).PAID ? (d(), i(I, {
|
542
529
|
key: 2,
|
543
530
|
type: "success"
|
544
531
|
}, {
|
545
|
-
default:
|
546
|
-
s(
|
532
|
+
default: a(() => [
|
533
|
+
s(n(l(f).paymentStatusEnum.getEnumValue(
|
547
534
|
e.data.row.paymentStatus
|
548
535
|
)), 1)
|
549
536
|
]),
|
@@ -551,24 +538,24 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
551
538
|
}, 1024)) : p("", !0)
|
552
539
|
]),
|
553
540
|
m("div", null, [
|
554
|
-
s(
|
555
|
-
e.data.row.appraisesStatus === !1 ? (d(), i(
|
541
|
+
s(n(o.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
542
|
+
e.data.row.appraisesStatus === !1 ? (d(), i(I, {
|
556
543
|
key: 0,
|
557
544
|
type: "info"
|
558
545
|
}, {
|
559
|
-
default:
|
560
|
-
s(
|
546
|
+
default: a(() => [
|
547
|
+
s(n(l(f).appraisesStatus.getValue(
|
561
548
|
e.data.row.appraisesStatus
|
562
549
|
)), 1)
|
563
550
|
]),
|
564
551
|
_: 2
|
565
552
|
}, 1024)) : p("", !0),
|
566
|
-
e.data.row.appraisesStatus === !0 ? (d(), i(
|
553
|
+
e.data.row.appraisesStatus === !0 ? (d(), i(I, {
|
567
554
|
key: 1,
|
568
555
|
type: "success"
|
569
556
|
}, {
|
570
|
-
default:
|
571
|
-
s(
|
557
|
+
default: a(() => [
|
558
|
+
s(n(l(f).appraisesStatus.getValue(
|
572
559
|
e.data.row.appraisesStatus
|
573
560
|
)), 1)
|
574
561
|
]),
|
@@ -576,46 +563,46 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
576
563
|
}, 1024)) : p("", !0)
|
577
564
|
])
|
578
565
|
]),
|
579
|
-
salesPrice:
|
566
|
+
salesPrice: a((e) => [
|
580
567
|
m("div", null, [
|
581
|
-
m("div", null,
|
582
|
-
m("div", null,
|
583
|
-
m("div", null,
|
584
|
-
m("div",
|
568
|
+
m("div", null, n(o.$t("orderInfo.salesPrice")) + ": ¥" + n(e.data.row.salesPrice), 1),
|
569
|
+
m("div", null, n(o.$t("orderInfo.freightPrice")) + ": +¥" + n(e.data.row.freightPrice), 1),
|
570
|
+
m("div", null, n(o.$t("orderInfo.paymentCouponPrice")) + ": -¥" + n(e.data.row.paymentCouponPrice), 1),
|
571
|
+
m("div", Re, n(o.$t("orderInfo.orderPrice")) + ": ¥" + n(e.data.row.orderPrice), 1)
|
585
572
|
])
|
586
573
|
]),
|
587
|
-
paymentWay:
|
588
|
-
m("span", null,
|
574
|
+
paymentWay: a((e) => [
|
575
|
+
m("span", null, n(l(f).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
589
576
|
]),
|
590
|
-
deliveryWay:
|
591
|
-
m("span", null,
|
577
|
+
deliveryWay: a((e) => [
|
578
|
+
m("span", null, n(l(f).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
592
579
|
]),
|
593
|
-
operation:
|
594
|
-
|
595
|
-
class: "el-button-color
|
596
|
-
onClick: (
|
580
|
+
operation: a((e) => [
|
581
|
+
N((d(), k("span", {
|
582
|
+
class: "el-button-color",
|
583
|
+
onClick: (_) => ae(e.data.row)
|
597
584
|
}, [
|
598
|
-
s(
|
599
|
-
], 8,
|
600
|
-
[
|
585
|
+
s(n(o.$t("common.view")), 1)
|
586
|
+
], 8, Me)), [
|
587
|
+
[T, ["order:order_info:view"]]
|
601
588
|
]),
|
602
|
-
e.data.row.orderStatus ===
|
589
|
+
e.data.row.orderStatus === l(w).UNPOST ? N((d(), k("span", {
|
603
590
|
key: 0,
|
604
591
|
class: "el-button-color dropdown-left",
|
605
|
-
onClick: (
|
592
|
+
onClick: (_) => x(e.data.row)
|
606
593
|
}, [
|
607
|
-
s(
|
594
|
+
s(n(o.$t("orderInfo.deliver")), 1)
|
608
595
|
], 8, Le)), [
|
609
|
-
[
|
596
|
+
[T, ["order:order_info:delivery"]]
|
610
597
|
]) : p("", !0),
|
611
|
-
e.data.row.orderStatus ===
|
598
|
+
e.data.row.orderStatus === l(w).UNPAY ? N((d(), k("span", {
|
612
599
|
key: 1,
|
613
600
|
class: "el-button-color dropdown-left",
|
614
|
-
onClick: (
|
601
|
+
onClick: (_) => le(e.data.row)
|
615
602
|
}, [
|
616
|
-
s(
|
617
|
-
], 8,
|
618
|
-
[
|
603
|
+
s(n(o.$t("orderInfo.cancel")), 1)
|
604
|
+
], 8, Ye)), [
|
605
|
+
[T, ["order:order_info:cancel"]]
|
619
606
|
]) : p("", !0)
|
620
607
|
]),
|
621
608
|
_: 1
|
@@ -626,17 +613,17 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
626
613
|
]),
|
627
614
|
_: 1
|
628
615
|
}),
|
629
|
-
(d(!0), k(B, null, j(
|
630
|
-
key:
|
616
|
+
(d(!0), k(B, null, j(l(f).orderStatusEnum.values, (e, _) => (d(), i(W, {
|
617
|
+
key: _,
|
631
618
|
label: e.value,
|
632
|
-
name:
|
619
|
+
name: _.toString()
|
633
620
|
}, {
|
634
|
-
default:
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
621
|
+
default: a(() => [
|
622
|
+
S.value === "0" ? (d(), i(ke, { key: 0 })) : p("", !0),
|
623
|
+
S.value === "1" ? (d(), i($e, { key: 1 })) : p("", !0),
|
624
|
+
S.value === "2" ? (d(), i(Ce, { key: 2 })) : p("", !0),
|
625
|
+
S.value === "3" ? (d(), i(Ve, { key: 3 })) : p("", !0),
|
626
|
+
S.value === "4" ? (d(), i(he, { key: 4 })) : p("", !0)
|
640
627
|
]),
|
641
628
|
_: 2
|
642
629
|
}, 1032, ["label", "name"]))), 128))
|
@@ -648,18 +635,18 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
648
635
|
modelValue: $.value.visible,
|
649
636
|
"onUpdate:modelValue": t[21] || (t[21] = (e) => $.value.visible = e),
|
650
637
|
title: $.value.title,
|
651
|
-
"entity-key":
|
652
|
-
"entity-model":
|
638
|
+
"entity-key": l(U),
|
639
|
+
"entity-model": l(R),
|
653
640
|
onRefresh: q,
|
654
641
|
width: "500px"
|
655
642
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
|
656
|
-
|
643
|
+
P.value.visible ? (d(), i(ge, {
|
657
644
|
key: 1,
|
658
|
-
modelValue:
|
659
|
-
"onUpdate:modelValue": t[22] || (t[22] = (e) =>
|
660
|
-
title:
|
661
|
-
"entity-key":
|
662
|
-
"entity-model":
|
645
|
+
modelValue: P.value.visible,
|
646
|
+
"onUpdate:modelValue": t[22] || (t[22] = (e) => P.value.visible = e),
|
647
|
+
title: P.value.title,
|
648
|
+
"entity-key": l(U),
|
649
|
+
"entity-model": l(R),
|
663
650
|
onRefresh: q,
|
664
651
|
width: "500px"
|
665
652
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0)
|
@@ -668,5 +655,5 @@ const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne =
|
|
668
655
|
}
|
669
656
|
});
|
670
657
|
export {
|
671
|
-
|
658
|
+
xe as default
|
672
659
|
};
|