xyvcard-goods 0.0.9 → 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.
- package/dist/{approveFailIndex-DJf9bHab.mjs → approveFailIndex-B-VGnf1U.mjs} +1 -1
- package/dist/{approveFailIndex.vue_vue_type_script_setup_true_lang-mXqZdtba.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-CiIyafoQ.mjs} +113 -107
- package/dist/{auditIndex-CCkGsSy2.mjs → auditIndex-tEq8uYdA.mjs} +1 -1
- package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-DHolmNaP.mjs → auditIndex.vue_vue_type_script_setup_true_lang-BW22LRCL.mjs} +118 -112
- package/dist/edit-FCXD46Ef.mjs +556 -0
- package/dist/{index-vcmJ06-Y.mjs → index-C9LeLF51.mjs} +158 -149
- package/dist/index.mjs +3 -3
- package/dist/{info-CPZykxS1.mjs → info-CScBSLKA.mjs} +1 -1
- package/dist/{saleIndex-CdAcvCzO.mjs → saleIndex-B7TBQOB6.mjs} +1 -1
- package/dist/{saleIndex.vue_vue_type_script_setup_true_lang-CLzVH-ix.mjs → saleIndex.vue_vue_type_script_setup_true_lang-B6wKXUcV.mjs} +134 -147
- package/dist/{shelfIndex-ZHuhzU_h.mjs → shelfIndex-BfsIMQfD.mjs} +1 -1
- package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-CTv-j8Xe.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-C6RfhqIl.mjs} +114 -108
- package/dist/{skuForm-BSlT4TYd.mjs → skuForm-CRnWdE9n.mjs} +11 -5
- package/dist/{skuTable-DYmQYXk3.mjs → skuTable-Ck7bJzYP.mjs} +25 -24
- package/dist/style.css +1 -1
- package/dts/api/goods-spu/types.d.ts +1 -1
- package/dts/components/EnumRadio/index.vue.d.ts +4 -3
- package/dts/components/GoodsUpload/ImageUpload.vue.d.ts +10 -18
- package/dts/components/ImageUpload.vue.d.ts +36 -0
- package/dts/views/goods/goods-spu/skuForm.vue.d.ts +1 -1
- package/package.json +14 -14
- package/dist/edit-D37yka6Z.mjs +0 -470
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
import { useRouter as
|
|
4
|
-
import { useTableHooks as me, fileApi as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { goodsSpuApi as
|
|
7
|
-
import { C as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as de, getCurrentInstance as pe, ref as D, resolveComponent as s, resolveDirective as ue, openBlock as i, createElementBlock as v, createElementVNode as m, createVNode as l, withCtx as o, unref as n, withKeys as z, createTextVNode as r, toDisplayString as d, withDirectives as y, createBlock as k, isRef as L, createCommentVNode as re, Fragment as j } from "vue";
|
|
2
|
+
import { ElMessage as $ } from "element-plus";
|
|
3
|
+
import { useRouter as ie } from "vue-router";
|
|
4
|
+
import { useTableHooks as me, fileApi as E } from "jmash-core";
|
|
5
|
+
import { useI18n as ce } from "vue-i18n";
|
|
6
|
+
import { goodsSpuApi as q } from "./index.mjs";
|
|
7
|
+
import { C as ge, D as _ } from "./index-CKeHa-Cx.mjs";
|
|
8
|
+
const fe = { class: "search-container" }, _e = ["onClick"], we = ["onClick"], he = ["onClick"], Pe = /* @__PURE__ */ de({
|
|
9
9
|
__name: "auditIndex",
|
|
10
|
-
setup(
|
|
11
|
-
const { t: w } =
|
|
10
|
+
setup(be) {
|
|
11
|
+
const { t: w } = ce(), I = ie(), { proxy: B } = pe(), u = D({
|
|
12
12
|
curPage: 1,
|
|
13
13
|
pageSize: 10,
|
|
14
|
-
approvalStatus:
|
|
14
|
+
approvalStatus: ge.APPROVALING
|
|
15
15
|
}), {
|
|
16
|
-
tableHooks:
|
|
17
|
-
multipleTableRef:
|
|
18
|
-
queryFormRef:
|
|
19
|
-
listLoading:
|
|
16
|
+
tableHooks: p,
|
|
17
|
+
multipleTableRef: T,
|
|
18
|
+
queryFormRef: O,
|
|
19
|
+
listLoading: F,
|
|
20
20
|
tableData: H,
|
|
21
|
-
total:
|
|
22
|
-
} = me(w,
|
|
23
|
-
let
|
|
21
|
+
total: V
|
|
22
|
+
} = me(w, q, u);
|
|
23
|
+
let S = D([
|
|
24
24
|
{
|
|
25
25
|
label: "goodsSpu.shopId",
|
|
26
26
|
prop: "shopId",
|
|
@@ -120,53 +120,53 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
120
120
|
]);
|
|
121
121
|
_.shopInfoBizDict.useValues(), _.goodsCategoryDict.useValues();
|
|
122
122
|
function Q() {
|
|
123
|
-
|
|
123
|
+
I.push({ path: "/rawgoods/goods-spu/edit" });
|
|
124
124
|
}
|
|
125
125
|
function Y(t) {
|
|
126
|
-
|
|
126
|
+
I.push({
|
|
127
127
|
path: "/rawgoods/goods-spu/edit",
|
|
128
128
|
query: { spuId: t.spuId }
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
|
|
131
|
+
function K(t) {
|
|
132
|
+
I.push({
|
|
133
133
|
path: "/rawgoods/goods-spu/info",
|
|
134
134
|
query: { spuId: t.spuId }
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
function K(t) {
|
|
138
|
-
d.selectionRows.value = t;
|
|
139
|
-
}
|
|
140
137
|
function M(t) {
|
|
141
|
-
|
|
138
|
+
p.selectionRows.value = t;
|
|
142
139
|
}
|
|
143
140
|
function G(t) {
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
p.handleSort(t.prop, t.order);
|
|
142
|
+
}
|
|
143
|
+
function J(t) {
|
|
144
|
+
if (p.selectionRows.value.length === 0) {
|
|
145
|
+
$({
|
|
146
146
|
message: w("goodsSpu.chooseShelf"),
|
|
147
147
|
type: "warning"
|
|
148
148
|
});
|
|
149
149
|
return;
|
|
150
150
|
}
|
|
151
|
-
const a =
|
|
152
|
-
|
|
151
|
+
const a = p.selectionRows.value.map((g) => g.spuId);
|
|
152
|
+
q.audit({ spuId: a }, t).then((g) => {
|
|
153
153
|
var f;
|
|
154
|
-
g.status === 200 && (t === "APPROVAL_PASS" ?
|
|
154
|
+
g.status === 200 && (t === "APPROVAL_PASS" ? $({
|
|
155
155
|
message: w("goodsSpu.successApproval") + g.data + w("common.stripData"),
|
|
156
156
|
type: "success"
|
|
157
|
-
}) :
|
|
157
|
+
}) : $({
|
|
158
158
|
message: w("goodsSpu.successFilled") + g.data + w("common.stripData"),
|
|
159
159
|
type: "success"
|
|
160
|
-
}),
|
|
160
|
+
}), p.getList(), (f = T.value) == null || f.clearSelection());
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
return
|
|
164
|
-
const g =
|
|
165
|
-
return
|
|
166
|
-
m("div",
|
|
167
|
-
l(
|
|
163
|
+
return p.getList(), (t, a) => {
|
|
164
|
+
const g = s("jmash-select"), f = s("el-form-item"), h = s("el-col"), N = s("el-input"), C = s("el-button"), U = s("el-row"), W = s("el-form"), X = s("arrow-down"), P = s("el-icon"), Z = s("Unlock"), R = s("el-dropdown-item"), x = s("Lock"), ee = s("el-dropdown-menu"), oe = s("el-dropdown"), le = s("jmash-column-select"), te = s("el-image"), A = s("el-switch"), ae = s("jmash-table"), ne = s("jmash-pagination"), se = s("el-card"), b = ue("hasPerm");
|
|
165
|
+
return i(), v("div", null, [
|
|
166
|
+
m("div", fe, [
|
|
167
|
+
l(W, {
|
|
168
168
|
ref_key: "queryFormRef",
|
|
169
|
-
ref:
|
|
169
|
+
ref: O,
|
|
170
170
|
model: u.value,
|
|
171
171
|
inline: !0
|
|
172
172
|
}, {
|
|
@@ -184,7 +184,7 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
184
184
|
modelValue: u.value.shopId,
|
|
185
185
|
"onUpdate:modelValue": a[0] || (a[0] = (e) => u.value.shopId = e),
|
|
186
186
|
placeholder: t.$t("goodsSpu.shopIdRequired"),
|
|
187
|
-
data:
|
|
187
|
+
data: n(_).shopInfoBizDict.values,
|
|
188
188
|
filterable: ""
|
|
189
189
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
190
190
|
]),
|
|
@@ -200,11 +200,11 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
200
200
|
prop: "spuCode"
|
|
201
201
|
}, {
|
|
202
202
|
default: o(() => [
|
|
203
|
-
l(
|
|
203
|
+
l(N, {
|
|
204
204
|
modelValue: u.value.spuCode,
|
|
205
205
|
"onUpdate:modelValue": a[1] || (a[1] = (e) => u.value.spuCode = e),
|
|
206
206
|
placeholder: t.$t("goodsSpu.spuCode"),
|
|
207
|
-
onKeyup: a[2] || (a[2] = z((e) =>
|
|
207
|
+
onKeyup: a[2] || (a[2] = z((e) => n(p).handleQuery(), ["enter"])),
|
|
208
208
|
class: "!w-[203px]"
|
|
209
209
|
}, null, 8, ["modelValue", "placeholder"])
|
|
210
210
|
]),
|
|
@@ -217,14 +217,14 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
217
217
|
default: o(() => [
|
|
218
218
|
l(f, {
|
|
219
219
|
label: t.$t("goodsSpu.spuName"),
|
|
220
|
-
prop: "
|
|
220
|
+
prop: "likeSpuName"
|
|
221
221
|
}, {
|
|
222
222
|
default: o(() => [
|
|
223
|
-
l(
|
|
224
|
-
modelValue: u.value.
|
|
225
|
-
"onUpdate:modelValue": a[3] || (a[3] = (e) => u.value.
|
|
223
|
+
l(N, {
|
|
224
|
+
modelValue: u.value.likeSpuName,
|
|
225
|
+
"onUpdate:modelValue": a[3] || (a[3] = (e) => u.value.likeSpuName = e),
|
|
226
226
|
placeholder: t.$t("goodsSpu.spuName"),
|
|
227
|
-
onKeyup: a[4] || (a[4] = z((e) =>
|
|
227
|
+
onKeyup: a[4] || (a[4] = z((e) => n(p).handleQuery(), ["enter"])),
|
|
228
228
|
class: "!w-[203px]"
|
|
229
229
|
}, null, 8, ["modelValue", "placeholder"])
|
|
230
230
|
]),
|
|
@@ -237,20 +237,20 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
237
237
|
default: o(() => [
|
|
238
238
|
l(f, { class: "search-btn" }, {
|
|
239
239
|
default: o(() => [
|
|
240
|
-
l(
|
|
240
|
+
l(C, {
|
|
241
241
|
type: "primary",
|
|
242
|
-
onClick: a[5] || (a[5] = (e) =>
|
|
242
|
+
onClick: a[5] || (a[5] = (e) => n(p).handleQuery())
|
|
243
243
|
}, {
|
|
244
244
|
default: o(() => [
|
|
245
|
-
r(
|
|
245
|
+
r(d(t.$t("common.search")), 1)
|
|
246
246
|
]),
|
|
247
247
|
_: 1
|
|
248
248
|
}),
|
|
249
|
-
l(
|
|
250
|
-
onClick: a[6] || (a[6] = (e) =>
|
|
249
|
+
l(C, {
|
|
250
|
+
onClick: a[6] || (a[6] = (e) => n(p).resetQuery())
|
|
251
251
|
}, {
|
|
252
252
|
default: o(() => [
|
|
253
|
-
r(
|
|
253
|
+
r(d(t.$t("common.reset")), 1)
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
256
|
})
|
|
@@ -276,56 +276,56 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
276
276
|
default: o(() => [
|
|
277
277
|
l(h, { span: 17 }, {
|
|
278
278
|
default: o(() => [
|
|
279
|
-
|
|
279
|
+
y((i(), k(C, {
|
|
280
280
|
type: "primary",
|
|
281
281
|
onClick: Q
|
|
282
282
|
}, {
|
|
283
283
|
default: o(() => [
|
|
284
|
-
r(
|
|
284
|
+
r(d(t.$t("common.add")), 1)
|
|
285
285
|
]),
|
|
286
286
|
_: 1
|
|
287
287
|
})), [
|
|
288
288
|
[b, ["goods:goods_spu:add"]]
|
|
289
289
|
]),
|
|
290
|
-
|
|
290
|
+
y((i(), k(C, {
|
|
291
291
|
type: "primary",
|
|
292
|
-
onClick: a[7] || (a[7] = (e) =>
|
|
292
|
+
onClick: a[7] || (a[7] = (e) => n(p).deleteRecords())
|
|
293
293
|
}, {
|
|
294
294
|
default: o(() => [
|
|
295
|
-
r(
|
|
295
|
+
r(d(t.$t("common.batchDelete")), 1)
|
|
296
296
|
]),
|
|
297
297
|
_: 1
|
|
298
298
|
})), [
|
|
299
299
|
[b, ["goods:goods_spu:delete"]]
|
|
300
300
|
]),
|
|
301
|
-
|
|
301
|
+
y((i(), k(oe, {
|
|
302
302
|
class: "dropdown-left",
|
|
303
|
-
onCommand:
|
|
303
|
+
onCommand: J
|
|
304
304
|
}, {
|
|
305
305
|
dropdown: o(() => [
|
|
306
|
-
l(
|
|
306
|
+
l(ee, null, {
|
|
307
307
|
default: o(() => [
|
|
308
308
|
l(R, { command: "APPROVAL_PASS" }, {
|
|
309
309
|
default: o(() => [
|
|
310
|
-
l(
|
|
310
|
+
l(P, { size: "14" }, {
|
|
311
311
|
default: o(() => [
|
|
312
|
-
l(
|
|
312
|
+
l(Z)
|
|
313
313
|
]),
|
|
314
314
|
_: 1
|
|
315
315
|
}),
|
|
316
|
-
r(" " +
|
|
316
|
+
r(" " + d(t.$t("goodsSpu.batchApprovaled")), 1)
|
|
317
317
|
]),
|
|
318
318
|
_: 1
|
|
319
319
|
}),
|
|
320
320
|
l(R, { command: "APPROVAL_NOT_PASS" }, {
|
|
321
321
|
default: o(() => [
|
|
322
|
-
l(
|
|
322
|
+
l(P, { size: "14" }, {
|
|
323
323
|
default: o(() => [
|
|
324
|
-
l(
|
|
324
|
+
l(x)
|
|
325
325
|
]),
|
|
326
326
|
_: 1
|
|
327
327
|
}),
|
|
328
|
-
r(" " +
|
|
328
|
+
r(" " + d(t.$t("goodsSpu.batchRejected")), 1)
|
|
329
329
|
]),
|
|
330
330
|
_: 1
|
|
331
331
|
})
|
|
@@ -334,12 +334,12 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
334
334
|
})
|
|
335
335
|
]),
|
|
336
336
|
default: o(() => [
|
|
337
|
-
l(
|
|
337
|
+
l(C, { type: "primary" }, {
|
|
338
338
|
default: o(() => [
|
|
339
|
-
r(
|
|
340
|
-
l(
|
|
339
|
+
r(d(t.$t("goodsSpu.batchApproval")) + " ", 1),
|
|
340
|
+
l(P, { class: "el-icon--right" }, {
|
|
341
341
|
default: o(() => [
|
|
342
|
-
l(
|
|
342
|
+
l(X)
|
|
343
343
|
]),
|
|
344
344
|
_: 1
|
|
345
345
|
})
|
|
@@ -359,9 +359,9 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
359
359
|
class: "container-float"
|
|
360
360
|
}, {
|
|
361
361
|
default: o(() => [
|
|
362
|
-
l(
|
|
363
|
-
modelValue:
|
|
364
|
-
"onUpdate:modelValue": a[8] || (a[8] = (e) => L(
|
|
362
|
+
l(le, {
|
|
363
|
+
modelValue: n(S),
|
|
364
|
+
"onUpdate:modelValue": a[8] || (a[8] = (e) => L(S) ? S.value = e : S = e),
|
|
365
365
|
"label-name": "goods/goods-spu"
|
|
366
366
|
}, null, 8, ["modelValue"])
|
|
367
367
|
]),
|
|
@@ -372,40 +372,40 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
372
372
|
})
|
|
373
373
|
]),
|
|
374
374
|
footer: o(() => [
|
|
375
|
-
|
|
375
|
+
n(V) > 0 ? (i(), k(ne, {
|
|
376
376
|
key: 0,
|
|
377
|
-
total:
|
|
378
|
-
"onUpdate:total": a[9] || (a[9] = (e) => L(
|
|
377
|
+
total: n(V),
|
|
378
|
+
"onUpdate:total": a[9] || (a[9] = (e) => L(V) ? V.value = e : null),
|
|
379
379
|
"current-page": u.value.curPage,
|
|
380
380
|
"onUpdate:currentPage": a[10] || (a[10] = (e) => u.value.curPage = e),
|
|
381
381
|
"page-size": u.value.pageSize,
|
|
382
382
|
"onUpdate:pageSize": a[11] || (a[11] = (e) => u.value.pageSize = e),
|
|
383
|
-
onPagination: a[12] || (a[12] = (e) =>
|
|
384
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
383
|
+
onPagination: a[12] || (a[12] = (e) => n(p).getList())
|
|
384
|
+
}, null, 8, ["total", "current-page", "page-size"])) : re("", !0)
|
|
385
385
|
]),
|
|
386
386
|
default: o(() => [
|
|
387
|
-
l(
|
|
387
|
+
l(ae, {
|
|
388
388
|
ref_key: "multipleTableRef",
|
|
389
|
-
ref:
|
|
389
|
+
ref: T,
|
|
390
390
|
"row-key": "spuId",
|
|
391
|
-
"list-loading":
|
|
392
|
-
data:
|
|
393
|
-
"table-label":
|
|
394
|
-
onSelectionChange:
|
|
395
|
-
onSortChange:
|
|
391
|
+
"list-loading": n(F),
|
|
392
|
+
data: n(H),
|
|
393
|
+
"table-label": n(S),
|
|
394
|
+
onSelectionChange: M,
|
|
395
|
+
onSortChange: G
|
|
396
396
|
}, {
|
|
397
397
|
shopId: o((e) => [
|
|
398
|
-
m("span", null,
|
|
398
|
+
m("span", null, d(n(_).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
|
|
399
399
|
]),
|
|
400
400
|
categoryId: o((e) => [
|
|
401
|
-
m("span", null,
|
|
401
|
+
m("span", null, d(n(_).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
|
|
402
402
|
]),
|
|
403
403
|
picUrls: o((e) => [
|
|
404
404
|
m("span", null, [
|
|
405
|
-
l(
|
|
406
|
-
src:
|
|
405
|
+
l(te, {
|
|
406
|
+
src: n(E).imageUrl(e.data.row.picUrls.split(",")[0], 50, 50),
|
|
407
407
|
"preview-src-list": [
|
|
408
|
-
|
|
408
|
+
n(E).imageUrl(e.data.row.picUrls.split(",")[0])
|
|
409
409
|
],
|
|
410
410
|
"preview-teleported": "",
|
|
411
411
|
"hide-on-click-modal": "",
|
|
@@ -417,24 +417,30 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
417
417
|
m("span", null, [
|
|
418
418
|
l(A, {
|
|
419
419
|
modelValue: e.data.row.shelf,
|
|
420
|
-
"onUpdate:modelValue": (
|
|
421
|
-
onClick: (
|
|
420
|
+
"onUpdate:modelValue": (c) => e.data.row.shelf = c,
|
|
421
|
+
onClick: (c) => n(p).enableRecord(e.data.row, e.data.row.shelf)
|
|
422
422
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onClick"])
|
|
423
423
|
])
|
|
424
424
|
]),
|
|
425
425
|
minPrice: o((e) => [
|
|
426
|
-
m("span", null,
|
|
426
|
+
m("span", null, [
|
|
427
|
+
e.data.row.minPrice === e.data.row.maxPrice ? (i(), v(j, { key: 0 }, [
|
|
428
|
+
r(d(e.data.row.minPrice), 1)
|
|
429
|
+
], 64)) : (i(), v(j, { key: 1 }, [
|
|
430
|
+
r(d(e.data.row.minPrice) + " ~ " + d(e.data.row.maxPrice), 1)
|
|
431
|
+
], 64))
|
|
432
|
+
])
|
|
427
433
|
]),
|
|
428
434
|
specType: o((e) => [
|
|
429
|
-
m("span", null,
|
|
435
|
+
m("span", null, d(n(_).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
|
|
430
436
|
]),
|
|
431
437
|
approvalStatus: o((e) => [
|
|
432
|
-
m("span", null,
|
|
438
|
+
m("span", null, d(n(_).approvalStatusEnum.getEnumValue(
|
|
433
439
|
e.data.row.approvalStatus
|
|
434
440
|
)), 1)
|
|
435
441
|
]),
|
|
436
442
|
updateTime: o((e) => [
|
|
437
|
-
m("span", null,
|
|
443
|
+
m("span", null, d(n(B).$moment.formatDate(
|
|
438
444
|
e.data.row.updateTime,
|
|
439
445
|
"YYYY-MM-DD HH:mm:ss"
|
|
440
446
|
)), 1)
|
|
@@ -442,33 +448,33 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
442
448
|
enable: o((e) => [
|
|
443
449
|
l(A, {
|
|
444
450
|
modelValue: e.data.row.enable,
|
|
445
|
-
"onUpdate:modelValue": (
|
|
446
|
-
onChange: (
|
|
451
|
+
"onUpdate:modelValue": (c) => e.data.row.enable = c,
|
|
452
|
+
onChange: (c) => n(p).enableRecord(e.data.row, e.data.row.enable)
|
|
447
453
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
448
454
|
]),
|
|
449
455
|
operation: o((e) => [
|
|
450
|
-
|
|
456
|
+
y((i(), v("span", {
|
|
451
457
|
class: "el-button-color",
|
|
452
|
-
onClick: (
|
|
458
|
+
onClick: (c) => Y(e.data.row)
|
|
453
459
|
}, [
|
|
454
|
-
r(
|
|
455
|
-
], 8,
|
|
460
|
+
r(d(t.$t("common.edit")), 1)
|
|
461
|
+
], 8, _e)), [
|
|
456
462
|
[b, ["goods:goods_spu:update"]]
|
|
457
463
|
]),
|
|
458
|
-
|
|
464
|
+
y((i(), v("span", {
|
|
459
465
|
class: "el-button-color dropdown-left",
|
|
460
|
-
onClick: (
|
|
466
|
+
onClick: (c) => n(p).deleteRecord(e.data.row)
|
|
461
467
|
}, [
|
|
462
|
-
r(
|
|
463
|
-
], 8,
|
|
468
|
+
r(d(t.$t("common.delete")), 1)
|
|
469
|
+
], 8, we)), [
|
|
464
470
|
[b, ["goods:goods_spu:delete"]]
|
|
465
471
|
]),
|
|
466
|
-
|
|
472
|
+
y((i(), v("span", {
|
|
467
473
|
class: "el-button-color dropdown-left",
|
|
468
|
-
onClick: (
|
|
474
|
+
onClick: (c) => K(e.data.row)
|
|
469
475
|
}, [
|
|
470
|
-
r(
|
|
471
|
-
], 8,
|
|
476
|
+
r(d(t.$t("common.view")), 1)
|
|
477
|
+
], 8, he)), [
|
|
472
478
|
[b, ["goods:goods_spu:view"]]
|
|
473
479
|
])
|
|
474
480
|
]),
|
|
@@ -482,5 +488,5 @@ const ge = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], we
|
|
|
482
488
|
}
|
|
483
489
|
});
|
|
484
490
|
export {
|
|
485
|
-
|
|
491
|
+
Pe as _
|
|
486
492
|
};
|