xyvcard-goods 0.0.17 → 0.0.19

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.
@@ -1,43 +1,43 @@
1
- import { defineComponent as q, ref as k, computed as j, watch as F, resolveComponent as S, openBlock as f, createElementBlock as V, createVNode as i, withCtx as e, createTextVNode as n, toDisplayString as l, createElementVNode as a, unref as p, Fragment as C, renderList as P, createBlock as b, createCommentVNode as w } from "vue";
1
+ import { defineComponent as q, ref as y, computed as j, watch as F, resolveComponent as S, openBlock as p, createElementBlock as L, createVNode as i, withCtx as e, createTextVNode as n, toDisplayString as l, createElementVNode as a, Fragment as I, renderList as E, createBlock as k, unref as m, createCommentVNode as w } from "vue";
2
2
  import { fileApi as B, routerUtil as H } from "jmash-core";
3
3
  import { useRouter as O, useRoute as R } from "vue-router";
4
- import { D as m, C as N, S as Y } from "./index-CmKF2zdn.mjs";
5
- import { s as z } from "./skuTable-DbNThlFG.mjs";
4
+ import { D as _, C as N, S as Y } from "./index-CmKF2zdn.mjs";
5
+ import z from "./skuTable-B8v1DVIO.mjs";
6
6
  import { goodsSpuApi as G } from "./index.mjs";
7
7
  import { g as J } from "./index-BHmGYIuc.mjs";
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: "title-content" }, ae = { class: "cell-item" }, ie = { class: "cell-item" }, ne = { class: "cell-item" }, ce = { class: "cell-item" }, de = { class: "cell-item" }, re = { class: "cell-item" }, pe = ["innerHTML"], ye = /* @__PURE__ */ q({
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: "title-content" }, ae = { class: "cell-item" }, ie = { class: "cell-item" }, ne = { class: "cell-item" }, ce = { class: "cell-item" }, re = { class: "cell-item" }, de = { class: "cell-item" }, pe = ["innerHTML"], ke = /* @__PURE__ */ q({
9
9
  __name: "info",
10
10
  setup(me) {
11
- const U = O(), y = R(), u = k({}), I = k([]), g = k([]), E = k([]), D = k([]), $ = j(() => g.value.filter(
11
+ const U = O(), b = R(), u = y({}), D = y([]), g = y([]), $ = y([]), T = y([]), C = j(() => g.value.filter(
12
12
  (s) => s.name && s.specValueList != null && s.specValueList.length
13
13
  ));
14
14
  F(
15
- $,
15
+ C,
16
16
  (s) => s,
17
17
  {
18
18
  deep: !0,
19
19
  immediate: !0
20
20
  }
21
- ), m.shopInfoBizDict.useValues(), m.goodsCategoryListBizLayDict.useValues(), y.query.spuId && G.findById({ spuId: y.query.spuId }).then(({ data: s }) => {
21
+ ), _.shopInfoBizDict.useValues(), _.goodsCategoryListBizLayDict.useValues(), b.query.spuId && G.findById({ spuId: b.query.spuId }).then(({ data: s }) => {
22
22
  var c, v, o;
23
- u.value = Object.assign(u, s), I.value = (c = s.picUrls) == null ? void 0 : c.split(","), J.findById({ spuId: y.query.spuId }).then(({ data: r }) => {
24
- u.value.ensureIds = r.ensures;
25
- }), s.specType === N.SPEC_TYPE.MULTI_SPEC && (E.value = (v = s.skuList) == null ? void 0 : v.results, (o = s.skuList) == null || o.results.forEach((r) => {
26
- var d;
27
- (d = r.specValues) == null || d.map((h) => {
28
- m.specInfoDict.useValues().then((L) => {
29
- const t = L.find((_) => h.specId === _.key);
23
+ u.value = Object.assign(u, s), D.value = (c = s.picUrls) == null ? void 0 : c.split(","), J.findById({ spuId: b.query.spuId }).then(({ data: d }) => {
24
+ u.value.ensureIds = d.ensures;
25
+ }), s.specType === N.SPEC_TYPE.MULTI_SPEC && ($.value = (v = s.skuList) == null ? void 0 : v.results, (o = s.skuList) == null || o.results.forEach((d) => {
26
+ var r;
27
+ (r = d.specValues) == null || r.map((h) => {
28
+ _.specInfoDict.useValues().then((V) => {
29
+ const t = V.find((f) => h.specId === f.key);
30
30
  if (t) {
31
- let _ = {
31
+ let f = {
32
32
  id: h.specId,
33
33
  name: t.value,
34
34
  specValueList: []
35
35
  };
36
- g.value.push(_);
36
+ g.value.push(f);
37
37
  }
38
- const T = /* @__PURE__ */ new Map();
38
+ const P = /* @__PURE__ */ new Map();
39
39
  g.value = g.value.filter(
40
- (_) => !T.has(_.id) && T.set(_.id, _)
40
+ (f) => !P.has(f.id) && P.set(f.id, f)
41
41
  ), A(h.specValueId);
42
42
  });
43
43
  });
@@ -45,30 +45,30 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
45
45
  });
46
46
  function A(s) {
47
47
  g.value.forEach((c) => {
48
- D.value = new Y({ specId: c.id }), D.value.useValues().then((v) => {
48
+ T.value = new Y({ specId: c.id }), T.value.useValues().then((v) => {
49
49
  v.forEach((o) => {
50
50
  if (o.key === s) {
51
- let d = {
51
+ let r = {
52
52
  id: s,
53
53
  name: o.value
54
54
  };
55
- c.specValueList.push(d);
55
+ c.specValueList.push(r);
56
56
  }
57
- const r = /* @__PURE__ */ new Map();
57
+ const d = /* @__PURE__ */ new Map();
58
58
  c.specValueList = c.specValueList.filter(
59
- (d) => !r.has(d.id) && r.set(d.id, d)
59
+ (r) => !d.has(r.id) && d.set(r.id, r)
60
60
  );
61
61
  });
62
62
  });
63
63
  });
64
64
  }
65
65
  function M() {
66
- H.closeTagView(y.fullPath, U, !1);
66
+ H.closeTagView(b.fullPath, U, !1);
67
67
  }
68
68
  return (s, c) => {
69
- const v = S("el-button"), o = S("el-descriptions-item"), r = S("el-image"), d = S("el-tag"), h = S("el-descriptions"), L = S("el-card");
70
- return f(), V("div", K, [
71
- i(L, { shadow: "never" }, {
69
+ const v = S("el-button"), o = S("el-descriptions-item"), d = S("el-tag"), r = S("el-image"), h = S("el-descriptions"), V = S("el-card");
70
+ return p(), L("div", K, [
71
+ i(V, { shadow: "never" }, {
72
72
  header: e(() => [
73
73
  i(v, {
74
74
  type: "primary",
@@ -102,9 +102,15 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
102
102
  a("div", W, l(s.$t("goodsSpu.categoryId")), 1)
103
103
  ]),
104
104
  default: e(() => [
105
- n(" " + l(p(m).goodsCategoryListBizLayDict.getValue(
106
- u.value.categoryId
107
- )), 1)
105
+ (p(!0), L(I, null, E(u.value.categoryIds, (t) => (p(), k(d, {
106
+ key: t,
107
+ style: { "margin-right": "8px", "margin-bottom": "4px" }
108
+ }, {
109
+ default: e(() => [
110
+ n(l(m(_).goodsCategoryListBizLayDict.getValue(t) || t), 1)
111
+ ]),
112
+ _: 2
113
+ }, 1024))), 128))
108
114
  ]),
109
115
  _: 1
110
116
  }),
@@ -122,7 +128,7 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
122
128
  a("div", Z, l(s.$t("goodsSpu.freightType")), 1)
123
129
  ]),
124
130
  default: e(() => [
125
- n(" " + l(p(m).freightTypeEnum.getEnumValue(
131
+ n(" " + l(m(_).freightTypeEnum.getEnumValue(
126
132
  u.value.freightType
127
133
  )), 1)
128
134
  ]),
@@ -142,10 +148,10 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
142
148
  a("div", ee, l(s.$t("goodsSpu.picUrls")), 1)
143
149
  ]),
144
150
  default: e(() => [
145
- (f(!0), V(C, null, P(I.value, (t) => (f(), b(r, {
151
+ (p(!0), L(I, null, E(D.value, (t) => (p(), k(r, {
146
152
  key: t,
147
- src: p(B).imageUrl(t, 80, 80),
148
- "preview-src-list": [p(B).imageUrl(t)],
153
+ src: m(B).imageUrl(t, 80, 80),
154
+ "preview-src-list": [m(B).imageUrl(t)],
149
155
  "preview-teleported": "",
150
156
  "hide-on-click-modal": "",
151
157
  fit: "contain"
@@ -158,7 +164,7 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
158
164
  a("div", le, l(s.$t("goodsSpu.shelf")), 1)
159
165
  ]),
160
166
  default: e(() => [
161
- n(" " + l(p(m).shelfDict.getValue(u.value.shelf)), 1)
167
+ n(" " + l(m(_).shelfDict.getValue(u.value.shelf)), 1)
162
168
  ]),
163
169
  _: 1
164
170
  }),
@@ -185,12 +191,12 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
185
191
  a("div", oe, l(s.$t("goodsSpu.ensureIds")), 1)
186
192
  ]),
187
193
  default: e(() => [
188
- (f(!0), V(C, null, P(u.value.ensureIds, (t) => (f(), b(d, {
194
+ (p(!0), L(I, null, E(u.value.ensureIds, (t) => (p(), k(d, {
189
195
  type: "info",
190
196
  key: t
191
197
  }, {
192
198
  default: e(() => [
193
- n(l(p(m).goodsEnsureDict.getDictValue(t)), 1)
199
+ n(l(m(_).goodsEnsureDict.getDictValue(t)), 1)
194
200
  ]),
195
201
  _: 2
196
202
  }, 1024))), 128))
@@ -200,8 +206,8 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
200
206
  ]),
201
207
  _: 1
202
208
  }),
203
- a("div", ue, " 商品规格(" + l(p(m).specTypeEnum.getEnumValue(u.value.specType)) + ") ", 1),
204
- u.value.specType == p(N).SPEC_TYPE.UNIFIED_SPEC ? (f(), b(h, {
209
+ a("div", ue, " 商品规格(" + l(m(_).specTypeEnum.getEnumValue(u.value.specType)) + ") ", 1),
210
+ u.value.specType == m(N).SPEC_TYPE.UNIFIED_SPEC ? (p(), k(h, {
205
211
  key: 0,
206
212
  class: "margin-top",
207
213
  column: 2,
@@ -258,7 +264,7 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
258
264
  }),
259
265
  i(o, null, {
260
266
  label: e(() => [
261
- a("div", de, l(s.$t("goodsSpu.weight")), 1)
267
+ a("div", re, l(s.$t("goodsSpu.weight")), 1)
262
268
  ]),
263
269
  default: e(() => {
264
270
  var t;
@@ -270,7 +276,7 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
270
276
  }),
271
277
  i(o, null, {
272
278
  label: e(() => [
273
- a("div", re, l(s.$t("goodsSpu.volume")), 1)
279
+ a("div", de, l(s.$t("goodsSpu.volume")), 1)
274
280
  ]),
275
281
  default: e(() => {
276
282
  var t;
@@ -283,10 +289,10 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
283
289
  ]),
284
290
  _: 1
285
291
  })) : w("", !0),
286
- g.value.length > 0 ? (f(), b(z, {
292
+ g.value.length > 0 ? (p(), k(z, {
287
293
  key: 1,
288
- specData: $.value,
289
- goodsSku: E.value,
294
+ specData: C.value,
295
+ goodsSku: $.value,
290
296
  isSettingShow: !1
291
297
  }, null, 8, ["specData", "goodsSku"])) : w("", !0),
292
298
  c[1] || (c[1] = a("div", { class: "title-content" }, "商品描述", -1)),
@@ -302,5 +308,5 @@ const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "
302
308
  }
303
309
  });
304
310
  export {
305
- ye as default
311
+ ke as default
306
312
  };
@@ -1,6 +1,7 @@
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 k, computed as ue, 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 se, S as Y, a as ne } from "./index-CmKF2zdn.mjs";
3
+ import re from "./skuTable-B8v1DVIO.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"
@@ -30,7 +31,7 @@ const pe = { key: 0 }, ce = {
30
31
  volume: 0,
31
32
  stock: 0,
32
33
  skuCode: ""
33
- }), t = k([]), C = k(), V = k([]), b = k([]), L = k([]), v = H, $ = J, U = se(() => t.value.filter(
34
+ }), t = k([]), C = k(), V = k([]), b = k([]), L = k([]), v = H, $ = J, U = ue(() => t.value.filter(
34
35
  (e) => e.name && e.specValueList != null && e.specValueList.length
35
36
  ));
36
37
  I(
@@ -58,12 +59,12 @@ const pe = { key: 0 }, ce = {
58
59
  }
59
60
  ), 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) => {
60
61
  var l;
61
- (l = e.specValues) == null || l.map((s) => {
62
- ue.specInfoDict.useValues().then((n) => {
63
- const r = n.find((f) => s.specId === f.key);
62
+ (l = e.specValues) == null || l.map((u) => {
63
+ se.specInfoDict.useValues().then((n) => {
64
+ const r = n.find((f) => u.specId === f.key);
64
65
  if (r) {
65
66
  let f = {
66
- id: s.specId,
67
+ id: u.specId,
67
68
  name: r.value,
68
69
  specValueList: []
69
70
  };
@@ -72,14 +73,14 @@ const pe = { key: 0 }, ce = {
72
73
  const p = /* @__PURE__ */ new Map();
73
74
  t.value = t.value.filter(
74
75
  (f) => !p.has(f.id) && p.set(f.id, f)
75
- ), K(s.specValueId);
76
+ ), K(u.specValueId);
76
77
  });
77
78
  });
78
79
  })));
79
80
  function K(e) {
80
81
  t.value.forEach((l) => {
81
- V.value = new Y({ specId: l.id }), V.value.useValues().then((s) => {
82
- s.forEach((n) => {
82
+ V.value = new Y({ specId: l.id }), V.value.useValues().then((u) => {
83
+ u.forEach((n) => {
83
84
  if (n.key === e) {
84
85
  let p = {
85
86
  id: e,
@@ -104,36 +105,36 @@ const pe = { key: 0 }, ce = {
104
105
  function X() {
105
106
  b.value = new ne({ shopId: v.form.shopId }), b.value.useValues().then((e) => {
106
107
  e.forEach((l) => {
107
- Array.isArray(t.value) && t.value.length > 0 && t.value.forEach((s) => {
108
- l.key === s.id && (l.disabled = !0);
108
+ Array.isArray(t.value) && t.value.length > 0 && t.value.forEach((u) => {
109
+ l.key === u.id && (l.disabled = !0);
109
110
  });
110
111
  });
111
112
  });
112
113
  }
113
114
  function Z(e) {
114
- let l = b.value.values.filter((n) => n.key === e), s = {
115
+ let l = b.value.values.filter((n) => n.key === e), u = {
115
116
  id: l[0].key,
116
117
  name: l[0].value,
117
118
  specValueList: []
118
119
  };
119
- t.value.push(s), C.value = "";
120
+ t.value.push(u), C.value = "";
120
121
  }
121
122
  function z(e) {
122
123
  V.value = new Y({
123
124
  specId: t.value[e].id
124
125
  }), V.value.useValues().then((l) => {
125
- l.map((s) => {
126
+ l.map((u) => {
126
127
  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);
128
+ u.key === n.id && (u.disabled = !0);
128
129
  });
129
130
  });
130
131
  });
131
132
  }
132
133
  function x(e, l) {
133
134
  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
135
+ let u = V.value.values.filter((f) => f.key === e), n = {
136
+ id: u[0].key,
137
+ name: u[0].value
137
138
  };
138
139
  (p = (r = t.value[l]) == null ? void 0 : r.specValueList) == null || p.push(n), t.value[l].specValueId = "";
139
140
  }
@@ -141,7 +142,7 @@ const pe = { key: 0 }, ce = {
141
142
  $("getFormData", e);
142
143
  }
143
144
  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
+ const u = 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
146
  return m(), g(S, null, [
146
147
  v.specType == M(E).SPEC_TYPE.UNIFIED_SPEC ? (m(), g("div", pe, [
147
148
  o(p, null, {
@@ -153,9 +154,9 @@ const pe = { key: 0 }, ce = {
153
154
  prop: "salePrice"
154
155
  }, {
155
156
  default: a(() => [
156
- o(s, {
157
+ o(u, {
157
158
  modelValue: d.value.salePrice,
158
- "onUpdate:modelValue": l[0] || (l[0] = (u) => d.value.salePrice = u),
159
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => d.value.salePrice = s),
159
160
  precision: 2,
160
161
  step: 0,
161
162
  min: 0.01,
@@ -176,9 +177,9 @@ const pe = { key: 0 }, ce = {
176
177
  prop: "marketPrice"
177
178
  }, {
178
179
  default: a(() => [
179
- o(s, {
180
+ o(u, {
180
181
  modelValue: d.value.marketPrice,
181
- "onUpdate:modelValue": l[1] || (l[1] = (u) => d.value.marketPrice = u),
182
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => d.value.marketPrice = s),
182
183
  precision: 2,
183
184
  step: 0,
184
185
  min: 0.01,
@@ -199,9 +200,9 @@ const pe = { key: 0 }, ce = {
199
200
  prop: "costPrice"
200
201
  }, {
201
202
  default: a(() => [
202
- o(s, {
203
+ o(u, {
203
204
  modelValue: d.value.costPrice,
204
- "onUpdate:modelValue": l[2] || (l[2] = (u) => d.value.costPrice = u),
205
+ "onUpdate:modelValue": l[2] || (l[2] = (s) => d.value.costPrice = s),
205
206
  precision: 2,
206
207
  step: 0,
207
208
  min: 0.01,
@@ -222,9 +223,9 @@ const pe = { key: 0 }, ce = {
222
223
  prop: "stock"
223
224
  }, {
224
225
  default: a(() => [
225
- o(s, {
226
+ o(u, {
226
227
  modelValue: d.value.stock,
227
- "onUpdate:modelValue": l[3] || (l[3] = (u) => d.value.stock = u),
228
+ "onUpdate:modelValue": l[3] || (l[3] = (s) => d.value.stock = s),
228
229
  placeholder: e.$t("goodsSpu.stockRequired"),
229
230
  class: "w-full",
230
231
  controls: !1,
@@ -244,9 +245,9 @@ const pe = { key: 0 }, ce = {
244
245
  prop: "weight"
245
246
  }, {
246
247
  default: a(() => [
247
- o(s, {
248
+ o(u, {
248
249
  modelValue: d.value.weight,
249
- "onUpdate:modelValue": l[4] || (l[4] = (u) => d.value.weight = u),
250
+ "onUpdate:modelValue": l[4] || (l[4] = (s) => d.value.weight = s),
250
251
  placeholder: e.$t("goodsSpu.weightRequired"),
251
252
  class: "w-full",
252
253
  controls: !1,
@@ -265,9 +266,9 @@ const pe = { key: 0 }, ce = {
265
266
  prop: "volume"
266
267
  }, {
267
268
  default: a(() => [
268
- o(s, {
269
+ o(u, {
269
270
  modelValue: d.value.volume,
270
- "onUpdate:modelValue": l[5] || (l[5] = (u) => d.value.volume = u),
271
+ "onUpdate:modelValue": l[5] || (l[5] = (s) => d.value.volume = s),
271
272
  controls: !1,
272
273
  placeholder: e.$t("goodsSpu.volumeRequired"),
273
274
  class: "w-full",
@@ -288,12 +289,12 @@ const pe = { key: 0 }, ce = {
288
289
  default: a(() => [
289
290
  o(B, { label: "商品规格" }, {
290
291
  default: a(() => [
291
- (m(!0), g(S, null, y(t.value, (u, _) => (m(), g("div", {
292
+ (m(!0), g(S, null, y(t.value, (s, _) => (m(), g("div", {
292
293
  class: "goods-spec",
293
294
  key: _
294
295
  }, [
295
296
  h("div", ie, [
296
- h("span", null, O(u.name), 1),
297
+ h("span", null, O(s.name), 1),
297
298
  h("span", {
298
299
  class: "goods-delete",
299
300
  onClick: (c) => Q(_)
@@ -377,16 +378,16 @@ const pe = { key: 0 }, ce = {
377
378
  default: a(() => [
378
379
  o(j, {
379
380
  modelValue: C.value,
380
- "onUpdate:modelValue": l[6] || (l[6] = (u) => C.value = u),
381
+ "onUpdate:modelValue": l[6] || (l[6] = (s) => C.value = s),
381
382
  placeholder: e.$t("goodsSpu.specRequired"),
382
383
  onChange: Z
383
384
  }, {
384
385
  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
386
+ (m(!0), g(S, null, y(b.value.values, (s) => (m(), P(N, {
387
+ key: s.key,
388
+ label: s.value,
389
+ value: s.key,
390
+ disabled: s.disabled
390
391
  }, null, 8, ["label", "value", "disabled"]))), 128))
391
392
  ]),
392
393
  _: 1
@@ -420,7 +421,7 @@ const pe = { key: 0 }, ce = {
420
421
  ], 64);
421
422
  };
422
423
  }
423
- }), he = /* @__PURE__ */ de(_e, [["__scopeId", "data-v-859a9f0c"]]);
424
+ }), be = /* @__PURE__ */ de(_e, [["__scopeId", "data-v-859a9f0c"]]);
424
425
  export {
425
- he as default
426
+ be as default
426
427
  };