xyvcard-goods 0.0.1 → 0.0.3

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