xyvcard-goods 0.0.1 → 0.0.2

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 (31) hide show
  1. package/dist/{approveFailIndex-gl8MBbK6.mjs → approveFailIndex-BS-H7i3Y.mjs} +1 -1
  2. package/dist/{approvedIndex.vue_vue_type_script_setup_true_lang-Wyt6TM2h.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-CebPGseh.mjs} +111 -94
  3. package/dist/{auditIndex-jOIDtl_l.mjs → auditIndex-DHQPvPdG.mjs} +1 -1
  4. package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-sZD3eYJR.mjs → auditIndex.vue_vue_type_script_setup_true_lang-B-ghb-zu.mjs} +142 -125
  5. package/dist/{edit-DpIovEhA.mjs → edit-DOqDV4qb.mjs} +3792 -3789
  6. package/dist/{index-C9KO9AZw.mjs → el-message-D15RmjW3.mjs} +368 -367
  7. package/dist/{index-BupW0ufK.mjs → index-CIN1Wvug.mjs} +102 -75
  8. package/dist/{index-C9f6Lybt.mjs → index-CZD7OAWo.mjs} +49 -30
  9. package/dist/index.mjs +519 -593
  10. package/dist/info-MqipS9Ok.mjs +311 -0
  11. package/dist/{saleIndex-DOcefF_x.mjs → saleIndex-D2vlM6ww.mjs} +1 -1
  12. package/dist/saleIndex.vue_vue_type_script_setup_true_lang-B1iRvFF9.mjs +428 -0
  13. package/dist/{shelfIndex-CTAReFV-.mjs → shelfIndex-CEgDzOX1.mjs} +1 -1
  14. package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-BG3OCeN_.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-DS__493K.mjs} +174 -160
  15. package/dist/skuForm-BMRF5whq.mjs +419 -0
  16. package/dist/skuTable-Ddo1obnO.mjs +585 -0
  17. package/dist/style.css +1 -1
  18. package/dts/api/goods-spu/types.d.ts +13 -6
  19. package/dts/constant.d.ts +4 -0
  20. package/dts/lang/goods/en.d.ts +1 -68
  21. package/dts/lang/goods/zh-cn.d.ts +0 -44
  22. package/dts/utils/sku.d.ts +19 -0
  23. package/dts/views/goods/goods-spu/skuForm.vue.d.ts +29 -0
  24. package/dts/views/goods/goods-spu/skuTable.vue.d.ts +40 -0
  25. package/package.json +2 -2
  26. package/dist/approveFailIndex.vue_vue_type_script_setup_true_lang-WJ40OU9K.mjs +0 -544
  27. package/dist/approvedIndex-Cn6g11xv.mjs +0 -4
  28. package/dist/info-C6VRixBH.mjs +0 -301
  29. package/dist/saleIndex.vue_vue_type_script_setup_true_lang-Cfv3a-DK.mjs +0 -415
  30. package/dist/sku-form-BAi4HkUM.mjs +0 -463
  31. package/dist/sku-table-CRrisvJ1.mjs +0 -410
@@ -1,20 +1,26 @@
1
- import { defineComponent as ee, getCurrentInstance as oe, ref as $, reactive as le, resolveComponent as p, resolveDirective as te, openBlock as g, createElementBlock as V, createElementVNode as r, createVNode as a, withCtx as o, unref as s, withKeys as P, createTextVNode as f, toDisplayString as u, withDirectives as v, createBlock as I, isRef as z, createCommentVNode as ae } from "vue";
2
- import { useRouter as se } from "vue-router";
3
- import { useTableHooks as ne, fileApi as j } from "jmash-core";
4
- import { useI18n as ue } from "vue-i18n";
5
- import { g as E } from "./index-fu3gxdt_.mjs";
6
- import { D as b } from "./index-C9f6Lybt.mjs";
7
- /* empty css */
8
- import { Z as T } from "./index-C9KO9AZw.mjs";
9
- const pe = { class: "app-container" }, de = { class: "search-container" }, re = ["onClick"], ie = ["onClick"], me = ["onClick"], Se = /* @__PURE__ */ ee({
1
+ import { defineComponent as x, getCurrentInstance as ee, ref as D, resolveComponent as p, resolveDirective as oe, openBlock as m, createElementBlock as V, createElementVNode as r, createVNode as a, withCtx as l, unref as s, withKeys as R, createTextVNode as c, toDisplayString as u, withDirectives as b, createBlock as I, isRef as P, createCommentVNode as le } from "vue";
2
+ import { useRouter as te } from "vue-router";
3
+ import { useTableHooks as ae, fileApi as z } from "jmash-core";
4
+ import { useI18n as se } from "vue-i18n";
5
+ import { g as j } from "./index-fu3gxdt_.mjs";
6
+ import { D as g } from "./index-CZD7OAWo.mjs";
7
+ import { Z as E } from "./el-message-D15RmjW3.mjs";
8
+ const ne = { class: "app-container" }, ue = { class: "search-container" }, pe = ["onClick"], de = ["onClick"], re = ["onClick"], ye = /* @__PURE__ */ x({
10
9
  __name: "shelfIndex",
11
- setup(ce) {
12
- const { t: i } = ue(), B = se(), { proxy: L } = oe(), d = $({
10
+ setup(ie) {
11
+ const { t: _ } = se(), $ = te(), { proxy: q } = ee(), d = D({
13
12
  curPage: 1,
14
13
  pageSize: 10,
15
14
  shelf: "false"
16
- }), { tableHooks: n, multipleTableRef: k, queryFormRef: q, listLoading: H, tableData: K, total: C } = ne(i, E, d);
17
- let _ = $([
15
+ }), {
16
+ tableHooks: n,
17
+ multipleTableRef: T,
18
+ queryFormRef: B,
19
+ listLoading: L,
20
+ tableData: H,
21
+ total: v
22
+ } = ae(_, j, d);
23
+ let w = D([
18
24
  {
19
25
  label: "goodsSpu.shopId",
20
26
  prop: "shopId",
@@ -112,69 +118,70 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
112
118
  isColumn: !0
113
119
  }
114
120
  ]);
115
- b.shopInfoBizDict.useValues(), b.goodsCategoryDict.useValues();
116
- const N = $({
117
- title: i("common.edit"),
118
- visible: !1
119
- });
120
- let Q = le({});
121
- function Y() {
122
- B.push({ path: "/rawgoods/goods-spu/edit" });
121
+ g.shopInfoBizDict.useValues(), g.goodsCategoryDict.useValues();
122
+ function Q() {
123
+ $.push({ path: "/rawgoods/goods-spu/edit" });
124
+ }
125
+ function Y(t) {
126
+ $.push({
127
+ path: "/rawgoods/goods-spu/edit",
128
+ query: { spuId: t.spuId }
129
+ });
123
130
  }
124
131
  function A(t) {
125
- Q.spuId = t.spuId, N.value.title = i("common.edit"), N.value.visible = !0;
132
+ $.push({
133
+ path: "/rawgoods/goods-spu/info",
134
+ query: { spuId: t.spuId }
135
+ });
126
136
  }
127
- function M(t) {
137
+ function K(t) {
128
138
  n.selectionRows.value = t;
129
139
  }
130
- function F(t) {
140
+ function M(t) {
131
141
  n.handleSort(t.prop, t.order);
132
142
  }
133
- function O(t) {
143
+ function F() {
134
144
  if (n.selectionRows.value.length === 0) {
135
- T({
136
- message: i("goodsSpu.chooseShelf"),
145
+ E({
146
+ message: _("goodsSpu.chooseShelf"),
137
147
  type: "warning"
138
148
  });
139
149
  return;
140
150
  }
141
- const l = n.selectionRows.value.map((m) => m.spuId);
142
- console.log(l), E.enable({ spuId: l }, JSON.parse(t)).then((m) => {
143
- var h;
144
- console.log(m), m.status === 200 && (t === "true" ? T({
145
- message: i("goodsSpu.successShelf") + m.data + i("common.stripData"),
146
- type: "success"
147
- }) : T({
148
- message: i("goodsSpu.successOffShelf") + m.data + i("common.stripData"),
151
+ const t = n.selectionRows.value.map((o) => o.spuId);
152
+ console.log(t), j.enable({ spuId: t }, !0).then((o) => {
153
+ var C;
154
+ console.log(o), o.status === 200 && (E({
155
+ message: _("goodsSpu.successShelf") + o.data + _("common.stripData"),
149
156
  type: "success"
150
- }), n.getList(), (h = k.value) == null || h.clearSelection());
157
+ }), n.getList(), (C = T.value) == null || C.clearSelection());
151
158
  });
152
159
  }
153
- return n.getList(), (t, l) => {
154
- const m = p("jmash-select"), h = p("el-form-item"), w = p("el-col"), U = p("el-input"), S = p("el-button"), D = p("el-row"), J = p("el-form"), Z = p("jmash-column-select"), G = p("el-image"), R = p("el-switch"), W = p("jmash-table"), X = p("jmash-pagination"), x = p("el-card"), y = te("hasPerm");
155
- return g(), V("div", pe, [
156
- r("div", de, [
157
- a(J, {
160
+ return n.getList(), (t, o) => {
161
+ const C = p("jmash-select"), S = p("el-form-item"), f = p("el-col"), k = p("el-input"), y = p("el-button"), N = p("el-row"), Z = p("el-form"), G = p("jmash-column-select"), J = p("el-image"), U = p("el-switch"), O = p("jmash-table"), W = p("jmash-pagination"), X = p("el-card"), h = oe("hasPerm");
162
+ return m(), V("div", ne, [
163
+ r("div", ue, [
164
+ a(Z, {
158
165
  ref_key: "queryFormRef",
159
- ref: q,
166
+ ref: B,
160
167
  model: d.value,
161
168
  inline: !0
162
169
  }, {
163
- default: o(() => [
164
- a(D, null, {
165
- default: o(() => [
166
- a(w, { span: 6 }, {
167
- default: o(() => [
168
- a(h, {
170
+ default: l(() => [
171
+ a(N, null, {
172
+ default: l(() => [
173
+ a(f, { span: 6 }, {
174
+ default: l(() => [
175
+ a(S, {
169
176
  label: t.$t("goodsSpu.shopId"),
170
177
  prop: "shopId"
171
178
  }, {
172
- default: o(() => [
173
- a(m, {
179
+ default: l(() => [
180
+ a(C, {
174
181
  modelValue: d.value.shopId,
175
- "onUpdate:modelValue": l[0] || (l[0] = (e) => d.value.shopId = e),
182
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.shopId = e),
176
183
  placeholder: t.$t("goodsSpu.shopIdRequired"),
177
- data: s(b).shopInfoBizDict.values,
184
+ data: s(g).shopInfoBizDict.values,
178
185
  filterable: ""
179
186
  }, null, 8, ["modelValue", "placeholder", "data"])
180
187
  ]),
@@ -183,18 +190,18 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
183
190
  ]),
184
191
  _: 1
185
192
  }),
186
- a(w, { span: 6 }, {
187
- default: o(() => [
188
- a(h, {
193
+ a(f, { span: 6 }, {
194
+ default: l(() => [
195
+ a(S, {
189
196
  label: t.$t("goodsSpu.spuCode"),
190
197
  prop: "spuCode"
191
198
  }, {
192
- default: o(() => [
193
- a(U, {
199
+ default: l(() => [
200
+ a(k, {
194
201
  modelValue: d.value.spuCode,
195
- "onUpdate:modelValue": l[1] || (l[1] = (e) => d.value.spuCode = e),
202
+ "onUpdate:modelValue": o[1] || (o[1] = (e) => d.value.spuCode = e),
196
203
  placeholder: t.$t("goodsSpu.spuCode"),
197
- onKeyup: l[2] || (l[2] = P((e) => s(n).handleQuery(), ["enter"])),
204
+ onKeyup: o[2] || (o[2] = R((e) => s(n).handleQuery(), ["enter"])),
198
205
  class: "!w-[203px]"
199
206
  }, null, 8, ["modelValue", "placeholder"])
200
207
  ]),
@@ -203,18 +210,18 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
203
210
  ]),
204
211
  _: 1
205
212
  }),
206
- a(w, { span: 6 }, {
207
- default: o(() => [
208
- a(h, {
213
+ a(f, { span: 6 }, {
214
+ default: l(() => [
215
+ a(S, {
209
216
  label: t.$t("goodsSpu.spuName"),
210
217
  prop: "spuName"
211
218
  }, {
212
- default: o(() => [
213
- a(U, {
219
+ default: l(() => [
220
+ a(k, {
214
221
  modelValue: d.value.spuName,
215
- "onUpdate:modelValue": l[3] || (l[3] = (e) => d.value.spuName = e),
222
+ "onUpdate:modelValue": o[3] || (o[3] = (e) => d.value.spuName = e),
216
223
  placeholder: t.$t("goodsSpu.spuName"),
217
- onKeyup: l[4] || (l[4] = P((e) => s(n).handleQuery(), ["enter"])),
224
+ onKeyup: o[4] || (o[4] = R((e) => s(n).handleQuery(), ["enter"])),
218
225
  class: "!w-[203px]"
219
226
  }, null, 8, ["modelValue", "placeholder"])
220
227
  ]),
@@ -223,24 +230,24 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
223
230
  ]),
224
231
  _: 1
225
232
  }),
226
- a(w, { span: 6 }, {
227
- default: o(() => [
228
- a(h, { class: "search-btn" }, {
229
- default: o(() => [
230
- a(S, {
233
+ a(f, { span: 6 }, {
234
+ default: l(() => [
235
+ a(S, { class: "search-btn" }, {
236
+ default: l(() => [
237
+ a(y, {
231
238
  type: "primary",
232
- onClick: l[5] || (l[5] = (e) => s(n).handleQuery())
239
+ onClick: o[5] || (o[5] = (e) => s(n).handleQuery())
233
240
  }, {
234
- default: o(() => [
235
- f(u(t.$t("common.search")), 1)
241
+ default: l(() => [
242
+ c(u(t.$t("common.search")), 1)
236
243
  ]),
237
244
  _: 1
238
245
  }),
239
- a(S, {
240
- onClick: l[6] || (l[6] = (e) => s(n).resetQuery())
246
+ a(y, {
247
+ onClick: o[6] || (o[6] = (e) => s(n).resetQuery())
241
248
  }, {
242
- default: o(() => [
243
- f(u(t.$t("common.reset")), 1)
249
+ default: l(() => [
250
+ c(u(t.$t("common.reset")), 1)
244
251
  ]),
245
252
  _: 1
246
253
  })
@@ -257,59 +264,59 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
257
264
  _: 1
258
265
  }, 8, ["model"])
259
266
  ]),
260
- a(x, {
267
+ a(X, {
261
268
  shadow: "never",
262
269
  class: "table-container"
263
270
  }, {
264
- header: o(() => [
265
- a(D, null, {
266
- default: o(() => [
267
- a(w, { span: 17 }, {
268
- default: o(() => [
269
- v((g(), I(S, {
271
+ header: l(() => [
272
+ a(N, null, {
273
+ default: l(() => [
274
+ a(f, { span: 17 }, {
275
+ default: l(() => [
276
+ b((m(), I(y, {
270
277
  type: "primary",
271
- onClick: Y
278
+ onClick: Q
272
279
  }, {
273
- default: o(() => [
274
- f(u(t.$t("common.add")), 1)
280
+ default: l(() => [
281
+ c(u(t.$t("common.add")), 1)
275
282
  ]),
276
283
  _: 1
277
284
  })), [
278
- [y, ["goods:goods_spu:add"]]
285
+ [h, ["goods:goods_spu:add"]]
279
286
  ]),
280
- v((g(), I(S, {
287
+ b((m(), I(y, {
281
288
  type: "primary",
282
- onClick: l[7] || (l[7] = (e) => s(n).deleteRecords())
289
+ onClick: o[7] || (o[7] = (e) => s(n).deleteRecords())
283
290
  }, {
284
- default: o(() => [
285
- f(u(t.$t("common.batchDelete")), 1)
291
+ default: l(() => [
292
+ c(u(t.$t("common.batchDelete")), 1)
286
293
  ]),
287
294
  _: 1
288
295
  })), [
289
- [y, ["goods:goods_spu:delete"]]
296
+ [h, ["goods:goods_spu:delete"]]
290
297
  ]),
291
- v((g(), I(S, {
298
+ b((m(), I(y, {
292
299
  type: "primary",
293
- onClick: O
300
+ onClick: F
294
301
  }, {
295
- default: o(() => [
296
- f(u(t.$t("goodsSpu.batchShelf")), 1)
302
+ default: l(() => [
303
+ c(u(t.$t("goodsSpu.batchShelf")), 1)
297
304
  ]),
298
305
  _: 1
299
306
  })), [
300
- [y, ["goods:goods_spu:onSale"]]
307
+ [h, ["goods:goods_spu:onSale"]]
301
308
  ])
302
309
  ]),
303
310
  _: 1
304
311
  }),
305
- a(w, {
312
+ a(f, {
306
313
  span: 7,
307
314
  class: "container-float"
308
315
  }, {
309
- default: o(() => [
310
- a(Z, {
311
- modelValue: s(_),
312
- "onUpdate:modelValue": l[8] || (l[8] = (e) => z(_) ? _.value = e : _ = e),
316
+ default: l(() => [
317
+ a(G, {
318
+ modelValue: s(w),
319
+ "onUpdate:modelValue": o[8] || (o[8] = (e) => P(w) ? w.value = e : w = e),
313
320
  "label-name": "goods/goods-spu"
314
321
  }, null, 8, ["modelValue"])
315
322
  ]),
@@ -319,98 +326,105 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
319
326
  _: 1
320
327
  })
321
328
  ]),
322
- footer: o(() => [
323
- s(C) > 0 ? (g(), I(X, {
329
+ footer: l(() => [
330
+ s(v) > 0 ? (m(), I(W, {
324
331
  key: 0,
325
- total: s(C),
326
- "onUpdate:total": l[9] || (l[9] = (e) => z(C) ? C.value = e : null),
332
+ total: s(v),
333
+ "onUpdate:total": o[9] || (o[9] = (e) => P(v) ? v.value = e : null),
327
334
  "current-page": d.value.curPage,
328
- "onUpdate:currentPage": l[10] || (l[10] = (e) => d.value.curPage = e),
335
+ "onUpdate:currentPage": o[10] || (o[10] = (e) => d.value.curPage = e),
329
336
  "page-size": d.value.pageSize,
330
- "onUpdate:pageSize": l[11] || (l[11] = (e) => d.value.pageSize = e),
331
- onPagination: l[12] || (l[12] = (e) => s(n).getList())
332
- }, null, 8, ["total", "current-page", "page-size"])) : ae("", !0)
337
+ "onUpdate:pageSize": o[11] || (o[11] = (e) => d.value.pageSize = e),
338
+ onPagination: o[12] || (o[12] = (e) => s(n).getList())
339
+ }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
333
340
  ]),
334
- default: o(() => [
335
- a(W, {
341
+ default: l(() => [
342
+ a(O, {
336
343
  ref_key: "multipleTableRef",
337
- ref: k,
344
+ ref: T,
338
345
  "row-key": "spuId",
339
- "list-loading": s(H),
340
- data: s(K),
341
- "table-label": s(_),
342
- onSelectionChange: M,
343
- onSortChange: F
346
+ "list-loading": s(L),
347
+ data: s(H),
348
+ "table-label": s(w),
349
+ onSelectionChange: K,
350
+ onSortChange: M
344
351
  }, {
345
- shopId: o((e) => [
346
- r("span", null, u(s(b).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
352
+ shopId: l((e) => [
353
+ r("span", null, u(s(g).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
347
354
  ]),
348
- categoryId: o((e) => [
349
- r("span", null, u(s(b).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
355
+ categoryId: l((e) => [
356
+ r("span", null, u(s(g).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
350
357
  ]),
351
- picUrls: o((e) => [
358
+ picUrls: l((e) => [
352
359
  r("span", null, [
353
- a(G, {
354
- src: s(j).imageUrl(e.data.row.picUrls.split(",")[0], 50, 50),
355
- "preview-src-list": [s(j).imageUrl(e.data.row.picUrls.split(",")[0])],
360
+ a(J, {
361
+ src: s(z).imageUrl(e.data.row.picUrls.split(",")[0], 50, 50),
362
+ "preview-src-list": [
363
+ s(z).imageUrl(e.data.row.picUrls.split(",")[0])
364
+ ],
356
365
  "preview-teleported": "",
357
366
  "hide-on-click-modal": "",
358
367
  fit: "contain"
359
368
  }, null, 8, ["src", "preview-src-list"])
360
369
  ])
361
370
  ]),
362
- shelf: o((e) => [
371
+ shelf: l((e) => [
363
372
  r("span", null, [
364
- a(R, {
373
+ a(U, {
365
374
  modelValue: e.data.row.shelf,
366
- "onUpdate:modelValue": (c) => e.data.row.shelf = c,
367
- onClick: (c) => s(n).enableRecord(e.data.row, e.data.row.shelf)
375
+ "onUpdate:modelValue": (i) => e.data.row.shelf = i,
376
+ onClick: (i) => s(n).enableRecord(e.data.row, e.data.row.shelf)
368
377
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onClick"])
369
378
  ])
370
379
  ]),
371
- minPrice: o((e) => [
380
+ minPrice: l((e) => [
372
381
  r("span", null, u(e.data.row.minPrice) + " ~ " + u(e.data.row.maxPrice), 1)
373
382
  ]),
374
- specType: o((e) => [
375
- r("span", null, u(s(b).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
383
+ specType: l((e) => [
384
+ r("span", null, u(s(g).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
376
385
  ]),
377
- approvalStatus: o((e) => [
378
- r("span", null, u(s(b).approvalStatusEnum.getEnumValue(e.data.row.approvalStatus)), 1)
386
+ approvalStatus: l((e) => [
387
+ r("span", null, u(s(g).approvalStatusEnum.getEnumValue(
388
+ e.data.row.approvalStatus
389
+ )), 1)
379
390
  ]),
380
- updateTime: o((e) => [
381
- r("span", null, u(s(L).$moment.formatDate(e.data.row.updateTime, "YYYY-MM-DD HH:mm:ss")), 1)
391
+ updateTime: l((e) => [
392
+ r("span", null, u(s(q).$moment.formatDate(
393
+ e.data.row.updateTime,
394
+ "YYYY-MM-DD HH:mm:ss"
395
+ )), 1)
382
396
  ]),
383
- enable: o((e) => [
384
- a(R, {
397
+ enable: l((e) => [
398
+ a(U, {
385
399
  modelValue: e.data.row.enable,
386
- "onUpdate:modelValue": (c) => e.data.row.enable = c,
387
- onChange: (c) => s(n).enableRecord(e.data.row, e.data.row.enable)
400
+ "onUpdate:modelValue": (i) => e.data.row.enable = i,
401
+ onChange: (i) => s(n).enableRecord(e.data.row, e.data.row.enable)
388
402
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
389
403
  ]),
390
- operation: o((e) => [
391
- v((g(), V("span", {
404
+ operation: l((e) => [
405
+ b((m(), V("span", {
392
406
  class: "el-button-color",
393
- onClick: (c) => A(e.data.row)
407
+ onClick: (i) => Y(e.data.row)
394
408
  }, [
395
- f(u(t.$t("common.edit")), 1)
396
- ], 8, re)), [
397
- [y, ["goods:goods_spu:update"]]
409
+ c(u(t.$t("common.edit")), 1)
410
+ ], 8, pe)), [
411
+ [h, ["goods:goods_spu:update"]]
398
412
  ]),
399
- v((g(), V("span", {
413
+ b((m(), V("span", {
400
414
  class: "el-button-color dropdown-left",
401
- onClick: (c) => s(n).deleteRecord(e.data.row)
415
+ onClick: (i) => s(n).deleteRecord(e.data.row)
402
416
  }, [
403
- f(u(t.$t("common.delete")), 1)
404
- ], 8, ie)), [
405
- [y, ["goods:goods_spu:delete"]]
417
+ c(u(t.$t("common.delete")), 1)
418
+ ], 8, de)), [
419
+ [h, ["goods:goods_spu:delete"]]
406
420
  ]),
407
- v((g(), V("span", {
421
+ b((m(), V("span", {
408
422
  class: "el-button-color dropdown-left",
409
- onClick: (c) => s(n).deleteRecord(e.data.row)
423
+ onClick: (i) => A(e.data.row)
410
424
  }, [
411
- f(u(t.$t("common.delete")), 1)
412
- ], 8, me)), [
413
- [y, ["goods:goods_spu:delete"]]
425
+ c(u(t.$t("common.view")), 1)
426
+ ], 8, re)), [
427
+ [h, ["goods:goods_spu:view"]]
414
428
  ])
415
429
  ]),
416
430
  _: 1
@@ -423,5 +437,5 @@ const pe = { class: "app-container" }, de = { class: "search-container" }, re =
423
437
  }
424
438
  });
425
439
  export {
426
- Se as _
440
+ ye as _
427
441
  };