xyvcard-goods 0.0.18 → 0.0.20

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.
Files changed (40) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  2. package/dist/edit-Bb2XgE0h.mjs +590 -0
  3. package/dist/edit-BcokSKfN.mjs +183 -0
  4. package/dist/{edit-E57LIt5x.mjs → edit-Cj13W2TC.mjs} +1 -1
  5. package/dist/edit-DxnsmaXV.mjs +186 -0
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-BHplO2tN.mjs → edit.vue_vue_type_script_setup_true_lang-D2w1583D.mjs} +1 -1
  7. package/dist/{goodsList-0TMcPn_Q.mjs → goodsList-DOXK1EwK.mjs} +1 -1
  8. package/dist/goodsList.vue_vue_type_script_setup_true_lang-COJVlEjX.mjs +713 -0
  9. package/dist/index-BmOxm1P2.mjs +324 -0
  10. package/dist/index-C3FT_Oe7.mjs +318 -0
  11. package/dist/{index-CnyW3rxw.mjs → index-CGAoZY87.mjs} +2 -2
  12. package/dist/index-D3w33Nba.mjs +301 -0
  13. package/dist/{index-nSAowuoJ.mjs → index-DAJiqOCh.mjs} +2 -2
  14. package/dist/index-DR7GlHNd.mjs +1288 -0
  15. package/dist/index-jTDhsbYM.mjs +141 -0
  16. package/dist/index-r0u-27m7.mjs +141 -0
  17. package/dist/index.mjs +321 -284
  18. package/dist/info-DImlMNq0.mjs +365 -0
  19. package/dist/{skuForm-H9IDa7ys.mjs → skuForm-Bt3arW0s.mjs} +157 -108
  20. package/dist/skuTable-Ahc3WlPp.mjs +639 -0
  21. package/dist/style.css +1 -1
  22. package/dts/api/dict.d.ts +6 -0
  23. package/dts/api/goods-brand-info/index.d.ts +20 -0
  24. package/dts/api/goods-brand-info/types.d.ts +73 -0
  25. package/dts/api/goods-label-info/index.d.ts +20 -0
  26. package/dts/api/goods-label-info/types.d.ts +70 -0
  27. package/dts/api/goods-sku/types.d.ts +2 -0
  28. package/dts/api/goods-spu/types.d.ts +13 -0
  29. package/dts/api/index.d.ts +3 -1
  30. package/dts/lang/goods/zh-cn.d.ts +35 -0
  31. package/dts/views/goods/goods-brand-info/edit.vue.d.ts +22 -0
  32. package/dts/views/goods/goods-brand-info/index.vue.d.ts +2 -0
  33. package/dts/views/goods/goods-label-info/edit.vue.d.ts +22 -0
  34. package/dts/views/goods/goods-label-info/index.vue.d.ts +2 -0
  35. package/package.json +2 -2
  36. package/dist/edit-CYk6B5NG.mjs +0 -529
  37. package/dist/goodsList.vue_vue_type_script_setup_true_lang-Cd7-ryQA.mjs +0 -626
  38. package/dist/index-CmKF2zdn.mjs +0 -272
  39. package/dist/info-D6MWRZ1y.mjs +0 -306
  40. package/dist/skuTable-DbNThlFG.mjs +0 -553
@@ -1,10 +1,11 @@
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";
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-D3w33Nba.mjs";
3
+ import re from "./skuTable-Ahc3WlPp.mjs";
4
+ import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
5
  const pe = { key: 0 }, ce = {
5
6
  key: 1,
6
7
  class: "w-full"
7
- }, ie = { class: "goods-title" }, me = ["onClick"], fe = { class: "goods-content" }, ve = { class: "goods-tag" }, _e = /* @__PURE__ */ te({
8
+ }, ie = { class: "goods-title" }, me = ["onClick"], fe = { class: "goods-content" }, ve = { class: "goods-tag" }, Ve = /* @__PURE__ */ te({
8
9
  __name: "skuForm",
9
10
  props: {
10
11
  // 规格类型
@@ -20,66 +21,68 @@ const pe = { key: 0 }, ce = {
20
21
  },
21
22
  emits: ["getGoodsSku", "getFormData"],
22
23
  setup(H, { emit: J }) {
23
- var F, T, q;
24
- const d = k({
24
+ var F, q, T;
25
+ const r = S({
25
26
  picUrl: "",
26
27
  salePrice: 0,
28
+ salePriceV2: 0,
29
+ salePriceV3: 0,
27
30
  marketPrice: 0,
28
31
  costPrice: 0,
29
32
  weight: 0,
30
33
  volume: 0,
31
34
  stock: 0,
32
35
  skuCode: ""
33
- }), t = k([]), C = k(), V = k([]), b = k([]), L = k([]), v = H, $ = J, U = se(() => t.value.filter(
36
+ }), u = S([]), C = S(), _ = S([]), h = S([]), E = S([]), v = H, L = J, U = se(() => u.value.filter(
34
37
  (e) => e.name && e.specValueList != null && e.specValueList.length
35
38
  ));
36
- I(
39
+ $(
37
40
  v.form,
38
41
  (e) => e,
39
42
  {
40
43
  deep: !0,
41
44
  immediate: !0
42
45
  }
43
- ), I(
44
- d,
46
+ ), $(
47
+ r,
45
48
  (e) => {
46
- $("getGoodsSku", e);
49
+ L("getGoodsSku", e);
47
50
  },
48
51
  {
49
52
  deep: !0,
50
53
  immediate: !0
51
54
  }
52
- ), I(
55
+ ), $(
53
56
  U,
54
57
  (e) => e,
55
58
  {
56
59
  deep: !0,
57
60
  immediate: !0
58
61
  }
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) => {
62
+ ), v.form.spuId && (v.form.specType === D.SPEC_TYPE.UNIFIED_SPEC ? r.value = (F = v.form.skuList) == null ? void 0 : F.results[0] : (E.value = (q = v.form.skuList) == null ? void 0 : q.results, (T = v.form.skuList) == null || T.results.forEach((e) => {
60
63
  var l;
61
- (l = e.specValues) == null || l.map((s) => {
64
+ (l = e.specValues) == null || l.map((t) => {
62
65
  ue.specInfoDict.useValues().then((n) => {
63
- const r = n.find((f) => s.specId === f.key);
64
- if (r) {
66
+ const d = n.find((f) => t.specId === f.key);
67
+ if (d) {
65
68
  let f = {
66
- id: s.specId,
67
- name: r.value,
69
+ id: t.specId,
70
+ name: d.value,
68
71
  specValueList: []
69
72
  };
70
- t.value.push(f);
73
+ u.value.push(f);
71
74
  }
72
75
  const p = /* @__PURE__ */ new Map();
73
- t.value = t.value.filter(
76
+ u.value = u.value.filter(
74
77
  (f) => !p.has(f.id) && p.set(f.id, f)
75
- ), K(s.specValueId);
78
+ ), K(t.specValueId);
76
79
  });
77
80
  });
78
81
  })));
79
82
  function K(e) {
80
- t.value.forEach((l) => {
81
- V.value = new Y({ specId: l.id }), V.value.useValues().then((s) => {
82
- s.forEach((n) => {
83
+ u.value.forEach((l) => {
84
+ _.value = new Y({ specId: l.id }), _.value.useValues().then((t) => {
85
+ t.forEach((n) => {
83
86
  if (n.key === e) {
84
87
  let p = {
85
88
  id: e,
@@ -87,75 +90,75 @@ const pe = { key: 0 }, ce = {
87
90
  };
88
91
  l.specValueList.push(p);
89
92
  }
90
- const r = /* @__PURE__ */ new Map();
93
+ const d = /* @__PURE__ */ new Map();
91
94
  l.specValueList = l.specValueList.filter(
92
- (p) => !r.has(p.id) && r.set(p.id, p)
95
+ (p) => !d.has(p.id) && d.set(p.id, p)
93
96
  );
94
97
  });
95
98
  });
96
99
  });
97
100
  }
98
101
  function Q(e) {
99
- t.value.splice(e, 1);
102
+ u.value.splice(e, 1);
100
103
  }
101
104
  function W(e, l) {
102
- t.value[e].specValueList.splice(l, 1);
105
+ u.value[e].specValueList.splice(l, 1);
103
106
  }
104
107
  function X() {
105
- b.value = new ne({ shopId: v.form.shopId }), b.value.useValues().then((e) => {
108
+ h.value = new ne({ shopId: v.form.shopId }), h.value.useValues().then((e) => {
106
109
  e.forEach((l) => {
107
- Array.isArray(t.value) && t.value.length > 0 && t.value.forEach((s) => {
108
- l.key === s.id && (l.disabled = !0);
110
+ Array.isArray(u.value) && u.value.length > 0 && u.value.forEach((t) => {
111
+ l.key === t.id && (l.disabled = !0);
109
112
  });
110
113
  });
111
114
  });
112
115
  }
113
116
  function Z(e) {
114
- let l = b.value.values.filter((n) => n.key === e), s = {
117
+ let l = h.value.values.filter((n) => n.key === e), t = {
115
118
  id: l[0].key,
116
119
  name: l[0].value,
117
120
  specValueList: []
118
121
  };
119
- t.value.push(s), C.value = "";
122
+ u.value.push(t), C.value = "";
120
123
  }
121
124
  function z(e) {
122
- V.value = new Y({
123
- specId: t.value[e].id
124
- }), V.value.useValues().then((l) => {
125
- l.map((s) => {
126
- Array.isArray(t.value[e].specValueList) && t.value[e].specValueList.length > 0 && t.value[e].specValueList.forEach((n) => {
127
- s.key === n.id && (s.disabled = !0);
125
+ _.value = new Y({
126
+ specId: u.value[e].id
127
+ }), _.value.useValues().then((l) => {
128
+ l.map((t) => {
129
+ Array.isArray(u.value[e].specValueList) && u.value[e].specValueList.length > 0 && u.value[e].specValueList.forEach((n) => {
130
+ t.key === n.id && (t.disabled = !0);
128
131
  });
129
132
  });
130
133
  });
131
134
  }
132
135
  function x(e, l) {
133
- var r, p;
134
- let s = V.value.values.filter((f) => f.key === e), n = {
135
- id: s[0].key,
136
- name: s[0].value
136
+ var d, p;
137
+ let t = _.value.values.filter((f) => f.key === e), n = {
138
+ id: t[0].key,
139
+ name: t[0].value
137
140
  };
138
- (p = (r = t.value[l]) == null ? void 0 : r.specValueList) == null || p.push(n), t.value[l].specValueId = "";
141
+ (p = (d = u.value[l]) == null ? void 0 : d.specValueList) == null || p.push(n), u.value[l].specValueId = "";
139
142
  }
140
143
  function ee(e) {
141
- $("getFormData", e);
144
+ L("getFormData", e);
142
145
  }
143
146
  return (e, l) => {
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, [
147
+ const t = i("el-input-number"), n = i("el-form-item"), d = 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");
148
+ return m(), g(b, null, [
149
+ v.specType == M(D).SPEC_TYPE.UNIFIED_SPEC ? (m(), g("div", pe, [
147
150
  o(p, null, {
148
151
  default: a(() => [
149
- o(r, { span: 8 }, {
152
+ o(d, { span: 6 }, {
150
153
  default: a(() => [
151
154
  o(n, {
152
155
  label: e.$t("goodsSpu.salePrice"),
153
156
  prop: "salePrice"
154
157
  }, {
155
158
  default: a(() => [
156
- o(s, {
157
- modelValue: d.value.salePrice,
158
- "onUpdate:modelValue": l[0] || (l[0] = (u) => d.value.salePrice = u),
159
+ o(t, {
160
+ modelValue: r.value.salePrice,
161
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => r.value.salePrice = s),
159
162
  precision: 2,
160
163
  step: 0,
161
164
  min: 0.01,
@@ -169,16 +172,62 @@ const pe = { key: 0 }, ce = {
169
172
  ]),
170
173
  _: 1
171
174
  }),
172
- o(r, { span: 8 }, {
175
+ o(d, { span: 6 }, {
176
+ default: a(() => [
177
+ o(n, {
178
+ label: e.$t("goodsSpu.salePriceV2"),
179
+ prop: "salePriceV2"
180
+ }, {
181
+ default: a(() => [
182
+ o(t, {
183
+ modelValue: r.value.salePriceV2,
184
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => r.value.salePriceV2 = s),
185
+ precision: 2,
186
+ step: 0,
187
+ min: 0.01,
188
+ placeholder: e.$t("goodsSpu.salePriceV2Required"),
189
+ class: "w-full",
190
+ controls: !1
191
+ }, null, 8, ["modelValue", "placeholder"])
192
+ ]),
193
+ _: 1
194
+ }, 8, ["label"])
195
+ ]),
196
+ _: 1
197
+ }),
198
+ o(d, { span: 6 }, {
199
+ default: a(() => [
200
+ o(n, {
201
+ label: e.$t("goodsSpu.salePriceV3"),
202
+ prop: "salePriceV3"
203
+ }, {
204
+ default: a(() => [
205
+ o(t, {
206
+ modelValue: r.value.salePriceV3,
207
+ "onUpdate:modelValue": l[2] || (l[2] = (s) => r.value.salePriceV3 = s),
208
+ precision: 2,
209
+ step: 0,
210
+ min: 0.01,
211
+ placeholder: e.$t("goodsSpu.salePriceV3Required"),
212
+ class: "w-full",
213
+ controls: !1
214
+ }, null, 8, ["modelValue", "placeholder"])
215
+ ]),
216
+ _: 1
217
+ }, 8, ["label"])
218
+ ]),
219
+ _: 1
220
+ }),
221
+ o(d, { span: 6 }, {
173
222
  default: a(() => [
174
223
  o(n, {
175
224
  label: e.$t("goodsSpu.marketPrice"),
176
225
  prop: "marketPrice"
177
226
  }, {
178
227
  default: a(() => [
179
- o(s, {
180
- modelValue: d.value.marketPrice,
181
- "onUpdate:modelValue": l[1] || (l[1] = (u) => d.value.marketPrice = u),
228
+ o(t, {
229
+ modelValue: r.value.marketPrice,
230
+ "onUpdate:modelValue": l[3] || (l[3] = (s) => r.value.marketPrice = s),
182
231
  precision: 2,
183
232
  step: 0,
184
233
  min: 0.01,
@@ -192,16 +241,16 @@ const pe = { key: 0 }, ce = {
192
241
  ]),
193
242
  _: 1
194
243
  }),
195
- o(r, { span: 8 }, {
244
+ o(d, { span: 6 }, {
196
245
  default: a(() => [
197
246
  o(n, {
198
247
  label: e.$t("goodsSpu.costPrice"),
199
248
  prop: "costPrice"
200
249
  }, {
201
250
  default: a(() => [
202
- o(s, {
203
- modelValue: d.value.costPrice,
204
- "onUpdate:modelValue": l[2] || (l[2] = (u) => d.value.costPrice = u),
251
+ o(t, {
252
+ modelValue: r.value.costPrice,
253
+ "onUpdate:modelValue": l[4] || (l[4] = (s) => r.value.costPrice = s),
205
254
  precision: 2,
206
255
  step: 0,
207
256
  min: 0.01,
@@ -215,16 +264,16 @@ const pe = { key: 0 }, ce = {
215
264
  ]),
216
265
  _: 1
217
266
  }),
218
- o(r, { span: 8 }, {
267
+ o(d, { span: 6 }, {
219
268
  default: a(() => [
220
269
  o(n, {
221
270
  label: e.$t("goodsSpu.stock"),
222
271
  prop: "stock"
223
272
  }, {
224
273
  default: a(() => [
225
- o(s, {
226
- modelValue: d.value.stock,
227
- "onUpdate:modelValue": l[3] || (l[3] = (u) => d.value.stock = u),
274
+ o(t, {
275
+ modelValue: r.value.stock,
276
+ "onUpdate:modelValue": l[5] || (l[5] = (s) => r.value.stock = s),
228
277
  placeholder: e.$t("goodsSpu.stockRequired"),
229
278
  class: "w-full",
230
279
  controls: !1,
@@ -237,16 +286,16 @@ const pe = { key: 0 }, ce = {
237
286
  ]),
238
287
  _: 1
239
288
  }),
240
- o(r, { span: 8 }, {
289
+ o(d, { span: 6 }, {
241
290
  default: a(() => [
242
291
  o(n, {
243
292
  label: e.$t("goodsSpu.weight"),
244
293
  prop: "weight"
245
294
  }, {
246
295
  default: a(() => [
247
- o(s, {
248
- modelValue: d.value.weight,
249
- "onUpdate:modelValue": l[4] || (l[4] = (u) => d.value.weight = u),
296
+ o(t, {
297
+ modelValue: r.value.weight,
298
+ "onUpdate:modelValue": l[6] || (l[6] = (s) => r.value.weight = s),
250
299
  placeholder: e.$t("goodsSpu.weightRequired"),
251
300
  class: "w-full",
252
301
  controls: !1,
@@ -258,16 +307,16 @@ const pe = { key: 0 }, ce = {
258
307
  ]),
259
308
  _: 1
260
309
  }),
261
- o(r, { span: 8 }, {
310
+ o(d, { span: 6 }, {
262
311
  default: a(() => [
263
312
  o(n, {
264
313
  label: e.$t("goodsSpu.volume"),
265
314
  prop: "volume"
266
315
  }, {
267
316
  default: a(() => [
268
- o(s, {
269
- modelValue: d.value.volume,
270
- "onUpdate:modelValue": l[5] || (l[5] = (u) => d.value.volume = u),
317
+ o(t, {
318
+ modelValue: r.value.volume,
319
+ "onUpdate:modelValue": l[7] || (l[7] = (s) => r.value.volume = s),
271
320
  controls: !1,
272
321
  placeholder: e.$t("goodsSpu.volumeRequired"),
273
322
  class: "w-full",
@@ -282,21 +331,21 @@ const pe = { key: 0 }, ce = {
282
331
  ]),
283
332
  _: 1
284
333
  })
285
- ])) : D("", !0),
286
- v.specType == M(E).SPEC_TYPE.MULTI_SPEC ? (m(), g("div", ce, [
334
+ ])) : I("", !0),
335
+ v.specType == M(D).SPEC_TYPE.MULTI_SPEC ? (m(), g("div", ce, [
287
336
  o(G, { type: "border-card" }, {
288
337
  default: a(() => [
289
338
  o(B, { label: "商品规格" }, {
290
339
  default: a(() => [
291
- (m(!0), g(S, null, y(t.value, (u, _) => (m(), g("div", {
340
+ (m(!0), g(b, null, P(u.value, (s, V) => (m(), g("div", {
292
341
  class: "goods-spec",
293
- key: _
342
+ key: V
294
343
  }, [
295
- h("div", ie, [
296
- h("span", null, O(u.name), 1),
297
- h("span", {
344
+ k("div", ie, [
345
+ k("span", null, O(s.name), 1),
346
+ k("span", {
298
347
  class: "goods-delete",
299
- onClick: (c) => Q(_)
348
+ onClick: (c) => Q(V)
300
349
  }, [
301
350
  o(le, null, {
302
351
  default: a(() => [
@@ -304,20 +353,20 @@ const pe = { key: 0 }, ce = {
304
353
  ]),
305
354
  _: 1
306
355
  }),
307
- l[7] || (l[7] = w("移除 "))
356
+ l[9] || (l[9] = y("移除 "))
308
357
  ], 8, me)
309
358
  ]),
310
- h("div", fe, [
311
- h("div", ve, [
312
- (m(!0), g(S, null, y(t.value[_].specValueList, (c, ae) => (m(), P(oe, {
359
+ k("div", fe, [
360
+ k("div", ve, [
361
+ (m(!0), g(b, null, P(u.value[V].specValueList, (c, ae) => (m(), w(oe, {
313
362
  key: c,
314
363
  closable: "",
315
364
  type: "info",
316
365
  class: "right-dis",
317
- onClose: (ge) => W(_, ae)
366
+ onClose: (ge) => W(V, ae)
318
367
  }, {
319
368
  default: a(() => [
320
- w(O(c.name), 1)
369
+ y(O(c.name), 1)
321
370
  ]),
322
371
  _: 2
323
372
  }, 1032, ["onClose"]))), 128))
@@ -326,26 +375,26 @@ const pe = { key: 0 }, ce = {
326
375
  placement: "bottom",
327
376
  width: 200,
328
377
  trigger: "click",
329
- onShow: (c) => z(_)
378
+ onShow: (c) => z(V)
330
379
  }, {
331
380
  reference: a(() => [
332
381
  o(R, { class: "m-2" }, {
333
- default: a(() => l[8] || (l[8] = [
334
- w("添加规格值")
382
+ default: a(() => l[10] || (l[10] = [
383
+ y("添加规格值")
335
384
  ])),
336
385
  _: 1,
337
- __: [8]
386
+ __: [10]
338
387
  })
339
388
  ]),
340
389
  default: a(() => [
341
390
  o(j, {
342
- modelValue: t.value[_].specValueId,
343
- "onUpdate:modelValue": (c) => t.value[_].specValueId = c,
391
+ modelValue: u.value[V].specValueId,
392
+ "onUpdate:modelValue": (c) => u.value[V].specValueId = c,
344
393
  placeholder: e.$t("goodsSpu.specValueRequired"),
345
- onChange: (c) => x(c, _)
394
+ onChange: (c) => x(c, V)
346
395
  }, {
347
396
  default: a(() => [
348
- (m(!0), g(S, null, y(V.value.values, (c) => (m(), P(N, {
397
+ (m(!0), g(b, null, P(_.value.values, (c) => (m(), w(N, {
349
398
  key: c.key,
350
399
  label: c.value,
351
400
  value: c.key,
@@ -367,26 +416,26 @@ const pe = { key: 0 }, ce = {
367
416
  }, {
368
417
  reference: a(() => [
369
418
  o(R, { class: "m-2" }, {
370
- default: a(() => l[9] || (l[9] = [
371
- w("添加规格")
419
+ default: a(() => l[11] || (l[11] = [
420
+ y("添加规格")
372
421
  ])),
373
422
  _: 1,
374
- __: [9]
423
+ __: [11]
375
424
  })
376
425
  ]),
377
426
  default: a(() => [
378
427
  o(j, {
379
428
  modelValue: C.value,
380
- "onUpdate:modelValue": l[6] || (l[6] = (u) => C.value = u),
429
+ "onUpdate:modelValue": l[8] || (l[8] = (s) => C.value = s),
381
430
  placeholder: e.$t("goodsSpu.specRequired"),
382
431
  onChange: Z
383
432
  }, {
384
433
  default: a(() => [
385
- (m(!0), g(S, null, y(b.value.values, (u) => (m(), P(N, {
386
- key: u.key,
387
- label: u.value,
388
- value: u.key,
389
- disabled: u.disabled
434
+ (m(!0), g(b, null, P(h.value.values, (s) => (m(), w(N, {
435
+ key: s.key,
436
+ label: s.value,
437
+ value: s.key,
438
+ disabled: s.disabled
390
439
  }, null, 8, ["label", "value", "disabled"]))), 128))
391
440
  ]),
392
441
  _: 1
@@ -404,23 +453,23 @@ const pe = { key: 0 }, ce = {
404
453
  default: a(() => [
405
454
  o(B, { label: "规格售价与库存" }, {
406
455
  default: a(() => [
407
- t.value.length > 0 ? (m(), P(re, {
456
+ u.value.length > 0 ? (m(), w(re, {
408
457
  key: 0,
409
458
  specData: U.value,
410
- goodsSku: L.value,
459
+ goodsSku: E.value,
411
460
  onGetFormData: ee
412
- }, null, 8, ["specData", "goodsSku"])) : D("", !0)
461
+ }, null, 8, ["specData", "goodsSku"])) : I("", !0)
413
462
  ]),
414
463
  _: 1
415
464
  })
416
465
  ]),
417
466
  _: 1
418
467
  })
419
- ])) : D("", !0)
468
+ ])) : I("", !0)
420
469
  ], 64);
421
470
  };
422
471
  }
423
- }), he = /* @__PURE__ */ de(_e, [["__scopeId", "data-v-859a9f0c"]]);
472
+ }), he = /* @__PURE__ */ de(Ve, [["__scopeId", "data-v-e6aa4b01"]]);
424
473
  export {
425
474
  he as default
426
475
  };