xyvcard-goods 0.0.7 → 0.0.9

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 (24) hide show
  1. package/dist/{approveFailIndex-F3GtuNeX.mjs → approveFailIndex-DJf9bHab.mjs} +1 -1
  2. package/dist/{approveFailIndex.vue_vue_type_script_setup_true_lang-8ykH4NF1.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-mXqZdtba.mjs} +39 -39
  3. package/dist/{auditIndex-DZUQQzVu.mjs → auditIndex-CCkGsSy2.mjs} +1 -1
  4. package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-Bnc1wKbA.mjs → auditIndex.vue_vue_type_script_setup_true_lang-DHolmNaP.mjs} +59 -59
  5. package/dist/edit-D37yka6Z.mjs +470 -0
  6. package/dist/{index-D5_GsXR7.mjs → index-CKeHa-Cx.mjs} +24 -27
  7. package/dist/{index-kGlE0ywA.mjs → index-vcmJ06-Y.mjs} +136 -136
  8. package/dist/index.mjs +8 -37
  9. package/dist/{info-kiOShGr4.mjs → info-CPZykxS1.mjs} +37 -40
  10. package/dist/{saleIndex-CyMvOgxp.mjs → saleIndex-CdAcvCzO.mjs} +1 -1
  11. package/dist/{saleIndex.vue_vue_type_script_setup_true_lang-BgZZMEph.mjs → saleIndex.vue_vue_type_script_setup_true_lang-CLzVH-ix.mjs} +94 -94
  12. package/dist/{shelfIndex-DZWqrqlw.mjs → shelfIndex-ZHuhzU_h.mjs} +1 -1
  13. package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-B7fw9wHp.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-CTv-j8Xe.mjs} +18 -18
  14. package/dist/{skuForm-Dtq2Ttjc.mjs → skuForm-BSlT4TYd.mjs} +81 -76
  15. package/dist/skuTable-DYmQYXk3.mjs +535 -0
  16. package/dist/style.css +1 -1
  17. package/dts/api/dict.d.ts +6 -2
  18. package/dts/api/goods-spu/types.d.ts +6 -5
  19. package/dts/constant.d.ts +7 -7
  20. package/dts/router/index.d.ts +2 -2
  21. package/dts/views/goods/goods-spu/skuForm.vue.d.ts +10 -1
  22. package/package.json +3 -3
  23. package/dist/edit-C3imnLUq.mjs +0 -600
  24. package/dist/skuTable-8oPw0DhV.mjs +0 -611
@@ -1,38 +1,38 @@
1
- import { defineComponent as ge, getCurrentInstance as _e, ref as P, resolveComponent as n, resolveDirective as he, openBlock as p, createElementBlock as k, createVNode as l, withCtx as o, Fragment as we, renderList as be, unref as s, createBlock as g, createElementVNode as _, withKeys as K, createTextVNode as m, toDisplayString as u, withDirectives as y, isRef as M, createCommentVNode as V } from "vue";
1
+ import { defineComponent as ge, getCurrentInstance as _e, ref as A, resolveComponent as n, resolveDirective as he, openBlock as p, createElementBlock as $, createVNode as t, withCtx as o, Fragment as we, renderList as be, unref as s, createBlock as g, createElementVNode as _, withKeys as K, createTextVNode as m, toDisplayString as u, withDirectives as S, isRef as M, createCommentVNode as k } from "vue";
2
2
  import { ElMessage as I } from "element-plus";
3
3
  import { useRouter as ve } from "vue-router";
4
- import { useTableHooks as ye, fileApi as J } from "jmash-core";
5
- import { useI18n as Se } from "vue-i18n";
4
+ import { useTableHooks as Se, fileApi as J } from "jmash-core";
5
+ import { useI18n as ye } from "vue-i18n";
6
6
  import { goodsSpuApi as L } from "./index.mjs";
7
- import { D as b, C as j } from "./index-D5_GsXR7.mjs";
8
- import { _ as Ce } from "./saleIndex.vue_vue_type_script_setup_true_lang-BgZZMEph.mjs";
9
- import { _ as $e } from "./shelfIndex.vue_vue_type_script_setup_true_lang-B7fw9wHp.mjs";
10
- import { _ as ke } from "./auditIndex.vue_vue_type_script_setup_true_lang-Bnc1wKbA.mjs";
11
- import { _ as Ve } from "./approveFailIndex.vue_vue_type_script_setup_true_lang-8ykH4NF1.mjs";
12
- const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-container" }, Ue = ["onClick"], De = ["onClick"], Re = ["onClick"], Ye = /* @__PURE__ */ ge({
7
+ import { D as b, C as z } from "./index-CKeHa-Cx.mjs";
8
+ import { _ as Ce } from "./saleIndex.vue_vue_type_script_setup_true_lang-CLzVH-ix.mjs";
9
+ import { _ as Ve } from "./shelfIndex.vue_vue_type_script_setup_true_lang-CTv-j8Xe.mjs";
10
+ import { _ as $e } from "./auditIndex.vue_vue_type_script_setup_true_lang-DHolmNaP.mjs";
11
+ import { _ as ke } from "./approveFailIndex.vue_vue_type_script_setup_true_lang-mXqZdtba.mjs";
12
+ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-container" }, Re = ["onClick"], Ue = ["onClick"], Pe = ["onClick"], Ye = /* @__PURE__ */ ge({
13
13
  __name: "index",
14
- setup(ze) {
15
- const { t: c } = Se(), D = ve(), { proxy: G } = _e(), i = P({}), {
14
+ setup(De) {
15
+ const { t: c } = ye(), U = ve(), { proxy: G } = _e(), i = A({}), {
16
16
  tableHooks: d,
17
- multipleTableRef: R,
17
+ multipleTableRef: P,
18
18
  queryFormRef: W,
19
19
  listLoading: X,
20
20
  tableData: Z,
21
21
  total: N
22
- } = ye(c, L, i);
23
- let T = P([
22
+ } = Se(c, L, i);
23
+ let T = A([
24
24
  {
25
25
  label: "goodsSpu.shopId",
26
26
  prop: "shopId",
27
27
  slotName: "shopId",
28
28
  columnType: "slot",
29
- width: "150",
29
+ width: "250",
30
30
  isColumn: !0
31
31
  },
32
32
  {
33
33
  label: "goodsSpu.spuName",
34
34
  prop: "spuName",
35
- width: "150",
35
+ width: "200",
36
36
  isColumn: !0
37
37
  },
38
38
  {
@@ -54,7 +54,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
54
54
  {
55
55
  label: "goodsSpu.price",
56
56
  prop: "minPrice",
57
- width: "130",
57
+ width: "120",
58
58
  sortable: "custom",
59
59
  slotName: "minPrice",
60
60
  columnType: "slot",
@@ -63,7 +63,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
63
63
  {
64
64
  label: "goodsSpu.spuCode",
65
65
  prop: "spuCode",
66
- width: "150",
66
+ width: "120",
67
67
  sortable: "custom",
68
68
  isColumn: !0
69
69
  },
@@ -77,7 +77,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
77
77
  {
78
78
  label: "goodsSpu.specType",
79
79
  prop: "specType",
80
- width: "130",
80
+ width: "120",
81
81
  slotName: "specType",
82
82
  columnType: "slot",
83
83
  sortable: "custom",
@@ -86,7 +86,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
86
86
  {
87
87
  label: "goodsSpu.shelf",
88
88
  prop: "shelf",
89
- width: "150",
89
+ width: "120",
90
90
  slotName: "shelf",
91
91
  columnType: "slot",
92
92
  sortable: "custom",
@@ -95,7 +95,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
95
95
  {
96
96
  label: "goodsSpu.approvalStatus",
97
97
  prop: "approvalStatus",
98
- width: "130",
98
+ width: "120",
99
99
  slotName: "approvalStatus",
100
100
  columnType: "slot",
101
101
  isColumn: !0
@@ -119,29 +119,29 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
119
119
  }
120
120
  ]);
121
121
  b.shopInfoBizDict.useValues(), b.goodsCategoryDict.useValues();
122
- const h = P(0);
122
+ const h = A(0);
123
123
  function x() {
124
- D.push({ path: "/rawgoods/goods-spu/edit" });
124
+ U.push({ path: "/rawgoods/goods-spu/edit" });
125
125
  }
126
- function ee(t) {
127
- D.push({
126
+ function ee(l) {
127
+ U.push({
128
128
  path: "/rawgoods/goods-spu/edit",
129
- query: { spuId: t.spuId }
129
+ query: { spuId: l.spuId }
130
130
  });
131
131
  }
132
- function oe(t) {
133
- D.push({
132
+ function oe(l) {
133
+ U.push({
134
134
  path: "/rawgoods/goods-spu/info",
135
- query: { spuId: t.spuId }
135
+ query: { spuId: l.spuId }
136
136
  });
137
137
  }
138
- function le(t) {
139
- d.selectionRows.value = t;
138
+ function te(l) {
139
+ d.selectionRows.value = l;
140
140
  }
141
- function te(t) {
142
- d.handleSort(t.prop, t.order);
141
+ function le(l) {
142
+ d.handleSort(l.prop, l.order);
143
143
  }
144
- function ae(t) {
144
+ function ae(l) {
145
145
  if (d.selectionRows.value.length === 0) {
146
146
  I({
147
147
  message: c("goodsSpu.chooseShelf"),
@@ -150,19 +150,19 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
150
150
  return;
151
151
  }
152
152
  const a = d.selectionRows.value.map((r) => r.spuId);
153
- console.log(a), L.enable({ spuId: a }, JSON.parse(t)).then((r) => {
153
+ L.enable({ spuId: a }, JSON.parse(l)).then((r) => {
154
154
  var f;
155
- console.log(r), r.status === 200 && (t === "true" ? I({
155
+ r.status === 200 && (l === "true" ? I({
156
156
  message: c("goodsSpu.successShelf") + r.data + c("common.stripData"),
157
157
  type: "success"
158
158
  }) : I({
159
159
  message: c("goodsSpu.successOffShelf") + r.data + c("common.stripData"),
160
160
  type: "success"
161
- }), d.getList(), (f = R.value) == null || f.clearSelection());
161
+ }), d.getList(), (f = P.value) == null || f.clearSelection());
162
162
  });
163
163
  }
164
- function se(t) {
165
- if (console.log(t), d.selectionRows.value.length === 0) {
164
+ function se(l) {
165
+ if (d.selectionRows.value.length === 0) {
166
166
  I({
167
167
  message: c("goodsSpu.chooseShelf"),
168
168
  type: "warning"
@@ -170,39 +170,39 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
170
170
  return;
171
171
  }
172
172
  const a = d.selectionRows.value.map((r) => r.spuId);
173
- L.audit({ spuId: a }, t).then((r) => {
173
+ L.audit({ spuId: a }, l).then((r) => {
174
174
  var f;
175
- console.log(r), r.status === 200 && (t === j.approval_pass ? I({
175
+ r.status === 200 && (l === z.APPROVAL_PASS ? I({
176
176
  message: c("goodsSpu.successApproval") + r.data + c("common.stripData"),
177
177
  type: "success"
178
178
  }) : I({
179
179
  message: c("goodsSpu.successFilled") + r.data + c("common.stripData"),
180
180
  type: "success"
181
- }), d.getList(), (f = R.value) == null || f.clearSelection());
181
+ }), d.getList(), (f = P.value) == null || f.clearSelection());
182
182
  });
183
183
  }
184
- function ne(t) {
185
- h.value = Number(t.index);
184
+ function ne(l) {
185
+ h.value = Number(l.index);
186
186
  }
187
- return d.getList(), (t, a) => {
188
- const r = n("jmash-select"), f = n("el-form-item"), S = n("el-col"), E = n("el-input"), C = n("el-button"), A = n("el-row"), ue = n("el-form"), q = n("arrow-down"), $ = n("el-icon"), B = n("Unlock"), U = n("el-dropdown-item"), F = n("Lock"), H = n("el-dropdown-menu"), O = n("el-dropdown"), de = n("jmash-column-select"), pe = n("el-image"), Q = n("el-switch"), re = n("jmash-table"), me = n("jmash-pagination"), ie = n("el-card"), ce = n("el-tab-pane"), fe = n("el-tabs"), v = he("hasPerm");
189
- return p(), k("div", Ie, [
190
- l(fe, {
187
+ return d.getList(), (l, a) => {
188
+ const r = n("jmash-select"), f = n("el-form-item"), y = n("el-col"), j = n("el-input"), C = n("el-button"), E = n("el-row"), ue = n("el-form"), O = n("arrow-down"), V = n("el-icon"), q = n("Unlock"), R = n("el-dropdown-item"), B = n("Lock"), F = n("el-dropdown-menu"), H = n("el-dropdown"), de = n("jmash-column-select"), pe = n("el-image"), Q = n("el-switch"), re = n("jmash-table"), me = n("jmash-pagination"), ie = n("el-card"), ce = n("el-tab-pane"), fe = n("el-tabs"), v = he("hasPerm");
189
+ return p(), $("div", Ie, [
190
+ t(fe, {
191
191
  modelValue: h.value,
192
- "onUpdate:modelValue": a[13] || (a[13] = (z) => h.value = z),
192
+ "onUpdate:modelValue": a[13] || (a[13] = (D) => h.value = D),
193
193
  type: "border-card",
194
194
  onTabClick: ne
195
195
  }, {
196
196
  default: o(() => [
197
- (p(!0), k(we, null, be(s(b).goodsSpuListSortEnum.values, (z, Y) => (p(), g(ce, {
197
+ (p(!0), $(we, null, be(s(b).goodsSpuListSortEnum.values, (D, Y) => (p(), g(ce, {
198
198
  key: Y,
199
- label: z.value,
199
+ label: D.value,
200
200
  name: Y
201
201
  }, {
202
202
  default: o(() => [
203
- h.value === 0 ? (p(), k("div", Te, [
203
+ h.value === 0 ? (p(), $("div", Te, [
204
204
  _("div", Ne, [
205
- l(ue, {
205
+ t(ue, {
206
206
  ref_for: !0,
207
207
  ref_key: "queryFormRef",
208
208
  ref: W,
@@ -210,19 +210,19 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
210
210
  inline: !0
211
211
  }, {
212
212
  default: o(() => [
213
- l(A, null, {
213
+ t(E, null, {
214
214
  default: o(() => [
215
- l(S, { span: 6 }, {
215
+ t(y, { span: 6 }, {
216
216
  default: o(() => [
217
- l(f, {
218
- label: t.$t("goodsSpu.shopId"),
217
+ t(f, {
218
+ label: l.$t("goodsSpu.shopId"),
219
219
  prop: "shopId"
220
220
  }, {
221
221
  default: o(() => [
222
- l(r, {
222
+ t(r, {
223
223
  modelValue: i.value.shopId,
224
224
  "onUpdate:modelValue": a[0] || (a[0] = (e) => i.value.shopId = e),
225
- placeholder: t.$t("goodsSpu.shopIdRequired"),
225
+ placeholder: l.$t("goodsSpu.shopIdRequired"),
226
226
  data: s(b).shopInfoBizDict.values,
227
227
  filterable: ""
228
228
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -232,17 +232,17 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
232
232
  ]),
233
233
  _: 1
234
234
  }),
235
- l(S, { span: 6 }, {
235
+ t(y, { span: 6 }, {
236
236
  default: o(() => [
237
- l(f, {
238
- label: t.$t("goodsSpu.spuCode"),
237
+ t(f, {
238
+ label: l.$t("goodsSpu.spuCode"),
239
239
  prop: "spuCode"
240
240
  }, {
241
241
  default: o(() => [
242
- l(E, {
242
+ t(j, {
243
243
  modelValue: i.value.spuCode,
244
244
  "onUpdate:modelValue": a[1] || (a[1] = (e) => i.value.spuCode = e),
245
- placeholder: t.$t("goodsSpu.spuCode"),
245
+ placeholder: l.$t("goodsSpu.spuCode"),
246
246
  class: "!w-[203px]",
247
247
  onKeyup: a[2] || (a[2] = K((e) => s(d).handleQuery(), ["enter"]))
248
248
  }, null, 8, ["modelValue", "placeholder"])
@@ -252,17 +252,17 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
252
252
  ]),
253
253
  _: 1
254
254
  }),
255
- l(S, { span: 6 }, {
255
+ t(y, { span: 6 }, {
256
256
  default: o(() => [
257
- l(f, {
258
- label: t.$t("goodsSpu.spuName"),
257
+ t(f, {
258
+ label: l.$t("goodsSpu.spuName"),
259
259
  prop: "spuName"
260
260
  }, {
261
261
  default: o(() => [
262
- l(E, {
262
+ t(j, {
263
263
  modelValue: i.value.spuName,
264
264
  "onUpdate:modelValue": a[3] || (a[3] = (e) => i.value.spuName = e),
265
- placeholder: t.$t("goodsSpu.spuName"),
265
+ placeholder: l.$t("goodsSpu.spuName"),
266
266
  class: "!w-[203px]",
267
267
  onKeyup: a[4] || (a[4] = K((e) => s(d).handleQuery(), ["enter"]))
268
268
  }, null, 8, ["modelValue", "placeholder"])
@@ -272,24 +272,24 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
272
272
  ]),
273
273
  _: 1
274
274
  }),
275
- l(S, { span: 6 }, {
275
+ t(y, { span: 6 }, {
276
276
  default: o(() => [
277
- l(f, { class: "search-btn" }, {
277
+ t(f, { class: "search-btn" }, {
278
278
  default: o(() => [
279
- l(C, {
279
+ t(C, {
280
280
  type: "primary",
281
281
  onClick: a[5] || (a[5] = (e) => s(d).handleQuery())
282
282
  }, {
283
283
  default: o(() => [
284
- m(u(t.$t("common.search")), 1)
284
+ m(u(l.$t("common.search")), 1)
285
285
  ]),
286
286
  _: 1
287
287
  }),
288
- l(C, {
288
+ t(C, {
289
289
  onClick: a[6] || (a[6] = (e) => s(d).resetQuery())
290
290
  }, {
291
291
  default: o(() => [
292
- m(u(t.$t("common.reset")), 1)
292
+ m(u(l.$t("common.reset")), 1)
293
293
  ]),
294
294
  _: 1
295
295
  })
@@ -306,65 +306,65 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
306
306
  _: 1
307
307
  }, 8, ["model"])
308
308
  ]),
309
- l(ie, {
309
+ t(ie, {
310
310
  shadow: "never",
311
311
  class: "table-container"
312
312
  }, {
313
313
  header: o(() => [
314
- l(A, null, {
314
+ t(E, null, {
315
315
  default: o(() => [
316
- l(S, { span: 17 }, {
316
+ t(y, { span: 17 }, {
317
317
  default: o(() => [
318
- y((p(), g(C, {
318
+ S((p(), g(C, {
319
319
  type: "primary",
320
320
  onClick: x
321
321
  }, {
322
322
  default: o(() => [
323
- m(u(t.$t("common.add")), 1)
323
+ m(u(l.$t("common.add")), 1)
324
324
  ]),
325
325
  _: 1
326
326
  })), [
327
327
  [v, ["goods:goods_spu:add"]]
328
328
  ]),
329
- y((p(), g(C, {
329
+ S((p(), g(C, {
330
330
  type: "primary",
331
331
  onClick: a[7] || (a[7] = (e) => s(d).deleteRecords())
332
332
  }, {
333
333
  default: o(() => [
334
- m(u(t.$t("common.batchDelete")), 1)
334
+ m(u(l.$t("common.batchDelete")), 1)
335
335
  ]),
336
336
  _: 1
337
337
  })), [
338
338
  [v, ["goods:goods_spu:delete"]]
339
339
  ]),
340
- y((p(), g(O, {
340
+ S((p(), g(H, {
341
341
  class: "dropdown-left",
342
342
  onCommand: ae
343
343
  }, {
344
344
  dropdown: o(() => [
345
- l(H, null, {
345
+ t(F, null, {
346
346
  default: o(() => [
347
- l(U, { command: "true" }, {
347
+ t(R, { command: "true" }, {
348
348
  default: o(() => [
349
- l($, { size: "14" }, {
349
+ t(V, { size: "14" }, {
350
350
  default: o(() => [
351
- l(B)
351
+ t(q)
352
352
  ]),
353
353
  _: 1
354
354
  }),
355
- m(" " + u(t.$t("goodsSpu.batchShelf")), 1)
355
+ m(" " + u(l.$t("goodsSpu.batchShelf")), 1)
356
356
  ]),
357
357
  _: 1
358
358
  }),
359
- l(U, { command: "false" }, {
359
+ t(R, { command: "false" }, {
360
360
  default: o(() => [
361
- l($, { size: "14" }, {
361
+ t(V, { size: "14" }, {
362
362
  default: o(() => [
363
- l(F)
363
+ t(B)
364
364
  ]),
365
365
  _: 1
366
366
  }),
367
- m(" " + u(t.$t("goodsSpu.batchOffShelf")), 1)
367
+ m(" " + u(l.$t("goodsSpu.batchOffShelf")), 1)
368
368
  ]),
369
369
  _: 1
370
370
  })
@@ -373,12 +373,12 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
373
373
  })
374
374
  ]),
375
375
  default: o(() => [
376
- l(C, { type: "primary" }, {
376
+ t(C, { type: "primary" }, {
377
377
  default: o(() => [
378
- m(u(t.$t("goodsSpu.batchShelf")) + "/" + u(t.$t("goodsSpu.batchOffShelf")) + " ", 1),
379
- l($, { class: "el-icon--right" }, {
378
+ m(u(l.$t("goodsSpu.batchShelf")) + "/" + u(l.$t("goodsSpu.batchOffShelf")) + " ", 1),
379
+ t(V, { class: "el-icon--right" }, {
380
380
  default: o(() => [
381
- l(q)
381
+ t(O)
382
382
  ]),
383
383
  _: 1
384
384
  })
@@ -390,38 +390,38 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
390
390
  })), [
391
391
  [v, ["goods:goods_spu:onSale"]]
392
392
  ]),
393
- y((p(), g(O, {
393
+ S((p(), g(H, {
394
394
  class: "dropdown-left",
395
395
  onCommand: se
396
396
  }, {
397
397
  dropdown: o(() => [
398
- l(H, null, {
398
+ t(F, null, {
399
399
  default: o(() => [
400
- l(U, {
401
- command: s(j).approval_pass
400
+ t(R, {
401
+ command: s(z).APPROVAL_PASS
402
402
  }, {
403
403
  default: o(() => [
404
- l($, { size: "14" }, {
404
+ t(V, { size: "14" }, {
405
405
  default: o(() => [
406
- l(B)
406
+ t(q)
407
407
  ]),
408
408
  _: 1
409
409
  }),
410
- m(" " + u(t.$t("goodsSpu.batchApprovaled")), 1)
410
+ m(" " + u(l.$t("goodsSpu.batchApprovaled")), 1)
411
411
  ]),
412
412
  _: 1
413
413
  }, 8, ["command"]),
414
- l(U, {
415
- command: s(j).approval_not_pass
414
+ t(R, {
415
+ command: s(z).APPROVAL_NOT_PASS
416
416
  }, {
417
417
  default: o(() => [
418
- l($, { size: "14" }, {
418
+ t(V, { size: "14" }, {
419
419
  default: o(() => [
420
- l(F)
420
+ t(B)
421
421
  ]),
422
422
  _: 1
423
423
  }),
424
- m(" " + u(t.$t("goodsSpu.batchRejected")), 1)
424
+ m(" " + u(l.$t("goodsSpu.batchRejected")), 1)
425
425
  ]),
426
426
  _: 1
427
427
  }, 8, ["command"])
@@ -430,12 +430,12 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
430
430
  })
431
431
  ]),
432
432
  default: o(() => [
433
- l(C, { type: "primary" }, {
433
+ t(C, { type: "primary" }, {
434
434
  default: o(() => [
435
- m(u(t.$t("goodsSpu.batchApproval")) + " ", 1),
436
- l($, { class: "el-icon--right" }, {
435
+ m(u(l.$t("goodsSpu.batchApproval")) + " ", 1),
436
+ t(V, { class: "el-icon--right" }, {
437
437
  default: o(() => [
438
- l(q)
438
+ t(O)
439
439
  ]),
440
440
  _: 1
441
441
  })
@@ -450,12 +450,12 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
450
450
  ]),
451
451
  _: 1
452
452
  }),
453
- l(S, {
453
+ t(y, {
454
454
  span: 7,
455
455
  class: "container-float"
456
456
  }, {
457
457
  default: o(() => [
458
- l(de, {
458
+ t(de, {
459
459
  modelValue: s(T),
460
460
  "onUpdate:modelValue": a[8] || (a[8] = (e) => M(T) ? T.value = e : T = e),
461
461
  "label-name": "goods/goods-spu"
@@ -477,19 +477,19 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
477
477
  "page-size": i.value.pageSize,
478
478
  "onUpdate:pageSize": a[11] || (a[11] = (e) => i.value.pageSize = e),
479
479
  onPagination: a[12] || (a[12] = (e) => s(d).getList())
480
- }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
480
+ }, null, 8, ["total", "current-page", "page-size"])) : k("", !0)
481
481
  ]),
482
482
  default: o(() => [
483
- l(re, {
483
+ t(re, {
484
484
  ref_for: !0,
485
485
  ref_key: "multipleTableRef",
486
- ref: R,
486
+ ref: P,
487
487
  "row-key": "spuId",
488
488
  "list-loading": s(X),
489
489
  data: s(Z),
490
490
  "table-label": s(T),
491
- onSelectionChange: le,
492
- onSortChange: te
491
+ onSelectionChange: te,
492
+ onSortChange: le
493
493
  }, {
494
494
  shopId: o((e) => [
495
495
  _("span", null, u(s(b).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
@@ -499,7 +499,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
499
499
  ]),
500
500
  picUrls: o((e) => [
501
501
  _("span", null, [
502
- l(pe, {
502
+ t(pe, {
503
503
  src: s(J).imageUrl(
504
504
  e.data.row.picUrls.split(",")[0],
505
505
  50,
@@ -516,7 +516,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
516
516
  ]),
517
517
  shelf: o((e) => [
518
518
  _("span", null, [
519
- l(Q, {
519
+ t(Q, {
520
520
  modelValue: e.data.row.shelf,
521
521
  "onUpdate:modelValue": (w) => e.data.row.shelf = w,
522
522
  onClick: (w) => s(d).enableRecord(
@@ -544,7 +544,7 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
544
544
  )), 1)
545
545
  ]),
546
546
  enable: o((e) => [
547
- l(Q, {
547
+ t(Q, {
548
548
  modelValue: e.data.row.enable,
549
549
  "onUpdate:modelValue": (w) => e.data.row.enable = w,
550
550
  onChange: (w) => s(d).enableRecord(
@@ -554,28 +554,28 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
554
554
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
555
555
  ]),
556
556
  operation: o((e) => [
557
- y((p(), k("span", {
557
+ S((p(), $("span", {
558
558
  class: "el-button-color",
559
559
  onClick: (w) => ee(e.data.row)
560
560
  }, [
561
- m(u(t.$t("common.edit")), 1)
562
- ], 8, Ue)), [
561
+ m(u(l.$t("common.edit")), 1)
562
+ ], 8, Re)), [
563
563
  [v, ["goods:goods_spu:update"]]
564
564
  ]),
565
- y((p(), k("span", {
565
+ S((p(), $("span", {
566
566
  class: "el-button-color dropdown-left",
567
567
  onClick: (w) => s(d).deleteRecord(e.data.row)
568
568
  }, [
569
- m(u(t.$t("common.delete")), 1)
570
- ], 8, De)), [
569
+ m(u(l.$t("common.delete")), 1)
570
+ ], 8, Ue)), [
571
571
  [v, ["goods:goods_spu:delete"]]
572
572
  ]),
573
- y((p(), k("span", {
573
+ S((p(), $("span", {
574
574
  class: "el-button-color dropdown-left",
575
575
  onClick: (w) => oe(e.data.row)
576
576
  }, [
577
- m(u(t.$t("common.view")), 1)
578
- ], 8, Re)), [
577
+ m(u(l.$t("common.view")), 1)
578
+ ], 8, Pe)), [
579
579
  [v, ["goods:goods_spu:view"]]
580
580
  ])
581
581
  ]),
@@ -584,11 +584,11 @@ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-co
584
584
  ]),
585
585
  _: 1
586
586
  })
587
- ])) : V("", !0),
588
- h.value === 1 ? (p(), g(Ce, { key: 1 })) : V("", !0),
589
- h.value === 2 ? (p(), g($e, { key: 2 })) : V("", !0),
590
- h.value === 3 ? (p(), g(ke, { key: 3 })) : V("", !0),
591
- h.value === 4 ? (p(), g(Ve, { key: 4 })) : V("", !0)
587
+ ])) : k("", !0),
588
+ h.value === 1 ? (p(), g(Ce, { key: 1 })) : k("", !0),
589
+ h.value === 2 ? (p(), g(Ve, { key: 2 })) : k("", !0),
590
+ h.value === 3 ? (p(), g($e, { key: 3 })) : k("", !0),
591
+ h.value === 4 ? (p(), g(ke, { key: 4 })) : k("", !0)
592
592
  ]),
593
593
  _: 2
594
594
  }, 1032, ["label", "name"]))), 128))