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.
- package/dist/{approveFailIndex-gl8MBbK6.mjs → approveFailIndex-C2BhoVKC.mjs} +1 -1
- package/dist/{approvedIndex.vue_vue_type_script_setup_true_lang-Wyt6TM2h.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-CSBlBFQo.mjs} +111 -94
- package/dist/{auditIndex-jOIDtl_l.mjs → auditIndex-BjjiwYrm.mjs} +1 -1
- package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-sZD3eYJR.mjs → auditIndex.vue_vue_type_script_setup_true_lang-UrMEjXo-.mjs} +139 -122
- package/dist/{edit-DpIovEhA.mjs → edit-B1_IbaHc.mjs} +5007 -5008
- package/dist/{index-C9KO9AZw.mjs → el-message-BBB-S2MS.mjs} +614 -595
- package/dist/{index-C9f6Lybt.mjs → index-CZD7OAWo.mjs} +49 -30
- package/dist/{index-BupW0ufK.mjs → index-vE-TE0cx.mjs} +108 -81
- package/dist/index.mjs +1099 -1046
- package/dist/info-Bm6Ifv7W.mjs +311 -0
- package/dist/{saleIndex-DOcefF_x.mjs → saleIndex-C9AD4DIj.mjs} +1 -1
- package/dist/saleIndex.vue_vue_type_script_setup_true_lang-qDsRE8JX.mjs +428 -0
- package/dist/{shelfIndex-CTAReFV-.mjs → shelfIndex-CyAp6rf5.mjs} +1 -1
- package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-BG3OCeN_.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-D3xUiFR2.mjs} +173 -159
- package/dist/skuForm-Ctu0Vbym.mjs +419 -0
- package/dist/skuTable-BbTTCq2m.mjs +585 -0
- package/dist/style.css +1 -1
- package/dts/api/goods-spu/types.d.ts +13 -6
- package/dts/constant.d.ts +4 -0
- package/dts/index.d.ts +2 -0
- package/dts/lang/goods/en.d.ts +1 -68
- package/dts/lang/goods/zh-cn.d.ts +0 -44
- package/dts/utils/sku.d.ts +19 -0
- package/dts/views/goods/goods-spu/{sku-form.vue.d.ts → skuForm.vue.d.ts} +7 -9
- package/dts/views/goods/goods-spu/skuTable.vue.d.ts +40 -0
- package/package.json +2 -2
- package/dist/approveFailIndex.vue_vue_type_script_setup_true_lang-WJ40OU9K.mjs +0 -544
- package/dist/approvedIndex-Cn6g11xv.mjs +0 -4
- package/dist/index-fu3gxdt_.mjs +0 -130
- package/dist/info-C6VRixBH.mjs +0 -301
- package/dist/saleIndex.vue_vue_type_script_setup_true_lang-Cfv3a-DK.mjs +0 -415
- package/dist/sku-form-BAi4HkUM.mjs +0 -463
- package/dist/sku-table-CRrisvJ1.mjs +0 -410
- package/dts/views/goods/goods-spu/approvedIndex.vue.d.ts +0 -2
- package/dts/views/goods/goods-spu/sku-table.vue.d.ts +0 -14
|
@@ -1,20 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { useTableHooks as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import {
|
|
6
|
-
import { D as
|
|
7
|
-
|
|
8
|
-
|
|
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 { goodsSpuApi as j } from "./index.mjs";
|
|
6
|
+
import { D as g } from "./index-CZD7OAWo.mjs";
|
|
7
|
+
import { $ as E } from "./el-message-BBB-S2MS.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(
|
|
12
|
-
const { t:
|
|
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
|
-
}), {
|
|
17
|
-
|
|
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
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
|
|
132
|
+
$.push({
|
|
133
|
+
path: "/rawgoods/goods-spu/info",
|
|
134
|
+
query: { spuId: t.spuId }
|
|
135
|
+
});
|
|
126
136
|
}
|
|
127
|
-
function
|
|
137
|
+
function K(t) {
|
|
128
138
|
n.selectionRows.value = t;
|
|
129
139
|
}
|
|
130
|
-
function
|
|
140
|
+
function M(t) {
|
|
131
141
|
n.handleSort(t.prop, t.order);
|
|
132
142
|
}
|
|
133
|
-
function
|
|
143
|
+
function F() {
|
|
134
144
|
if (n.selectionRows.value.length === 0) {
|
|
135
|
-
|
|
136
|
-
message:
|
|
145
|
+
E({
|
|
146
|
+
message: _("goodsSpu.chooseShelf"),
|
|
137
147
|
type: "warning"
|
|
138
148
|
});
|
|
139
149
|
return;
|
|
140
150
|
}
|
|
141
|
-
const
|
|
142
|
-
console.log(
|
|
143
|
-
var
|
|
144
|
-
console.log(
|
|
145
|
-
message:
|
|
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(), (
|
|
157
|
+
}), n.getList(), (C = T.value) == null || C.clearSelection());
|
|
151
158
|
});
|
|
152
159
|
}
|
|
153
|
-
return n.getList(), (t,
|
|
154
|
-
const
|
|
155
|
-
return
|
|
156
|
-
r("div",
|
|
157
|
-
a(
|
|
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"), G = p("el-form"), J = p("jmash-column-select"), O = p("el-image"), U = p("el-switch"), W = p("jmash-table"), X = p("jmash-pagination"), Z = p("el-card"), h = oe("hasPerm");
|
|
162
|
+
return m(), V("div", ne, [
|
|
163
|
+
r("div", ue, [
|
|
164
|
+
a(G, {
|
|
158
165
|
ref_key: "queryFormRef",
|
|
159
|
-
ref:
|
|
166
|
+
ref: B,
|
|
160
167
|
model: d.value,
|
|
161
168
|
inline: !0
|
|
162
169
|
}, {
|
|
163
|
-
default:
|
|
164
|
-
a(
|
|
165
|
-
default:
|
|
166
|
-
a(
|
|
167
|
-
default:
|
|
168
|
-
a(
|
|
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:
|
|
173
|
-
a(
|
|
179
|
+
default: l(() => [
|
|
180
|
+
a(C, {
|
|
174
181
|
modelValue: d.value.shopId,
|
|
175
|
-
"onUpdate:modelValue":
|
|
182
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.shopId = e),
|
|
176
183
|
placeholder: t.$t("goodsSpu.shopIdRequired"),
|
|
177
|
-
data: s(
|
|
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(
|
|
187
|
-
default:
|
|
188
|
-
a(
|
|
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:
|
|
193
|
-
a(
|
|
199
|
+
default: l(() => [
|
|
200
|
+
a(k, {
|
|
194
201
|
modelValue: d.value.spuCode,
|
|
195
|
-
"onUpdate:modelValue":
|
|
202
|
+
"onUpdate:modelValue": o[1] || (o[1] = (e) => d.value.spuCode = e),
|
|
196
203
|
placeholder: t.$t("goodsSpu.spuCode"),
|
|
197
|
-
onKeyup:
|
|
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(
|
|
207
|
-
default:
|
|
208
|
-
a(
|
|
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:
|
|
213
|
-
a(
|
|
219
|
+
default: l(() => [
|
|
220
|
+
a(k, {
|
|
214
221
|
modelValue: d.value.spuName,
|
|
215
|
-
"onUpdate:modelValue":
|
|
222
|
+
"onUpdate:modelValue": o[3] || (o[3] = (e) => d.value.spuName = e),
|
|
216
223
|
placeholder: t.$t("goodsSpu.spuName"),
|
|
217
|
-
onKeyup:
|
|
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(
|
|
227
|
-
default:
|
|
228
|
-
a(
|
|
229
|
-
default:
|
|
230
|
-
a(
|
|
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:
|
|
239
|
+
onClick: o[5] || (o[5] = (e) => s(n).handleQuery())
|
|
233
240
|
}, {
|
|
234
|
-
default:
|
|
235
|
-
|
|
241
|
+
default: l(() => [
|
|
242
|
+
c(u(t.$t("common.search")), 1)
|
|
236
243
|
]),
|
|
237
244
|
_: 1
|
|
238
245
|
}),
|
|
239
|
-
a(
|
|
240
|
-
onClick:
|
|
246
|
+
a(y, {
|
|
247
|
+
onClick: o[6] || (o[6] = (e) => s(n).resetQuery())
|
|
241
248
|
}, {
|
|
242
|
-
default:
|
|
243
|
-
|
|
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(
|
|
267
|
+
a(Z, {
|
|
261
268
|
shadow: "never",
|
|
262
269
|
class: "table-container"
|
|
263
270
|
}, {
|
|
264
|
-
header:
|
|
265
|
-
a(
|
|
266
|
-
default:
|
|
267
|
-
a(
|
|
268
|
-
default:
|
|
269
|
-
|
|
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:
|
|
278
|
+
onClick: Q
|
|
272
279
|
}, {
|
|
273
|
-
default:
|
|
274
|
-
|
|
280
|
+
default: l(() => [
|
|
281
|
+
c(u(t.$t("common.add")), 1)
|
|
275
282
|
]),
|
|
276
283
|
_: 1
|
|
277
284
|
})), [
|
|
278
|
-
[
|
|
285
|
+
[h, ["goods:goods_spu:add"]]
|
|
279
286
|
]),
|
|
280
|
-
|
|
287
|
+
b((m(), I(y, {
|
|
281
288
|
type: "primary",
|
|
282
|
-
onClick:
|
|
289
|
+
onClick: o[7] || (o[7] = (e) => s(n).deleteRecords())
|
|
283
290
|
}, {
|
|
284
|
-
default:
|
|
285
|
-
|
|
291
|
+
default: l(() => [
|
|
292
|
+
c(u(t.$t("common.batchDelete")), 1)
|
|
286
293
|
]),
|
|
287
294
|
_: 1
|
|
288
295
|
})), [
|
|
289
|
-
[
|
|
296
|
+
[h, ["goods:goods_spu:delete"]]
|
|
290
297
|
]),
|
|
291
|
-
|
|
298
|
+
b((m(), I(y, {
|
|
292
299
|
type: "primary",
|
|
293
|
-
onClick:
|
|
300
|
+
onClick: F
|
|
294
301
|
}, {
|
|
295
|
-
default:
|
|
296
|
-
|
|
302
|
+
default: l(() => [
|
|
303
|
+
c(u(t.$t("goodsSpu.batchShelf")), 1)
|
|
297
304
|
]),
|
|
298
305
|
_: 1
|
|
299
306
|
})), [
|
|
300
|
-
[
|
|
307
|
+
[h, ["goods:goods_spu:onSale"]]
|
|
301
308
|
])
|
|
302
309
|
]),
|
|
303
310
|
_: 1
|
|
304
311
|
}),
|
|
305
|
-
a(
|
|
312
|
+
a(f, {
|
|
306
313
|
span: 7,
|
|
307
314
|
class: "container-float"
|
|
308
315
|
}, {
|
|
309
|
-
default:
|
|
310
|
-
a(
|
|
311
|
-
modelValue: s(
|
|
312
|
-
"onUpdate:modelValue":
|
|
316
|
+
default: l(() => [
|
|
317
|
+
a(J, {
|
|
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:
|
|
323
|
-
s(
|
|
329
|
+
footer: l(() => [
|
|
330
|
+
s(v) > 0 ? (m(), I(X, {
|
|
324
331
|
key: 0,
|
|
325
|
-
total: s(
|
|
326
|
-
"onUpdate:total":
|
|
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":
|
|
335
|
+
"onUpdate:currentPage": o[10] || (o[10] = (e) => d.value.curPage = e),
|
|
329
336
|
"page-size": d.value.pageSize,
|
|
330
|
-
"onUpdate:pageSize":
|
|
331
|
-
onPagination:
|
|
332
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
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:
|
|
341
|
+
default: l(() => [
|
|
335
342
|
a(W, {
|
|
336
343
|
ref_key: "multipleTableRef",
|
|
337
|
-
ref:
|
|
344
|
+
ref: T,
|
|
338
345
|
"row-key": "spuId",
|
|
339
|
-
"list-loading": s(
|
|
340
|
-
data: s(
|
|
341
|
-
"table-label": s(
|
|
342
|
-
onSelectionChange:
|
|
343
|
-
onSortChange:
|
|
346
|
+
"list-loading": s(L),
|
|
347
|
+
data: s(H),
|
|
348
|
+
"table-label": s(w),
|
|
349
|
+
onSelectionChange: K,
|
|
350
|
+
onSortChange: M
|
|
344
351
|
}, {
|
|
345
|
-
shopId:
|
|
346
|
-
r("span", null, u(s(
|
|
352
|
+
shopId: l((e) => [
|
|
353
|
+
r("span", null, u(s(g).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
|
|
347
354
|
]),
|
|
348
|
-
categoryId:
|
|
349
|
-
r("span", null, u(s(
|
|
355
|
+
categoryId: l((e) => [
|
|
356
|
+
r("span", null, u(s(g).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
|
|
350
357
|
]),
|
|
351
|
-
picUrls:
|
|
358
|
+
picUrls: l((e) => [
|
|
352
359
|
r("span", null, [
|
|
353
|
-
a(
|
|
354
|
-
src: s(
|
|
355
|
-
"preview-src-list": [
|
|
360
|
+
a(O, {
|
|
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:
|
|
371
|
+
shelf: l((e) => [
|
|
363
372
|
r("span", null, [
|
|
364
|
-
a(
|
|
373
|
+
a(U, {
|
|
365
374
|
modelValue: e.data.row.shelf,
|
|
366
|
-
"onUpdate:modelValue": (
|
|
367
|
-
onClick: (
|
|
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:
|
|
380
|
+
minPrice: l((e) => [
|
|
372
381
|
r("span", null, u(e.data.row.minPrice) + " ~ " + u(e.data.row.maxPrice), 1)
|
|
373
382
|
]),
|
|
374
|
-
specType:
|
|
375
|
-
r("span", null, u(s(
|
|
383
|
+
specType: l((e) => [
|
|
384
|
+
r("span", null, u(s(g).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
|
|
376
385
|
]),
|
|
377
|
-
approvalStatus:
|
|
378
|
-
r("span", null, u(s(
|
|
386
|
+
approvalStatus: l((e) => [
|
|
387
|
+
r("span", null, u(s(g).approvalStatusEnum.getEnumValue(
|
|
388
|
+
e.data.row.approvalStatus
|
|
389
|
+
)), 1)
|
|
379
390
|
]),
|
|
380
|
-
updateTime:
|
|
381
|
-
r("span", null, u(s(
|
|
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:
|
|
384
|
-
a(
|
|
397
|
+
enable: l((e) => [
|
|
398
|
+
a(U, {
|
|
385
399
|
modelValue: e.data.row.enable,
|
|
386
|
-
"onUpdate:modelValue": (
|
|
387
|
-
onChange: (
|
|
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:
|
|
391
|
-
|
|
404
|
+
operation: l((e) => [
|
|
405
|
+
b((m(), V("span", {
|
|
392
406
|
class: "el-button-color",
|
|
393
|
-
onClick: (
|
|
407
|
+
onClick: (i) => Y(e.data.row)
|
|
394
408
|
}, [
|
|
395
|
-
|
|
396
|
-
], 8,
|
|
397
|
-
[
|
|
409
|
+
c(u(t.$t("common.edit")), 1)
|
|
410
|
+
], 8, pe)), [
|
|
411
|
+
[h, ["goods:goods_spu:update"]]
|
|
398
412
|
]),
|
|
399
|
-
|
|
413
|
+
b((m(), V("span", {
|
|
400
414
|
class: "el-button-color dropdown-left",
|
|
401
|
-
onClick: (
|
|
415
|
+
onClick: (i) => s(n).deleteRecord(e.data.row)
|
|
402
416
|
}, [
|
|
403
|
-
|
|
404
|
-
], 8,
|
|
405
|
-
[
|
|
417
|
+
c(u(t.$t("common.delete")), 1)
|
|
418
|
+
], 8, de)), [
|
|
419
|
+
[h, ["goods:goods_spu:delete"]]
|
|
406
420
|
]),
|
|
407
|
-
|
|
421
|
+
b((m(), V("span", {
|
|
408
422
|
class: "el-button-color dropdown-left",
|
|
409
|
-
onClick: (
|
|
423
|
+
onClick: (i) => A(e.data.row)
|
|
410
424
|
}, [
|
|
411
|
-
|
|
412
|
-
], 8,
|
|
413
|
-
[
|
|
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
|
-
|
|
440
|
+
ye as _
|
|
427
441
|
};
|