xyvcard-goods 0.0.24 → 0.0.25
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/{edit-CJpoa4Ck.mjs → edit-CWq3UNZW.mjs} +3 -3
- package/dist/{edit-DU-BEAcq.mjs → edit-CajMDPUo.mjs} +1 -1
- package/dist/{edit-CWQMgvVP.mjs → edit-DAyPJb0b.mjs} +45 -52
- package/dist/{edit-Ziwv43v0.mjs → edit-DiWa_ZLE.mjs} +51 -58
- package/dist/{edit-9jPSycsG.mjs → edit-Dw0brF_L.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BP0C4d2-.mjs → edit.vue_vue_type_script_setup_true_lang-C2XSQSoV.mjs} +2 -2
- package/dist/{goodsList-2AwsJVoO.mjs → goodsList-D5D6w8qJ.mjs} +1 -1
- package/dist/{goodsList-CyWliLjg.mjs → goodsList-DebLyKkm.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-DjKzEAB7.mjs → goodsList.vue_vue_type_script_setup_true_lang-BZZYw7U2.mjs} +2 -2
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-Bq06GIMe.mjs → goodsList.vue_vue_type_script_setup_true_lang-BovyDKOb.mjs} +2 -2
- package/dist/{index-B88acg0Q.mjs → index-Bq-VIy8T.mjs} +2 -2
- package/dist/{index-B1H5hqEi.mjs → index-C4DAxQ7e.mjs} +2 -2
- package/dist/{index-DR3Gk44r.mjs → index-C_El1x3C.mjs} +1 -1
- package/dist/{index-8E7BciYp.mjs → index-CtbKf0QD.mjs} +3 -3
- package/dist/{index-C7oatDPl.mjs → index-DLPUpw3h.mjs} +2 -2
- package/dist/{index-DPjR32Kv.mjs → index-DcreTzbx.mjs} +3 -3
- package/dist/{index-BdP_dXBK.mjs → index-Ti58GY9z.mjs} +3 -3
- package/dist/{index-jCpYt-EU.mjs → index-gnGbjAJC.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{info-DFIeVs66.mjs → info-BYntI7av.mjs} +3 -3
- package/dist/{info-BEMxnD6-.mjs → info-Bkzvf5Mw.mjs} +2 -2
- package/dist/{skuForm-BhAbf2AG.mjs → skuForm-C0s08DP2.mjs} +2 -2
- package/dist/{skuForm-C2aQcL90.mjs → skuForm-WOvsR26d.mjs} +2 -2
- package/dist/{skuTable-9JJqGeRx.mjs → skuTable-DyzW7iCQ.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -4,9 +4,9 @@ import { ElMessage as T } from "element-plus";
|
|
|
4
4
|
import { useRouter as J, useRoute as K } from "vue-router";
|
|
5
5
|
import { routerUtil as U } from "jmash-core";
|
|
6
6
|
import { useI18n as Q } from "vue-i18n";
|
|
7
|
-
import { D as m, C as W } from "./index-
|
|
8
|
-
import { a as h } from "./index-
|
|
9
|
-
import X from "./skuForm-
|
|
7
|
+
import { D as m, C as W } from "./index-gnGbjAJC.mjs";
|
|
8
|
+
import { a as h } from "./index-DLPUpw3h.mjs";
|
|
9
|
+
import X from "./skuForm-WOvsR26d.mjs";
|
|
10
10
|
const Z = { class: "app-container" }, x = { class: "search-container" }, ee = { class: "image-card" }, ie = /* @__PURE__ */ P({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(le) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as E, mergeModels as B, ref as V, reactive as N, useModel as F, resolveComponent as r, openBlock as K, createBlock as O, withCtx as
|
|
2
|
-
import { ElMessage as
|
|
1
|
+
import { defineComponent as E, mergeModels as B, ref as V, reactive as N, useModel as F, resolveComponent as r, openBlock as K, createBlock as O, withCtx as l, createElementVNode as x, createVNode as o, createTextVNode as U, toDisplayString as w, unref as d } from "vue";
|
|
2
|
+
import { ElMessage as k } from "element-plus";
|
|
3
3
|
import { useI18n as A } from "vue-i18n";
|
|
4
|
-
import { g as f } from "./index-
|
|
4
|
+
import { g as f } from "./index-C_El1x3C.mjs";
|
|
5
5
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
7
7
|
__name: "edit",
|
|
@@ -16,13 +16,13 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
16
16
|
modelModifiers: {}
|
|
17
17
|
}),
|
|
18
18
|
emits: /* @__PURE__ */ B(["refresh"], ["update:modelValue"]),
|
|
19
|
-
setup(p, { emit:
|
|
19
|
+
setup(p, { emit: q }) {
|
|
20
20
|
const g = V(), { t: i } = A();
|
|
21
|
-
let
|
|
21
|
+
let t = N({
|
|
22
22
|
requestId: Math.random() * 10 + "",
|
|
23
23
|
updateMask: "brandName,logoUrl,description"
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const $ = N({
|
|
26
26
|
brandName: [
|
|
27
27
|
{
|
|
28
28
|
required: !0,
|
|
@@ -36,35 +36,28 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
36
36
|
message: i("goodsBrandInfo.logoUrlRequired"),
|
|
37
37
|
trigger: "change"
|
|
38
38
|
}
|
|
39
|
-
],
|
|
40
|
-
description: [
|
|
41
|
-
{
|
|
42
|
-
required: !0,
|
|
43
|
-
message: i("goodsBrandInfo.descriptionRequired"),
|
|
44
|
-
trigger: "change"
|
|
45
|
-
}
|
|
46
39
|
]
|
|
47
40
|
}), a = F(p, "modelValue"), _ = p;
|
|
48
|
-
function
|
|
49
|
-
|
|
41
|
+
function C(e) {
|
|
42
|
+
t.logoUrl = e;
|
|
50
43
|
}
|
|
51
|
-
const b =
|
|
44
|
+
const b = q, M = Object.keys(_.entityKey), y = V(M.length >= 1);
|
|
52
45
|
y.value && f.findById(_.entityKey).then(({ data: e }) => {
|
|
53
|
-
Object.assign(
|
|
46
|
+
Object.assign(t, e);
|
|
54
47
|
});
|
|
55
|
-
const
|
|
48
|
+
const R = async () => {
|
|
56
49
|
var e;
|
|
57
50
|
await ((e = g.value) == null ? void 0 : e.validate((n) => {
|
|
58
|
-
n && (y.value ? f.update(
|
|
59
|
-
|
|
51
|
+
n && (y.value ? f.update(t).then((s) => {
|
|
52
|
+
s.status === 200 && (k({
|
|
60
53
|
message: i("common.submitSuccess"),
|
|
61
54
|
type: "success"
|
|
62
|
-
}), a.value && (a.value = !1), b("refresh",
|
|
63
|
-
}) : f.create(
|
|
64
|
-
|
|
55
|
+
}), a.value && (a.value = !1), b("refresh", s.status === 200));
|
|
56
|
+
}) : f.create(t).then((s) => {
|
|
57
|
+
s.status === 200 && (k({
|
|
65
58
|
message: i("common.submitSuccess"),
|
|
66
59
|
type: "success"
|
|
67
|
-
}), a.value && (a.value = !1), b("refresh",
|
|
60
|
+
}), a.value && (a.value = !1), b("refresh", s.status === 200));
|
|
68
61
|
}));
|
|
69
62
|
}));
|
|
70
63
|
};
|
|
@@ -72,52 +65,52 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
72
65
|
a.value && (a.value = !1);
|
|
73
66
|
}
|
|
74
67
|
return (e, n) => {
|
|
75
|
-
const
|
|
68
|
+
const s = r("jmash-single-image-upload"), u = r("el-form-item"), c = r("el-col"), v = r("el-input"), j = r("el-row"), S = r("el-form"), I = r("el-button"), D = r("el-dialog");
|
|
76
69
|
return K(), O(D, {
|
|
77
70
|
modelValue: a.value,
|
|
78
71
|
"onUpdate:modelValue": n[2] || (n[2] = (m) => a.value = m),
|
|
79
72
|
onClose: h
|
|
80
73
|
}, {
|
|
81
|
-
footer:
|
|
74
|
+
footer: l(() => [
|
|
82
75
|
x("div", z, [
|
|
83
|
-
o(
|
|
84
|
-
default:
|
|
76
|
+
o(I, { onClick: h }, {
|
|
77
|
+
default: l(() => [
|
|
85
78
|
U(w(e.$t("common.cancel")), 1)
|
|
86
79
|
]),
|
|
87
80
|
_: 1
|
|
88
81
|
}),
|
|
89
|
-
o(
|
|
82
|
+
o(I, {
|
|
90
83
|
type: "primary",
|
|
91
|
-
onClick:
|
|
84
|
+
onClick: R
|
|
92
85
|
}, {
|
|
93
|
-
default:
|
|
86
|
+
default: l(() => [
|
|
94
87
|
U(w(e.$t("common.confirm")), 1)
|
|
95
88
|
]),
|
|
96
89
|
_: 1
|
|
97
90
|
})
|
|
98
91
|
])
|
|
99
92
|
]),
|
|
100
|
-
default:
|
|
93
|
+
default: l(() => [
|
|
101
94
|
o(S, {
|
|
102
95
|
ref_key: "goodsBrandInfoFormRef",
|
|
103
96
|
ref: g,
|
|
104
|
-
model:
|
|
97
|
+
model: d(t),
|
|
105
98
|
"label-width": "120px",
|
|
106
|
-
rules:
|
|
99
|
+
rules: $
|
|
107
100
|
}, {
|
|
108
|
-
default:
|
|
101
|
+
default: l(() => [
|
|
109
102
|
o(j, null, {
|
|
110
|
-
default:
|
|
103
|
+
default: l(() => [
|
|
111
104
|
o(c, { span: 24 }, {
|
|
112
|
-
default:
|
|
105
|
+
default: l(() => [
|
|
113
106
|
o(u, {
|
|
114
107
|
label: e.$t("goodsBrandInfo.logoUrl"),
|
|
115
108
|
prop: "logoUrl"
|
|
116
109
|
}, {
|
|
117
|
-
default:
|
|
118
|
-
o(
|
|
119
|
-
"picture-url":
|
|
120
|
-
onImageSrc:
|
|
110
|
+
default: l(() => [
|
|
111
|
+
o(s, {
|
|
112
|
+
"picture-url": d(t).logoUrl,
|
|
113
|
+
onImageSrc: C,
|
|
121
114
|
width: 80,
|
|
122
115
|
type: "trans"
|
|
123
116
|
}, null, 8, ["picture-url"])
|
|
@@ -128,15 +121,15 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
128
121
|
_: 1
|
|
129
122
|
}),
|
|
130
123
|
o(c, { span: 24 }, {
|
|
131
|
-
default:
|
|
124
|
+
default: l(() => [
|
|
132
125
|
o(u, {
|
|
133
126
|
label: e.$t("goodsBrandInfo.brandName"),
|
|
134
127
|
prop: "brandName"
|
|
135
128
|
}, {
|
|
136
|
-
default:
|
|
137
|
-
o(
|
|
138
|
-
modelValue:
|
|
139
|
-
"onUpdate:modelValue": n[0] || (n[0] = (m) =>
|
|
129
|
+
default: l(() => [
|
|
130
|
+
o(v, {
|
|
131
|
+
modelValue: d(t).brandName,
|
|
132
|
+
"onUpdate:modelValue": n[0] || (n[0] = (m) => d(t).brandName = m),
|
|
140
133
|
placeholder: e.$t("goodsBrandInfo.brandNameRequired"),
|
|
141
134
|
maxlength: "30",
|
|
142
135
|
"show-word-limit": "",
|
|
@@ -149,15 +142,15 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
149
142
|
_: 1
|
|
150
143
|
}),
|
|
151
144
|
o(c, { span: 24 }, {
|
|
152
|
-
default:
|
|
145
|
+
default: l(() => [
|
|
153
146
|
o(u, {
|
|
154
147
|
label: e.$t("goodsBrandInfo.description"),
|
|
155
148
|
prop: "description"
|
|
156
149
|
}, {
|
|
157
|
-
default:
|
|
158
|
-
o(
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue": n[1] || (n[1] = (m) =>
|
|
150
|
+
default: l(() => [
|
|
151
|
+
o(v, {
|
|
152
|
+
modelValue: d(t).description,
|
|
153
|
+
"onUpdate:modelValue": n[1] || (n[1] = (m) => d(t).description = m),
|
|
161
154
|
type: "textarea",
|
|
162
155
|
placeholder: e.$t("goodsBrandInfo.descriptionRequired"),
|
|
163
156
|
"show-word-limit": "",
|
|
@@ -180,7 +173,7 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
180
173
|
}, 8, ["modelValue"]);
|
|
181
174
|
};
|
|
182
175
|
}
|
|
183
|
-
}), W = /* @__PURE__ */ T(G, [["__scopeId", "data-v-
|
|
176
|
+
}), W = /* @__PURE__ */ T(G, [["__scopeId", "data-v-6e6f248a"]]);
|
|
184
177
|
export {
|
|
185
178
|
W as default
|
|
186
179
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as j, mergeModels as
|
|
2
|
-
import { ElMessage as
|
|
1
|
+
import { defineComponent as j, mergeModels as v, ref as I, reactive as C, useModel as E, resolveComponent as m, openBlock as F, createBlock as K, withCtx as o, createElementVNode as O, createVNode as l, createTextVNode as L, toDisplayString as N, unref as r } from "vue";
|
|
2
|
+
import { ElMessage as w } from "element-plus";
|
|
3
3
|
import { useI18n as S } from "vue-i18n";
|
|
4
|
-
import { b as
|
|
4
|
+
import { b as p } from "./index-DLPUpw3h.mjs";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
7
7
|
__name: "edit",
|
|
8
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ v({
|
|
9
9
|
entityKey: {
|
|
10
10
|
type: Object,
|
|
11
11
|
default: () => {
|
|
@@ -15,14 +15,14 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
15
15
|
modelValue: { type: Boolean },
|
|
16
16
|
modelModifiers: {}
|
|
17
17
|
}),
|
|
18
|
-
emits: /* @__PURE__ */
|
|
19
|
-
setup(
|
|
20
|
-
const { t: u } = S(), b =
|
|
18
|
+
emits: /* @__PURE__ */ v(["refresh"], ["update:modelValue"]),
|
|
19
|
+
setup(c, { emit: k }) {
|
|
20
|
+
const { t: u } = S(), b = I();
|
|
21
21
|
let a = C({
|
|
22
22
|
requestId: Math.random() * 10 + "",
|
|
23
23
|
updateMask: "labelName,labelCode,note"
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const q = C({
|
|
26
26
|
labelName: [
|
|
27
27
|
{
|
|
28
28
|
required: !0,
|
|
@@ -36,28 +36,21 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
36
36
|
message: u("goodsLabelInfo.labelCodeRequired"),
|
|
37
37
|
trigger: "change"
|
|
38
38
|
}
|
|
39
|
-
],
|
|
40
|
-
note: [
|
|
41
|
-
{
|
|
42
|
-
required: !0,
|
|
43
|
-
message: u("goodsLabelInfo.noteRequired"),
|
|
44
|
-
trigger: "change"
|
|
45
|
-
}
|
|
46
39
|
]
|
|
47
|
-
}), s = E(
|
|
48
|
-
y.value &&
|
|
40
|
+
}), s = E(c, "modelValue"), g = c, _ = k, $ = Object.keys(g.entityKey), y = I($.length >= 1);
|
|
41
|
+
y.value && p.findById(g.entityKey).then(({ data: e }) => {
|
|
49
42
|
Object.assign(a, e);
|
|
50
43
|
});
|
|
51
|
-
const
|
|
44
|
+
const R = async () => {
|
|
52
45
|
var e;
|
|
53
46
|
await ((e = b.value) == null ? void 0 : e.validate((t) => {
|
|
54
|
-
t && (y.value ?
|
|
55
|
-
n.status === 200 && (
|
|
47
|
+
t && (y.value ? p.update(a).then((n) => {
|
|
48
|
+
n.status === 200 && (w({
|
|
56
49
|
message: u("common.submitSuccess"),
|
|
57
50
|
type: "success"
|
|
58
51
|
}), s.value && (s.value = !1), _("refresh", n.status === 200));
|
|
59
|
-
}) :
|
|
60
|
-
n.status === 200 && (
|
|
52
|
+
}) : p.create(a).then((n) => {
|
|
53
|
+
n.status === 200 && (w({
|
|
61
54
|
message: u("common.submitSuccess"),
|
|
62
55
|
type: "success"
|
|
63
56
|
}), s.value && (s.value = !1), _("refresh", n.status === 200));
|
|
@@ -68,52 +61,52 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
68
61
|
s.value && (s.value = !1);
|
|
69
62
|
}
|
|
70
63
|
return (e, t) => {
|
|
71
|
-
const n =
|
|
64
|
+
const n = m("el-input"), i = m("el-form-item"), f = m("el-col"), M = m("el-row"), B = m("el-form"), h = m("el-button"), U = m("el-dialog");
|
|
72
65
|
return F(), K(U, {
|
|
73
66
|
modelValue: s.value,
|
|
74
67
|
"onUpdate:modelValue": t[3] || (t[3] = (d) => s.value = d),
|
|
75
68
|
onClose: V
|
|
76
69
|
}, {
|
|
77
|
-
footer:
|
|
70
|
+
footer: o(() => [
|
|
78
71
|
O("div", x, [
|
|
79
|
-
|
|
80
|
-
default:
|
|
72
|
+
l(h, { onClick: V }, {
|
|
73
|
+
default: o(() => [
|
|
81
74
|
L(N(e.$t("common.cancel")), 1)
|
|
82
75
|
]),
|
|
83
76
|
_: 1
|
|
84
77
|
}),
|
|
85
|
-
|
|
78
|
+
l(h, {
|
|
86
79
|
type: "primary",
|
|
87
|
-
onClick:
|
|
80
|
+
onClick: R
|
|
88
81
|
}, {
|
|
89
|
-
default:
|
|
82
|
+
default: o(() => [
|
|
90
83
|
L(N(e.$t("common.confirm")), 1)
|
|
91
84
|
]),
|
|
92
85
|
_: 1
|
|
93
86
|
})
|
|
94
87
|
])
|
|
95
88
|
]),
|
|
96
|
-
default:
|
|
97
|
-
|
|
89
|
+
default: o(() => [
|
|
90
|
+
l(B, {
|
|
98
91
|
ref_key: "goodsLabelInfoFormRef",
|
|
99
92
|
ref: b,
|
|
100
|
-
model:
|
|
93
|
+
model: r(a),
|
|
101
94
|
"label-width": "120px",
|
|
102
|
-
rules:
|
|
95
|
+
rules: q
|
|
103
96
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
|
|
106
|
-
default:
|
|
107
|
-
|
|
108
|
-
default:
|
|
109
|
-
|
|
97
|
+
default: o(() => [
|
|
98
|
+
l(M, null, {
|
|
99
|
+
default: o(() => [
|
|
100
|
+
l(f, { span: 24 }, {
|
|
101
|
+
default: o(() => [
|
|
102
|
+
l(i, {
|
|
110
103
|
label: e.$t("goodsLabelInfo.labelName"),
|
|
111
104
|
prop: "labelName"
|
|
112
105
|
}, {
|
|
113
|
-
default:
|
|
114
|
-
|
|
115
|
-
modelValue:
|
|
116
|
-
"onUpdate:modelValue": t[0] || (t[0] = (d) =>
|
|
106
|
+
default: o(() => [
|
|
107
|
+
l(n, {
|
|
108
|
+
modelValue: r(a).labelName,
|
|
109
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => r(a).labelName = d),
|
|
117
110
|
placeholder: e.$t("goodsLabelInfo.labelNameRequired"),
|
|
118
111
|
maxlength: "30",
|
|
119
112
|
"show-word-limit": "",
|
|
@@ -125,16 +118,16 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
125
118
|
]),
|
|
126
119
|
_: 1
|
|
127
120
|
}),
|
|
128
|
-
|
|
129
|
-
default:
|
|
130
|
-
|
|
121
|
+
l(f, { span: 24 }, {
|
|
122
|
+
default: o(() => [
|
|
123
|
+
l(i, {
|
|
131
124
|
label: e.$t("goodsLabelInfo.labelCode"),
|
|
132
125
|
prop: "labelCode"
|
|
133
126
|
}, {
|
|
134
|
-
default:
|
|
135
|
-
|
|
136
|
-
modelValue:
|
|
137
|
-
"onUpdate:modelValue": t[1] || (t[1] = (d) =>
|
|
127
|
+
default: o(() => [
|
|
128
|
+
l(n, {
|
|
129
|
+
modelValue: r(a).labelCode,
|
|
130
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => r(a).labelCode = d),
|
|
138
131
|
placeholder: e.$t("goodsLabelInfo.labelCodeRequired"),
|
|
139
132
|
maxlength: "30",
|
|
140
133
|
"show-word-limit": "",
|
|
@@ -146,16 +139,16 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
146
139
|
]),
|
|
147
140
|
_: 1
|
|
148
141
|
}),
|
|
149
|
-
|
|
150
|
-
default:
|
|
151
|
-
|
|
142
|
+
l(f, { span: 24 }, {
|
|
143
|
+
default: o(() => [
|
|
144
|
+
l(i, {
|
|
152
145
|
label: e.$t("goodsLabelInfo.note"),
|
|
153
146
|
prop: "note"
|
|
154
147
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
157
|
-
modelValue:
|
|
158
|
-
"onUpdate:modelValue": t[2] || (t[2] = (d) =>
|
|
148
|
+
default: o(() => [
|
|
149
|
+
l(n, {
|
|
150
|
+
modelValue: r(a).note,
|
|
151
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => r(a).note = d),
|
|
159
152
|
placeholder: e.$t("goodsLabelInfo.noteRequired"),
|
|
160
153
|
clearable: "",
|
|
161
154
|
type: "textarea"
|
|
@@ -177,7 +170,7 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
177
170
|
}, 8, ["modelValue"]);
|
|
178
171
|
};
|
|
179
172
|
}
|
|
180
|
-
}), P = /* @__PURE__ */ D(A, [["__scopeId", "data-v-
|
|
173
|
+
}), P = /* @__PURE__ */ D(A, [["__scopeId", "data-v-7789ee13"]]);
|
|
181
174
|
export {
|
|
182
175
|
P as default
|
|
183
176
|
};
|
|
@@ -4,11 +4,11 @@ import { ElMessage as $ } from "element-plus";
|
|
|
4
4
|
import { useRouter as Y, useRoute as Z } from "vue-router";
|
|
5
5
|
import { routerUtil as E } from "jmash-core";
|
|
6
6
|
import { useI18n as x } from "vue-i18n";
|
|
7
|
-
import { D as i, C as ee } from "./index-
|
|
8
|
-
import { a as _ } from "./index-
|
|
7
|
+
import { D as i, C as ee } from "./index-gnGbjAJC.mjs";
|
|
8
|
+
import { a as _ } from "./index-DLPUpw3h.mjs";
|
|
9
9
|
import { g as le } from "./index-BHmGYIuc.mjs";
|
|
10
10
|
import { WangEditor as oe } from "xyvcard-cms";
|
|
11
|
-
import te from "./skuForm-
|
|
11
|
+
import te from "./skuForm-C0s08DP2.mjs";
|
|
12
12
|
const se = { class: "app-container" }, ae = { class: "search-container" }, ue = { class: "image-card" }, he = /* @__PURE__ */ K({
|
|
13
13
|
__name: "edit",
|
|
14
14
|
setup(de) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as wn, mergeModels as E, ref as $, reactive as R, useModel as qn, onMounted as pn, resolveComponent as p, openBlock as an, createBlock as kn, withCtx as j, createElementVNode as Cn, createVNode as t, createTextVNode as A, toDisplayString as U, unref as x } from "vue";
|
|
2
2
|
import { ElMessage as L } from "element-plus";
|
|
3
3
|
import { useI18n as Sn } from "vue-i18n";
|
|
4
|
-
import { g as B } from "./index-
|
|
5
|
-
import { D as O } from "./index-
|
|
4
|
+
import { g as B } from "./index-DLPUpw3h.mjs";
|
|
5
|
+
import { D as O } from "./index-gnGbjAJC.mjs";
|
|
6
6
|
const _n = /^[\uD800-\uDBFF]$/, Pn = /^[\uDC00-\uDFFF]$/, Dn = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
7
7
|
var F;
|
|
8
8
|
(function(n) {
|
|
@@ -3,8 +3,8 @@ import { ElMessage as V } from "element-plus";
|
|
|
3
3
|
import { useRouter as ye } from "vue-router";
|
|
4
4
|
import { useTableHooks as he, fileApi as H } from "jmash-core";
|
|
5
5
|
import { useI18n as we } from "vue-i18n";
|
|
6
|
-
import { a as B } from "./index-
|
|
7
|
-
import { D as g, C as ve } from "./index-
|
|
6
|
+
import { a as B } from "./index-DLPUpw3h.mjs";
|
|
7
|
+
import { D as g, C as ve } from "./index-gnGbjAJC.mjs";
|
|
8
8
|
const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke = ["onClick"], Ve = ["onClick"], Ie = ["onClick"], ze = /* @__PURE__ */ ge({
|
|
9
9
|
__name: "goodsList",
|
|
10
10
|
props: {
|
|
@@ -3,8 +3,8 @@ import { ElMessage as y } from "element-plus";
|
|
|
3
3
|
import { useRouter as we } from "vue-router";
|
|
4
4
|
import { useTableHooks as Ce, fileApi as W } from "jmash-core";
|
|
5
5
|
import { useI18n as ke } from "vue-i18n";
|
|
6
|
-
import { a as T } from "./index-
|
|
7
|
-
import { D as S, C as h } from "./index-
|
|
6
|
+
import { a as T } from "./index-DLPUpw3h.mjs";
|
|
7
|
+
import { D as S, C as h } from "./index-gnGbjAJC.mjs";
|
|
8
8
|
const Ve = { class: "app-container" }, Pe = { class: "search-container" }, Ie = ["onClick"], $e = ["onClick"], Re = ["onClick"], Oe = /* @__PURE__ */ be({
|
|
9
9
|
__name: "goodsList",
|
|
10
10
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as S, onMounted as A, resolveComponent as p, openBlock as t, createElementBlock as c, createVNode as V, withCtx as m, Fragment as C, renderList as P, unref as h, createBlock as i, createCommentVNode as y } from "vue";
|
|
2
2
|
import { useRoute as L } from "vue-router";
|
|
3
|
-
import { D as _, C as l } from "./index-
|
|
4
|
-
import { _ as k } from "./goodsList.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { D as _, C as l } from "./index-gnGbjAJC.mjs";
|
|
4
|
+
import { _ as k } from "./goodsList.vue_vue_type_script_setup_true_lang-BovyDKOb.mjs";
|
|
5
5
|
const N = { class: "app-container" }, x = /* @__PURE__ */ b({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(g) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, ref as b, onMounted as h, resolveComponent as u, openBlock as t, createElementBlock as c, createVNode as y, withCtx as m, Fragment as k, renderList as C, unref as V, createBlock as p, createCommentVNode as g } from "vue";
|
|
2
2
|
import { useRoute as B } from "vue-router";
|
|
3
|
-
import { D as i } from "./index-
|
|
4
|
-
import { _ as L } from "./goodsList.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { D as i } from "./index-gnGbjAJC.mjs";
|
|
4
|
+
import { _ as L } from "./goodsList.vue_vue_type_script_setup_true_lang-BZZYw7U2.mjs";
|
|
5
5
|
const N = { class: "app-container" }, E = /* @__PURE__ */ v({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(T) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as x, ref as V, reactive as S, onActivated as ee, resolveComponent as r, resolveDirective as oe, openBlock as u, createElementBlock as $, createElementVNode as U, createVNode as t, withCtx as l, withKeys as te, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as C, createBlock as w, isRef as T, createCommentVNode as D } from "vue";
|
|
2
2
|
import { useI18n as le } from "vue-i18n";
|
|
3
3
|
import { useTableHooks as ae, fileApi as j } from "jmash-core";
|
|
4
|
-
import { D as ne } from "./index-
|
|
5
|
-
import { g as re } from "./index-
|
|
6
|
-
import { _ as se } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as ne } from "./index-gnGbjAJC.mjs";
|
|
5
|
+
import { g as re } from "./index-DLPUpw3h.mjs";
|
|
6
|
+
import { _ as se } from "./edit.vue_vue_type_script_setup_true_lang-C2XSQSoV.mjs";
|
|
7
7
|
const ie = { class: "app-container" }, de = { class: "search-container" }, ue = ["onClick"], me = ["onClick"], be = /* @__PURE__ */ x({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(pe) {
|
|
@@ -104,7 +104,7 @@ function ai(e) {
|
|
|
104
104
|
let r = e.global.getLocaleMessage("en");
|
|
105
105
|
r = ln(r, ri), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", r);
|
|
106
106
|
}
|
|
107
|
-
const ii = () => import("./edit-
|
|
107
|
+
const ii = () => import("./edit-Dw0brF_L.mjs"), si = () => import("./info-BYntI7av.mjs"), oi = () => import("./edit-CWq3UNZW.mjs"), li = () => import("./info-Bkzvf5Mw.mjs"), ui = [
|
|
108
108
|
{
|
|
109
109
|
path: "/rawgoods",
|
|
110
110
|
component: Ja,
|
|
@@ -4418,7 +4418,7 @@ class Ld {
|
|
|
4418
4418
|
});
|
|
4419
4419
|
}
|
|
4420
4420
|
}
|
|
4421
|
-
const Vd = new Ld(), $d = /* @__PURE__ */ Object.assign({ "./views/goods/goods-brand-info/edit.vue": () => import("./edit-
|
|
4421
|
+
const Vd = new Ld(), $d = /* @__PURE__ */ Object.assign({ "./views/goods/goods-brand-info/edit.vue": () => import("./edit-DAyPJb0b.mjs"), "./views/goods/goods-brand-info/index.vue": () => import("./index-Ti58GY9z.mjs"), "./views/goods/goods-category/edit.vue": () => import("./edit-CajMDPUo.mjs"), "./views/goods/goods-category/index.vue": () => import("./index-CtbKf0QD.mjs"), "./views/goods/goods-combination/edit.vue": () => import("./edit-CWq3UNZW.mjs"), "./views/goods/goods-combination/goodsList.vue": () => import("./goodsList-DebLyKkm.mjs"), "./views/goods/goods-combination/index.vue": () => import("./index-C4DAxQ7e.mjs"), "./views/goods/goods-combination/info.vue": () => import("./info-Bkzvf5Mw.mjs"), "./views/goods/goods-combination/skuForm.vue": () => import("./skuForm-WOvsR26d.mjs"), "./views/goods/goods-label-info/edit.vue": () => import("./edit-DiWa_ZLE.mjs"), "./views/goods/goods-label-info/index.vue": () => import("./index-DcreTzbx.mjs"), "./views/goods/goods-spu/edit.vue": () => import("./edit-Dw0brF_L.mjs"), "./views/goods/goods-spu/goodsList.vue": () => import("./goodsList-D5D6w8qJ.mjs"), "./views/goods/goods-spu/index.vue": () => import("./index-Bq-VIy8T.mjs"), "./views/goods/goods-spu/info.vue": () => import("./info-BYntI7av.mjs"), "./views/goods/goods-spu/skuForm.vue": () => import("./skuForm-C0s08DP2.mjs"), "./views/goods/goods-spu/skuTable.vue": () => import("./skuTable-DyzW7iCQ.mjs") }), Bd = {
|
|
4422
4422
|
install(e) {
|
|
4423
4423
|
Xa($d, 7), ai(ti), ei(ui), e.use(du);
|
|
4424
4424
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as L, reactive as R, onActivated as Z, resolveComponent as s, resolveDirective as x, openBlock as u, createElementBlock as V, createElementVNode as $, createVNode as l, withCtx as t, withKeys as ee, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as k, createBlock as C, isRef as D, createCommentVNode as S } from "vue";
|
|
2
2
|
import { useTableHooks as oe } from "jmash-core";
|
|
3
3
|
import { useI18n as le } from "vue-i18n";
|
|
4
|
-
import { b as te } from "./index-
|
|
5
|
-
import ae from "./edit-
|
|
6
|
-
import { D as ne } from "./index-
|
|
4
|
+
import { b as te } from "./index-DLPUpw3h.mjs";
|
|
5
|
+
import ae from "./edit-DiWa_ZLE.mjs";
|
|
6
|
+
import { D as ne } from "./index-gnGbjAJC.mjs";
|
|
7
7
|
const se = { class: "app-container" }, de = { class: "search-container" }, ie = ["onClick"], re = ["onClick"], ve = /* @__PURE__ */ Y({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ue) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as x, ref as B, reactive as N, onActivated as ee, resolveComponent as r, resolveDirective as oe, openBlock as u, createElementBlock as V, createElementVNode as I, createVNode as t, withCtx as l, withKeys as te, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as k, createBlock as w, isRef as R, createCommentVNode as T } from "vue";
|
|
2
2
|
import { useTableHooks as le, fileApi as D } from "jmash-core";
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
|
-
import { g as ne } from "./index-
|
|
5
|
-
import re from "./edit-
|
|
6
|
-
import { D as de } from "./index-
|
|
4
|
+
import { g as ne } from "./index-C_El1x3C.mjs";
|
|
5
|
+
import re from "./edit-DAyPJb0b.mjs";
|
|
6
|
+
import { D as de } from "./index-gnGbjAJC.mjs";
|
|
7
7
|
const se = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], me = ["onClick"], ye = /* @__PURE__ */ x({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(pe) {
|
|
@@ -5,8 +5,8 @@ import { BizDict as o, BizLayDict as L, EnumDict as n } from "jmash-core";
|
|
|
5
5
|
import { EntryDict as v } from "jmash-dict";
|
|
6
6
|
import { ref as h, reactive as _ } from "vue";
|
|
7
7
|
import { specValueApi as y, infoApi as P, specInfoApi as A } from "xyvcard-shop";
|
|
8
|
-
import { g as O, b as f, a as g } from "./index-
|
|
9
|
-
import { g as m } from "./index-
|
|
8
|
+
import { g as O, b as f, a as g } from "./index-DLPUpw3h.mjs";
|
|
9
|
+
import { g as m } from "./index-C_El1x3C.mjs";
|
|
10
10
|
class a {
|
|
11
11
|
}
|
|
12
12
|
// 模块
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as M, ref as y, computed as q, watch as j, resolveComponent as b, openBlock as r, createElementBlock as k, createVNode as i, withCtx as e, createTextVNode as n, toDisplayString as s, createElementVNode as a, Fragment as L, renderList as I, createBlock as S, unref as _, createCommentVNode as B } from "vue";
|
|
2
2
|
import { fileApi as w, routerUtil as F } from "jmash-core";
|
|
3
3
|
import { useRouter as H, useRoute as O } from "vue-router";
|
|
4
|
-
import { D as d, C as N, S as R } from "./index-
|
|
5
|
-
import Y from "./skuTable-
|
|
6
|
-
import { a as G } from "./index-
|
|
4
|
+
import { D as d, C as N, S as R } from "./index-gnGbjAJC.mjs";
|
|
5
|
+
import Y from "./skuTable-DyzW7iCQ.mjs";
|
|
6
|
+
import { a as G } from "./index-DLPUpw3h.mjs";
|
|
7
7
|
import { g as J } from "./index-BHmGYIuc.mjs";
|
|
8
8
|
const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, le = { class: "cell-item" }, se = { class: "cell-item" }, te = { class: "cell-item" }, oe = { class: "cell-item" }, ue = { class: "cell-item" }, ae = { class: "cell-item" }, ie = { class: "title-content" }, ne = { class: "cell-item" }, ce = { class: "cell-item" }, de = { class: "cell-item" }, re = { class: "cell-item" }, pe = { class: "cell-item" }, me = { class: "cell-item" }, _e = { class: "cell-item" }, fe = { class: "cell-item" }, ge = ["innerHTML"], Ie = /* @__PURE__ */ M({
|
|
9
9
|
__name: "info",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as v, resolveComponent as f, openBlock as _, createElementBlock as k, createVNode as o, withCtx as l, createTextVNode as r, toDisplayString as u, createElementVNode as p, Fragment as V, renderList as E, createBlock as D, unref as m } from "vue";
|
|
2
2
|
import { fileApi as P, routerUtil as R } from "jmash-core";
|
|
3
3
|
import { useRouter as j, useRoute as G } from "vue-router";
|
|
4
|
-
import { D as y, C as S } from "./index-
|
|
5
|
-
import { a as L } from "./index-
|
|
4
|
+
import { D as y, C as S } from "./index-gnGbjAJC.mjs";
|
|
5
|
+
import { a as L } from "./index-DLPUpw3h.mjs";
|
|
6
6
|
import { specValueApi as H } from "xyvcard-shop";
|
|
7
7
|
const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Z = { class: "cell-item" }, w = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, se = { class: "cell-item" }, le = { key: 0 }, te = { key: 1 }, pe = /* @__PURE__ */ M({
|
|
8
8
|
__name: "info",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as te, ref as S, computed as se, watch as $, resolveComponent as i, openBlock as m, createElementBlock as g, Fragment as b, unref as M, createVNode as o, withCtx as a, createCommentVNode as I, renderList as P, createElementVNode as k, toDisplayString as O, createTextVNode as y, createBlock as w } from "vue";
|
|
2
|
-
import { C as D, D as ue, S as Y, a as ne } from "./index-
|
|
3
|
-
import re from "./skuTable-
|
|
2
|
+
import { C as D, D as ue, S as Y, a as ne } from "./index-gnGbjAJC.mjs";
|
|
3
|
+
import re from "./skuTable-DyzW7iCQ.mjs";
|
|
4
4
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const pe = { key: 0 }, ce = {
|
|
6
6
|
key: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as O, openBlock as m, createElementBlock as S, createElementVNode as M, ref as v, watch as $, resolveComponent as r, createBlock as h, withCtx as i, createVNode as c, unref as g, Fragment as Y, renderList as G, createCommentVNode as H, createTextVNode as x, toDisplayString as J } from "vue";
|
|
2
2
|
import { useI18n as K } from "vue-i18n";
|
|
3
|
-
import { D as B, C as U } from "./index-
|
|
4
|
-
import { a as L } from "./index-
|
|
3
|
+
import { D as B, C as U } from "./index-gnGbjAJC.mjs";
|
|
4
|
+
import { a as L } from "./index-DLPUpw3h.mjs";
|
|
5
5
|
import { specValueApi as Q } from "xyvcard-shop";
|
|
6
6
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, ref as C, computed as F, watch as $, resolveComponent as g, openBlock as P, createElementBlock as b, createElementVNode as u, createVNode as a, withCtx as d, createTextVNode as y, createCommentVNode as M, Fragment as G, renderList as K, createBlock as z, toDisplayString as D, unref as x } from "vue";
|
|
2
|
-
import { D as O } from "./index-
|
|
2
|
+
import { D as O } from "./index-gnGbjAJC.mjs";
|
|
3
3
|
import { fileApi as E } from "jmash-core";
|
|
4
4
|
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
function J(n, h = [], o) {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.w-full{width:100%!important}.right-dis{margin-right:10px}.top-dis{margin-top:25px}.cell-item{display:flex;align-items:center;justify-content:flex-end}.el-descriptions__label{width:15%;text-align:right}.el-descriptions__content{width:35%}[data-v-f10f6f7e] .el-upload--picture-card{width:80px;height:80px;border-radius:0}[data-v-f10f6f7e] .el-upload-list--picture-card .el-upload-list__item{width:80px;height:80px}.title-set[data-v-6fc718ce]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-e6aa4b01]{border:1px solid #ccc;margin-bottom:5px}.goods-title[data-v-e6aa4b01]{display:flex;align-items:center;border-bottom:1px solid #ccc;padding:10px 20px}.goods-title .goods-delete[data-v-e6aa4b01]{display:flex;align-items:center;margin-left:auto;color:red;font-size:14px}.goods-content[data-v-e6aa4b01]{padding:10px 20px}.goods-tag[data-v-e6aa4b01]{margin-bottom:10px}.addButton[data-v-f953fc89]{margin-top:15px;margin-bottom:20px;width:100%}.hover-blue[data-v-f953fc89]:hover{color:#409eff!important}.position-center[data-v-
|
|
1
|
+
@charset "UTF-8";.w-full{width:100%!important}.right-dis{margin-right:10px}.top-dis{margin-top:25px}.cell-item{display:flex;align-items:center;justify-content:flex-end}.el-descriptions__label{width:15%;text-align:right}.el-descriptions__content{width:35%}[data-v-f10f6f7e] .el-upload--picture-card{width:80px;height:80px;border-radius:0}[data-v-f10f6f7e] .el-upload-list--picture-card .el-upload-list__item{width:80px;height:80px}.title-set[data-v-6fc718ce]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-e6aa4b01]{border:1px solid #ccc;margin-bottom:5px}.goods-title[data-v-e6aa4b01]{display:flex;align-items:center;border-bottom:1px solid #ccc;padding:10px 20px}.goods-title .goods-delete[data-v-e6aa4b01]{display:flex;align-items:center;margin-left:auto;color:red;font-size:14px}.goods-content[data-v-e6aa4b01]{padding:10px 20px}.goods-tag[data-v-e6aa4b01]{margin-bottom:10px}.addButton[data-v-f953fc89]{margin-top:15px;margin-bottom:20px;width:100%}.hover-blue[data-v-f953fc89]:hover{color:#409eff!important}.position-center[data-v-6e6f248a]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-6e6f248a]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-7789ee13]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-7789ee13]{position:absolute;right:0;top:0;margin-top:8px}
|