xyvcard-paper-buyer 0.0.41 → 0.0.43
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/{applyEdit-Cyj9Q0lP.mjs → applyEdit-DzxmV4oI.mjs} +2 -2
- package/dist/{edit-DHXk9uMQ.mjs → edit-DwsTiwF8.mjs} +48 -48
- package/dist/edit-Omp_CxC3.mjs +260 -0
- package/dist/{index-BGqp7CRm.mjs → index-BPKQNnjE.mjs} +30 -36
- package/dist/{index-BEPJuAyP.mjs → index-C18T6VjZ.mjs} +54 -58
- package/dist/{index-DrADb2uC.mjs → index-MoEV6c7S.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-BLkVF0dz.mjs → info-CSgoyt6A.mjs} +71 -80
- package/dist/{invoiceEdit-jwC6d-7m.mjs → invoiceEdit-D3qEYbNL.mjs} +2 -2
- package/dist/{onlineBanking-BjnT3Pli.mjs → onlineBanking-CdDAY0YQ.mjs} +6 -6
- package/dist/{orderAddress-DBPQQVGw.mjs → orderAddress-BXFhutnA.mjs} +98 -87
- package/dist/{orderInfo-D_KS6_dc.mjs → orderInfo-BP5ei-W0.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{userInvoice-DhoqnQE4.mjs → userInvoice-CZ7yW4I6.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs → userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs} +1 -1
- package/dts/api/buyer/index.d.ts +0 -1
- package/dts/constant.d.ts +0 -1
- package/package.json +2 -2
- package/dist/edit-BgQo-uqd.mjs +0 -227
package/dist/edit-BgQo-uqd.mjs
DELETED
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import { defineComponent as I, mergeModels as b, ref as P, reactive as g, useModel as C, resolveComponent as m, createBlock as M, openBlock as k, withCtx as r, createVNode as e, unref as d, createElementVNode as E, createTextVNode as V, toDisplayString as U } from "vue";
|
|
2
|
-
import { ElMessage as B } from "element-plus";
|
|
3
|
-
import { JmashRegionTree as F } from "jmash-region";
|
|
4
|
-
import { useI18n as T } from "vue-i18n";
|
|
5
|
-
import { o as D } from "./index-BP8zUjOw.mjs";
|
|
6
|
-
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
|
-
const j = { class: "dialog-footer" }, J = /* @__PURE__ */ I({
|
|
8
|
-
__name: "edit",
|
|
9
|
-
props: /* @__PURE__ */ b({
|
|
10
|
-
entityKey: {
|
|
11
|
-
type: Object,
|
|
12
|
-
default: () => {
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}, {
|
|
16
|
-
modelValue: { type: Boolean },
|
|
17
|
-
modelModifiers: {}
|
|
18
|
-
}),
|
|
19
|
-
emits: /* @__PURE__ */ b(["refresh"], ["update:modelValue"]),
|
|
20
|
-
setup(h, { emit: A }) {
|
|
21
|
-
const { t: n } = T(), f = P();
|
|
22
|
-
let t = g({
|
|
23
|
-
requestId: Math.random() * 10 + "",
|
|
24
|
-
updateMask: ""
|
|
25
|
-
});
|
|
26
|
-
const v = (l, o, s) => {
|
|
27
|
-
o && !/^(((\d{3,4}-)?[0-9]{7,8})|(1(3|4|5|6|7|8|9)\d{9}))$/.test(o) ? s(new Error(n("orderUserAddress.mobilePhoneTrueRequired"))) : s();
|
|
28
|
-
}, q = g({
|
|
29
|
-
note: [
|
|
30
|
-
{
|
|
31
|
-
required: !0,
|
|
32
|
-
message: n("orderUserAddress.noteRequired"),
|
|
33
|
-
trigger: "change"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
userName: [
|
|
37
|
-
{
|
|
38
|
-
required: !0,
|
|
39
|
-
message: n("orderUserAddress.userNameRequired"),
|
|
40
|
-
trigger: "change"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
mobilePhone: [
|
|
44
|
-
{
|
|
45
|
-
required: !0,
|
|
46
|
-
validator: v,
|
|
47
|
-
trigger: "blur"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
detailInfo: [
|
|
51
|
-
{
|
|
52
|
-
required: !0,
|
|
53
|
-
message: n("orderUserAddress.detailInfoRequired"),
|
|
54
|
-
trigger: "change"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
provinceName: [
|
|
58
|
-
{
|
|
59
|
-
required: !0,
|
|
60
|
-
message: n("orderUserAddress.provinceNameRequired"),
|
|
61
|
-
trigger: "change"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}), u = C(h, "modelValue"), N = A, w = async () => {
|
|
65
|
-
var l;
|
|
66
|
-
await ((l = f.value) == null ? void 0 : l.validate((o) => {
|
|
67
|
-
o && D.create(t).then((s) => {
|
|
68
|
-
s.status === 200 && (B({
|
|
69
|
-
message: n("common.submitSuccess"),
|
|
70
|
-
type: "success"
|
|
71
|
-
}), u.value && (u.value = !1), N("refresh", s.status === 200));
|
|
72
|
-
});
|
|
73
|
-
}));
|
|
74
|
-
};
|
|
75
|
-
function c() {
|
|
76
|
-
u.value && (u.value = !1);
|
|
77
|
-
}
|
|
78
|
-
return (l, o) => {
|
|
79
|
-
const s = m("el-input"), i = m("el-form-item"), p = m("el-col"), R = m("el-row"), y = m("el-form"), _ = m("el-button"), $ = m("el-dialog");
|
|
80
|
-
return k(), M($, {
|
|
81
|
-
modelValue: u.value,
|
|
82
|
-
"onUpdate:modelValue": o[5] || (o[5] = (a) => u.value = a),
|
|
83
|
-
onClose: c
|
|
84
|
-
}, {
|
|
85
|
-
footer: r(() => [
|
|
86
|
-
E("div", j, [
|
|
87
|
-
e(_, { onClick: c }, {
|
|
88
|
-
default: r(() => [
|
|
89
|
-
V(U(l.$t("common.cancel")), 1)
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
}),
|
|
93
|
-
e(_, {
|
|
94
|
-
type: "primary",
|
|
95
|
-
onClick: w
|
|
96
|
-
}, {
|
|
97
|
-
default: r(() => [
|
|
98
|
-
V(U(l.$t("common.confirm")), 1)
|
|
99
|
-
]),
|
|
100
|
-
_: 1
|
|
101
|
-
})
|
|
102
|
-
])
|
|
103
|
-
]),
|
|
104
|
-
default: r(() => [
|
|
105
|
-
e(y, {
|
|
106
|
-
ref_key: "orderUserAddressFormRef",
|
|
107
|
-
ref: f,
|
|
108
|
-
model: d(t),
|
|
109
|
-
"label-position": "top",
|
|
110
|
-
rules: q
|
|
111
|
-
}, {
|
|
112
|
-
default: r(() => [
|
|
113
|
-
e(R, { gutter: 20 }, {
|
|
114
|
-
default: r(() => [
|
|
115
|
-
e(p, { span: 24 }, {
|
|
116
|
-
default: r(() => [
|
|
117
|
-
e(i, {
|
|
118
|
-
label: l.$t("orderUserAddress.note"),
|
|
119
|
-
prop: "note"
|
|
120
|
-
}, {
|
|
121
|
-
default: r(() => [
|
|
122
|
-
e(s, {
|
|
123
|
-
modelValue: d(t).note,
|
|
124
|
-
"onUpdate:modelValue": o[0] || (o[0] = (a) => d(t).note = a),
|
|
125
|
-
placeholder: l.$t("orderUserAddress.noteRequired"),
|
|
126
|
-
"show-word-limit": "",
|
|
127
|
-
clearable: ""
|
|
128
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
129
|
-
]),
|
|
130
|
-
_: 1
|
|
131
|
-
}, 8, ["label"])
|
|
132
|
-
]),
|
|
133
|
-
_: 1
|
|
134
|
-
}),
|
|
135
|
-
e(p, { span: 24 }, {
|
|
136
|
-
default: r(() => [
|
|
137
|
-
e(i, {
|
|
138
|
-
label: l.$t("orderUserAddress.userName"),
|
|
139
|
-
prop: "userName"
|
|
140
|
-
}, {
|
|
141
|
-
default: r(() => [
|
|
142
|
-
e(s, {
|
|
143
|
-
modelValue: d(t).userName,
|
|
144
|
-
"onUpdate:modelValue": o[1] || (o[1] = (a) => d(t).userName = a),
|
|
145
|
-
placeholder: l.$t("orderUserAddress.userNameRequired"),
|
|
146
|
-
"show-word-limit": "",
|
|
147
|
-
clearable: ""
|
|
148
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
149
|
-
]),
|
|
150
|
-
_: 1
|
|
151
|
-
}, 8, ["label"])
|
|
152
|
-
]),
|
|
153
|
-
_: 1
|
|
154
|
-
}),
|
|
155
|
-
e(p, { span: 24 }, {
|
|
156
|
-
default: r(() => [
|
|
157
|
-
e(i, {
|
|
158
|
-
label: l.$t("orderUserAddress.mobilePhone"),
|
|
159
|
-
prop: "mobilePhone"
|
|
160
|
-
}, {
|
|
161
|
-
default: r(() => [
|
|
162
|
-
e(s, {
|
|
163
|
-
modelValue: d(t).mobilePhone,
|
|
164
|
-
"onUpdate:modelValue": o[2] || (o[2] = (a) => d(t).mobilePhone = a),
|
|
165
|
-
placeholder: l.$t("orderUserAddress.mobilePhoneRequired"),
|
|
166
|
-
"show-word-limit": "",
|
|
167
|
-
clearable: ""
|
|
168
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
169
|
-
]),
|
|
170
|
-
_: 1
|
|
171
|
-
}, 8, ["label"])
|
|
172
|
-
]),
|
|
173
|
-
_: 1
|
|
174
|
-
}),
|
|
175
|
-
e(p, { span: 24 }, {
|
|
176
|
-
default: r(() => [
|
|
177
|
-
e(i, {
|
|
178
|
-
prop: "provinceName",
|
|
179
|
-
label: d(n)("orderUserAddress.detailInfo"),
|
|
180
|
-
class: "form-item"
|
|
181
|
-
}, {
|
|
182
|
-
default: r(() => [
|
|
183
|
-
e(d(F), {
|
|
184
|
-
modelValue: d(t).provinceName,
|
|
185
|
-
"onUpdate:modelValue": o[3] || (o[3] = (a) => d(t).provinceName = a),
|
|
186
|
-
placeholder: l.$t("orderUserAddress.provinceNameRequired"),
|
|
187
|
-
clearable: ""
|
|
188
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
}, 8, ["label"])
|
|
192
|
-
]),
|
|
193
|
-
_: 1
|
|
194
|
-
}),
|
|
195
|
-
e(p, { span: 24 }, {
|
|
196
|
-
default: r(() => [
|
|
197
|
-
e(i, { prop: "detailInfo" }, {
|
|
198
|
-
default: r(() => [
|
|
199
|
-
e(s, {
|
|
200
|
-
modelValue: d(t).detailInfo,
|
|
201
|
-
"onUpdate:modelValue": o[4] || (o[4] = (a) => d(t).detailInfo = a),
|
|
202
|
-
placeholder: l.$t("orderUserAddress.detailInfoRequired"),
|
|
203
|
-
"show-word-limit": "",
|
|
204
|
-
clearable: "",
|
|
205
|
-
type: "textarea"
|
|
206
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
207
|
-
]),
|
|
208
|
-
_: 1
|
|
209
|
-
})
|
|
210
|
-
]),
|
|
211
|
-
_: 1
|
|
212
|
-
})
|
|
213
|
-
]),
|
|
214
|
-
_: 1
|
|
215
|
-
})
|
|
216
|
-
]),
|
|
217
|
-
_: 1
|
|
218
|
-
}, 8, ["model", "rules"])
|
|
219
|
-
]),
|
|
220
|
-
_: 1
|
|
221
|
-
}, 8, ["modelValue"]);
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
}), Q = /* @__PURE__ */ S(J, [["__scopeId", "data-v-e66725eb"]]);
|
|
225
|
-
export {
|
|
226
|
-
Q as default
|
|
227
|
-
};
|