xyvcard-goods 0.0.24 → 0.0.26
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-Ziwv43v0.mjs → edit-C5HGHhkb.mjs} +51 -58
- package/dist/{edit-DU-BEAcq.mjs → edit-Cb0aaC0q.mjs} +1 -1
- package/dist/edit-DrbsKmwh.mjs +428 -0
- package/dist/{edit-9jPSycsG.mjs → edit-Xn_nZjI6.mjs} +3 -3
- package/dist/{edit-CWQMgvVP.mjs → edit-eAHVEi0b.mjs} +45 -52
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BP0C4d2-.mjs → edit.vue_vue_type_script_setup_true_lang-DBG-5gI4.mjs} +2 -2
- package/dist/{goodsList-2AwsJVoO.mjs → goodsList-CDQZGSh2.mjs} +1 -1
- package/dist/{goodsList-CyWliLjg.mjs → goodsList-CKCG7ntZ.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-DjKzEAB7.mjs → goodsList.vue_vue_type_script_setup_true_lang-B6P3fso6.mjs} +2 -2
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-Bq06GIMe.mjs → goodsList.vue_vue_type_script_setup_true_lang-DiRkiNJk.mjs} +2 -2
- package/dist/{index-DPjR32Kv.mjs → index-B8IdlGiz.mjs} +3 -3
- package/dist/{index-BdP_dXBK.mjs → index-Bz206T2E.mjs} +3 -3
- package/dist/{index-B1H5hqEi.mjs → index-CDhEKnzj.mjs} +2 -2
- package/dist/{index-jCpYt-EU.mjs → index-CMkWXcWe.mjs} +2 -2
- package/dist/{index-B88acg0Q.mjs → index-CSeu2TZT.mjs} +2 -2
- package/dist/{index-DR3Gk44r.mjs → index-D70qzGQF.mjs} +1 -1
- package/dist/{index-8E7BciYp.mjs → index-DSbkvzGV.mjs} +3 -3
- package/dist/{index-C7oatDPl.mjs → index-utNcRJx7.mjs} +7 -3
- package/dist/index.mjs +1 -1
- package/dist/{info-DFIeVs66.mjs → info-CX3zF0ZW.mjs} +3 -3
- package/dist/{info-BEMxnD6-.mjs → info-Dlte8Sn0.mjs} +2 -2
- package/dist/{skuForm-BhAbf2AG.mjs → skuForm-B_8WQCr3.mjs} +2 -2
- package/dist/{skuForm-C2aQcL90.mjs → skuForm-DUR7U2Kn.mjs} +82 -81
- package/dist/{skuTable-9JJqGeRx.mjs → skuTable-D4LGL7B5.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/goods-spu/types.d.ts +4 -0
- package/dts/lang/goods/zh-cn.d.ts +4 -0
- package/package.json +1 -1
- package/dist/edit-CJpoa4Ck.mjs +0 -368
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as O, openBlock as m, createElementBlock as
|
|
1
|
+
import { defineComponent as O, openBlock as m, createElementBlock as v, createElementVNode as M, ref as V, watch as D, 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
|
|
4
|
-
import { a as
|
|
3
|
+
import { D as $, C as U } from "./index-CMkWXcWe.mjs";
|
|
4
|
+
import { a as B } from "./index-utNcRJx7.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 */
|
|
8
8
|
var X = /* @__PURE__ */ O({
|
|
9
9
|
name: "Plus",
|
|
10
10
|
__name: "plus",
|
|
11
|
-
setup(
|
|
12
|
-
return (
|
|
11
|
+
setup(S) {
|
|
12
|
+
return (b, N) => (m(), v("svg", {
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
viewBox: "0 0 1024 1024"
|
|
15
15
|
}, [
|
|
@@ -30,8 +30,8 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["getGoodsSku", "getFormData"],
|
|
33
|
-
setup(
|
|
34
|
-
const { t:
|
|
33
|
+
setup(S, { emit: b }) {
|
|
34
|
+
const { t: N } = K(), P = V([]), d = V([
|
|
35
35
|
{
|
|
36
36
|
salePrice: 0,
|
|
37
37
|
skuId: "",
|
|
@@ -43,44 +43,45 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
43
43
|
skuOptions: []
|
|
44
44
|
}
|
|
45
45
|
]);
|
|
46
|
-
|
|
47
|
-
const j =
|
|
48
|
-
function F(s,
|
|
49
|
-
s.picUrl =
|
|
46
|
+
$.goodsSpuBizDict.useValues();
|
|
47
|
+
const j = b;
|
|
48
|
+
function F(s, l) {
|
|
49
|
+
s.picUrl = l;
|
|
50
50
|
}
|
|
51
|
-
const y =
|
|
52
|
-
|
|
51
|
+
const y = S;
|
|
52
|
+
D(
|
|
53
53
|
y.form,
|
|
54
54
|
(s) => s,
|
|
55
55
|
{
|
|
56
56
|
deep: !0,
|
|
57
57
|
immediate: !0
|
|
58
58
|
}
|
|
59
|
-
), y.form.spuId &&
|
|
59
|
+
), y.form.spuId && B.findGroupList({ goodsId: y.form.spuId }).then(({ data: s }) => {
|
|
60
60
|
if (s && s.results.length > 0) {
|
|
61
61
|
d.value = [];
|
|
62
|
-
const
|
|
62
|
+
const l = s.results.map(async (e) => {
|
|
63
|
+
console.log("item", e);
|
|
63
64
|
const t = {
|
|
64
|
-
salePrice:
|
|
65
|
-
skuId:
|
|
66
|
-
spuId:
|
|
67
|
-
saleNum:
|
|
68
|
-
picUrl:
|
|
65
|
+
salePrice: e.salePrice || 0,
|
|
66
|
+
skuId: e.skuId || "",
|
|
67
|
+
spuId: e.spuId || "",
|
|
68
|
+
saleNum: e.saleNum || 0,
|
|
69
|
+
picUrl: e.picUrl || "",
|
|
69
70
|
specType: "",
|
|
70
71
|
skuOptions: []
|
|
71
72
|
};
|
|
72
|
-
return await
|
|
73
|
+
return await E(e.spuId, t), t.saleNum = e.saleNum || 0, t.specType === U.SPEC_TYPE.MULTI_SPEC && e.skuId && (t.skuId = e.skuId || "", t.salePrice = e.salePrice || 0, t.saleNum = e.saleNum || 0, t.picUrl = e.picUrl || "", T(e.skuId)), t;
|
|
73
74
|
});
|
|
74
|
-
Promise.all(
|
|
75
|
-
d.value =
|
|
75
|
+
Promise.all(l).then((e) => {
|
|
76
|
+
d.value = e;
|
|
76
77
|
});
|
|
77
78
|
}
|
|
78
79
|
});
|
|
79
|
-
function
|
|
80
|
-
const
|
|
81
|
-
|
|
80
|
+
function L(s) {
|
|
81
|
+
const l = d.value.indexOf(s.row);
|
|
82
|
+
l !== 0 && d.value.splice(l, 1);
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function A() {
|
|
84
85
|
d.value.push({
|
|
85
86
|
salePrice: 0,
|
|
86
87
|
skuId: "",
|
|
@@ -92,44 +93,44 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
92
93
|
skuOptions: []
|
|
93
94
|
});
|
|
94
95
|
}
|
|
95
|
-
const
|
|
96
|
-
async function
|
|
96
|
+
const C = V({});
|
|
97
|
+
async function R(s) {
|
|
97
98
|
if (!P.value[s])
|
|
98
99
|
try {
|
|
99
|
-
const { data:
|
|
100
|
+
const { data: l } = await Q.findById({
|
|
100
101
|
specValueId: s
|
|
101
102
|
});
|
|
102
|
-
return P.value[s] =
|
|
103
|
+
return P.value[s] = l.valueName, l.valueName;
|
|
103
104
|
} catch {
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
|
-
async function
|
|
107
|
-
var
|
|
108
|
-
if (
|
|
109
|
-
|
|
107
|
+
async function E(s, l) {
|
|
108
|
+
var e, t;
|
|
109
|
+
if (l.skuId = "", l.skuOptions = [], l.picUrl = "", l.salePrice = 0, l.saleNum = 0, !s) {
|
|
110
|
+
l.skuId = "", l.picUrl = "", l.salePrice = 0, l.saleNum = 0, l.skuOptions = [];
|
|
110
111
|
return;
|
|
111
112
|
}
|
|
112
113
|
try {
|
|
113
|
-
const { data: n } = await
|
|
114
|
-
if (
|
|
115
|
-
const f = n.skuList.results,
|
|
114
|
+
const { data: n } = await B.findById({ spuId: s });
|
|
115
|
+
if (l.specType = n.specType, l.specType === U.SPEC_TYPE.UNIFIED_SPEC && (l.picUrl = n.picUrls ? n.picUrls.split(",")[0] : "", l.salePrice = (e = n.skuList) == null ? void 0 : e.results[0].salePrice, l.skuId = (t = n.skuList) == null ? void 0 : t.results[0].skuId), l.specType === U.SPEC_TYPE.MULTI_SPEC && n.skuList) {
|
|
116
|
+
const f = n.skuList.results, I = f.map((o) => o.specValues && Array.isArray(o.specValues) ? o.specValues.map(
|
|
116
117
|
(p) => p.specValueId
|
|
117
|
-
) : []),
|
|
118
|
-
await Promise.all(
|
|
119
|
-
const
|
|
118
|
+
) : []), k = I.flat().map((o) => R(o));
|
|
119
|
+
await Promise.all(k);
|
|
120
|
+
const _ = I.map(
|
|
120
121
|
(o) => o.map((p) => P.value[p] || p)
|
|
121
122
|
);
|
|
122
|
-
|
|
123
|
+
l.skuOptions = f.map((o, p) => ({
|
|
123
124
|
key: o.skuId,
|
|
124
|
-
value:
|
|
125
|
-
specInfo:
|
|
125
|
+
value: _[p].join(" "),
|
|
126
|
+
specInfo: _[p].join(" "),
|
|
126
127
|
picUrl: o.picUrl || (n.picUrls ? n.picUrls.split(",")[0] : ""),
|
|
127
128
|
salePrice: o.salePrice,
|
|
128
129
|
stock: o.stock
|
|
129
130
|
})), f.forEach((o, p) => {
|
|
130
|
-
o.skuId && (
|
|
131
|
+
o.skuId && (C.value[o.skuId] = {
|
|
131
132
|
...o,
|
|
132
|
-
specInfo:
|
|
133
|
+
specInfo: _[p].join(" "),
|
|
133
134
|
spuPicUrls: n.picUrls
|
|
134
135
|
});
|
|
135
136
|
});
|
|
@@ -137,38 +138,38 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
137
138
|
} catch {
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
-
const
|
|
142
|
-
if (
|
|
143
|
-
const
|
|
144
|
-
if (
|
|
145
|
-
const t =
|
|
146
|
-
|
|
141
|
+
function T(s) {
|
|
142
|
+
const l = d.value.find((e) => e.skuId === s);
|
|
143
|
+
if (l && s) {
|
|
144
|
+
const e = C.value[s];
|
|
145
|
+
if (e) {
|
|
146
|
+
const t = e.spuPicUrls ? e.spuPicUrls.split(",")[0] : "";
|
|
147
|
+
l.picUrl = e.picUrl || t, l.salePrice = e.salePrice, l.specInfo = e.specInfo;
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
|
-
return
|
|
151
|
+
return D(
|
|
151
152
|
d,
|
|
152
153
|
(s) => {
|
|
153
|
-
const
|
|
154
|
-
salePrice:
|
|
155
|
-
skuId:
|
|
156
|
-
spuId:
|
|
157
|
-
specInfo:
|
|
158
|
-
saleNum:
|
|
159
|
-
picUrl:
|
|
154
|
+
const l = s.filter((e) => e.spuId && e.skuId).map((e) => ({
|
|
155
|
+
salePrice: e.salePrice,
|
|
156
|
+
skuId: e.skuId,
|
|
157
|
+
spuId: e.spuId,
|
|
158
|
+
specInfo: e.specInfo,
|
|
159
|
+
saleNum: e.saleNum,
|
|
160
|
+
picUrl: e.picUrl
|
|
160
161
|
}));
|
|
161
|
-
j("getGoodsSku",
|
|
162
|
+
j("getGoodsSku", l), console.log("filteredValue", l);
|
|
162
163
|
},
|
|
163
164
|
{
|
|
164
165
|
deep: !0,
|
|
165
166
|
immediate: !0
|
|
166
167
|
}
|
|
167
|
-
), (s,
|
|
168
|
-
const
|
|
168
|
+
), (s, l) => {
|
|
169
|
+
const e = r("jmash-select"), t = r("el-table-column"), n = r("el-option"), f = r("el-select"), I = r("jmash-single-image-upload"), k = r("el-input-number"), _ = r("DeleteFilled"), o = r("el-icon"), p = r("el-table"), q = r("el-button"), z = r("el-row");
|
|
169
170
|
return m(), h(z, null, {
|
|
170
171
|
default: i(() => [
|
|
171
|
-
c(
|
|
172
|
+
c(p, {
|
|
172
173
|
data: d.value,
|
|
173
174
|
border: "",
|
|
174
175
|
style: { width: "100%" }
|
|
@@ -180,15 +181,15 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
180
181
|
"header-align": "center"
|
|
181
182
|
}, {
|
|
182
183
|
default: i(({ row: a }) => [
|
|
183
|
-
c(
|
|
184
|
+
c(e, {
|
|
184
185
|
modelValue: a.spuId,
|
|
185
186
|
"onUpdate:modelValue": (u) => a.spuId = u,
|
|
186
|
-
data: g(
|
|
187
|
+
data: g($).goodsSpuBizDict.values,
|
|
187
188
|
filterable: "",
|
|
188
189
|
clearable: "",
|
|
189
190
|
placeholder: s.$t("goodsSpu.spuNameRequireds"),
|
|
190
191
|
class: "w-full",
|
|
191
|
-
onChange: (u) =>
|
|
192
|
+
onChange: (u) => E(a.spuId, a)
|
|
192
193
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "placeholder", "onChange"])
|
|
193
194
|
]),
|
|
194
195
|
_: 1
|
|
@@ -198,15 +199,15 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
198
199
|
"header-align": "center"
|
|
199
200
|
}, {
|
|
200
201
|
default: i(({ row: a }) => [
|
|
201
|
-
a.specType === g(U).SPEC_TYPE.UNIFIED_SPEC ? (m(),
|
|
202
|
+
a.specType === g(U).SPEC_TYPE.UNIFIED_SPEC ? (m(), v("span", w, " 统一规格 ")) : (m(), h(f, {
|
|
202
203
|
key: 1,
|
|
203
204
|
modelValue: a.skuId,
|
|
204
205
|
"onUpdate:modelValue": (u) => a.skuId = u,
|
|
205
206
|
placeholder: s.$t("goodsSpu.specTypeRequired"),
|
|
206
|
-
onChange: (u) =>
|
|
207
|
+
onChange: (u) => T(a.skuId)
|
|
207
208
|
}, {
|
|
208
209
|
default: i(() => [
|
|
209
|
-
(m(!0),
|
|
210
|
+
(m(!0), v(Y, null, G(a.skuOptions, (u) => (m(), h(n, {
|
|
210
211
|
key: u.key,
|
|
211
212
|
label: u.value,
|
|
212
213
|
value: u.key
|
|
@@ -224,7 +225,7 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
224
225
|
"header-align": "center"
|
|
225
226
|
}, {
|
|
226
227
|
default: i(({ row: a }) => [
|
|
227
|
-
c(
|
|
228
|
+
c(I, {
|
|
228
229
|
"picture-url": a.picUrl,
|
|
229
230
|
onImageSrc: (u) => F(a, u),
|
|
230
231
|
width: 80,
|
|
@@ -239,7 +240,7 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
239
240
|
"header-align": "center"
|
|
240
241
|
}, {
|
|
241
242
|
default: i(({ row: a }) => [
|
|
242
|
-
c(
|
|
243
|
+
c(k, {
|
|
243
244
|
modelValue: a.salePrice,
|
|
244
245
|
"onUpdate:modelValue": (u) => a.salePrice = u,
|
|
245
246
|
precision: 2,
|
|
@@ -257,7 +258,7 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
257
258
|
"header-align": "center"
|
|
258
259
|
}, {
|
|
259
260
|
default: i(({ row: a }) => [
|
|
260
|
-
c(
|
|
261
|
+
c(k, {
|
|
261
262
|
modelValue: a.saleNum,
|
|
262
263
|
"onUpdate:modelValue": (u) => a.saleNum = u,
|
|
263
264
|
placeholder: s.$t("goodsSpu.saleNumRequireds"),
|
|
@@ -275,15 +276,15 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
275
276
|
align: "center"
|
|
276
277
|
}, {
|
|
277
278
|
default: i((a) => [
|
|
278
|
-
a.$index !== 0 ? (m(), h(
|
|
279
|
+
a.$index !== 0 ? (m(), h(o, {
|
|
279
280
|
key: 0,
|
|
280
|
-
onClick: (u) =>
|
|
281
|
+
onClick: (u) => L(a),
|
|
281
282
|
size: "18",
|
|
282
283
|
style: { cursor: "pointer", color: "inherit" },
|
|
283
284
|
class: "hover-blue"
|
|
284
285
|
}, {
|
|
285
286
|
default: i(() => [
|
|
286
|
-
c(
|
|
287
|
+
c(_)
|
|
287
288
|
]),
|
|
288
289
|
_: 2
|
|
289
290
|
}, 1032, ["onClick"])) : H("", !0)
|
|
@@ -293,13 +294,13 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
293
294
|
]),
|
|
294
295
|
_: 1
|
|
295
296
|
}, 8, ["data"]),
|
|
296
|
-
c(
|
|
297
|
+
c(q, {
|
|
297
298
|
icon: g(Z),
|
|
298
299
|
class: "addButton",
|
|
299
|
-
onClick:
|
|
300
|
+
onClick: A
|
|
300
301
|
}, {
|
|
301
302
|
default: i(() => [
|
|
302
|
-
x(J(g(
|
|
303
|
+
x(J(g(N)("common.add")), 1)
|
|
303
304
|
]),
|
|
304
305
|
_: 1
|
|
305
306
|
}, 8, ["icon"])
|
|
@@ -308,7 +309,7 @@ const w = { key: 0 }, ee = /* @__PURE__ */ O({
|
|
|
308
309
|
});
|
|
309
310
|
};
|
|
310
311
|
}
|
|
311
|
-
}), ne = /* @__PURE__ */ W(ee, [["__scopeId", "data-v-
|
|
312
|
+
}), ne = /* @__PURE__ */ W(ee, [["__scopeId", "data-v-3701de30"]]);
|
|
312
313
|
export {
|
|
313
314
|
ne as default
|
|
314
315
|
};
|
|
@@ -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-CMkWXcWe.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-
|
|
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-3701de30]{margin-top:15px;margin-bottom:20px;width:100%}.hover-blue[data-v-3701de30]: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}
|
|
@@ -78,6 +78,8 @@ export interface GoodsSpuCreateReq extends EntityCreateReq {
|
|
|
78
78
|
groupInfos?: Array<GoodsGroupInfoCreateReq>;
|
|
79
79
|
goodsType?: string;
|
|
80
80
|
note?: string;
|
|
81
|
+
minPrice?: number;
|
|
82
|
+
maxPrice?: number;
|
|
81
83
|
}
|
|
82
84
|
export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
83
85
|
spuId?: string;
|
|
@@ -102,6 +104,8 @@ export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
|
102
104
|
groupInfos?: Array<GoodsGroupInfoCreateReq>;
|
|
103
105
|
goodsType?: string;
|
|
104
106
|
note?: string;
|
|
107
|
+
minPrice?: number;
|
|
108
|
+
maxPrice?: number;
|
|
105
109
|
}
|
|
106
110
|
export type GoodsSpuFormReq = GoodsSpuCreateReq | GoodsSpuUpdateReq;
|
|
107
111
|
export interface GoodsSpuEnableKey {
|