xyvcard-order 0.0.11 → 0.0.13
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/{change-3TnGoLNv.mjs → change-ZEjolHT6.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs → change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs} +3 -3
- package/dist/{deliver-CgSCkEMe.mjs → deliver-TfrCwaGj.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs → deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs} +9 -9
- package/dist/{edit-BgR1glUx.mjs → edit-BdUVrlcn.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs → edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs} +16 -17
- package/dist/index-1R3wKfde.mjs +1493 -0
- package/dist/index-B_-apQkW.mjs +62 -0
- package/dist/{index-CDXocrFr.mjs → index-ByufLV6K.mjs} +137 -130
- package/dist/{index-S4jzuvn6.mjs → index-PLezrWfs.mjs} +146 -151
- package/dist/index.mjs +263 -258
- package/dist/{info-3uYTUNzE.mjs → info-DYltAD_A.mjs} +1 -1
- package/dist/{info-DXX50Xfh.mjs → info-DbWhDIS0.mjs} +64 -64
- package/dist/info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs +177 -0
- package/dist/orderList-RTzDSXuR.mjs +4 -0
- package/dist/orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs +612 -0
- package/dist/{reply-9iq8g6ah.mjs → reply-BWKE7lzJ.mjs} +1 -1
- package/dist/{reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs → reply.vue_vue_type_script_setup_true_lang-AnsyNIM8.mjs} +15 -13
- package/dist/{review-DY1KQI3U.mjs → review-z7cdFET5.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs → review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs} +53 -50
- package/dist/style.css +1 -1
- package/dist/{viewLogist-Cxu-IV-d.mjs → viewLogist-CHiDaaZx.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CkSqEuA1.mjs +93 -0
- package/dts/src/api/order-appraises/types.d.ts +2 -0
- package/dts/src/api/order-info/types.d.ts +5 -0
- package/dts/src/api/order-logistics/types.d.ts +3 -0
- package/dts/src/api/order-refunds/types.d.ts +3 -0
- package/dts/src/lang/order/zh-cn.d.ts +6 -1
- package/dts/src/views/order/order-info/orderList.vue.d.ts +14 -0
- package/package.json +6 -9
- package/dist/canceled-CTHGNWuB.mjs +0 -4
- package/dist/canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs +0 -507
- package/dist/completed-BnD0Wh1K.mjs +0 -4
- package/dist/completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs +0 -507
- package/dist/index-CfEKTjAd.mjs +0 -1361
- package/dist/index-DaOMDld4.mjs +0 -668
- package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +0 -178
- package/dist/unpay-Bc8ekFnl.mjs +0 -4
- package/dist/unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs +0 -557
- package/dist/unpost-Bj10_WvZ.mjs +0 -4
- package/dist/unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs +0 -538
- package/dist/unreceive-CUiJvXq1.mjs +0 -4
- package/dist/unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs +0 -507
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +0 -91
@@ -1,7 +1,7 @@
|
|
1
|
-
import { defineComponent as R, mergeModels as b, ref as I, reactive as V, useModel as j, watch as F, resolveComponent as s,
|
1
|
+
import { defineComponent as R, mergeModels as b, ref as I, reactive as V, useModel as j, watch as F, resolveComponent as s, createBlock as O, openBlock as U, withCtx as o, createVNode as l, unref as m, createElementVNode as v, toDisplayString as f, createTextVNode as C } from "vue";
|
2
2
|
import { ElMessage as E } from "element-plus";
|
3
3
|
import { useI18n as S } from "vue-i18n";
|
4
|
-
import { o as N } from "./index-
|
4
|
+
import { o as N } from "./index-1R3wKfde.mjs";
|
5
5
|
const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
6
6
|
__name: "change",
|
7
7
|
props: /* @__PURE__ */ b({
|
@@ -80,7 +80,7 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
80
80
|
}
|
81
81
|
return (e, i) => {
|
82
82
|
const t = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), B = s("el-row"), D = s("el-form"), P = s("el-button"), K = s("el-dialog");
|
83
|
-
return
|
83
|
+
return U(), O(K, {
|
84
84
|
modelValue: a.value,
|
85
85
|
"onUpdate:modelValue": i[2] || (i[2] = (c) => a.value = c),
|
86
86
|
onClose: h
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as P, mergeModels as C, ref as b, reactive as T, useModel as U, resolveComponent as d,
|
1
|
+
import { defineComponent as P, mergeModels as C, ref as b, reactive as T, useModel as U, resolveComponent as d, createBlock as f, openBlock as y, withCtx as o, createVNode as t, unref as e, createCommentVNode as N, createElementVNode as B, createTextVNode as h, toDisplayString as E } from "vue";
|
2
2
|
import { ElMessage as F } from "element-plus";
|
3
3
|
import { useI18n as K } from "vue-i18n";
|
4
4
|
import { D as Y, C as _ } from "./index-CHzhYqx8.mjs";
|
5
|
-
import { o as A } from "./index-
|
5
|
+
import { o as A } from "./index-1R3wKfde.mjs";
|
6
6
|
const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
7
7
|
__name: "deliver",
|
8
8
|
props: /* @__PURE__ */ C({
|
@@ -68,7 +68,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
68
68
|
}
|
69
69
|
return (s, r) => {
|
70
70
|
const m = d("jmash-enum-radio"), p = d("el-form-item"), c = d("el-col"), j = d("jmash-dict-select"), O = d("el-input"), $ = d("el-row"), w = d("el-form"), v = d("el-button"), L = d("el-dialog");
|
71
|
-
return
|
71
|
+
return y(), f(L, {
|
72
72
|
modelValue: n.value,
|
73
73
|
"onUpdate:modelValue": r[3] || (r[3] = (a) => n.value = a),
|
74
74
|
onClose: V
|
@@ -77,7 +77,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
77
77
|
B("div", G, [
|
78
78
|
t(v, { onClick: V }, {
|
79
79
|
default: o(() => [
|
80
|
-
|
80
|
+
h(E(s.$t("common.cancel")), 1)
|
81
81
|
]),
|
82
82
|
_: 1
|
83
83
|
}),
|
@@ -86,7 +86,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
86
86
|
onClick: S
|
87
87
|
}, {
|
88
88
|
default: o(() => [
|
89
|
-
|
89
|
+
h(E(s.$t("common.confirm")), 1)
|
90
90
|
]),
|
91
91
|
_: 1
|
92
92
|
})
|
@@ -121,7 +121,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
121
121
|
]),
|
122
122
|
_: 1
|
123
123
|
}),
|
124
|
-
e(l).postType === e(_).LOGISTICS_DELIVERY ? (
|
124
|
+
e(l).postType === e(_).LOGISTICS_DELIVERY ? (y(), f(c, {
|
125
125
|
key: 0,
|
126
126
|
span: 24
|
127
127
|
}, {
|
@@ -143,8 +143,8 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
143
143
|
}, 8, ["label"])
|
144
144
|
]),
|
145
145
|
_: 1
|
146
|
-
})) :
|
147
|
-
e(l).postType === e(_).LOGISTICS_DELIVERY ? (
|
146
|
+
})) : N("", !0),
|
147
|
+
e(l).postType === e(_).LOGISTICS_DELIVERY ? (y(), f(c, {
|
148
148
|
key: 1,
|
149
149
|
span: 24
|
150
150
|
}, {
|
@@ -166,7 +166,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
166
166
|
}, 8, ["label"])
|
167
167
|
]),
|
168
168
|
_: 1
|
169
|
-
})) :
|
169
|
+
})) : N("", !0)
|
170
170
|
]),
|
171
171
|
_: 1
|
172
172
|
})
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { defineComponent as K, mergeModels as V, reactive as h, ref as I, useModel as M, resolveComponent as
|
1
|
+
import { defineComponent as K, mergeModels as V, reactive as h, ref as I, useModel as M, resolveComponent as a, createBlock as j, openBlock as F, withCtx as r, createVNode as l, unref as s, createElementVNode as O, createTextVNode as v, toDisplayString as w } from "vue";
|
2
2
|
import { ElMessage as A } from "element-plus";
|
3
3
|
import { useI18n as D } from "vue-i18n";
|
4
|
-
import { o as N } from "./index-
|
4
|
+
import { o as N } from "./index-1R3wKfde.mjs";
|
5
5
|
const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
6
6
|
__name: "edit",
|
7
7
|
props: /* @__PURE__ */ V({
|
@@ -17,7 +17,7 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
17
17
|
emits: /* @__PURE__ */ V(["refresh"], ["update:modelValue"]),
|
18
18
|
setup(c, { emit: q }) {
|
19
19
|
const { t: u } = D();
|
20
|
-
let
|
20
|
+
let d = h({});
|
21
21
|
const R = (e, o, t) => {
|
22
22
|
o ? /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) ? t() : t(new Error(u("orderInfo.correctPhone"))) : t(new Error(u("orderInfo.mobilePhoneRequired")));
|
23
23
|
}, $ = h({
|
@@ -44,13 +44,13 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
44
44
|
]
|
45
45
|
}), b = I(), P = q, m = M(c, "modelValue"), i = c, C = Object.keys(i.entityKey), _ = I(C.length >= 1);
|
46
46
|
_.value && N.findById(i.entityKey).then(({ data: e }) => {
|
47
|
-
Object.assign(
|
47
|
+
Object.assign(d, e);
|
48
48
|
});
|
49
49
|
const k = async () => {
|
50
50
|
var e;
|
51
51
|
await ((e = b.value) == null ? void 0 : e.validate((o) => {
|
52
52
|
o && _.value && N.updateAddress({
|
53
|
-
...
|
53
|
+
...d,
|
54
54
|
orderId: i.entityKey.orderId
|
55
55
|
}).then((t) => {
|
56
56
|
t.status === 200 && (A({
|
@@ -64,10 +64,10 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
64
64
|
m.value && (m.value = !1);
|
65
65
|
}
|
66
66
|
return (e, o) => {
|
67
|
-
const t =
|
68
|
-
return
|
67
|
+
const t = a("el-input"), f = a("el-form-item"), p = a("el-col"), U = a("el-row"), B = a("el-form"), g = a("el-button"), E = a("el-dialog");
|
68
|
+
return F(), j(E, {
|
69
69
|
modelValue: m.value,
|
70
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
70
|
+
"onUpdate:modelValue": o[3] || (o[3] = (n) => m.value = n),
|
71
71
|
onClose: y
|
72
72
|
}, {
|
73
73
|
footer: r(() => [
|
@@ -93,7 +93,7 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
93
93
|
l(B, {
|
94
94
|
ref_key: "infoFormRef",
|
95
95
|
ref: b,
|
96
|
-
model: s(
|
96
|
+
model: s(d),
|
97
97
|
"label-width": "120px",
|
98
98
|
rules: $
|
99
99
|
}, {
|
@@ -108,8 +108,8 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
108
108
|
}, {
|
109
109
|
default: r(() => [
|
110
110
|
l(t, {
|
111
|
-
modelValue: s(
|
112
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
111
|
+
modelValue: s(d).userName,
|
112
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => s(d).userName = n),
|
113
113
|
placeholder: e.$t("orderInfo.userNameRequired"),
|
114
114
|
clearable: ""
|
115
115
|
}, null, 8, ["modelValue", "placeholder"])
|
@@ -127,8 +127,8 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
127
127
|
}, {
|
128
128
|
default: r(() => [
|
129
129
|
l(t, {
|
130
|
-
modelValue: s(
|
131
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
130
|
+
modelValue: s(d).mobilePhone,
|
131
|
+
"onUpdate:modelValue": o[1] || (o[1] = (n) => s(d).mobilePhone = n),
|
132
132
|
placeholder: e.$t("orderInfo.mobilePhoneRequired"),
|
133
133
|
clearable: ""
|
134
134
|
}, null, 8, ["modelValue", "placeholder"])
|
@@ -146,14 +146,13 @@ const S = { class: "dialog-footer" }, J = /* @__PURE__ */ K({
|
|
146
146
|
}, {
|
147
147
|
default: r(() => [
|
148
148
|
l(t, {
|
149
|
-
modelValue: s(
|
150
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
149
|
+
modelValue: s(d).address,
|
150
|
+
"onUpdate:modelValue": o[2] || (o[2] = (n) => s(d).address = n),
|
151
151
|
type: "textarea",
|
152
152
|
autosize: { minRows: 3 },
|
153
153
|
maxlength: "50",
|
154
154
|
"show-word-limit": "",
|
155
|
-
placeholder: e.$t("orderInfo.addressRequired")
|
156
|
-
clearable: ""
|
155
|
+
placeholder: e.$t("orderInfo.addressRequired")
|
157
156
|
}, null, 8, ["modelValue", "placeholder"])
|
158
157
|
]),
|
159
158
|
_: 1
|