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