xyvcard-goods 0.0.8 → 0.0.10

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 (23) hide show
  1. package/dist/{approveFailIndex-BecI6njE.mjs → approveFailIndex-B-VGnf1U.mjs} +1 -1
  2. package/dist/{approveFailIndex.vue_vue_type_script_setup_true_lang-1FXHUoMJ.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-CiIyafoQ.mjs} +116 -110
  3. package/dist/{auditIndex-ByyMgebr.mjs → auditIndex-tEq8uYdA.mjs} +1 -1
  4. package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-DT2irP9g.mjs → auditIndex.vue_vue_type_script_setup_true_lang-BW22LRCL.mjs} +128 -122
  5. package/dist/edit-FCXD46Ef.mjs +556 -0
  6. package/dist/{index-BypI3ZNk.mjs → index-C9LeLF51.mjs} +174 -165
  7. package/dist/{index-AZ4TxL-_.mjs → index-CKeHa-Cx.mjs} +55 -55
  8. package/dist/index.mjs +9 -38
  9. package/dist/{info-BJ1Ld_6D.mjs → info-CScBSLKA.mjs} +27 -27
  10. package/dist/{saleIndex-CBtuv6um.mjs → saleIndex-B7TBQOB6.mjs} +1 -1
  11. package/dist/{saleIndex.vue_vue_type_script_setup_true_lang-Cxv3foxp.mjs → saleIndex.vue_vue_type_script_setup_true_lang-B6wKXUcV.mjs} +133 -146
  12. package/dist/{shelfIndex-CykEAeD4.mjs → shelfIndex-BfsIMQfD.mjs} +1 -1
  13. package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-UPt1ZDpP.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-C6RfhqIl.mjs} +122 -116
  14. package/dist/{skuForm-DdiMztDh.mjs → skuForm-CRnWdE9n.mjs} +57 -51
  15. package/dist/skuTable-Ck7bJzYP.mjs +536 -0
  16. package/dist/style.css +1 -1
  17. package/dts/api/goods-spu/types.d.ts +1 -1
  18. package/dts/components/ImageUpload.vue.d.ts +36 -0
  19. package/dts/constant.d.ts +4 -4
  20. package/dts/router/index.d.ts +2 -2
  21. package/package.json +65 -65
  22. package/dist/edit-BWUxDk9Y.mjs +0 -594
  23. package/dist/skuTable-Cg06m_5i.mjs +0 -606
@@ -1,22 +1,22 @@
1
- var h = Object.defineProperty;
2
- var S = (i, t, a) => t in i ? h(i, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : i[t] = a;
3
- var s = (i, t, a) => S(i, typeof t != "symbol" ? t + "" : t, a);
4
- import { BizDict as p, BizLayDict as E, EnumDict as l } from "jmash-core";
1
+ var p = Object.defineProperty;
2
+ var h = (a, t, i) => t in a ? p(a, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[t] = i;
3
+ var s = (a, t, i) => h(a, typeof t != "symbol" ? t + "" : t, i);
4
+ import { BizDict as S, BizLayDict as E, EnumDict as l } from "jmash-core";
5
5
  import { EntryDict as _ } from "jmash-dict";
6
- import { ref as n, reactive as v } from "vue";
7
- import { goodsCategoryApi as d } from "xyvcard-emall";
8
- import { specValueApi as O, infoApi as P, specInfoApi as f } from "xyvcard-shop";
6
+ import { ref as P, reactive as n } from "vue";
7
+ import { goodsCategoryApi as O } from "xyvcard-emall";
8
+ import { specValueApi as d, infoApi as v, specInfoApi as A } from "xyvcard-shop";
9
9
  class e {
10
10
  }
11
11
  // 模块
12
12
  s(e, "MODULE_GOODS", "goods"), // 商品规格类型
13
- s(e, "specType", {
13
+ s(e, "SPEC_TYPE", {
14
14
  UNIFIED_SPEC: "UNIFIED_SPEC",
15
15
  //统一规格
16
16
  MULTI_SPEC: "MULTI_SPEC"
17
17
  //多规格
18
18
  }), // 启用禁用
19
- s(e, "SHELF_VALUES", n([
19
+ s(e, "SHELF_VALUES", P([
20
20
  { key: !0, value: "上架" },
21
21
  { key: !1, value: "下架" }
22
22
  ])), // 运费类型
@@ -25,95 +25,95 @@ s(e, "DICT_GOODS_ENSURE", "goods_ensure"), // 规格类型
25
25
  s(e, "ENUM_SPEC_TYPE", "xyvcard.goods.protobuf.SpecType"), // 商品查询枚举
26
26
  s(e, "ENUM_GOODS_SPU_List_SORT", "xyvcard.goods.protobuf.GoodsSpuListSort"), // 审核状态
27
27
  s(e, "ENUM_APPROVAL_STATUS", "xyvcard.goods.protobuf.ApprovalStatus"), // 审核状态常量
28
- s(e, "approval_not_pass", "APPROVAL_NOT_PASS"), s(e, "approval_pass", "APPROVAL_PASS"), s(e, "approvaling", "APPROVALING");
29
- class y {
30
- constructor(t, a) {
31
- s(this, "values", v([]));
28
+ s(e, "APPROVAL_NOT_PASS", "APPROVAL_NOT_PASS"), s(e, "APPROVAL_PASS", "APPROVAL_PASS"), s(e, "APPROVALING", "APPROVALING");
29
+ class L {
30
+ constructor(t, i) {
31
+ s(this, "values", n([]));
32
32
  // 查询条件
33
33
  s(this, "query");
34
- this.values.length = 0, this.values.push(...t.value), this.query = a;
34
+ this.values.length = 0, this.values.push(...t.value), this.query = i;
35
35
  }
36
36
  // 根据给定键获取业务数据项的值的方法
37
37
  getValue(t) {
38
- for (const a of this.values)
39
- if (a.key == t)
40
- return a.value;
38
+ for (const i of this.values)
39
+ if (i.key == t)
40
+ return i.value;
41
41
  return "";
42
42
  }
43
43
  }
44
- class L extends p {
44
+ class f extends S {
45
45
  // 实现 useValues 方法
46
46
  useValues() {
47
- return new Promise((t, a) => {
48
- P.findList(this.query).then(({ data: r }) => {
49
- const c = r.results;
47
+ return new Promise((t, i) => {
48
+ v.findList(this.query).then(({ data: o }) => {
49
+ const r = o.results;
50
50
  this.values.length = 0, this.values.push(
51
- ...c.map(
52
- (o) => ({
53
- key: o.shopId,
54
- value: o.shopName
51
+ ...r.map(
52
+ (c) => ({
53
+ key: c.shopId,
54
+ value: c.shopName
55
55
  })
56
56
  )
57
57
  ), t(this.values);
58
- }).catch(a);
58
+ }).catch(i);
59
59
  });
60
60
  }
61
61
  }
62
62
  class m extends E {
63
63
  // 实现 useValues 方法
64
64
  useValues() {
65
- return new Promise((t, a) => {
66
- d.findTreeListApi().then(({ data: r }) => {
67
- this.values.length = 0, this.values.push(...r.results), t(this.values);
68
- }).catch(a);
65
+ return new Promise((t, i) => {
66
+ O.findTreeListApi().then(({ data: o }) => {
67
+ this.values.length = 0, this.values.push(...o.results), t(this.values);
68
+ }).catch(i);
69
69
  });
70
70
  }
71
71
  }
72
- class D extends p {
72
+ class y extends S {
73
73
  // 实现 useValues 方法
74
74
  useValues() {
75
- return new Promise((t, a) => {
76
- f.findList(this.query).then(({ data: r }) => {
77
- const c = r.results;
75
+ return new Promise((t, i) => {
76
+ A.findList(this.query).then(({ data: o }) => {
77
+ const r = o.results;
78
78
  this.values.length = 0, this.values.push(
79
- ...c.map(
80
- (o) => ({
81
- key: o.specId,
82
- value: o.specName,
83
- disabled: o.disabled
79
+ ...r.map(
80
+ (c) => ({
81
+ key: c.specId,
82
+ value: c.specName,
83
+ disabled: c.disabled
84
84
  })
85
85
  )
86
86
  ), t(this.values);
87
- }).catch(a);
87
+ }).catch(i);
88
88
  });
89
89
  }
90
90
  }
91
- class U extends p {
91
+ class D extends S {
92
92
  // 实现 useValues 方法
93
93
  useValues() {
94
- return new Promise((t, a) => {
95
- O.findList(this.query).then(({ data: r }) => {
96
- const c = r.results;
94
+ return new Promise((t, i) => {
95
+ d.findList(this.query).then(({ data: o }) => {
96
+ const r = o.results;
97
97
  this.values.length = 0, this.values.push(
98
- ...c.map(
99
- (o) => ({
100
- key: o.specValueId,
101
- value: o.valueName
98
+ ...r.map(
99
+ (c) => ({
100
+ key: c.specValueId,
101
+ value: c.valueName
102
102
  })
103
103
  )
104
104
  ), t(this.values);
105
- }).catch(a);
105
+ }).catch(i);
106
106
  });
107
107
  }
108
108
  }
109
109
  class u {
110
110
  }
111
111
  // 店铺列表
112
- s(u, "shopInfoBizDict", new L({})), // 商品分类
112
+ s(u, "shopInfoBizDict", new f({})), // 商品分类
113
113
  s(u, "goodsCategoryDict", new m({})), // 规格列表
114
- s(u, "specInfoDict", new D({})), // 规格值
115
- s(u, "specValueDict", new U({})), // 上架下架
116
- s(u, "shelfDict", new y(e.SHELF_VALUES, {})), // 运费类型
114
+ s(u, "specInfoDict", new y({})), // 规格值
115
+ s(u, "specValueDict", new D({})), // 上架下架
116
+ s(u, "shelfDict", new L(e.SHELF_VALUES, {})), // 运费类型
117
117
  s(u, "freightTypeEnum", new l(
118
118
  e.MODULE_GOODS,
119
119
  e.ENUM_FREIGHT_TYPE
@@ -134,6 +134,6 @@ s(u, "approvalStatusEnum", new l(
134
134
  export {
135
135
  e as C,
136
136
  u as D,
137
- U as S,
138
- D as a
137
+ D as S,
138
+ y as a
139
139
  };
package/dist/index.mjs CHANGED
@@ -1,30 +1,8 @@
1
1
  import { deepMerge as Tt, Layout as Ys, useUserStore as E, clearEmpty as V, request as G, addViteMenus as Os, addDynamicRoute as Ts, i18n as bs } from "jmash-core";
2
2
  const xs = {}, Rs = {
3
- // 商品SKU
4
- // goodsSku: {
5
- // name : "商品SKU",
6
- // skuId: "标识",
7
- // spuId: "商品ID",
8
- // skuCode: "编码",
9
- // picUrl: "图片",
10
- // salePrice: "销售价格",
11
- // marketPrice: "市场价",
12
- // costPrice: "成本价",
13
- // stock: "库存",
14
- // weight: "重量",
15
- // volume: "体积(m³)",
16
- // status: "状态",
17
- // },
18
- // 商品SKU规格值
19
- // goodsSkuSpecValue: {
20
- // name : "商品SKU规格值",
21
- // skuId: "sku_id",
22
- // specId: "规格ID",
23
- // specValueId: "规格值",
24
- // },
25
3
  // 商品SPU
26
4
  goodsSpu: {
27
- shopId: "所属店铺",
5
+ shopId: "所属商家",
28
6
  categoryId: "商品分类",
29
7
  freightType: "运费类型",
30
8
  freightAmount: "运费金额",
@@ -51,7 +29,7 @@ const xs = {}, Rs = {
51
29
  batchRejected: "批量拒绝审核",
52
30
  batchApproval: "批量审核",
53
31
  updateTime: "最后更新时间",
54
- shopIdRequired: "请选择所属店铺",
32
+ shopIdRequired: "请选择所属商家",
55
33
  spuNameRequired: "请输入商品名称",
56
34
  freightAmountRequired: "请输入运费金额",
57
35
  saleNumRequired: "请输入虚拟销量",
@@ -77,13 +55,6 @@ const xs = {}, Rs = {
77
55
  successFilled: "审核失败",
78
56
  successApproval: "审核通过"
79
57
  }
80
- // 商品SPU规格
81
- // goodsSpuSpec: {
82
- // name : "商品SPU规格",
83
- // spuId: "商品SPUID",
84
- // specId: "规格ID",
85
- // orderBy: "排序",
86
- // },
87
58
  };
88
59
  function Ps(e) {
89
60
  let t = e.global.getLocaleMessage("zh-cn");
@@ -91,7 +62,7 @@ function Ps(e) {
91
62
  let s = e.global.getLocaleMessage("en");
92
63
  s = Tt(s, xs), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", s);
93
64
  }
94
- const Ns = () => import("./edit-BWUxDk9Y.mjs"), Ws = () => import("./info-BJ1Ld_6D.mjs"), Fs = [
65
+ const Ns = () => import("./edit-FCXD46Ef.mjs"), Ws = () => import("./info-CScBSLKA.mjs"), Fs = [
95
66
  {
96
67
  path: "/rawgoods",
97
68
  component: Ys,
@@ -103,7 +74,7 @@ const Ns = () => import("./edit-BWUxDk9Y.mjs"), Ws = () => import("./info-BJ1Ld_
103
74
  {
104
75
  path: "goods-spu/edit",
105
76
  component: Ns,
106
- name: "GoodsSpuEdit",
77
+ name: "goodsSpuEdit",
107
78
  meta: {
108
79
  hidden: !0,
109
80
  title: "全部商品",
@@ -114,7 +85,7 @@ const Ns = () => import("./edit-BWUxDk9Y.mjs"), Ws = () => import("./info-BJ1Ld_
114
85
  {
115
86
  path: "goods-spu/info",
116
87
  component: Ws,
117
- name: "GoodsSpuInfo",
88
+ name: "goodsSpuInfo",
118
89
  meta: {
119
90
  hidden: !0,
120
91
  title: "全部商品",
@@ -2785,9 +2756,9 @@ class Ci {
2785
2756
  * @returns 返回一个AxiosPromise对象解析为一个布尔值表示操作是否成功
2786
2757
  */
2787
2758
  enable(t, s) {
2788
- let r = { ...t };
2759
+ const r = { ...t };
2789
2760
  return r.tenant = E().user.tenant, r.shelf = s, V(r), G({
2790
- url: "/v1/goods/goods_spu/on_sale",
2761
+ url: "/v1/goods/goods_spu/on_sale/" + r.spuId,
2791
2762
  method: "put",
2792
2763
  data: r
2793
2764
  });
@@ -2827,7 +2798,7 @@ class Ci {
2827
2798
  * @returns 返回一个AxiosPromise,包含审核操作的结果,通常是一个数字状态码
2828
2799
  */
2829
2800
  audit(t, s) {
2830
- let r = { ...t };
2801
+ const r = { ...t };
2831
2802
  return r.tenant = E().user.tenant, r.status = s, V(r), G({
2832
2803
  url: "/v1/goods/goods_spu/audit",
2833
2804
  method: "put",
@@ -2835,7 +2806,7 @@ class Ci {
2835
2806
  });
2836
2807
  }
2837
2808
  }
2838
- const Hi = new Ci(), Ui = /* @__PURE__ */ Object.assign({ "./views/goods/goods-spu/approveFailIndex.vue": () => import("./approveFailIndex-BecI6njE.mjs"), "./views/goods/goods-spu/auditIndex.vue": () => import("./auditIndex-ByyMgebr.mjs"), "./views/goods/goods-spu/edit.vue": () => import("./edit-BWUxDk9Y.mjs"), "./views/goods/goods-spu/index.vue": () => import("./index-BypI3ZNk.mjs"), "./views/goods/goods-spu/info.vue": () => import("./info-BJ1Ld_6D.mjs"), "./views/goods/goods-spu/saleIndex.vue": () => import("./saleIndex-CBtuv6um.mjs"), "./views/goods/goods-spu/shelfIndex.vue": () => import("./shelfIndex-CykEAeD4.mjs"), "./views/goods/goods-spu/skuForm.vue": () => import("./skuForm-DdiMztDh.mjs"), "./views/goods/goods-spu/skuTable.vue": () => import("./skuTable-Cg06m_5i.mjs").then((e) => e.a) }), Ei = {
2809
+ const Hi = new Ci(), Ui = /* @__PURE__ */ Object.assign({ "./views/goods/goods-spu/approveFailIndex.vue": () => import("./approveFailIndex-B-VGnf1U.mjs"), "./views/goods/goods-spu/auditIndex.vue": () => import("./auditIndex-tEq8uYdA.mjs"), "./views/goods/goods-spu/edit.vue": () => import("./edit-FCXD46Ef.mjs"), "./views/goods/goods-spu/index.vue": () => import("./index-C9LeLF51.mjs"), "./views/goods/goods-spu/info.vue": () => import("./info-CScBSLKA.mjs"), "./views/goods/goods-spu/saleIndex.vue": () => import("./saleIndex-B7TBQOB6.mjs"), "./views/goods/goods-spu/shelfIndex.vue": () => import("./shelfIndex-BfsIMQfD.mjs"), "./views/goods/goods-spu/skuForm.vue": () => import("./skuForm-CRnWdE9n.mjs"), "./views/goods/goods-spu/skuTable.vue": () => import("./skuTable-Ck7bJzYP.mjs").then((e) => e.a) }), Ei = {
2839
2810
  install(e) {
2840
2811
  Os(Ui, 7), Ps(bs), Ts(Fs), e.use(Li);
2841
2812
  }
@@ -1,28 +1,28 @@
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 r, Fragment as w, renderList as C, createBlock as b, createCommentVNode as P } from "vue";
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 r, Fragment as C, renderList as P, createBlock as y, 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 p, C as N, S as z } from "./index-AZ4TxL-_.mjs";
5
- import { s as G } from "./skuTable-Cg06m_5i.mjs";
6
- import { goodsSpuApi as J } from "./index.mjs";
7
- import { g as K } from "./index-BHmGYIuc.mjs";
8
- const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { 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: "title-content" }, ie = { class: "cell-item" }, ne = { class: "cell-item" }, ce = { class: "cell-item" }, de = { class: "cell-item" }, re = { class: "cell-item" }, pe = { class: "cell-item" }, me = ["innerHTML"], be = /* @__PURE__ */ q({
4
+ import { D as p, C as N, S as Y } from "./index-CKeHa-Cx.mjs";
5
+ import { s as z } from "./skuTable-Ck7bJzYP.mjs";
6
+ import { goodsSpuApi as G } from "./index.mjs";
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: "cell-item" }, ae = { class: "title-content" }, ie = { class: "cell-item" }, ne = { class: "cell-item" }, ce = { class: "cell-item" }, de = { class: "cell-item" }, re = { class: "cell-item" }, pe = { class: "cell-item" }, me = ["innerHTML"], ye = /* @__PURE__ */ q({
9
9
  __name: "info",
10
10
  setup(_e) {
11
- const U = O(), y = R(), u = k({}), L = k([]), g = k([]), D = k([]), $ = k([]), T = j(() => g.value.filter(
11
+ const U = O(), b = R(), u = k({}), L = k([]), g = k([]), D = k([]), E = k([]), $ = j(() => g.value.filter(
12
12
  (s) => s.name && s.specValueList != null && s.specValueList.length
13
13
  ));
14
14
  F(
15
- T,
15
+ $,
16
16
  (s) => s,
17
17
  {
18
18
  deep: !0,
19
19
  immediate: !0
20
20
  }
21
- ), p.shopInfoBizDict.useValues(), p.goodsCategoryDict.useValues(), y.query.spuId && J.findById({ spuId: y.query.spuId }).then(({ data: s }) => {
21
+ ), p.shopInfoBizDict.useValues(), p.goodsCategoryDict.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), L.value = (c = s.picUrls) == null ? void 0 : c.split(","), K.findById({ spuId: y.query.spuId }).then(({ data: m }) => {
23
+ u.value = Object.assign(u, s), L.value = (c = s.picUrls) == null ? void 0 : c.split(","), J.findById({ spuId: b.query.spuId }).then(({ data: m }) => {
24
24
  u.value.ensureIds = m.ensures;
25
- }), s.specType === N.specType.MULTI_SPEC && (D.value = (v = s.skuList) == null ? void 0 : v.results, (o = s.skuList) == null || o.results.forEach((m) => {
25
+ }), s.specType === N.SPEC_TYPE.MULTI_SPEC && (D.value = (v = s.skuList) == null ? void 0 : v.results, (o = s.skuList) == null || o.results.forEach((m) => {
26
26
  var d;
27
27
  (d = m.specValues) == null || d.map((h) => {
28
28
  p.specInfoDict.useValues().then((I) => {
@@ -35,9 +35,9 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
35
35
  };
36
36
  g.value.push(_);
37
37
  }
38
- const E = /* @__PURE__ */ new Map();
38
+ const T = /* @__PURE__ */ new Map();
39
39
  g.value = g.value.filter(
40
- (_) => !E.has(_.id) && E.set(_.id, _)
40
+ (_) => !T.has(_.id) && T.set(_.id, _)
41
41
  ), A(h.specValueId);
42
42
  });
43
43
  });
@@ -45,7 +45,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
45
45
  });
46
46
  function A(s) {
47
47
  g.value.forEach((c) => {
48
- $.value = new z({ specId: c.id }), $.value.useValues().then((v) => {
48
+ E.value = new Y({ specId: c.id }), E.value.useValues().then((v) => {
49
49
  v.forEach((o) => {
50
50
  if (o.key === s) {
51
51
  let d = {
@@ -63,11 +63,11 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
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
69
  const v = S("el-button"), o = S("el-descriptions-item"), m = S("el-image"), d = S("el-tag"), h = S("el-descriptions"), I = S("el-card");
70
- return f(), V("div", Q, [
70
+ return f(), V("div", K, [
71
71
  i(I, { shadow: "never" }, {
72
72
  header: e(() => [
73
73
  i(v, {
@@ -90,7 +90,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
90
90
  default: e(() => [
91
91
  i(o, null, {
92
92
  label: e(() => [
93
- a("div", W, l(s.$t("goodsSpu.shopId")), 1)
93
+ a("div", Q, l(s.$t("goodsSpu.shopId")), 1)
94
94
  ]),
95
95
  default: e(() => [
96
96
  n(" " + l(r(p).shopInfoBizDict.getValue(u.value.shopId)), 1)
@@ -99,7 +99,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
99
99
  }),
100
100
  i(o, null, {
101
101
  label: e(() => [
102
- a("div", X, l(s.$t("goodsSpu.spuName")), 1)
102
+ a("div", W, l(s.$t("goodsSpu.spuName")), 1)
103
103
  ]),
104
104
  default: e(() => [
105
105
  n(" " + l(u.value.spuName), 1)
@@ -108,7 +108,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
108
108
  }),
109
109
  i(o, null, {
110
110
  label: e(() => [
111
- a("div", Y, l(s.$t("goodsSpu.categoryId")), 1)
111
+ a("div", X, l(s.$t("goodsSpu.categoryId")), 1)
112
112
  ]),
113
113
  default: e(() => [
114
114
  n(" " + l(r(p).goodsCategoryDict.getValue(u.value.categoryId)), 1)
@@ -149,7 +149,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
149
149
  a("div", le, l(s.$t("goodsSpu.picUrls")), 1)
150
150
  ]),
151
151
  default: e(() => [
152
- (f(!0), V(w, null, C(L.value, (t) => (f(), b(m, {
152
+ (f(!0), V(C, null, P(L.value, (t) => (f(), y(m, {
153
153
  key: t,
154
154
  src: r(B).imageUrl(t, 80, 80),
155
155
  "preview-src-list": [r(B).imageUrl(t)],
@@ -192,7 +192,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
192
192
  a("div", ue, l(s.$t("goodsSpu.ensureIds")), 1)
193
193
  ]),
194
194
  default: e(() => [
195
- (f(!0), V(w, null, C(u.value.ensureIds, (t) => (f(), b(d, {
195
+ (f(!0), V(C, null, P(u.value.ensureIds, (t) => (f(), y(d, {
196
196
  type: "info",
197
197
  key: t
198
198
  }, {
@@ -208,7 +208,7 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
208
208
  _: 1
209
209
  }),
210
210
  a("div", ae, " 商品规格(" + l(r(p).specTypeEnum.getEnumValue(u.value.specType)) + ") ", 1),
211
- u.value.specType == r(N).specType.UNIFIED_SPEC ? (f(), b(h, {
211
+ u.value.specType == r(N).SPEC_TYPE.UNIFIED_SPEC ? (f(), y(h, {
212
212
  key: 0,
213
213
  class: "margin-top",
214
214
  column: 2,
@@ -289,13 +289,13 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
289
289
  })
290
290
  ]),
291
291
  _: 1
292
- })) : P("", !0),
293
- g.value.length > 0 ? (f(), b(G, {
292
+ })) : w("", !0),
293
+ g.value.length > 0 ? (f(), y(z, {
294
294
  key: 1,
295
- specData: T.value,
295
+ specData: $.value,
296
296
  goodsSku: D.value,
297
297
  isSettingShow: !1
298
- }, null, 8, ["specData", "goodsSku"])) : P("", !0),
298
+ }, null, 8, ["specData", "goodsSku"])) : w("", !0),
299
299
  c[1] || (c[1] = a("div", { class: "title-content" }, "商品描述", -1)),
300
300
  a("div", {
301
301
  innerHTML: u.value.description
@@ -308,5 +308,5 @@ const Q = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
308
308
  }
309
309
  });
310
310
  export {
311
- be as default
311
+ ye as default
312
312
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./saleIndex.vue_vue_type_script_setup_true_lang-Cxv3foxp.mjs";
1
+ import { _ as f } from "./saleIndex.vue_vue_type_script_setup_true_lang-B6wKXUcV.mjs";
2
2
  export {
3
3
  f as default
4
4
  };