xyvcard-goods 0.0.8 → 0.0.9

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 (24) hide show
  1. package/dist/{approveFailIndex-BecI6njE.mjs → approveFailIndex-DJf9bHab.mjs} +1 -1
  2. package/dist/{approveFailIndex.vue_vue_type_script_setup_true_lang-1FXHUoMJ.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-mXqZdtba.mjs} +31 -31
  3. package/dist/{auditIndex-ByyMgebr.mjs → auditIndex-CCkGsSy2.mjs} +1 -1
  4. package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-DT2irP9g.mjs → auditIndex.vue_vue_type_script_setup_true_lang-DHolmNaP.mjs} +19 -19
  5. package/dist/edit-D37yka6Z.mjs +470 -0
  6. package/dist/{index-AZ4TxL-_.mjs → index-CKeHa-Cx.mjs} +55 -55
  7. package/dist/{index-BypI3ZNk.mjs → index-vcmJ06-Y.mjs} +81 -81
  8. package/dist/index.mjs +8 -37
  9. package/dist/{info-BJ1Ld_6D.mjs → info-CPZykxS1.mjs} +27 -27
  10. package/dist/{saleIndex-CBtuv6um.mjs → saleIndex-CdAcvCzO.mjs} +1 -1
  11. package/dist/{saleIndex.vue_vue_type_script_setup_true_lang-Cxv3foxp.mjs → saleIndex.vue_vue_type_script_setup_true_lang-CLzVH-ix.mjs} +36 -36
  12. package/dist/{shelfIndex-CykEAeD4.mjs → shelfIndex-ZHuhzU_h.mjs} +1 -1
  13. package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-UPt1ZDpP.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-CTv-j8Xe.mjs} +8 -8
  14. package/dist/{skuForm-DdiMztDh.mjs → skuForm-BSlT4TYd.mjs} +48 -48
  15. package/dist/skuTable-DYmQYXk3.mjs +535 -0
  16. package/dist/style.css +1 -1
  17. package/dts/components/EnumRadio/index.vue.d.ts +3 -4
  18. package/dts/components/GoodsUpload/ImageUpload.vue.d.ts +18 -10
  19. package/dts/constant.d.ts +4 -4
  20. package/dts/router/index.d.ts +2 -2
  21. package/dts/views/goods/goods-spu/skuForm.vue.d.ts +1 -1
  22. package/package.json +65 -65
  23. package/dist/edit-BWUxDk9Y.mjs +0 -594
  24. package/dist/skuTable-Cg06m_5i.mjs +0 -606
@@ -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-DYmQYXk3.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-CLzVH-ix.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,24 +1,24 @@
1
- import { defineComponent as Z, getCurrentInstance as x, ref as D, resolveComponent as p, resolveDirective as ee, openBlock as i, createElementBlock as I, createElementVNode as d, createVNode as t, withCtx as l, unref as a, withKeys as R, createTextVNode as c, toDisplayString as u, withDirectives as y, createBlock as V, isRef as P, createCommentVNode as oe } from "vue";
1
+ import { defineComponent as Z, getCurrentInstance as x, ref as D, resolveComponent as p, resolveDirective as ee, openBlock as i, createElementBlock as I, createElementVNode as d, createVNode as t, withCtx as l, unref as a, withKeys as P, createTextVNode as c, toDisplayString as u, withDirectives as y, createBlock as V, isRef as R, createCommentVNode as oe } from "vue";
2
2
  import { ElMessage as z } from "element-plus";
3
3
  import { useRouter as le } from "vue-router";
4
4
  import { useTableHooks as te, fileApi as j } from "jmash-core";
5
5
  import { useI18n as ae } from "vue-i18n";
6
6
  import { goodsSpuApi as E } from "./index.mjs";
7
- import { C as se, D as g } from "./index-AZ4TxL-_.mjs";
7
+ import { C as se, D as g } from "./index-CKeHa-Cx.mjs";
8
8
  const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be = /* @__PURE__ */ Z({
9
9
  __name: "saleIndex",
10
10
  setup(re) {
11
- const { t: v } = ae(), T = le(), { proxy: B } = x(), r = D({
11
+ const { t: v } = ae(), T = le(), { proxy: A } = x(), r = D({
12
12
  curPage: 1,
13
13
  pageSize: 10,
14
14
  shelf: "true",
15
- approvalStatus: se.approval_pass
15
+ approvalStatus: se.APPROVAL_PASS
16
16
  }), {
17
17
  tableHooks: n,
18
18
  multipleTableRef: $,
19
- queryFormRef: q,
19
+ queryFormRef: B,
20
20
  listLoading: L,
21
- tableData: H,
21
+ tableData: q,
22
22
  total: _
23
23
  } = te(v, E, r);
24
24
  let h = D([
@@ -27,13 +27,13 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
27
27
  prop: "shopId",
28
28
  slotName: "shopId",
29
29
  columnType: "slot",
30
- width: "150",
30
+ width: "250",
31
31
  isColumn: !0
32
32
  },
33
33
  {
34
34
  label: "goodsSpu.spuName",
35
35
  prop: "spuName",
36
- width: "150",
36
+ width: "200",
37
37
  isColumn: !0
38
38
  },
39
39
  {
@@ -55,7 +55,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
55
55
  {
56
56
  label: "goodsSpu.price",
57
57
  prop: "minPrice",
58
- width: "130",
58
+ width: "120",
59
59
  sortable: "custom",
60
60
  slotName: "minPrice",
61
61
  columnType: "slot",
@@ -64,7 +64,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
64
64
  {
65
65
  label: "goodsSpu.spuCode",
66
66
  prop: "spuCode",
67
- width: "150",
67
+ width: "120",
68
68
  sortable: "custom",
69
69
  isColumn: !0
70
70
  },
@@ -78,7 +78,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
78
78
  {
79
79
  label: "goodsSpu.specType",
80
80
  prop: "specType",
81
- width: "130",
81
+ width: "120",
82
82
  slotName: "specType",
83
83
  columnType: "slot",
84
84
  sortable: "custom",
@@ -87,7 +87,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
87
87
  {
88
88
  label: "goodsSpu.shelf",
89
89
  prop: "shelf",
90
- width: "150",
90
+ width: "120",
91
91
  slotName: "shelf",
92
92
  columnType: "slot",
93
93
  sortable: "custom",
@@ -96,7 +96,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
96
96
  {
97
97
  label: "goodsSpu.approvalStatus",
98
98
  prop: "approvalStatus",
99
- width: "130",
99
+ width: "120",
100
100
  slotName: "approvalStatus",
101
101
  columnType: "slot",
102
102
  isColumn: !0
@@ -120,16 +120,16 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
120
120
  }
121
121
  ]);
122
122
  g.shopInfoBizDict.useValues(), g.goodsCategoryDict.useValues();
123
- function Q() {
123
+ function H() {
124
124
  T.push({ path: "/rawgoods/goods-spu/edit" });
125
125
  }
126
- function Y(s) {
126
+ function Q(s) {
127
127
  T.push({
128
128
  path: "/rawgoods/goods-spu/info",
129
129
  query: { spuId: s.spuId }
130
130
  });
131
131
  }
132
- function A(s) {
132
+ function Y(s) {
133
133
  n.selectionRows.value = s;
134
134
  }
135
135
  function K(s) {
@@ -145,20 +145,20 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
145
145
  }
146
146
  const s = n.selectionRows.value.map((o) => o.spuId);
147
147
  E.enable({ spuId: s }, !1).then((o) => {
148
- var C;
148
+ var S;
149
149
  o.status === 200 && z({
150
150
  message: v("goodsSpu.successOffShelf") + o.data + v("common.stripData"),
151
151
  type: "success"
152
- }), n.getList(), (C = $.value) == null || C.clearSelection();
152
+ }), n.getList(), (S = $.value) == null || S.clearSelection();
153
153
  });
154
154
  }
155
155
  return n.getList(), (s, o) => {
156
- const C = p("jmash-select"), S = p("el-form-item"), f = p("el-col"), N = p("el-input"), b = p("el-button"), k = p("el-row"), F = p("el-form"), O = p("jmash-column-select"), G = p("el-image"), U = p("el-switch"), J = p("jmash-table"), W = p("jmash-pagination"), X = p("el-card"), w = ee("hasPerm");
156
+ const S = p("jmash-select"), C = p("el-form-item"), f = p("el-col"), N = p("el-input"), b = p("el-button"), k = p("el-row"), O = p("el-form"), F = p("jmash-column-select"), G = p("el-image"), U = p("el-switch"), J = p("jmash-table"), W = p("jmash-pagination"), X = p("el-card"), w = ee("hasPerm");
157
157
  return i(), I("div", null, [
158
158
  d("div", ne, [
159
- t(F, {
159
+ t(O, {
160
160
  ref_key: "queryFormRef",
161
- ref: q,
161
+ ref: B,
162
162
  model: r.value,
163
163
  inline: !0
164
164
  }, {
@@ -167,12 +167,12 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
167
167
  default: l(() => [
168
168
  t(f, { span: 6 }, {
169
169
  default: l(() => [
170
- t(S, {
170
+ t(C, {
171
171
  label: s.$t("goodsSpu.shopId"),
172
172
  prop: "shopId"
173
173
  }, {
174
174
  default: l(() => [
175
- t(C, {
175
+ t(S, {
176
176
  modelValue: r.value.shopId,
177
177
  "onUpdate:modelValue": o[0] || (o[0] = (e) => r.value.shopId = e),
178
178
  placeholder: s.$t("goodsSpu.shopIdRequired"),
@@ -187,7 +187,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
187
187
  }),
188
188
  t(f, { span: 6 }, {
189
189
  default: l(() => [
190
- t(S, {
190
+ t(C, {
191
191
  label: s.$t("goodsSpu.spuCode"),
192
192
  prop: "spuCode"
193
193
  }, {
@@ -196,7 +196,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
196
196
  modelValue: r.value.spuCode,
197
197
  "onUpdate:modelValue": o[1] || (o[1] = (e) => r.value.spuCode = e),
198
198
  placeholder: s.$t("goodsSpu.spuCode"),
199
- onKeyup: o[2] || (o[2] = R((e) => a(n).handleQuery(), ["enter"])),
199
+ onKeyup: o[2] || (o[2] = P((e) => a(n).handleQuery(), ["enter"])),
200
200
  class: "!w-[203px]"
201
201
  }, null, 8, ["modelValue", "placeholder"])
202
202
  ]),
@@ -207,7 +207,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
207
207
  }),
208
208
  t(f, { span: 6 }, {
209
209
  default: l(() => [
210
- t(S, {
210
+ t(C, {
211
211
  label: s.$t("goodsSpu.spuName"),
212
212
  prop: "spuName"
213
213
  }, {
@@ -216,7 +216,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
216
216
  modelValue: r.value.spuName,
217
217
  "onUpdate:modelValue": o[3] || (o[3] = (e) => r.value.spuName = e),
218
218
  placeholder: s.$t("goodsSpu.spuName"),
219
- onKeyup: o[4] || (o[4] = R((e) => a(n).handleQuery(), ["enter"])),
219
+ onKeyup: o[4] || (o[4] = P((e) => a(n).handleQuery(), ["enter"])),
220
220
  class: "!w-[203px]"
221
221
  }, null, 8, ["modelValue", "placeholder"])
222
222
  ]),
@@ -227,7 +227,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
227
227
  }),
228
228
  t(f, { span: 6 }, {
229
229
  default: l(() => [
230
- t(S, { class: "search-btn" }, {
230
+ t(C, { class: "search-btn" }, {
231
231
  default: l(() => [
232
232
  t(b, {
233
233
  type: "primary",
@@ -270,7 +270,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
270
270
  default: l(() => [
271
271
  y((i(), V(b, {
272
272
  type: "primary",
273
- onClick: Q
273
+ onClick: H
274
274
  }, {
275
275
  default: l(() => [
276
276
  c(u(s.$t("common.add")), 1)
@@ -309,9 +309,9 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
309
309
  class: "container-float"
310
310
  }, {
311
311
  default: l(() => [
312
- t(O, {
312
+ t(F, {
313
313
  modelValue: a(h),
314
- "onUpdate:modelValue": o[8] || (o[8] = (e) => P(h) ? h.value = e : h = e),
314
+ "onUpdate:modelValue": o[8] || (o[8] = (e) => R(h) ? h.value = e : h = e),
315
315
  "label-name": "goods/goods-spu"
316
316
  }, null, 8, ["modelValue"])
317
317
  ]),
@@ -325,7 +325,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
325
325
  a(_) > 0 ? (i(), V(W, {
326
326
  key: 0,
327
327
  total: a(_),
328
- "onUpdate:total": o[9] || (o[9] = (e) => P(_) ? _.value = e : null),
328
+ "onUpdate:total": o[9] || (o[9] = (e) => R(_) ? _.value = e : null),
329
329
  "current-page": r.value.curPage,
330
330
  "onUpdate:currentPage": o[10] || (o[10] = (e) => r.value.curPage = e),
331
331
  "page-size": r.value.pageSize,
@@ -339,9 +339,9 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
339
339
  ref: $,
340
340
  "row-key": "spuId",
341
341
  "list-loading": a(L),
342
- data: a(H),
342
+ data: a(q),
343
343
  "table-label": a(h),
344
- onSelectionChange: A,
344
+ onSelectionChange: Y,
345
345
  onSortChange: K
346
346
  }, {
347
347
  shopId: l((e) => [
@@ -384,7 +384,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
384
384
  )), 1)
385
385
  ]),
386
386
  updateTime: l((e) => [
387
- d("span", null, u(a(B).$moment.formatDate(
387
+ d("span", null, u(a(A).$moment.formatDate(
388
388
  e.data.row.updateTime,
389
389
  "YYYY-MM-DD HH:mm:ss"
390
390
  )), 1)
@@ -407,7 +407,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
407
407
  ]),
408
408
  y((i(), I("span", {
409
409
  class: "el-button-color dropdown-left",
410
- onClick: (m) => Y(e.data.row)
410
+ onClick: (m) => Q(e.data.row)
411
411
  }, [
412
412
  c(u(s.$t("common.view")), 1)
413
413
  ], 8, pe)), [
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./shelfIndex.vue_vue_type_script_setup_true_lang-UPt1ZDpP.mjs";
1
+ import { _ as f } from "./shelfIndex.vue_vue_type_script_setup_true_lang-CTv-j8Xe.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -4,7 +4,7 @@ import { useRouter as te } from "vue-router";
4
4
  import { useTableHooks as ae, fileApi as j } from "jmash-core";
5
5
  import { useI18n as se } from "vue-i18n";
6
6
  import { goodsSpuApi as E } from "./index.mjs";
7
- import { D as g } from "./index-AZ4TxL-_.mjs";
7
+ import { D as g } from "./index-CKeHa-Cx.mjs";
8
8
  const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de = ["onClick"], we = /* @__PURE__ */ x({
9
9
  __name: "shelfIndex",
10
10
  setup(re) {
@@ -26,13 +26,13 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de
26
26
  prop: "shopId",
27
27
  slotName: "shopId",
28
28
  columnType: "slot",
29
- width: "150",
29
+ width: "250",
30
30
  isColumn: !0
31
31
  },
32
32
  {
33
33
  label: "goodsSpu.spuName",
34
34
  prop: "spuName",
35
- width: "150",
35
+ width: "200",
36
36
  isColumn: !0
37
37
  },
38
38
  {
@@ -54,7 +54,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de
54
54
  {
55
55
  label: "goodsSpu.price",
56
56
  prop: "minPrice",
57
- width: "130",
57
+ width: "120",
58
58
  sortable: "custom",
59
59
  slotName: "minPrice",
60
60
  columnType: "slot",
@@ -63,7 +63,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de
63
63
  {
64
64
  label: "goodsSpu.spuCode",
65
65
  prop: "spuCode",
66
- width: "150",
66
+ width: "120",
67
67
  sortable: "custom",
68
68
  isColumn: !0
69
69
  },
@@ -77,7 +77,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de
77
77
  {
78
78
  label: "goodsSpu.specType",
79
79
  prop: "specType",
80
- width: "130",
80
+ width: "120",
81
81
  slotName: "specType",
82
82
  columnType: "slot",
83
83
  sortable: "custom",
@@ -86,7 +86,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de
86
86
  {
87
87
  label: "goodsSpu.shelf",
88
88
  prop: "shelf",
89
- width: "150",
89
+ width: "120",
90
90
  slotName: "shelf",
91
91
  columnType: "slot",
92
92
  sortable: "custom",
@@ -95,7 +95,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], de
95
95
  {
96
96
  label: "goodsSpu.approvalStatus",
97
97
  prop: "approvalStatus",
98
- width: "130",
98
+ width: "120",
99
99
  slotName: "approvalStatus",
100
100
  columnType: "slot",
101
101
  isColumn: !0