xyvcard-goods 0.0.15 → 0.0.17
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-C80KQhPy.mjs +529 -0
- package/dist/{edit-BsaWxeqY.mjs → edit-E57LIt5x.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DRAXgRwD.mjs → edit.vue_vue_type_script_setup_true_lang-BHplO2tN.mjs} +13 -15
- package/dist/{goodsList-Dvsh76f7.mjs → goodsList-0TMcPn_Q.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-CWJQd86q.mjs → goodsList.vue_vue_type_script_setup_true_lang-Cd7-ryQA.mjs} +204 -225
- package/dist/{index-DZJVaUh3.mjs → index-CmKF2zdn.mjs} +97 -73
- package/dist/{index-Dp9QMOea.mjs → index-CnyW3rxw.mjs} +2 -2
- package/dist/{index-BF7PDcd4.mjs → index-nSAowuoJ.mjs} +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{info-wrevnU3P.mjs → info-D6MWRZ1y.mjs} +52 -59
- package/dist/{skuForm-B7yYjwdJ.mjs → skuForm-H9IDa7ys.mjs} +73 -80
- package/dist/{skuTable-YDBH_oRN.mjs → skuTable-DbNThlFG.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +1 -1
- package/dts/api/goods-spu/types.d.ts +2 -2
- package/dts/utils/returnBizLay.d.ts +2 -0
- package/dts/views/goods/goods-spu/skuForm.vue.d.ts +0 -9
- package/package.json +1 -1
- package/dist/edit-BlnYCDI4.mjs +0 -558
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as te, ref as
|
|
2
|
-
import { C as E, D as ue, S as
|
|
3
|
-
import { s as
|
|
1
|
+
import { defineComponent as te, ref as k, computed as se, watch as I, resolveComponent as i, openBlock as m, createElementBlock as g, Fragment as S, unref as M, createVNode as o, withCtx as a, createCommentVNode as D, renderList as y, createElementVNode as h, toDisplayString as O, createTextVNode as w, createBlock as P } from "vue";
|
|
2
|
+
import { C as E, D as ue, S as Y, a as ne } from "./index-CmKF2zdn.mjs";
|
|
3
|
+
import { s as re, _ as de } from "./skuTable-DbNThlFG.mjs";
|
|
4
4
|
const pe = { key: 0 }, ce = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "w-full"
|
|
@@ -16,16 +16,12 @@ const pe = { key: 0 }, ce = {
|
|
|
16
16
|
type: Object,
|
|
17
17
|
default: () => {
|
|
18
18
|
}
|
|
19
|
-
},
|
|
20
|
-
isDisabled: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: !0
|
|
23
19
|
}
|
|
24
20
|
},
|
|
25
21
|
emits: ["getGoodsSku", "getFormData"],
|
|
26
|
-
setup(
|
|
27
|
-
var T, q
|
|
28
|
-
const
|
|
22
|
+
setup(H, { emit: J }) {
|
|
23
|
+
var F, T, q;
|
|
24
|
+
const d = k({
|
|
29
25
|
picUrl: "",
|
|
30
26
|
salePrice: 0,
|
|
31
27
|
marketPrice: 0,
|
|
@@ -34,41 +30,41 @@ const pe = { key: 0 }, ce = {
|
|
|
34
30
|
volume: 0,
|
|
35
31
|
stock: 0,
|
|
36
32
|
skuCode: ""
|
|
37
|
-
}), t =
|
|
33
|
+
}), t = k([]), C = k(), V = k([]), b = k([]), L = k([]), v = H, $ = J, U = se(() => t.value.filter(
|
|
38
34
|
(e) => e.name && e.specValueList != null && e.specValueList.length
|
|
39
35
|
));
|
|
40
|
-
|
|
36
|
+
I(
|
|
41
37
|
v.form,
|
|
42
38
|
(e) => e,
|
|
43
39
|
{
|
|
44
40
|
deep: !0,
|
|
45
41
|
immediate: !0
|
|
46
42
|
}
|
|
47
|
-
),
|
|
48
|
-
|
|
43
|
+
), I(
|
|
44
|
+
d,
|
|
49
45
|
(e) => {
|
|
50
|
-
|
|
46
|
+
$("getGoodsSku", e);
|
|
51
47
|
},
|
|
52
48
|
{
|
|
53
49
|
deep: !0,
|
|
54
50
|
immediate: !0
|
|
55
51
|
}
|
|
56
|
-
),
|
|
57
|
-
|
|
52
|
+
), I(
|
|
53
|
+
U,
|
|
58
54
|
(e) => e,
|
|
59
55
|
{
|
|
60
56
|
deep: !0,
|
|
61
57
|
immediate: !0
|
|
62
58
|
}
|
|
63
|
-
), v.form.spuId && (v.form.specType === E.SPEC_TYPE.UNIFIED_SPEC ?
|
|
59
|
+
), v.form.spuId && (v.form.specType === E.SPEC_TYPE.UNIFIED_SPEC ? d.value = (F = v.form.skuList) == null ? void 0 : F.results[0] : (L.value = (T = v.form.skuList) == null ? void 0 : T.results, (q = v.form.skuList) == null || q.results.forEach((e) => {
|
|
64
60
|
var l;
|
|
65
61
|
(l = e.specValues) == null || l.map((s) => {
|
|
66
62
|
ue.specInfoDict.useValues().then((n) => {
|
|
67
|
-
const
|
|
68
|
-
if (
|
|
63
|
+
const r = n.find((f) => s.specId === f.key);
|
|
64
|
+
if (r) {
|
|
69
65
|
let f = {
|
|
70
66
|
id: s.specId,
|
|
71
|
-
name:
|
|
67
|
+
name: r.value,
|
|
72
68
|
specValueList: []
|
|
73
69
|
};
|
|
74
70
|
t.value.push(f);
|
|
@@ -82,7 +78,7 @@ const pe = { key: 0 }, ce = {
|
|
|
82
78
|
})));
|
|
83
79
|
function K(e) {
|
|
84
80
|
t.value.forEach((l) => {
|
|
85
|
-
V.value = new
|
|
81
|
+
V.value = new Y({ specId: l.id }), V.value.useValues().then((s) => {
|
|
86
82
|
s.forEach((n) => {
|
|
87
83
|
if (n.key === e) {
|
|
88
84
|
let p = {
|
|
@@ -91,9 +87,9 @@ const pe = { key: 0 }, ce = {
|
|
|
91
87
|
};
|
|
92
88
|
l.specValueList.push(p);
|
|
93
89
|
}
|
|
94
|
-
const
|
|
90
|
+
const r = /* @__PURE__ */ new Map();
|
|
95
91
|
l.specValueList = l.specValueList.filter(
|
|
96
|
-
(p) => !
|
|
92
|
+
(p) => !r.has(p.id) && r.set(p.id, p)
|
|
97
93
|
);
|
|
98
94
|
});
|
|
99
95
|
});
|
|
@@ -106,7 +102,7 @@ const pe = { key: 0 }, ce = {
|
|
|
106
102
|
t.value[e].specValueList.splice(l, 1);
|
|
107
103
|
}
|
|
108
104
|
function X() {
|
|
109
|
-
|
|
105
|
+
b.value = new ne({ shopId: v.form.shopId }), b.value.useValues().then((e) => {
|
|
110
106
|
e.forEach((l) => {
|
|
111
107
|
Array.isArray(t.value) && t.value.length > 0 && t.value.forEach((s) => {
|
|
112
108
|
l.key === s.id && (l.disabled = !0);
|
|
@@ -115,7 +111,7 @@ const pe = { key: 0 }, ce = {
|
|
|
115
111
|
});
|
|
116
112
|
}
|
|
117
113
|
function Z(e) {
|
|
118
|
-
let l =
|
|
114
|
+
let l = b.value.values.filter((n) => n.key === e), s = {
|
|
119
115
|
id: l[0].key,
|
|
120
116
|
name: l[0].value,
|
|
121
117
|
specValueList: []
|
|
@@ -123,7 +119,7 @@ const pe = { key: 0 }, ce = {
|
|
|
123
119
|
t.value.push(s), C.value = "";
|
|
124
120
|
}
|
|
125
121
|
function z(e) {
|
|
126
|
-
V.value = new
|
|
122
|
+
V.value = new Y({
|
|
127
123
|
specId: t.value[e].id
|
|
128
124
|
}), V.value.useValues().then((l) => {
|
|
129
125
|
l.map((s) => {
|
|
@@ -134,23 +130,23 @@ const pe = { key: 0 }, ce = {
|
|
|
134
130
|
});
|
|
135
131
|
}
|
|
136
132
|
function x(e, l) {
|
|
137
|
-
var
|
|
133
|
+
var r, p;
|
|
138
134
|
let s = V.value.values.filter((f) => f.key === e), n = {
|
|
139
135
|
id: s[0].key,
|
|
140
136
|
name: s[0].value
|
|
141
137
|
};
|
|
142
|
-
(p = (
|
|
138
|
+
(p = (r = t.value[l]) == null ? void 0 : r.specValueList) == null || p.push(n), t.value[l].specValueId = "";
|
|
143
139
|
}
|
|
144
140
|
function ee(e) {
|
|
145
|
-
|
|
141
|
+
$("getFormData", e);
|
|
146
142
|
}
|
|
147
143
|
return (e, l) => {
|
|
148
|
-
const s = i("el-input-number"), n = i("el-form-item"),
|
|
149
|
-
return m(), g(
|
|
150
|
-
v.specType ==
|
|
144
|
+
const s = i("el-input-number"), n = i("el-form-item"), r = i("el-col"), p = i("el-row"), f = i("Delete"), le = i("el-icon"), oe = i("el-tag"), R = i("el-button"), N = i("el-option"), j = i("el-select"), A = i("el-popover"), B = i("el-tab-pane"), G = i("el-tabs");
|
|
145
|
+
return m(), g(S, null, [
|
|
146
|
+
v.specType == M(E).SPEC_TYPE.UNIFIED_SPEC ? (m(), g("div", pe, [
|
|
151
147
|
o(p, null, {
|
|
152
148
|
default: a(() => [
|
|
153
|
-
o(
|
|
149
|
+
o(r, { span: 8 }, {
|
|
154
150
|
default: a(() => [
|
|
155
151
|
o(n, {
|
|
156
152
|
label: e.$t("goodsSpu.salePrice"),
|
|
@@ -158,8 +154,8 @@ const pe = { key: 0 }, ce = {
|
|
|
158
154
|
}, {
|
|
159
155
|
default: a(() => [
|
|
160
156
|
o(s, {
|
|
161
|
-
modelValue:
|
|
162
|
-
"onUpdate:modelValue": l[0] || (l[0] = (u) =>
|
|
157
|
+
modelValue: d.value.salePrice,
|
|
158
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => d.value.salePrice = u),
|
|
163
159
|
precision: 2,
|
|
164
160
|
step: 0,
|
|
165
161
|
min: 0.01,
|
|
@@ -173,7 +169,7 @@ const pe = { key: 0 }, ce = {
|
|
|
173
169
|
]),
|
|
174
170
|
_: 1
|
|
175
171
|
}),
|
|
176
|
-
o(
|
|
172
|
+
o(r, { span: 8 }, {
|
|
177
173
|
default: a(() => [
|
|
178
174
|
o(n, {
|
|
179
175
|
label: e.$t("goodsSpu.marketPrice"),
|
|
@@ -181,8 +177,8 @@ const pe = { key: 0 }, ce = {
|
|
|
181
177
|
}, {
|
|
182
178
|
default: a(() => [
|
|
183
179
|
o(s, {
|
|
184
|
-
modelValue:
|
|
185
|
-
"onUpdate:modelValue": l[1] || (l[1] = (u) =>
|
|
180
|
+
modelValue: d.value.marketPrice,
|
|
181
|
+
"onUpdate:modelValue": l[1] || (l[1] = (u) => d.value.marketPrice = u),
|
|
186
182
|
precision: 2,
|
|
187
183
|
step: 0,
|
|
188
184
|
min: 0.01,
|
|
@@ -196,7 +192,7 @@ const pe = { key: 0 }, ce = {
|
|
|
196
192
|
]),
|
|
197
193
|
_: 1
|
|
198
194
|
}),
|
|
199
|
-
o(
|
|
195
|
+
o(r, { span: 8 }, {
|
|
200
196
|
default: a(() => [
|
|
201
197
|
o(n, {
|
|
202
198
|
label: e.$t("goodsSpu.costPrice"),
|
|
@@ -204,8 +200,8 @@ const pe = { key: 0 }, ce = {
|
|
|
204
200
|
}, {
|
|
205
201
|
default: a(() => [
|
|
206
202
|
o(s, {
|
|
207
|
-
modelValue:
|
|
208
|
-
"onUpdate:modelValue": l[2] || (l[2] = (u) =>
|
|
203
|
+
modelValue: d.value.costPrice,
|
|
204
|
+
"onUpdate:modelValue": l[2] || (l[2] = (u) => d.value.costPrice = u),
|
|
209
205
|
precision: 2,
|
|
210
206
|
step: 0,
|
|
211
207
|
min: 0.01,
|
|
@@ -219,7 +215,7 @@ const pe = { key: 0 }, ce = {
|
|
|
219
215
|
]),
|
|
220
216
|
_: 1
|
|
221
217
|
}),
|
|
222
|
-
o(
|
|
218
|
+
o(r, { span: 8 }, {
|
|
223
219
|
default: a(() => [
|
|
224
220
|
o(n, {
|
|
225
221
|
label: e.$t("goodsSpu.stock"),
|
|
@@ -227,8 +223,8 @@ const pe = { key: 0 }, ce = {
|
|
|
227
223
|
}, {
|
|
228
224
|
default: a(() => [
|
|
229
225
|
o(s, {
|
|
230
|
-
modelValue:
|
|
231
|
-
"onUpdate:modelValue": l[3] || (l[3] = (u) =>
|
|
226
|
+
modelValue: d.value.stock,
|
|
227
|
+
"onUpdate:modelValue": l[3] || (l[3] = (u) => d.value.stock = u),
|
|
232
228
|
placeholder: e.$t("goodsSpu.stockRequired"),
|
|
233
229
|
class: "w-full",
|
|
234
230
|
controls: !1,
|
|
@@ -241,7 +237,7 @@ const pe = { key: 0 }, ce = {
|
|
|
241
237
|
]),
|
|
242
238
|
_: 1
|
|
243
239
|
}),
|
|
244
|
-
o(
|
|
240
|
+
o(r, { span: 8 }, {
|
|
245
241
|
default: a(() => [
|
|
246
242
|
o(n, {
|
|
247
243
|
label: e.$t("goodsSpu.weight"),
|
|
@@ -249,8 +245,8 @@ const pe = { key: 0 }, ce = {
|
|
|
249
245
|
}, {
|
|
250
246
|
default: a(() => [
|
|
251
247
|
o(s, {
|
|
252
|
-
modelValue:
|
|
253
|
-
"onUpdate:modelValue": l[4] || (l[4] = (u) =>
|
|
248
|
+
modelValue: d.value.weight,
|
|
249
|
+
"onUpdate:modelValue": l[4] || (l[4] = (u) => d.value.weight = u),
|
|
254
250
|
placeholder: e.$t("goodsSpu.weightRequired"),
|
|
255
251
|
class: "w-full",
|
|
256
252
|
controls: !1,
|
|
@@ -262,7 +258,7 @@ const pe = { key: 0 }, ce = {
|
|
|
262
258
|
]),
|
|
263
259
|
_: 1
|
|
264
260
|
}),
|
|
265
|
-
o(
|
|
261
|
+
o(r, { span: 8 }, {
|
|
266
262
|
default: a(() => [
|
|
267
263
|
o(n, {
|
|
268
264
|
label: e.$t("goodsSpu.volume"),
|
|
@@ -270,8 +266,8 @@ const pe = { key: 0 }, ce = {
|
|
|
270
266
|
}, {
|
|
271
267
|
default: a(() => [
|
|
272
268
|
o(s, {
|
|
273
|
-
modelValue:
|
|
274
|
-
"onUpdate:modelValue": l[5] || (l[5] = (u) =>
|
|
269
|
+
modelValue: d.value.volume,
|
|
270
|
+
"onUpdate:modelValue": l[5] || (l[5] = (u) => d.value.volume = u),
|
|
275
271
|
controls: !1,
|
|
276
272
|
placeholder: e.$t("goodsSpu.volumeRequired"),
|
|
277
273
|
class: "w-full",
|
|
@@ -286,19 +282,19 @@ const pe = { key: 0 }, ce = {
|
|
|
286
282
|
]),
|
|
287
283
|
_: 1
|
|
288
284
|
})
|
|
289
|
-
])) :
|
|
290
|
-
v.specType ==
|
|
291
|
-
o(
|
|
285
|
+
])) : D("", !0),
|
|
286
|
+
v.specType == M(E).SPEC_TYPE.MULTI_SPEC ? (m(), g("div", ce, [
|
|
287
|
+
o(G, { type: "border-card" }, {
|
|
292
288
|
default: a(() => [
|
|
293
|
-
o(
|
|
289
|
+
o(B, { label: "商品规格" }, {
|
|
294
290
|
default: a(() => [
|
|
295
|
-
(m(!0), g(
|
|
291
|
+
(m(!0), g(S, null, y(t.value, (u, _) => (m(), g("div", {
|
|
296
292
|
class: "goods-spec",
|
|
297
293
|
key: _
|
|
298
294
|
}, [
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
295
|
+
h("div", ie, [
|
|
296
|
+
h("span", null, O(u.name), 1),
|
|
297
|
+
h("span", {
|
|
302
298
|
class: "goods-delete",
|
|
303
299
|
onClick: (c) => Q(_)
|
|
304
300
|
}, [
|
|
@@ -311,9 +307,9 @@ const pe = { key: 0 }, ce = {
|
|
|
311
307
|
l[7] || (l[7] = w("移除 "))
|
|
312
308
|
], 8, me)
|
|
313
309
|
]),
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
(m(!0), g(
|
|
310
|
+
h("div", fe, [
|
|
311
|
+
h("div", ve, [
|
|
312
|
+
(m(!0), g(S, null, y(t.value[_].specValueList, (c, ae) => (m(), P(oe, {
|
|
317
313
|
key: c,
|
|
318
314
|
closable: "",
|
|
319
315
|
type: "info",
|
|
@@ -321,7 +317,7 @@ const pe = { key: 0 }, ce = {
|
|
|
321
317
|
onClose: (ge) => W(_, ae)
|
|
322
318
|
}, {
|
|
323
319
|
default: a(() => [
|
|
324
|
-
w(
|
|
320
|
+
w(O(c.name), 1)
|
|
325
321
|
]),
|
|
326
322
|
_: 2
|
|
327
323
|
}, 1032, ["onClose"]))), 128))
|
|
@@ -333,7 +329,7 @@ const pe = { key: 0 }, ce = {
|
|
|
333
329
|
onShow: (c) => z(_)
|
|
334
330
|
}, {
|
|
335
331
|
reference: a(() => [
|
|
336
|
-
o(
|
|
332
|
+
o(R, { class: "m-2" }, {
|
|
337
333
|
default: a(() => l[8] || (l[8] = [
|
|
338
334
|
w("添加规格值")
|
|
339
335
|
])),
|
|
@@ -349,7 +345,7 @@ const pe = { key: 0 }, ce = {
|
|
|
349
345
|
onChange: (c) => x(c, _)
|
|
350
346
|
}, {
|
|
351
347
|
default: a(() => [
|
|
352
|
-
(m(!0), g(
|
|
348
|
+
(m(!0), g(S, null, y(V.value.values, (c) => (m(), P(N, {
|
|
353
349
|
key: c.key,
|
|
354
350
|
label: c.value,
|
|
355
351
|
value: c.key,
|
|
@@ -370,16 +366,13 @@ const pe = { key: 0 }, ce = {
|
|
|
370
366
|
onShow: X
|
|
371
367
|
}, {
|
|
372
368
|
reference: a(() => [
|
|
373
|
-
o(
|
|
374
|
-
class: "m-2",
|
|
375
|
-
disabled: L.isDisabled
|
|
376
|
-
}, {
|
|
369
|
+
o(R, { class: "m-2" }, {
|
|
377
370
|
default: a(() => l[9] || (l[9] = [
|
|
378
371
|
w("添加规格")
|
|
379
372
|
])),
|
|
380
373
|
_: 1,
|
|
381
374
|
__: [9]
|
|
382
|
-
}
|
|
375
|
+
})
|
|
383
376
|
]),
|
|
384
377
|
default: a(() => [
|
|
385
378
|
o(j, {
|
|
@@ -389,7 +382,7 @@ const pe = { key: 0 }, ce = {
|
|
|
389
382
|
onChange: Z
|
|
390
383
|
}, {
|
|
391
384
|
default: a(() => [
|
|
392
|
-
(m(!0), g(
|
|
385
|
+
(m(!0), g(S, null, y(b.value.values, (u) => (m(), P(N, {
|
|
393
386
|
key: u.key,
|
|
394
387
|
label: u.value,
|
|
395
388
|
value: u.key,
|
|
@@ -407,27 +400,27 @@ const pe = { key: 0 }, ce = {
|
|
|
407
400
|
]),
|
|
408
401
|
_: 1
|
|
409
402
|
}),
|
|
410
|
-
o(
|
|
403
|
+
o(G, { type: "border-card" }, {
|
|
411
404
|
default: a(() => [
|
|
412
|
-
o(
|
|
405
|
+
o(B, { label: "规格售价与库存" }, {
|
|
413
406
|
default: a(() => [
|
|
414
|
-
t.value.length > 0 ? (m(), P(
|
|
407
|
+
t.value.length > 0 ? (m(), P(re, {
|
|
415
408
|
key: 0,
|
|
416
|
-
specData:
|
|
417
|
-
goodsSku:
|
|
409
|
+
specData: U.value,
|
|
410
|
+
goodsSku: L.value,
|
|
418
411
|
onGetFormData: ee
|
|
419
|
-
}, null, 8, ["specData", "goodsSku"])) :
|
|
412
|
+
}, null, 8, ["specData", "goodsSku"])) : D("", !0)
|
|
420
413
|
]),
|
|
421
414
|
_: 1
|
|
422
415
|
})
|
|
423
416
|
]),
|
|
424
417
|
_: 1
|
|
425
418
|
})
|
|
426
|
-
])) :
|
|
419
|
+
])) : D("", !0)
|
|
427
420
|
], 64);
|
|
428
421
|
};
|
|
429
422
|
}
|
|
430
|
-
}),
|
|
423
|
+
}), he = /* @__PURE__ */ de(_e, [["__scopeId", "data-v-859a9f0c"]]);
|
|
431
424
|
export {
|
|
432
|
-
|
|
425
|
+
he as default
|
|
433
426
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as O, ref as C, computed as q, watch as $, resolveComponent as v, openBlock as _, createElementBlock as U, createElementVNode as g, createVNode as n, withCtx as d, createTextVNode as S, createCommentVNode as F, Fragment as M, renderList as G, createBlock as x, toDisplayString as D, unref as z } from "vue";
|
|
2
|
-
import { D as K } from "./index-
|
|
2
|
+
import { D as K } from "./index-CmKF2zdn.mjs";
|
|
3
3
|
import { fileApi as E } from "jmash-core";
|
|
4
4
|
const H = (a, h) => {
|
|
5
5
|
const s = a.__vccOpts || a;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.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%}.title-set[data-v-84542ec3]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-
|
|
1
|
+
.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%}.title-set[data-v-84542ec3]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-859a9f0c]{border:1px solid #ccc;margin-bottom:5px}.goods-title[data-v-859a9f0c]{display:flex;align-items:center;border-bottom:1px solid #ccc;padding:10px 20px}.goods-title .goods-delete[data-v-859a9f0c]{display:flex;align-items:center;margin-left:auto;color:red;font-size:14px}.goods-content[data-v-859a9f0c]{padding:10px 20px}.goods-tag[data-v-859a9f0c]{margin-bottom:10px}[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}
|
package/dts/api/dict.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class ShopInfoBizDict extends BizDict {
|
|
|
13
13
|
useValues(): Promise<Entry[]>;
|
|
14
14
|
}
|
|
15
15
|
export declare class GoodsCategoryListBizLayDict extends BizLayDict {
|
|
16
|
-
useValues(
|
|
16
|
+
useValues(): Promise<LayEntry[]>;
|
|
17
17
|
}
|
|
18
18
|
export declare class SpecInfoBizDict extends BizDict {
|
|
19
19
|
useValues(): Promise<Entry[]>;
|
|
@@ -49,7 +49,7 @@ export interface GoodsSpuKeyList extends EntityKeyList {
|
|
|
49
49
|
}
|
|
50
50
|
export interface GoodsSpuCreateReq extends EntityCreateReq {
|
|
51
51
|
shopId?: string;
|
|
52
|
-
categoryId?: string
|
|
52
|
+
categoryId?: Array<string>;
|
|
53
53
|
freightType?: string;
|
|
54
54
|
freightAmount?: number;
|
|
55
55
|
spuCode?: string;
|
|
@@ -67,7 +67,7 @@ export interface GoodsSpuCreateReq extends EntityCreateReq {
|
|
|
67
67
|
export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
68
68
|
spuId?: string;
|
|
69
69
|
shopId?: string;
|
|
70
|
-
categoryId?: string
|
|
70
|
+
categoryId?: Array<string>;
|
|
71
71
|
freightType?: string;
|
|
72
72
|
freightAmount?: number;
|
|
73
73
|
spuCode?: string;
|
|
@@ -7,10 +7,6 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
7
7
|
type: ObjectConstructor;
|
|
8
8
|
default: () => void;
|
|
9
9
|
};
|
|
10
|
-
isDisabled: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
11
|
getGoodsSku: (...args: any[]) => void;
|
|
16
12
|
getFormData: (...args: any[]) => void;
|
|
@@ -23,16 +19,11 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
23
19
|
type: ObjectConstructor;
|
|
24
20
|
default: () => void;
|
|
25
21
|
};
|
|
26
|
-
isDisabled: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
22
|
}>> & Readonly<{
|
|
31
23
|
onGetGoodsSku?: ((...args: any[]) => any) | undefined;
|
|
32
24
|
onGetFormData?: ((...args: any[]) => any) | undefined;
|
|
33
25
|
}>, {
|
|
34
26
|
form: Record<string, any>;
|
|
35
27
|
specType: string;
|
|
36
|
-
isDisabled: boolean;
|
|
37
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
29
|
export default _default;
|