xyvcard-order 0.0.1
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/README.md +51 -0
- package/dist/canceled-CUME6Usz.mjs +4 -0
- package/dist/canceled.vue_vue_type_script_setup_true_lang-EX4zYQSu.mjs +509 -0
- package/dist/change-CK1I7hL9.mjs +4 -0
- package/dist/change.vue_vue_type_script_setup_true_lang-DMUKqQVp.mjs +186 -0
- package/dist/completed-Cf86bOvD.mjs +4 -0
- package/dist/completed.vue_vue_type_script_setup_true_lang-DqIyhNKh.mjs +509 -0
- package/dist/constant-CWTD7ap0.mjs +24 -0
- package/dist/deliver-BQIcivCV.mjs +4 -0
- package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +221 -0
- package/dist/edit-BtY-5_aq.mjs +4 -0
- package/dist/edit-CXp819Cl.mjs +4 -0
- package/dist/edit-CagPAsCc.mjs +4 -0
- package/dist/edit-DSlSQclm.mjs +4 -0
- package/dist/edit-DZTWE770.mjs +4 -0
- package/dist/edit-kb9Vbd0O.mjs +553 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +382 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +488 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +516 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs +178 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +684 -0
- package/dist/index-67kgHrd-.mjs +370 -0
- package/dist/index-BYkU3LYC.mjs +343 -0
- package/dist/index-CUO59YzZ.mjs +1275 -0
- package/dist/index-D-PNIrrr.mjs +55 -0
- package/dist/index-DMD0_mKi.mjs +673 -0
- package/dist/index-Dbp38ozL.mjs +350 -0
- package/dist/index-L15OdEOS.mjs +370 -0
- package/dist/index-Nw_g6g3T.mjs +80 -0
- package/dist/index-ZpOHqjUk.mjs +344 -0
- package/dist/index-w8CmEAxD.mjs +90 -0
- package/dist/index-xagR65a1.mjs +59 -0
- package/dist/index-zsqXCqfG.mjs +385 -0
- package/dist/index.mjs +2825 -0
- package/dist/info-6G1vmk51.mjs +369 -0
- package/dist/info-BWqDP7Q1.mjs +106 -0
- package/dist/style.css +1 -0
- package/dist/unpay-CqebDQ24.mjs +4 -0
- package/dist/unpay.vue_vue_type_script_setup_true_lang-Cq-l3JEe.mjs +3981 -0
- package/dist/unpost-vRTZyaW0.mjs +4 -0
- package/dist/unpost.vue_vue_type_script_setup_true_lang-CAd6DqNm.mjs +540 -0
- package/dist/unreceive-DUyGNC5h.mjs +4 -0
- package/dist/unreceive.vue_vue_type_script_setup_true_lang-DK1USH8c.mjs +509 -0
- package/dist/viewLogist-DdG4dbmo.mjs +4 -0
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +77 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/dict.d.ts +10 -0
- package/dts/src/api/index.d.ts +14 -0
- package/dts/src/api/order/order-bill/index.d.ts +20 -0
- package/dts/src/api/order/order-bill/types.d.ts +75 -0
- package/dts/src/api/order/order-info/index.d.ts +15 -0
- package/dts/src/api/order/order-info/types.d.ts +97 -0
- package/dts/src/api/order/order-item/index.d.ts +20 -0
- package/dts/src/api/order/order-item/types.d.ts +95 -0
- package/dts/src/api/order/order-logistics/index.d.ts +12 -0
- package/dts/src/api/order/order-logistics/types.d.ts +85 -0
- package/dts/src/api/order/order-pay-record/index.d.ts +20 -0
- package/dts/src/api/order/order-pay-record/types.d.ts +77 -0
- package/dts/src/api/order/order-refund-record/index.d.ts +20 -0
- package/dts/src/api/order/order-refund-record/types.d.ts +80 -0
- package/dts/src/api/order/order-refunds/index.d.ts +12 -0
- package/dts/src/api/order/order-refunds/types.d.ts +47 -0
- package/dts/src/api/shop/shop-info/index.d.ts +8 -0
- package/dts/src/api/shop/shop-info/types.d.ts +16 -0
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/constant.d.ts +28 -0
- package/dts/src/index.d.ts +6 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/order/en.d.ts +2 -0
- package/dts/src/lang/order/zh-cn.d.ts +189 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/orderRouter.d.ts +4 -0
- package/dts/src/utils/commons.d.ts +10 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/src/views/order/order-bill/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-bill/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/canceled.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/change.vue.d.ts +31 -0
- package/dts/src/views/order/order-info/completed.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/deliver.vue.d.ts +31 -0
- package/dts/src/views/order/order-info/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-info/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/info.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/unpay.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/unpost.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/unreceive.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/viewLogist.vue.d.ts +27 -0
- package/dts/src/views/order/order-item/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-item/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-logistics/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-logistics/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-pay-record/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-pay-record/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-refund-record/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-refund-record/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-refunds/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-refunds/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-refunds/info.vue.d.ts +2 -0
- package/package.json +57 -0
@@ -0,0 +1,684 @@
|
|
1
|
+
import { defineComponent as j, mergeModels as U, ref as k, reactive as q, useModel as K, resolveComponent as h, openBlock as O, createBlock as A, withCtx as o, createElementVNode as L, createVNode as e, createTextVNode as _, toDisplayString as C, unref as n } from "vue";
|
2
|
+
import { ElMessage as N } from "element-plus";
|
3
|
+
import { useI18n as z } from "vue-i18n";
|
4
|
+
import { useUserStore as f, clearEmpty as I, request as g } from "jmash-core";
|
5
|
+
import { q as R } from "./index-CUO59YzZ.mjs";
|
6
|
+
class G {
|
7
|
+
getKey(r) {
|
8
|
+
return {
|
9
|
+
itemId: r.itemId
|
10
|
+
};
|
11
|
+
}
|
12
|
+
// 查询翻页信息订单详情
|
13
|
+
findPage(r) {
|
14
|
+
const d = f().user.tenant;
|
15
|
+
return I(r), g({
|
16
|
+
url: "/v1/order/order_item/page/" + d,
|
17
|
+
method: "get",
|
18
|
+
params: r
|
19
|
+
});
|
20
|
+
}
|
21
|
+
// 查询列表信息订单详情
|
22
|
+
findList(r) {
|
23
|
+
const d = f().user.tenant;
|
24
|
+
return I(r), g({
|
25
|
+
url: "/v1/order/order_item/list/" + d,
|
26
|
+
method: "get",
|
27
|
+
params: r
|
28
|
+
});
|
29
|
+
}
|
30
|
+
// 查询订单详情
|
31
|
+
findById(r) {
|
32
|
+
const d = f().user.tenant;
|
33
|
+
return I(r), g({
|
34
|
+
url: "/v1/order/order_item/id/" + d + "/" + r.itemId,
|
35
|
+
method: "get"
|
36
|
+
});
|
37
|
+
}
|
38
|
+
// 创建实体订单详情
|
39
|
+
create(r) {
|
40
|
+
return r.tenant = f().user.tenant, I(r), g({
|
41
|
+
url: "/v1/order/order_item",
|
42
|
+
method: "post",
|
43
|
+
data: r
|
44
|
+
});
|
45
|
+
}
|
46
|
+
// 修改实体订单详情
|
47
|
+
update(r) {
|
48
|
+
return r.tenant = f().user.tenant, I(r), g({
|
49
|
+
url: "/v1/order/order_item",
|
50
|
+
method: "patch",
|
51
|
+
data: r
|
52
|
+
});
|
53
|
+
}
|
54
|
+
// 上移下移
|
55
|
+
move(r, d) {
|
56
|
+
let s = { ...r };
|
57
|
+
return s.tenant = f().user.tenant, s.up = d, I(s), g({
|
58
|
+
url: "/v1/order/order_item/move",
|
59
|
+
method: "put",
|
60
|
+
data: s
|
61
|
+
});
|
62
|
+
}
|
63
|
+
// 启用/禁用
|
64
|
+
enable(r, d) {
|
65
|
+
let s = { ...r };
|
66
|
+
return s.tenant = f().user.tenant, s.enable = d, I(s), g({
|
67
|
+
url: "/v1/order/order_item/enable",
|
68
|
+
method: "put",
|
69
|
+
data: s
|
70
|
+
});
|
71
|
+
}
|
72
|
+
// 删除订单详情
|
73
|
+
delete(r) {
|
74
|
+
return r.tenant = f().user.tenant, I(r), g({
|
75
|
+
url: "/v1/order/order_item/id",
|
76
|
+
method: "delete",
|
77
|
+
params: r
|
78
|
+
});
|
79
|
+
}
|
80
|
+
// 批量删除订单详情
|
81
|
+
batchDelete(r) {
|
82
|
+
const d = r.map((l) => l.itemId), s = {
|
83
|
+
tenant: f().user.tenant,
|
84
|
+
itemId: d
|
85
|
+
};
|
86
|
+
return I(s), g({
|
87
|
+
url: "/v1/order/order_item/batch",
|
88
|
+
method: "put",
|
89
|
+
data: s
|
90
|
+
});
|
91
|
+
}
|
92
|
+
// 下载导入模板订单详情
|
93
|
+
downloadTemplate() {
|
94
|
+
const r = f().user.tenant;
|
95
|
+
return g({
|
96
|
+
url: "/v1/order/order_item/" + r + "/template.xlsx",
|
97
|
+
method: "get",
|
98
|
+
responseType: "blob",
|
99
|
+
params: {
|
100
|
+
tenant: f().user.tenant
|
101
|
+
}
|
102
|
+
});
|
103
|
+
}
|
104
|
+
// 导入订单详情
|
105
|
+
importExcel(r) {
|
106
|
+
return r.tenant = f().user.tenant, I(r), g({
|
107
|
+
url: "/v1/order/order_item/import",
|
108
|
+
method: "patch",
|
109
|
+
data: r
|
110
|
+
});
|
111
|
+
}
|
112
|
+
// 导出订单详情Excel文件
|
113
|
+
exportExcel(r) {
|
114
|
+
const d = f().user.tenant;
|
115
|
+
I(r);
|
116
|
+
const s = R.stringify(r, {
|
117
|
+
arrayFormat: "brackets",
|
118
|
+
allowDots: !0
|
119
|
+
});
|
120
|
+
return g({
|
121
|
+
url: "/v1/order/order_item/" + d + "/order_items.xlsx?" + s,
|
122
|
+
method: "get",
|
123
|
+
responseType: "blob"
|
124
|
+
});
|
125
|
+
}
|
126
|
+
// 打印订单详情PDF文件
|
127
|
+
exportPdf(r) {
|
128
|
+
const d = f().user.tenant;
|
129
|
+
I(r);
|
130
|
+
const s = R.stringify(r, {
|
131
|
+
arrayFormat: "brackets",
|
132
|
+
allowDots: !0
|
133
|
+
});
|
134
|
+
return g({
|
135
|
+
url: "/v1/order/order_item/" + d + "/order_items.pdf?" + s,
|
136
|
+
method: "get",
|
137
|
+
responseType: "blob"
|
138
|
+
});
|
139
|
+
}
|
140
|
+
}
|
141
|
+
const V = new G(), H = { class: "dialog-footer" }, Z = /* @__PURE__ */ j({
|
142
|
+
__name: "edit",
|
143
|
+
props: /* @__PURE__ */ U({
|
144
|
+
entityKey: {
|
145
|
+
type: Object,
|
146
|
+
default: () => {
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}, {
|
150
|
+
modelValue: { type: Boolean },
|
151
|
+
modelModifiers: {}
|
152
|
+
}),
|
153
|
+
emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
|
154
|
+
setup(b, { emit: r }) {
|
155
|
+
const { t: d } = z(), s = k();
|
156
|
+
let l = q({
|
157
|
+
requestId: Math.random() * 10 + "",
|
158
|
+
updateMask: ""
|
159
|
+
});
|
160
|
+
const M = q({
|
161
|
+
itemId: [
|
162
|
+
{
|
163
|
+
required: !0,
|
164
|
+
message: d("orderItem.itemId"),
|
165
|
+
trigger: "change"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
orderId: [
|
169
|
+
{
|
170
|
+
required: !0,
|
171
|
+
message: d("orderItem.orderId"),
|
172
|
+
trigger: "change"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
spuId: [
|
176
|
+
{
|
177
|
+
required: !0,
|
178
|
+
message: d("orderItem.spuId"),
|
179
|
+
trigger: "change"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
skuId: [
|
183
|
+
{
|
184
|
+
required: !0,
|
185
|
+
message: d("orderItem.skuId"),
|
186
|
+
trigger: "change"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
spuName: [
|
190
|
+
{
|
191
|
+
required: !0,
|
192
|
+
message: d("orderItem.spuName"),
|
193
|
+
trigger: "change"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
picUrl: [
|
197
|
+
{
|
198
|
+
required: !0,
|
199
|
+
message: d("orderItem.picUrl"),
|
200
|
+
trigger: "change"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
specInfo: [
|
204
|
+
{
|
205
|
+
required: !0,
|
206
|
+
message: d("orderItem.specInfo"),
|
207
|
+
trigger: "change"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
customInfo: [
|
211
|
+
{
|
212
|
+
required: !0,
|
213
|
+
message: d("orderItem.customInfo"),
|
214
|
+
trigger: "change"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
quantity: [
|
218
|
+
{
|
219
|
+
required: !0,
|
220
|
+
message: d("orderItem.quantity"),
|
221
|
+
trigger: "change"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
salesPrice: [
|
225
|
+
{
|
226
|
+
required: !0,
|
227
|
+
message: d("orderItem.salesPrice"),
|
228
|
+
trigger: "change"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
freightPrice: [
|
232
|
+
{
|
233
|
+
required: !0,
|
234
|
+
message: d("orderItem.freightPrice"),
|
235
|
+
trigger: "change"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
paymentCouponPrice: [
|
239
|
+
{
|
240
|
+
required: !0,
|
241
|
+
message: d("orderItem.paymentCouponPrice"),
|
242
|
+
trigger: "change"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
paymentPrice: [
|
246
|
+
{
|
247
|
+
required: !0,
|
248
|
+
message: d("orderItem.paymentPrice"),
|
249
|
+
trigger: "change"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
remark: [
|
253
|
+
{
|
254
|
+
required: !0,
|
255
|
+
message: d("orderItem.remark"),
|
256
|
+
trigger: "change"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
status: [
|
260
|
+
{
|
261
|
+
required: !0,
|
262
|
+
message: d("orderItem.status"),
|
263
|
+
trigger: "change"
|
264
|
+
}
|
265
|
+
],
|
266
|
+
isRefund: [
|
267
|
+
{
|
268
|
+
required: !0,
|
269
|
+
message: d("orderItem.isRefund"),
|
270
|
+
trigger: "change"
|
271
|
+
}
|
272
|
+
]
|
273
|
+
}), c = K(b, "modelValue"), y = b, w = r, B = Object.keys(y.entityKey), $ = k(B.length >= 1);
|
274
|
+
$.value && V.findById(y.entityKey).then(({ data: t }) => {
|
275
|
+
Object.assign(l, t);
|
276
|
+
});
|
277
|
+
const D = async () => {
|
278
|
+
var t;
|
279
|
+
await ((t = s.value) == null ? void 0 : t.validate((a) => {
|
280
|
+
a && ($.value ? V.update(l).then((u) => {
|
281
|
+
console.log(u), u.status === 200 && (N({
|
282
|
+
message: d("common.submitSuccess"),
|
283
|
+
type: "success"
|
284
|
+
}), c.value && (c.value = !1), w("refresh", u.status === 200));
|
285
|
+
}) : V.create(l).then((u) => {
|
286
|
+
console.log(u), u.status === 200 && (N({
|
287
|
+
message: d("common.submitSuccess"),
|
288
|
+
type: "success"
|
289
|
+
}), c.value && (c.value = !1), w("refresh", u.status === 200));
|
290
|
+
}));
|
291
|
+
}));
|
292
|
+
};
|
293
|
+
function v() {
|
294
|
+
c.value && (c.value = !1);
|
295
|
+
}
|
296
|
+
return (t, a) => {
|
297
|
+
const u = h("el-input"), i = h("el-form-item"), p = h("el-col"), E = h("enum-select"), F = h("el-row"), S = h("el-form"), P = h("el-button"), T = h("el-dialog");
|
298
|
+
return O(), A(T, {
|
299
|
+
modelValue: c.value,
|
300
|
+
"onUpdate:modelValue": a[16] || (a[16] = (m) => c.value = m),
|
301
|
+
onClose: v
|
302
|
+
}, {
|
303
|
+
footer: o(() => [
|
304
|
+
L("div", H, [
|
305
|
+
e(P, { onClick: v }, {
|
306
|
+
default: o(() => [
|
307
|
+
_(C(t.$t("common.cancel")), 1)
|
308
|
+
]),
|
309
|
+
_: 1
|
310
|
+
}),
|
311
|
+
e(P, {
|
312
|
+
type: "primary",
|
313
|
+
onClick: D
|
314
|
+
}, {
|
315
|
+
default: o(() => [
|
316
|
+
_(C(t.$t("common.confirm")), 1)
|
317
|
+
]),
|
318
|
+
_: 1
|
319
|
+
})
|
320
|
+
])
|
321
|
+
]),
|
322
|
+
default: o(() => [
|
323
|
+
e(S, {
|
324
|
+
ref_key: "orderItemFormRef",
|
325
|
+
ref: s,
|
326
|
+
model: n(l),
|
327
|
+
"label-width": "120px",
|
328
|
+
rules: M
|
329
|
+
}, {
|
330
|
+
default: o(() => [
|
331
|
+
e(F, null, {
|
332
|
+
default: o(() => [
|
333
|
+
e(p, { span: 12 }, {
|
334
|
+
default: o(() => [
|
335
|
+
e(i, {
|
336
|
+
label: t.$t("orderItem.itemId"),
|
337
|
+
prop: "itemId"
|
338
|
+
}, {
|
339
|
+
default: o(() => [
|
340
|
+
e(u, {
|
341
|
+
modelValue: n(l).itemId,
|
342
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => n(l).itemId = m),
|
343
|
+
placeholder: t.$t("orderItem.itemId"),
|
344
|
+
maxlength: "8",
|
345
|
+
"show-word-limit": "",
|
346
|
+
clearable: ""
|
347
|
+
}, null, 8, ["modelValue", "placeholder"])
|
348
|
+
]),
|
349
|
+
_: 1
|
350
|
+
}, 8, ["label"])
|
351
|
+
]),
|
352
|
+
_: 1
|
353
|
+
}),
|
354
|
+
e(p, { span: 12 }, {
|
355
|
+
default: o(() => [
|
356
|
+
e(i, {
|
357
|
+
label: t.$t("orderItem.orderId"),
|
358
|
+
prop: "orderId"
|
359
|
+
}, {
|
360
|
+
default: o(() => [
|
361
|
+
e(u, {
|
362
|
+
modelValue: n(l).orderId,
|
363
|
+
"onUpdate:modelValue": a[1] || (a[1] = (m) => n(l).orderId = m),
|
364
|
+
placeholder: t.$t("orderItem.orderId"),
|
365
|
+
maxlength: "8",
|
366
|
+
"show-word-limit": "",
|
367
|
+
clearable: ""
|
368
|
+
}, null, 8, ["modelValue", "placeholder"])
|
369
|
+
]),
|
370
|
+
_: 1
|
371
|
+
}, 8, ["label"])
|
372
|
+
]),
|
373
|
+
_: 1
|
374
|
+
}),
|
375
|
+
e(p, { span: 12 }, {
|
376
|
+
default: o(() => [
|
377
|
+
e(i, {
|
378
|
+
label: t.$t("orderItem.spuId"),
|
379
|
+
prop: "spuId"
|
380
|
+
}, {
|
381
|
+
default: o(() => [
|
382
|
+
e(u, {
|
383
|
+
modelValue: n(l).spuId,
|
384
|
+
"onUpdate:modelValue": a[2] || (a[2] = (m) => n(l).spuId = m),
|
385
|
+
placeholder: t.$t("orderItem.spuId"),
|
386
|
+
maxlength: "8",
|
387
|
+
"show-word-limit": "",
|
388
|
+
clearable: ""
|
389
|
+
}, null, 8, ["modelValue", "placeholder"])
|
390
|
+
]),
|
391
|
+
_: 1
|
392
|
+
}, 8, ["label"])
|
393
|
+
]),
|
394
|
+
_: 1
|
395
|
+
}),
|
396
|
+
e(p, { span: 12 }, {
|
397
|
+
default: o(() => [
|
398
|
+
e(i, {
|
399
|
+
label: t.$t("orderItem.skuId"),
|
400
|
+
prop: "skuId"
|
401
|
+
}, {
|
402
|
+
default: o(() => [
|
403
|
+
e(u, {
|
404
|
+
modelValue: n(l).skuId,
|
405
|
+
"onUpdate:modelValue": a[3] || (a[3] = (m) => n(l).skuId = m),
|
406
|
+
placeholder: t.$t("orderItem.skuId"),
|
407
|
+
maxlength: "8",
|
408
|
+
"show-word-limit": "",
|
409
|
+
clearable: ""
|
410
|
+
}, null, 8, ["modelValue", "placeholder"])
|
411
|
+
]),
|
412
|
+
_: 1
|
413
|
+
}, 8, ["label"])
|
414
|
+
]),
|
415
|
+
_: 1
|
416
|
+
}),
|
417
|
+
e(p, { span: 12 }, {
|
418
|
+
default: o(() => [
|
419
|
+
e(i, {
|
420
|
+
label: t.$t("orderItem.spuName"),
|
421
|
+
prop: "spuName"
|
422
|
+
}, {
|
423
|
+
default: o(() => [
|
424
|
+
e(u, {
|
425
|
+
modelValue: n(l).spuName,
|
426
|
+
"onUpdate:modelValue": a[4] || (a[4] = (m) => n(l).spuName = m),
|
427
|
+
placeholder: t.$t("orderItem.spuName"),
|
428
|
+
maxlength: "120",
|
429
|
+
"show-word-limit": "",
|
430
|
+
clearable: ""
|
431
|
+
}, null, 8, ["modelValue", "placeholder"])
|
432
|
+
]),
|
433
|
+
_: 1
|
434
|
+
}, 8, ["label"])
|
435
|
+
]),
|
436
|
+
_: 1
|
437
|
+
}),
|
438
|
+
e(p, { span: 12 }, {
|
439
|
+
default: o(() => [
|
440
|
+
e(i, {
|
441
|
+
label: t.$t("orderItem.picUrl"),
|
442
|
+
prop: "picUrl"
|
443
|
+
}, {
|
444
|
+
default: o(() => [
|
445
|
+
e(u, {
|
446
|
+
modelValue: n(l).picUrl,
|
447
|
+
"onUpdate:modelValue": a[5] || (a[5] = (m) => n(l).picUrl = m),
|
448
|
+
placeholder: t.$t("orderItem.picUrl"),
|
449
|
+
maxlength: "120",
|
450
|
+
"show-word-limit": "",
|
451
|
+
clearable: ""
|
452
|
+
}, null, 8, ["modelValue", "placeholder"])
|
453
|
+
]),
|
454
|
+
_: 1
|
455
|
+
}, 8, ["label"])
|
456
|
+
]),
|
457
|
+
_: 1
|
458
|
+
}),
|
459
|
+
e(p, { span: 12 }, {
|
460
|
+
default: o(() => [
|
461
|
+
e(i, {
|
462
|
+
label: t.$t("orderItem.specInfo"),
|
463
|
+
prop: "specInfo"
|
464
|
+
}, {
|
465
|
+
default: o(() => [
|
466
|
+
e(u, {
|
467
|
+
modelValue: n(l).specInfo,
|
468
|
+
"onUpdate:modelValue": a[6] || (a[6] = (m) => n(l).specInfo = m),
|
469
|
+
placeholder: t.$t("orderItem.specInfo"),
|
470
|
+
maxlength: "250",
|
471
|
+
"show-word-limit": "",
|
472
|
+
clearable: ""
|
473
|
+
}, null, 8, ["modelValue", "placeholder"])
|
474
|
+
]),
|
475
|
+
_: 1
|
476
|
+
}, 8, ["label"])
|
477
|
+
]),
|
478
|
+
_: 1
|
479
|
+
}),
|
480
|
+
e(p, { span: 12 }, {
|
481
|
+
default: o(() => [
|
482
|
+
e(i, {
|
483
|
+
label: t.$t("orderItem.customInfo"),
|
484
|
+
prop: "customInfo"
|
485
|
+
}, {
|
486
|
+
default: o(() => [
|
487
|
+
e(u, {
|
488
|
+
modelValue: n(l).customInfo,
|
489
|
+
"onUpdate:modelValue": a[7] || (a[7] = (m) => n(l).customInfo = m),
|
490
|
+
placeholder: t.$t("orderItem.customInfo"),
|
491
|
+
maxlength: "250",
|
492
|
+
"show-word-limit": "",
|
493
|
+
clearable: ""
|
494
|
+
}, null, 8, ["modelValue", "placeholder"])
|
495
|
+
]),
|
496
|
+
_: 1
|
497
|
+
}, 8, ["label"])
|
498
|
+
]),
|
499
|
+
_: 1
|
500
|
+
}),
|
501
|
+
e(p, { span: 12 }, {
|
502
|
+
default: o(() => [
|
503
|
+
e(i, {
|
504
|
+
label: t.$t("orderItem.quantity"),
|
505
|
+
prop: "quantity"
|
506
|
+
}, {
|
507
|
+
default: o(() => [
|
508
|
+
e(u, {
|
509
|
+
modelValue: n(l).quantity,
|
510
|
+
"onUpdate:modelValue": a[8] || (a[8] = (m) => n(l).quantity = m),
|
511
|
+
placeholder: t.$t("orderItem.quantity"),
|
512
|
+
maxlength: "5",
|
513
|
+
"show-word-limit": "",
|
514
|
+
clearable: ""
|
515
|
+
}, null, 8, ["modelValue", "placeholder"])
|
516
|
+
]),
|
517
|
+
_: 1
|
518
|
+
}, 8, ["label"])
|
519
|
+
]),
|
520
|
+
_: 1
|
521
|
+
}),
|
522
|
+
e(p, { span: 12 }, {
|
523
|
+
default: o(() => [
|
524
|
+
e(i, {
|
525
|
+
label: t.$t("orderItem.salesPrice"),
|
526
|
+
prop: "salesPrice"
|
527
|
+
}, {
|
528
|
+
default: o(() => [
|
529
|
+
e(u, {
|
530
|
+
modelValue: n(l).salesPrice,
|
531
|
+
"onUpdate:modelValue": a[9] || (a[9] = (m) => n(l).salesPrice = m),
|
532
|
+
placeholder: t.$t("orderItem.salesPrice"),
|
533
|
+
maxlength: "6",
|
534
|
+
"show-word-limit": "",
|
535
|
+
clearable: ""
|
536
|
+
}, null, 8, ["modelValue", "placeholder"])
|
537
|
+
]),
|
538
|
+
_: 1
|
539
|
+
}, 8, ["label"])
|
540
|
+
]),
|
541
|
+
_: 1
|
542
|
+
}),
|
543
|
+
e(p, { span: 12 }, {
|
544
|
+
default: o(() => [
|
545
|
+
e(i, {
|
546
|
+
label: t.$t("orderItem.freightPrice"),
|
547
|
+
prop: "freightPrice"
|
548
|
+
}, {
|
549
|
+
default: o(() => [
|
550
|
+
e(u, {
|
551
|
+
modelValue: n(l).freightPrice,
|
552
|
+
"onUpdate:modelValue": a[10] || (a[10] = (m) => n(l).freightPrice = m),
|
553
|
+
placeholder: t.$t("orderItem.freightPrice"),
|
554
|
+
maxlength: "6",
|
555
|
+
"show-word-limit": "",
|
556
|
+
clearable: ""
|
557
|
+
}, null, 8, ["modelValue", "placeholder"])
|
558
|
+
]),
|
559
|
+
_: 1
|
560
|
+
}, 8, ["label"])
|
561
|
+
]),
|
562
|
+
_: 1
|
563
|
+
}),
|
564
|
+
e(p, { span: 12 }, {
|
565
|
+
default: o(() => [
|
566
|
+
e(i, {
|
567
|
+
label: t.$t("orderItem.paymentCouponPrice"),
|
568
|
+
prop: "paymentCouponPrice"
|
569
|
+
}, {
|
570
|
+
default: o(() => [
|
571
|
+
e(u, {
|
572
|
+
modelValue: n(l).paymentCouponPrice,
|
573
|
+
"onUpdate:modelValue": a[11] || (a[11] = (m) => n(l).paymentCouponPrice = m),
|
574
|
+
placeholder: t.$t("orderItem.paymentCouponPrice"),
|
575
|
+
maxlength: "6",
|
576
|
+
"show-word-limit": "",
|
577
|
+
clearable: ""
|
578
|
+
}, null, 8, ["modelValue", "placeholder"])
|
579
|
+
]),
|
580
|
+
_: 1
|
581
|
+
}, 8, ["label"])
|
582
|
+
]),
|
583
|
+
_: 1
|
584
|
+
}),
|
585
|
+
e(p, { span: 12 }, {
|
586
|
+
default: o(() => [
|
587
|
+
e(i, {
|
588
|
+
label: t.$t("orderItem.paymentPrice"),
|
589
|
+
prop: "paymentPrice"
|
590
|
+
}, {
|
591
|
+
default: o(() => [
|
592
|
+
e(u, {
|
593
|
+
modelValue: n(l).paymentPrice,
|
594
|
+
"onUpdate:modelValue": a[12] || (a[12] = (m) => n(l).paymentPrice = m),
|
595
|
+
placeholder: t.$t("orderItem.paymentPrice"),
|
596
|
+
maxlength: "6",
|
597
|
+
"show-word-limit": "",
|
598
|
+
clearable: ""
|
599
|
+
}, null, 8, ["modelValue", "placeholder"])
|
600
|
+
]),
|
601
|
+
_: 1
|
602
|
+
}, 8, ["label"])
|
603
|
+
]),
|
604
|
+
_: 1
|
605
|
+
}),
|
606
|
+
e(p, { span: 12 }, {
|
607
|
+
default: o(() => [
|
608
|
+
e(i, {
|
609
|
+
label: t.$t("orderItem.remark"),
|
610
|
+
prop: "remark"
|
611
|
+
}, {
|
612
|
+
default: o(() => [
|
613
|
+
e(u, {
|
614
|
+
modelValue: n(l).remark,
|
615
|
+
"onUpdate:modelValue": a[13] || (a[13] = (m) => n(l).remark = m),
|
616
|
+
placeholder: t.$t("orderItem.remark"),
|
617
|
+
maxlength: "120",
|
618
|
+
"show-word-limit": "",
|
619
|
+
clearable: ""
|
620
|
+
}, null, 8, ["modelValue", "placeholder"])
|
621
|
+
]),
|
622
|
+
_: 1
|
623
|
+
}, 8, ["label"])
|
624
|
+
]),
|
625
|
+
_: 1
|
626
|
+
}),
|
627
|
+
e(p, { span: 12 }, {
|
628
|
+
default: o(() => [
|
629
|
+
e(i, {
|
630
|
+
label: t.$t("orderItem.status"),
|
631
|
+
prop: "status"
|
632
|
+
}, {
|
633
|
+
default: o(() => [
|
634
|
+
e(E, {
|
635
|
+
modelValue: n(l).status,
|
636
|
+
"onUpdate:modelValue": a[14] || (a[14] = (m) => n(l).status = m),
|
637
|
+
placeholder: t.$t("orderItem.status"),
|
638
|
+
"enum-type": "jmash.rbac.protobuf.UserStatus",
|
639
|
+
clearable: "",
|
640
|
+
style: { width: "203px" }
|
641
|
+
}, null, 8, ["modelValue", "placeholder"])
|
642
|
+
]),
|
643
|
+
_: 1
|
644
|
+
}, 8, ["label"])
|
645
|
+
]),
|
646
|
+
_: 1
|
647
|
+
}),
|
648
|
+
e(p, { span: 12 }, {
|
649
|
+
default: o(() => [
|
650
|
+
e(i, {
|
651
|
+
label: t.$t("orderItem.isRefund"),
|
652
|
+
prop: "isRefund"
|
653
|
+
}, {
|
654
|
+
default: o(() => [
|
655
|
+
e(u, {
|
656
|
+
modelValue: n(l).isRefund,
|
657
|
+
"onUpdate:modelValue": a[15] || (a[15] = (m) => n(l).isRefund = m),
|
658
|
+
placeholder: t.$t("orderItem.isRefund"),
|
659
|
+
maxlength: "1",
|
660
|
+
"show-word-limit": "",
|
661
|
+
clearable: ""
|
662
|
+
}, null, 8, ["modelValue", "placeholder"])
|
663
|
+
]),
|
664
|
+
_: 1
|
665
|
+
}, 8, ["label"])
|
666
|
+
]),
|
667
|
+
_: 1
|
668
|
+
})
|
669
|
+
]),
|
670
|
+
_: 1
|
671
|
+
})
|
672
|
+
]),
|
673
|
+
_: 1
|
674
|
+
}, 8, ["model", "rules"])
|
675
|
+
]),
|
676
|
+
_: 1
|
677
|
+
}, 8, ["modelValue"]);
|
678
|
+
};
|
679
|
+
}
|
680
|
+
});
|
681
|
+
export {
|
682
|
+
Z as _,
|
683
|
+
V as o
|
684
|
+
};
|