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,39 +1,39 @@
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";
2
- import { ElMessage as z } from "element-plus";
3
- import { useRouter as le } from "vue-router";
4
- import { useTableHooks as te, fileApi as j } from "jmash-core";
5
- import { useI18n as ae } from "vue-i18n";
6
- import { goodsSpuApi as E } from "./index.mjs";
7
- import { C as se, D as g } from "./index-AZ4TxL-_.mjs";
8
- const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be = /* @__PURE__ */ Z({
1
+ import { defineComponent as Z, getCurrentInstance as ee, ref as $, resolveComponent as u, resolveDirective as oe, openBlock as i, createElementBlock as v, createElementVNode as d, createVNode as t, withCtx as o, unref as a, withKeys as D, createTextVNode as m, toDisplayString as p, withDirectives as V, createBlock as I, isRef as R, createCommentVNode as le, Fragment as z } from "vue";
2
+ import { ElMessage as j } from "element-plus";
3
+ import { useRouter as te } from "vue-router";
4
+ import { useTableHooks as ae, fileApi as E } from "jmash-core";
5
+ import { useI18n as se } from "vue-i18n";
6
+ import { goodsSpuApi as A } from "./index.mjs";
7
+ import { C as ne, D as c } from "./index-CKeHa-Cx.mjs";
8
+ const ue = { class: "search-container" }, pe = ["onClick"], we = /* @__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: w } = se(), T = te(), { proxy: B } = ee(), r = $({
12
12
  curPage: 1,
13
13
  pageSize: 10,
14
14
  shelf: "true",
15
- approvalStatus: se.approval_pass
15
+ approvalStatus: ne.APPROVAL_PASS
16
16
  }), {
17
17
  tableHooks: n,
18
- multipleTableRef: $,
19
- queryFormRef: q,
20
- listLoading: L,
18
+ multipleTableRef: k,
19
+ queryFormRef: L,
20
+ listLoading: q,
21
21
  tableData: H,
22
- total: _
23
- } = te(v, E, r);
24
- let h = D([
22
+ total: b
23
+ } = ae(w, A, r);
24
+ let h = $([
25
25
  {
26
26
  label: "goodsSpu.shopId",
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
@@ -119,7 +119,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
119
119
  isColumn: !0
120
120
  }
121
121
  ]);
122
- g.shopInfoBizDict.useValues(), g.goodsCategoryDict.useValues();
122
+ c.shopInfoBizDict.useValues(), c.goodsCategoryDict.useValues();
123
123
  function Q() {
124
124
  T.push({ path: "/rawgoods/goods-spu/edit" });
125
125
  }
@@ -129,7 +129,7 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
129
129
  query: { spuId: s.spuId }
130
130
  });
131
131
  }
132
- function A(s) {
132
+ function F(s) {
133
133
  n.selectionRows.value = s;
134
134
  }
135
135
  function K(s) {
@@ -137,46 +137,46 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
137
137
  }
138
138
  function M() {
139
139
  if (n.selectionRows.value.length === 0) {
140
- z({
141
- message: v("goodsSpu.chooseShelf"),
140
+ j({
141
+ message: w("goodsSpu.chooseShelf"),
142
142
  type: "warning"
143
143
  });
144
144
  return;
145
145
  }
146
- const s = n.selectionRows.value.map((o) => o.spuId);
147
- E.enable({ spuId: s }, !1).then((o) => {
148
- var C;
149
- o.status === 200 && z({
150
- message: v("goodsSpu.successOffShelf") + o.data + v("common.stripData"),
146
+ const s = n.selectionRows.value.map((l) => l.spuId);
147
+ A.enable({ spuId: s }, !1).then((l) => {
148
+ var y;
149
+ l.status === 200 && j({
150
+ message: w("goodsSpu.successOffShelf") + l.data + w("common.stripData"),
151
151
  type: "success"
152
- }), n.getList(), (C = $.value) == null || C.clearSelection();
152
+ }), n.getList(), (y = k.value) == null || y.clearSelection();
153
153
  });
154
154
  }
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");
157
- return i(), I("div", null, [
158
- d("div", ne, [
159
- t(F, {
155
+ return n.getList(), (s, l) => {
156
+ const y = u("jmash-select"), S = u("el-form-item"), g = u("el-col"), N = u("el-input"), _ = u("el-button"), P = u("el-row"), O = u("el-form"), x = u("jmash-column-select"), G = u("el-image"), U = u("el-switch"), J = u("jmash-table"), W = u("jmash-pagination"), X = u("el-card"), C = oe("hasPerm");
157
+ return i(), v("div", null, [
158
+ d("div", ue, [
159
+ t(O, {
160
160
  ref_key: "queryFormRef",
161
- ref: q,
161
+ ref: L,
162
162
  model: r.value,
163
163
  inline: !0
164
164
  }, {
165
- default: l(() => [
166
- t(k, null, {
167
- default: l(() => [
168
- t(f, { span: 6 }, {
169
- default: l(() => [
165
+ default: o(() => [
166
+ t(P, null, {
167
+ default: o(() => [
168
+ t(g, { span: 6 }, {
169
+ default: o(() => [
170
170
  t(S, {
171
171
  label: s.$t("goodsSpu.shopId"),
172
172
  prop: "shopId"
173
173
  }, {
174
- default: l(() => [
175
- t(C, {
174
+ default: o(() => [
175
+ t(y, {
176
176
  modelValue: r.value.shopId,
177
- "onUpdate:modelValue": o[0] || (o[0] = (e) => r.value.shopId = e),
177
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => r.value.shopId = e),
178
178
  placeholder: s.$t("goodsSpu.shopIdRequired"),
179
- data: a(g).shopInfoBizDict.values,
179
+ data: a(c).shopInfoBizDict.values,
180
180
  filterable: ""
181
181
  }, null, 8, ["modelValue", "placeholder", "data"])
182
182
  ]),
@@ -185,18 +185,18 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
185
185
  ]),
186
186
  _: 1
187
187
  }),
188
- t(f, { span: 6 }, {
189
- default: l(() => [
188
+ t(g, { span: 6 }, {
189
+ default: o(() => [
190
190
  t(S, {
191
191
  label: s.$t("goodsSpu.spuCode"),
192
192
  prop: "spuCode"
193
193
  }, {
194
- default: l(() => [
194
+ default: o(() => [
195
195
  t(N, {
196
196
  modelValue: r.value.spuCode,
197
- "onUpdate:modelValue": o[1] || (o[1] = (e) => r.value.spuCode = e),
197
+ "onUpdate:modelValue": l[1] || (l[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: l[2] || (l[2] = D((e) => a(n).handleQuery(), ["enter"])),
200
200
  class: "!w-[203px]"
201
201
  }, null, 8, ["modelValue", "placeholder"])
202
202
  ]),
@@ -205,18 +205,18 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
205
205
  ]),
206
206
  _: 1
207
207
  }),
208
- t(f, { span: 6 }, {
209
- default: l(() => [
208
+ t(g, { span: 6 }, {
209
+ default: o(() => [
210
210
  t(S, {
211
211
  label: s.$t("goodsSpu.spuName"),
212
- prop: "spuName"
212
+ prop: "likeSpuName"
213
213
  }, {
214
- default: l(() => [
214
+ default: o(() => [
215
215
  t(N, {
216
- modelValue: r.value.spuName,
217
- "onUpdate:modelValue": o[3] || (o[3] = (e) => r.value.spuName = e),
216
+ modelValue: r.value.likeSpuName,
217
+ "onUpdate:modelValue": l[3] || (l[3] = (e) => r.value.likeSpuName = e),
218
218
  placeholder: s.$t("goodsSpu.spuName"),
219
- onKeyup: o[4] || (o[4] = R((e) => a(n).handleQuery(), ["enter"])),
219
+ onKeyup: l[4] || (l[4] = D((e) => a(n).handleQuery(), ["enter"])),
220
220
  class: "!w-[203px]"
221
221
  }, null, 8, ["modelValue", "placeholder"])
222
222
  ]),
@@ -225,24 +225,24 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
225
225
  ]),
226
226
  _: 1
227
227
  }),
228
- t(f, { span: 6 }, {
229
- default: l(() => [
228
+ t(g, { span: 6 }, {
229
+ default: o(() => [
230
230
  t(S, { class: "search-btn" }, {
231
- default: l(() => [
232
- t(b, {
231
+ default: o(() => [
232
+ t(_, {
233
233
  type: "primary",
234
- onClick: o[5] || (o[5] = (e) => a(n).handleQuery())
234
+ onClick: l[5] || (l[5] = (e) => a(n).handleQuery())
235
235
  }, {
236
- default: l(() => [
237
- c(u(s.$t("common.search")), 1)
236
+ default: o(() => [
237
+ m(p(s.$t("common.search")), 1)
238
238
  ]),
239
239
  _: 1
240
240
  }),
241
- t(b, {
242
- onClick: o[6] || (o[6] = (e) => a(n).resetQuery())
241
+ t(_, {
242
+ onClick: l[6] || (l[6] = (e) => a(n).resetQuery())
243
243
  }, {
244
- default: l(() => [
245
- c(u(s.$t("common.reset")), 1)
244
+ default: o(() => [
245
+ m(p(s.$t("common.reset")), 1)
246
246
  ]),
247
247
  _: 1
248
248
  })
@@ -263,55 +263,44 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
263
263
  shadow: "never",
264
264
  class: "table-container"
265
265
  }, {
266
- header: l(() => [
267
- t(k, null, {
268
- default: l(() => [
269
- t(f, { span: 17 }, {
270
- default: l(() => [
271
- y((i(), V(b, {
266
+ header: o(() => [
267
+ t(P, null, {
268
+ default: o(() => [
269
+ t(g, { span: 17 }, {
270
+ default: o(() => [
271
+ V((i(), I(_, {
272
272
  type: "primary",
273
273
  onClick: Q
274
274
  }, {
275
- default: l(() => [
276
- c(u(s.$t("common.add")), 1)
275
+ default: o(() => [
276
+ m(p(s.$t("common.add")), 1)
277
277
  ]),
278
278
  _: 1
279
279
  })), [
280
- [w, ["goods:goods_spu:add"]]
280
+ [C, ["goods:goods_spu:add"]]
281
281
  ]),
282
- y((i(), V(b, {
283
- type: "primary",
284
- onClick: o[7] || (o[7] = (e) => a(n).deleteRecords())
285
- }, {
286
- default: l(() => [
287
- c(u(s.$t("common.batchDelete")), 1)
288
- ]),
289
- _: 1
290
- })), [
291
- [w, ["goods:goods_spu:delete"]]
292
- ]),
293
- y((i(), V(b, {
282
+ V((i(), I(_, {
294
283
  type: "primary",
295
284
  onClick: M
296
285
  }, {
297
- default: l(() => [
298
- c(u(s.$t("goodsSpu.batchOffShelf")), 1)
286
+ default: o(() => [
287
+ m(p(s.$t("goodsSpu.batchOffShelf")), 1)
299
288
  ]),
300
289
  _: 1
301
290
  })), [
302
- [w, ["goods:goods_spu:onSale"]]
291
+ [C, ["goods:goods_spu:onSale"]]
303
292
  ])
304
293
  ]),
305
294
  _: 1
306
295
  }),
307
- t(f, {
296
+ t(g, {
308
297
  span: 7,
309
298
  class: "container-float"
310
299
  }, {
311
- default: l(() => [
312
- t(O, {
300
+ default: o(() => [
301
+ t(x, {
313
302
  modelValue: a(h),
314
- "onUpdate:modelValue": o[8] || (o[8] = (e) => P(h) ? h.value = e : h = e),
303
+ "onUpdate:modelValue": l[7] || (l[7] = (e) => R(h) ? h.value = e : h = e),
315
304
  "label-name": "goods/goods-spu"
316
305
  }, null, 8, ["modelValue"])
317
306
  ]),
@@ -321,41 +310,41 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
321
310
  _: 1
322
311
  })
323
312
  ]),
324
- footer: l(() => [
325
- a(_) > 0 ? (i(), V(W, {
313
+ footer: o(() => [
314
+ a(b) > 0 ? (i(), I(W, {
326
315
  key: 0,
327
- total: a(_),
328
- "onUpdate:total": o[9] || (o[9] = (e) => P(_) ? _.value = e : null),
316
+ total: a(b),
317
+ "onUpdate:total": l[8] || (l[8] = (e) => R(b) ? b.value = e : null),
329
318
  "current-page": r.value.curPage,
330
- "onUpdate:currentPage": o[10] || (o[10] = (e) => r.value.curPage = e),
319
+ "onUpdate:currentPage": l[9] || (l[9] = (e) => r.value.curPage = e),
331
320
  "page-size": r.value.pageSize,
332
- "onUpdate:pageSize": o[11] || (o[11] = (e) => r.value.pageSize = e),
333
- onPagination: o[12] || (o[12] = (e) => a(n).getList())
334
- }, null, 8, ["total", "current-page", "page-size"])) : oe("", !0)
321
+ "onUpdate:pageSize": l[10] || (l[10] = (e) => r.value.pageSize = e),
322
+ onPagination: l[11] || (l[11] = (e) => a(n).getList())
323
+ }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
335
324
  ]),
336
- default: l(() => [
325
+ default: o(() => [
337
326
  t(J, {
338
327
  ref_key: "multipleTableRef",
339
- ref: $,
328
+ ref: k,
340
329
  "row-key": "spuId",
341
- "list-loading": a(L),
330
+ "list-loading": a(q),
342
331
  data: a(H),
343
332
  "table-label": a(h),
344
- onSelectionChange: A,
333
+ onSelectionChange: F,
345
334
  onSortChange: K
346
335
  }, {
347
- shopId: l((e) => [
348
- d("span", null, u(a(g).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
336
+ shopId: o((e) => [
337
+ d("span", null, p(a(c).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
349
338
  ]),
350
- categoryId: l((e) => [
351
- d("span", null, u(a(g).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
339
+ categoryId: o((e) => [
340
+ d("span", null, p(a(c).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
352
341
  ]),
353
- picUrls: l((e) => [
342
+ picUrls: o((e) => [
354
343
  d("span", null, [
355
344
  t(G, {
356
- src: a(j).imageUrl(e.data.row.picUrls.split(",")[0], 50, 50),
345
+ src: a(E).imageUrl(e.data.row.picUrls.split(",")[0], 50, 50),
357
346
  "preview-src-list": [
358
- a(j).imageUrl(e.data.row.picUrls.split(",")[0])
347
+ a(E).imageUrl(e.data.row.picUrls.split(",")[0])
359
348
  ],
360
349
  "preview-teleported": "",
361
350
  "hide-on-click-modal": "",
@@ -363,55 +352,53 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
363
352
  }, null, 8, ["src", "preview-src-list"])
364
353
  ])
365
354
  ]),
366
- shelf: l((e) => [
355
+ shelf: o((e) => [
367
356
  d("span", null, [
368
357
  t(U, {
369
358
  modelValue: e.data.row.shelf,
370
- "onUpdate:modelValue": (m) => e.data.row.shelf = m,
371
- onClick: (m) => a(n).enableRecord(e.data.row, e.data.row.shelf)
359
+ "onUpdate:modelValue": (f) => e.data.row.shelf = f,
360
+ onClick: (f) => a(n).enableRecord(e.data.row, e.data.row.shelf)
372
361
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onClick"])
373
362
  ])
374
363
  ]),
375
- minPrice: l((e) => [
376
- d("span", null, u(e.data.row.minPrice) + " ~ " + u(e.data.row.maxPrice), 1)
364
+ minPrice: o((e) => [
365
+ d("span", null, [
366
+ e.data.row.minPrice === e.data.row.maxPrice ? (i(), v(z, { key: 0 }, [
367
+ m(p(e.data.row.minPrice), 1)
368
+ ], 64)) : (i(), v(z, { key: 1 }, [
369
+ m(p(e.data.row.minPrice) + " ~ " + p(e.data.row.maxPrice), 1)
370
+ ], 64))
371
+ ])
377
372
  ]),
378
- specType: l((e) => [
379
- d("span", null, u(a(g).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
373
+ specType: o((e) => [
374
+ d("span", null, p(a(c).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
380
375
  ]),
381
- approvalStatus: l((e) => [
382
- d("span", null, u(a(g).approvalStatusEnum.getEnumValue(
376
+ approvalStatus: o((e) => [
377
+ d("span", null, p(a(c).approvalStatusEnum.getEnumValue(
383
378
  e.data.row.approvalStatus
384
379
  )), 1)
385
380
  ]),
386
- updateTime: l((e) => [
387
- d("span", null, u(a(B).$moment.formatDate(
381
+ updateTime: o((e) => [
382
+ d("span", null, p(a(B).$moment.formatDate(
388
383
  e.data.row.updateTime,
389
384
  "YYYY-MM-DD HH:mm:ss"
390
385
  )), 1)
391
386
  ]),
392
- enable: l((e) => [
387
+ enable: o((e) => [
393
388
  t(U, {
394
389
  modelValue: e.data.row.enable,
395
- "onUpdate:modelValue": (m) => e.data.row.enable = m,
396
- onChange: (m) => a(n).enableRecord(e.data.row, e.data.row.enable)
390
+ "onUpdate:modelValue": (f) => e.data.row.enable = f,
391
+ onChange: (f) => a(n).enableRecord(e.data.row, e.data.row.enable)
397
392
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
398
393
  ]),
399
- operation: l((e) => [
400
- y((i(), I("span", {
394
+ operation: o((e) => [
395
+ V((i(), v("span", {
401
396
  class: "el-button-color",
402
- onClick: (m) => a(n).deleteRecord(e.data.row)
403
- }, [
404
- c(u(s.$t("common.delete")), 1)
405
- ], 8, ue)), [
406
- [w, ["goods:goods_spu:delete"]]
407
- ]),
408
- y((i(), I("span", {
409
- class: "el-button-color dropdown-left",
410
- onClick: (m) => Y(e.data.row)
397
+ onClick: (f) => Y(e.data.row)
411
398
  }, [
412
- c(u(s.$t("common.view")), 1)
399
+ m(p(s.$t("common.view")), 1)
413
400
  ], 8, pe)), [
414
- [w, ["goods:goods_spu:view"]]
401
+ [C, ["goods:goods_spu:view"]]
415
402
  ])
416
403
  ]),
417
404
  _: 1
@@ -424,5 +411,5 @@ const ne = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], be
424
411
  }
425
412
  });
426
413
  export {
427
- be as _
414
+ we as _
428
415
  };
@@ -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-C6RfhqIl.mjs";
2
2
  export {
3
3
  f as default
4
4
  };