xyvcard-goods 0.0.26 → 0.0.27

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 (29) hide show
  1. package/dist/{ImageUpload-Dk6GY6PA.mjs → ImageUpload-BMw9FVJL.mjs} +2 -2
  2. package/dist/{edit-eAHVEi0b.mjs → edit-C6CESv8X.mjs} +3 -3
  3. package/dist/{edit-C5HGHhkb.mjs → edit-CuYE3fHS.mjs} +3 -3
  4. package/dist/{edit-DrbsKmwh.mjs → edit-CvY-V0N5.mjs} +30 -30
  5. package/dist/{edit-Xn_nZjI6.mjs → edit-CwYGsVHI.mjs} +6 -6
  6. package/dist/{edit-Cb0aaC0q.mjs → edit-DmT9V-gh.mjs} +1 -1
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-DBG-5gI4.mjs → edit.vue_vue_type_script_setup_true_lang-DfFKgB6q.mjs} +76 -74
  8. package/dist/{goodsList-CDQZGSh2.mjs → goodsList-Bj9pZI5X.mjs} +1 -1
  9. package/dist/{goodsList-CKCG7ntZ.mjs → goodsList-v98w-P_d.mjs} +1 -1
  10. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-DiRkiNJk.mjs → goodsList.vue_vue_type_script_setup_true_lang-BsItIhFh.mjs} +3 -3
  11. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-B6P3fso6.mjs → goodsList.vue_vue_type_script_setup_true_lang-QHlAuCT3.mjs} +3 -3
  12. package/dist/{index-B8IdlGiz.mjs → index-0g53MREL.mjs} +14 -14
  13. package/dist/{index-CMkWXcWe.mjs → index-B0qodJxZ.mjs} +2 -2
  14. package/dist/{index-CSeu2TZT.mjs → index-BrR_OdFN.mjs} +3 -3
  15. package/dist/{index-DSbkvzGV.mjs → index-CXEbqy-N.mjs} +14 -14
  16. package/dist/{index-utNcRJx7.mjs → index-CXtRrzoC.mjs} +2001 -1878
  17. package/dist/{index-Bz206T2E.mjs → index-D7Zknkay.mjs} +14 -14
  18. package/dist/{index-CDhEKnzj.mjs → index-DWtdS9Gu.mjs} +3 -3
  19. package/dist/{index-D70qzGQF.mjs → index-szFiZJnI.mjs} +1 -1
  20. package/dist/index.mjs +1 -1
  21. package/dist/{info-CX3zF0ZW.mjs → info-Bn5lfzNP.mjs} +4 -4
  22. package/dist/{info-Dlte8Sn0.mjs → info-PRjY0AD1.mjs} +111 -105
  23. package/dist/{skuForm-DUR7U2Kn.mjs → skuForm-DF02pgox.mjs} +101 -98
  24. package/dist/{skuForm-B_8WQCr3.mjs → skuForm-EQVH7pCG.mjs} +6 -6
  25. package/dist/{skuTable-D4LGL7B5.mjs → skuTable-DWpm1OMq.mjs} +4 -4
  26. package/dist/style.css +1 -1
  27. package/dts/api/goods-spu/types.d.ts +1 -0
  28. package/package.json +62 -62
  29. package/dts/views/goods/goods-combination/skuTable.vue.d.ts +0 -40
@@ -1,9 +1,9 @@
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";
1
+ import { defineComponent as x, ref as B, reactive as N, onActivated as ee, resolveComponent as r, resolveDirective as oe, createElementBlock as V, openBlock as u, createElementVNode as I, createVNode as t, createBlock as k, createCommentVNode as R, withCtx as l, withKeys as te, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as w, isRef 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-D70qzGQF.mjs";
5
- import re from "./edit-eAHVEi0b.mjs";
6
- import { D as de } from "./index-CMkWXcWe.mjs";
4
+ import { g as ne } from "./index-szFiZJnI.mjs";
5
+ import re from "./edit-C6CESv8X.mjs";
6
+ import { D as de } from "./index-B0qodJxZ.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) {
@@ -180,7 +180,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
180
180
  default: l(() => [
181
181
  t(_, { span: 17 }, {
182
182
  default: l(() => [
183
- k((u(), w(v, {
183
+ w((u(), k(v, {
184
184
  type: "primary",
185
185
  onClick: q
186
186
  }, {
@@ -191,7 +191,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
191
191
  })), [
192
192
  [y, ["goods:goods_brand_info:add"]]
193
193
  ]),
194
- k((u(), w(v, {
194
+ w((u(), k(v, {
195
195
  type: "primary",
196
196
  onClick: o[5] || (o[5] = (e) => n(d).deleteRecords())
197
197
  }, {
@@ -212,7 +212,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
212
212
  default: l(() => [
213
213
  t(M, {
214
214
  modelValue: n(f),
215
- "onUpdate:modelValue": o[6] || (o[6] = (e) => R(f) ? f.value = e : f = e),
215
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => T(f) ? f.value = e : f = e),
216
216
  "label-name": "goods/goods-brand-info"
217
217
  }, null, 8, ["modelValue"])
218
218
  ]),
@@ -223,16 +223,16 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
223
223
  })
224
224
  ]),
225
225
  footer: l(() => [
226
- n(b) > 0 ? (u(), w(Y, {
226
+ n(b) > 0 ? (u(), k(Y, {
227
227
  key: 0,
228
228
  total: n(b),
229
- "onUpdate:total": o[7] || (o[7] = (e) => R(b) ? b.value = e : null),
229
+ "onUpdate:total": o[7] || (o[7] = (e) => T(b) ? b.value = e : null),
230
230
  "current-page": s.value.curPage,
231
231
  "onUpdate:currentPage": o[8] || (o[8] = (e) => s.value.curPage = e),
232
232
  "page-size": s.value.pageSize,
233
233
  "onUpdate:pageSize": o[9] || (o[9] = (e) => s.value.pageSize = e),
234
234
  onPagination: o[10] || (o[10] = (e) => n(d).getList())
235
- }, null, 8, ["total", "current-page", "page-size"])) : T("", !0)
235
+ }, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
236
236
  ]),
237
237
  default: l(() => [
238
238
  t(X, {
@@ -284,7 +284,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
284
284
  ])
285
285
  ]),
286
286
  operation: l((e) => [
287
- k((u(), V("span", {
287
+ w((u(), V("span", {
288
288
  class: "el-button-color",
289
289
  onClick: (m) => L(e.data.row)
290
290
  }, [
@@ -292,7 +292,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
292
292
  ], 8, ue)), [
293
293
  [y, ["goods:goods_brand_info:update"]]
294
294
  ]),
295
- k((u(), V("span", {
295
+ w((u(), V("span", {
296
296
  class: "el-button-color dropdown-left",
297
297
  onClick: (m) => n(d).deleteRecord(e.data.row)
298
298
  }, [
@@ -306,7 +306,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
306
306
  ]),
307
307
  _: 1
308
308
  }),
309
- i.value.visible ? (u(), w(re, {
309
+ i.value.visible ? (u(), k(re, {
310
310
  key: 0,
311
311
  modelValue: i.value.visible,
312
312
  "onUpdate:modelValue": o[11] || (o[11] = (e) => i.value.visible = e),
@@ -314,7 +314,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
314
314
  "entity-key": n(h),
315
315
  onRefresh: K,
316
316
  width: "500px"
317
- }, null, 8, ["modelValue", "title", "entity-key"])) : T("", !0)
317
+ }, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0)
318
318
  ]);
319
319
  };
320
320
  }
@@ -1,7 +1,7 @@
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";
1
+ import { defineComponent as v, ref as b, onMounted as h, resolveComponent as u, createElementBlock as c, openBlock as t, 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-CMkWXcWe.mjs";
4
- import { _ as L } from "./goodsList.vue_vue_type_script_setup_true_lang-B6P3fso6.mjs";
3
+ import { D as i } from "./index-B0qodJxZ.mjs";
4
+ import { _ as L } from "./goodsList.vue_vue_type_script_setup_true_lang-QHlAuCT3.mjs";
5
5
  const N = { class: "app-container" }, E = /* @__PURE__ */ v({
6
6
  __name: "index",
7
7
  setup(T) {
@@ -1,5 +1,5 @@
1
1
  import { useUserStore as e, clearEmpty as s, request as r } from "jmash-core";
2
- import { q as d } from "./index-utNcRJx7.mjs";
2
+ import { q as d } from "./index-CXtRrzoC.mjs";
3
3
  class u {
4
4
  getKey(t) {
5
5
  return {
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "jmash-core";
2
- import { c as p, g, b as d, a as e } from "./index-utNcRJx7.mjs";
2
+ import { c as p, g, b as d, a as e } from "./index-CXtRrzoC.mjs";
3
3
  export {
4
4
  p as default,
5
5
  g as goodsCategoryApi,
@@ -1,9 +1,9 @@
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";
1
+ import { defineComponent as M, ref as y, computed as q, watch as j, resolveComponent as b, createElementBlock as k, openBlock as r, createVNode as i, withCtx as e, createElementVNode as a, createBlock as S, createCommentVNode as B, createTextVNode as n, toDisplayString as s, Fragment as L, renderList as I, unref as _ } 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-CMkWXcWe.mjs";
5
- import Y from "./skuTable-D4LGL7B5.mjs";
6
- import { a as G } from "./index-utNcRJx7.mjs";
4
+ import { D as d, C as N, S as R } from "./index-B0qodJxZ.mjs";
5
+ import Y from "./skuTable-DWpm1OMq.mjs";
6
+ import { a as G } from "./index-CXtRrzoC.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,15 +1,15 @@
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
- import { fileApi as P, routerUtil as R } from "jmash-core";
1
+ import { defineComponent as M, ref as b, resolveComponent as f, createElementBlock as k, openBlock as _, createVNode as o, withCtx as t, createElementVNode as d, createTextVNode as p, toDisplayString as u, Fragment as C, renderList as V, createBlock as D, unref as m } from "vue";
2
+ import { fileApi as S, 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-CMkWXcWe.mjs";
5
- import { a as L } from "./index-utNcRJx7.mjs";
4
+ import { D as y, C as U } from "./index-B0qodJxZ.mjs";
5
+ import { a as L } from "./index-CXtRrzoC.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",
9
9
  setup(ae) {
10
- const O = j(), b = G(), d = v({}), $ = v([]), B = v({}), N = v([]);
10
+ const O = j(), P = G(), r = b({}), $ = b([]), B = b({}), N = b([]);
11
11
  y.goodsCategoryListBizLayDict.useValues(), y.labelListBizDict.useValues(), y.goodsSpuBizDict.useValues();
12
- const U = v([
12
+ const h = b([
13
13
  {
14
14
  salePrice: 0,
15
15
  skuId: "",
@@ -21,52 +21,58 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
21
21
  skuOptions: []
22
22
  }
23
23
  ]);
24
- b.query.spuId && (L.findById({ spuId: b.query.spuId }).then(({ data: s }) => {
24
+ P.query.spuId && (L.findById({ spuId: P.query.spuId }).then(({ data: s }) => {
25
25
  var e;
26
- d.value = Object.assign(d, s), $.value = (e = s.picUrls) == null ? void 0 : e.split(",");
27
- }), L.findGroupList({ goodsId: b.query.spuId }).then(({ data: s }) => {
26
+ r.value = Object.assign(r, s), $.value = (e = s.picUrls) == null ? void 0 : e.split(",");
27
+ }), L.findGroupList({ goodsId: P.query.spuId }).then(({ data: s }) => {
28
+ if (r.value.specType === U.SPEC_TYPE.UNIFIED_SPEC) {
29
+ s.results.forEach((e) => {
30
+ e.specType = r.value.specType;
31
+ }), h.value = s.results;
32
+ return;
33
+ }
28
34
  if (s && s.results.length > 0) {
29
- U.value = [];
30
- const e = s.results.map(async (t) => {
35
+ h.value = [];
36
+ const e = s.results.map(async (l) => {
31
37
  const i = {
32
- salePrice: t.salePrice || 0,
33
- skuId: t.skuId || "",
34
- spuId: t.spuId || "",
35
- saleNum: t.saleNum || 0,
36
- picUrl: t.picUrl || "",
38
+ salePrice: l.salePrice || 0,
39
+ skuId: l.skuId || "",
40
+ spuId: l.spuId || "",
41
+ saleNum: l.saleNum || 0,
42
+ picUrl: l.picUrl || "",
37
43
  specType: "",
38
44
  skuOptions: []
39
45
  };
40
- return await A(t.spuId, i), i.specType === S.SPEC_TYPE.MULTI_SPEC && t.skuId && (i.skuId = t.skuId || "", i.salePrice = t.salePrice || 0, i.saleNum = t.saleNum || 0, i.picUrl = t.picUrl || "", z(t.skuId)), i;
46
+ return await A(l.spuId, i), i.specType === U.SPEC_TYPE.MULTI_SPEC && l.skuId && (i.skuId = l.skuId || "", i.salePrice = l.salePrice || 0, i.saleNum = l.saleNum || 0, i.picUrl = l.picUrl || "", z(l.skuId)), i;
41
47
  });
42
- Promise.all(e).then((t) => {
43
- U.value = t;
48
+ Promise.all(e).then((l) => {
49
+ console.log(l), h.value = l;
44
50
  });
45
51
  }
46
52
  }));
47
53
  async function A(s, e) {
48
- var t, i, h;
54
+ var l, i, I;
49
55
  if (e.skuId = "", e.skuOptions = [], e.picUrl = "", e.salePrice = 0, e.saleNum = 0, !s) {
50
56
  e.skuId = "", e.picUrl = "", e.salePrice = 0, e.saleNum = 0, e.skuOptions = [];
51
57
  return;
52
58
  }
53
59
  try {
54
60
  const { data: c } = await L.findById({ spuId: s });
55
- if (e.specType = c.specType, e.specType === S.SPEC_TYPE.UNIFIED_SPEC && (e.picUrl = c.picUrls ? c.picUrls.split(",")[0] : "", e.salePrice = (t = c.skuList) == null ? void 0 : t.results[0].salePrice, e.saleNum = (i = c.skuList) == null ? void 0 : i.results[0].stock, e.skuId = (h = c.skuList) == null ? void 0 : h.results[0].skuId), e.specType === S.SPEC_TYPE.MULTI_SPEC && c.skuList) {
56
- const I = c.skuList.results, g = I.map((n) => n.specValues && Array.isArray(n.specValues) ? n.specValues.map(
61
+ if (e.specType = c.specType, e.specType === U.SPEC_TYPE.UNIFIED_SPEC && (e.picUrl = c.picUrls ? c.picUrls.split(",")[0] : "", e.salePrice = (l = c.skuList) == null ? void 0 : l.results[0].salePrice, e.saleNum = (i = c.skuList) == null ? void 0 : i.results[0].stock, e.skuId = (I = c.skuList) == null ? void 0 : I.results[0].skuId), e.specType === U.SPEC_TYPE.MULTI_SPEC && c.skuList) {
62
+ const v = c.skuList.results, g = v.map((n) => n.specValues && Array.isArray(n.specValues) ? n.specValues.map(
57
63
  (a) => a.specValueId
58
- ) : []), C = g.flat().map((n) => Y(n));
59
- await Promise.all(C);
64
+ ) : []), E = g.flat().map((n) => Y(n));
65
+ await Promise.all(E);
60
66
  const T = g.map(
61
67
  (n) => n.map((a) => N.value[a] || a)
62
68
  );
63
- e.skuOptions = I.map((n, a) => ({
69
+ e.skuOptions = v.map((n, a) => ({
64
70
  key: n.skuId,
65
71
  value: T[a].join(" "),
66
72
  picUrl: n.picUrl || (c.picUrls ? c.picUrls.split(",")[0] : ""),
67
73
  salePrice: n.salePrice,
68
74
  stock: n.stock
69
- })), I.forEach((n) => {
75
+ })), v.forEach((n) => {
70
76
  n.skuId && (B.value[n.skuId] = {
71
77
  ...n,
72
78
  spuPicUrls: c.picUrls
@@ -77,12 +83,12 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
77
83
  }
78
84
  }
79
85
  function z(s) {
80
- const e = U.value.find((t) => t.skuId === s);
86
+ const e = h.value.find((l) => l.skuId === s);
81
87
  if (e && s) {
82
- const t = B.value[s];
83
- if (t) {
84
- const i = t.spuPicUrls ? t.spuPicUrls.split(",")[0] : "";
85
- e.picUrl = t.picUrl || i, e.salePrice = t.salePrice, e.saleNum = t.stock;
88
+ const l = B.value[s];
89
+ if (l) {
90
+ const i = l.spuPicUrls ? l.spuPicUrls.split(",")[0] : "";
91
+ e.picUrl = l.picUrl || i, e.salePrice = l.salePrice, e.saleNum = l.stock;
86
92
  }
87
93
  }
88
94
  }
@@ -96,70 +102,70 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
96
102
  } catch {
97
103
  }
98
104
  }
99
- function q(s) {
105
+ function F(s) {
100
106
  if (!s.skuId || !s.skuOptions || s.skuOptions.length === 0)
101
107
  return "";
102
108
  const e = s.skuOptions.find(
103
- (t) => t.key === s.skuId
109
+ (l) => l.key === s.skuId
104
110
  );
105
111
  return e ? e.value : "";
106
112
  }
107
- function F() {
108
- R.closeTagView(b.fullPath, O, !1);
113
+ function q() {
114
+ R.closeTagView(P.fullPath, O, !1);
109
115
  }
110
116
  return (s, e) => {
111
- const t = f("el-button"), i = f("el-descriptions-item"), h = f("el-tag"), c = f("el-image"), I = f("el-descriptions"), g = f("el-table-column"), C = f("el-table"), T = f("el-row"), n = f("el-card");
117
+ const l = f("el-button"), i = f("el-descriptions-item"), I = f("el-tag"), c = f("el-image"), v = f("el-descriptions"), g = f("el-table-column"), E = f("el-table"), T = f("el-row"), n = f("el-card");
112
118
  return _(), k("div", J, [
113
119
  o(n, { shadow: "never" }, {
114
- header: l(() => [
115
- o(t, {
120
+ header: t(() => [
121
+ o(l, {
116
122
  type: "primary",
117
- onClick: F
123
+ onClick: q
118
124
  }, {
119
- default: l(() => [
120
- r(u(s.$t("common.back")), 1)
125
+ default: t(() => [
126
+ p(u(s.$t("common.back")), 1)
121
127
  ]),
122
128
  _: 1
123
129
  })
124
130
  ]),
125
- default: l(() => [
126
- e[0] || (e[0] = p("div", { class: "title-content" }, "基本信息", -1)),
127
- o(I, {
131
+ default: t(() => [
132
+ e[0] || (e[0] = d("div", { class: "title-content" }, "基本信息", -1)),
133
+ o(v, {
128
134
  class: "margin-top",
129
135
  column: 2,
130
136
  border: ""
131
137
  }, {
132
- default: l(() => [
138
+ default: t(() => [
133
139
  o(i, null, {
134
- label: l(() => [
135
- p("div", K, u(s.$t("goodsSpu.spuName")), 1)
140
+ label: t(() => [
141
+ d("div", K, u(s.$t("goodsSpu.spuName")), 1)
136
142
  ]),
137
- default: l(() => [
138
- r(" " + u(d.value.spuName), 1)
143
+ default: t(() => [
144
+ p(" " + u(r.value.spuName), 1)
139
145
  ]),
140
146
  _: 1
141
147
  }),
142
148
  o(i, null, {
143
- label: l(() => [
144
- p("div", Q, u(s.$t("goodsSpu.spuCode")), 1)
149
+ label: t(() => [
150
+ d("div", Q, u(s.$t("goodsSpu.spuCode")), 1)
145
151
  ]),
146
- default: l(() => [
147
- r(" " + u(d.value.spuCode), 1)
152
+ default: t(() => [
153
+ p(" " + u(r.value.spuCode), 1)
148
154
  ]),
149
155
  _: 1
150
156
  }),
151
157
  o(i, null, {
152
- label: l(() => [
153
- p("div", W, u(s.$t("goodsSpu.categoryId")), 1)
158
+ label: t(() => [
159
+ d("div", W, u(s.$t("goodsSpu.categoryId")), 1)
154
160
  ]),
155
- default: l(() => [
156
- (_(!0), k(V, null, E(d.value.categoryIds, (a) => (_(), D(h, {
161
+ default: t(() => [
162
+ (_(!0), k(C, null, V(r.value.categoryIds, (a) => (_(), D(I, {
157
163
  type: "info",
158
164
  key: a,
159
165
  style: { "margin-right": "8px", "margin-bottom": "4px" }
160
166
  }, {
161
- default: l(() => [
162
- r(u(m(y).goodsCategoryListBizLayDict.getValue(a) || a), 1)
167
+ default: t(() => [
168
+ p(u(m(y).goodsCategoryListBizLayDict.getValue(a) || a), 1)
163
169
  ]),
164
170
  _: 2
165
171
  }, 1024))), 128))
@@ -167,17 +173,17 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
167
173
  _: 1
168
174
  }),
169
175
  o(i, null, {
170
- label: l(() => [
171
- p("div", X, u(s.$t("goodsSpu.labelIds")), 1)
176
+ label: t(() => [
177
+ d("div", X, u(s.$t("goodsSpu.labelIds")), 1)
172
178
  ]),
173
- default: l(() => [
174
- (_(!0), k(V, null, E(d.value.labelIds, (a) => (_(), D(h, {
179
+ default: t(() => [
180
+ (_(!0), k(C, null, V(r.value.labelIds, (a) => (_(), D(I, {
175
181
  type: "info",
176
182
  key: a,
177
183
  style: { "margin-right": "8px", "margin-bottom": "4px" }
178
184
  }, {
179
- default: l(() => [
180
- r(u(m(y).labelListBizDict.getValue(a) || a), 1)
185
+ default: t(() => [
186
+ p(u(m(y).labelListBizDict.getValue(a)), 1)
181
187
  ]),
182
188
  _: 2
183
189
  }, 1024))), 128))
@@ -185,14 +191,14 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
185
191
  _: 1
186
192
  }),
187
193
  o(i, null, {
188
- label: l(() => [
189
- p("div", Z, u(s.$t("goodsSpu.picUrls")), 1)
194
+ label: t(() => [
195
+ d("div", Z, u(s.$t("goodsSpu.picUrls")), 1)
190
196
  ]),
191
- default: l(() => [
192
- (_(!0), k(V, null, E($.value, (a) => (_(), D(c, {
197
+ default: t(() => [
198
+ (_(!0), k(C, null, V($.value, (a) => (_(), D(c, {
193
199
  key: a,
194
- src: m(P).imageUrl(a, 80, 80),
195
- "preview-src-list": [m(P).imageUrl(a)],
200
+ src: m(S).imageUrl(a, 80, 80),
201
+ "preview-src-list": [m(S).imageUrl(a)],
196
202
  "preview-teleported": "",
197
203
  "hide-on-click-modal": "",
198
204
  fit: "contain"
@@ -201,62 +207,62 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
201
207
  _: 1
202
208
  }),
203
209
  o(i, null, {
204
- label: l(() => [
205
- p("div", w, u(s.$t("goodsSpu.freightType")), 1)
210
+ label: t(() => [
211
+ d("div", w, u(s.$t("goodsSpu.freightType")), 1)
206
212
  ]),
207
- default: l(() => [
208
- r(" " + u(m(y).freightTypeEnum.getEnumValue(
209
- d.value.freightType
213
+ default: t(() => [
214
+ p(" " + u(m(y).freightTypeEnum.getEnumValue(
215
+ r.value.freightType
210
216
  )), 1)
211
217
  ]),
212
218
  _: 1
213
219
  }),
214
220
  o(i, null, {
215
- label: l(() => [
216
- p("div", x, u(s.$t("goodsSpu.freightAmount")), 1)
221
+ label: t(() => [
222
+ d("div", x, u(s.$t("goodsSpu.freightAmount")), 1)
217
223
  ]),
218
- default: l(() => [
219
- r(" " + u(d.value.freightAmount), 1)
224
+ default: t(() => [
225
+ p(" " + u(r.value.freightAmount), 1)
220
226
  ]),
221
227
  _: 1
222
228
  }),
223
229
  o(i, null, {
224
- label: l(() => [
225
- p("div", ee, u(s.$t("goodsSpu.shelf")), 1)
230
+ label: t(() => [
231
+ d("div", ee, u(s.$t("goodsSpu.shelf")), 1)
226
232
  ]),
227
- default: l(() => [
228
- r(" " + u(m(y).shelfDict.getValue(d.value.shelf)), 1)
233
+ default: t(() => [
234
+ p(" " + u(m(y).shelfDict.getValue(r.value.shelf)), 1)
229
235
  ]),
230
236
  _: 1
231
237
  }),
232
238
  o(i, null, {
233
- label: l(() => [
234
- p("div", se, u(s.$t("goodsSpu.saleNum")), 1)
239
+ label: t(() => [
240
+ d("div", se, u(s.$t("goodsSpu.saleNum")), 1)
235
241
  ]),
236
- default: l(() => [
237
- r(" " + u(d.value.saleNum), 1)
242
+ default: t(() => [
243
+ p(" " + u(r.value.saleNum), 1)
238
244
  ]),
239
245
  _: 1
240
246
  })
241
247
  ]),
242
248
  _: 1
243
249
  }),
244
- e[1] || (e[1] = p("div", { class: "title-content" }, "套装商品", -1)),
250
+ e[1] || (e[1] = d("div", { class: "title-content" }, "套装商品", -1)),
245
251
  o(T, null, {
246
- default: l(() => [
247
- o(C, {
248
- data: U.value,
252
+ default: t(() => [
253
+ o(E, {
254
+ data: h.value,
249
255
  border: "",
250
256
  style: { width: "100%" }
251
257
  }, {
252
- default: l(() => [
258
+ default: t(() => [
253
259
  o(g, {
254
260
  label: s.$t("goodsSpu.spuName"),
255
261
  prop: "spuId",
256
262
  "header-align": "center"
257
263
  }, {
258
- default: l(({ row: a }) => [
259
- r(u(m(y).goodsSpuBizDict.getValue(a.spuId)), 1)
264
+ default: t(({ row: a }) => [
265
+ p(u(m(y).goodsSpuBizDict.getValue(a.spuId)), 1)
260
266
  ]),
261
267
  _: 1
262
268
  }, 8, ["label"]),
@@ -264,8 +270,8 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
264
270
  label: s.$t("goodsSpu.specType"),
265
271
  "header-align": "center"
266
272
  }, {
267
- default: l(({ row: a }) => [
268
- a.specType === m(S).SPEC_TYPE.UNIFIED_SPEC ? (_(), k("span", le, " 统一规格 ")) : (_(), k("span", te, u(q(a)), 1))
273
+ default: t(({ row: a }) => [
274
+ a.specType === m(U).SPEC_TYPE.UNIFIED_SPEC ? (_(), k("span", le, " 统一规格 ")) : (_(), k("span", te, u(F(a)), 1))
269
275
  ]),
270
276
  _: 1
271
277
  }, 8, ["label"]),
@@ -275,10 +281,10 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
275
281
  width: "105",
276
282
  "header-align": "center"
277
283
  }, {
278
- default: l(({ row: a }) => [
284
+ default: t(({ row: a }) => [
279
285
  o(c, {
280
- src: m(P).imageUrl(a.picUrl, 80, 80),
281
- "preview-src-list": [m(P).imageUrl(a.picUrl)],
286
+ src: m(S).imageUrl(a.picUrl, 80, 80),
287
+ "preview-src-list": [m(S).imageUrl(a.picUrl)],
282
288
  "preview-teleported": "",
283
289
  "hide-on-click-modal": "",
284
290
  fit: "contain"
@@ -288,11 +294,11 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
288
294
  }, 8, ["label"]),
289
295
  o(g, {
290
296
  label: s.$t("goodsSpu.salePriceV1"),
291
- prop: "salePrice",
297
+ prop: "saleNum",
292
298
  "header-align": "center"
293
299
  }, {
294
- default: l(({ row: a }) => [
295
- r(u(a.salePrice), 1)
300
+ default: t(({ row: a }) => [
301
+ p(u(a.saleNum), 1)
296
302
  ]),
297
303
  _: 1
298
304
  }, 8, ["label"]),
@@ -301,8 +307,8 @@ const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "
301
307
  prop: "saleNum",
302
308
  "header-align": "center"
303
309
  }, {
304
- default: l(({ row: a }) => [
305
- r(u(a.saleNum), 1)
310
+ default: t(({ row: a }) => [
311
+ p(u(a.saleNum), 1)
306
312
  ]),
307
313
  _: 1
308
314
  }, 8, ["label"])