xyvcard-goods 0.0.22 → 0.0.24

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 (38) hide show
  1. package/dist/{edit-Nuaz9WSB.mjs → edit-9jPSycsG.mjs} +185 -165
  2. package/dist/{edit-exVf8d8b.mjs → edit-CJpoa4Ck.mjs} +69 -68
  3. package/dist/{edit-DxnsmaXV.mjs → edit-CWQMgvVP.mjs} +38 -38
  4. package/dist/{edit-Byv9oYAC.mjs → edit-DU-BEAcq.mjs} +1 -1
  5. package/dist/{edit-BcokSKfN.mjs → edit-Ziwv43v0.mjs} +27 -27
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-DuSBj1Mm.mjs → edit.vue_vue_type_script_setup_true_lang-BP0C4d2-.mjs} +8 -7
  7. package/dist/{goodsList-CZUqc4nm.mjs → goodsList-2AwsJVoO.mjs} +1 -1
  8. package/dist/{goodsList-IWDAvKOx.mjs → goodsList-CyWliLjg.mjs} +1 -1
  9. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-CuzIDtTN.mjs → goodsList.vue_vue_type_script_setup_true_lang-Bq06GIMe.mjs} +2 -2
  10. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-BhJn02Ym.mjs → goodsList.vue_vue_type_script_setup_true_lang-DjKzEAB7.mjs} +136 -147
  11. package/dist/{index-4i7TnWvV.mjs → index-8E7BciYp.mjs} +7 -6
  12. package/dist/{index-BVGn6Q_T.mjs → index-B1H5hqEi.mjs} +2 -2
  13. package/dist/{index-B_U2s9fI.mjs → index-B88acg0Q.mjs} +2 -2
  14. package/dist/{index-_xxSoBUe.mjs → index-BdP_dXBK.mjs} +3 -3
  15. package/dist/index-C7oatDPl.mjs +4432 -0
  16. package/dist/{index-CQIttgns.mjs → index-DPjR32Kv.mjs} +3 -3
  17. package/dist/{index-r0u-27m7.mjs → index-DR3Gk44r.mjs} +1 -1
  18. package/dist/index-jCpYt-EU.mjs +221 -0
  19. package/dist/index.mjs +6 -2875
  20. package/dist/info-BEMxnD6-.mjs +325 -0
  21. package/dist/{info-BQaaTFry.mjs → info-DFIeVs66.mjs} +3 -3
  22. package/dist/{skuForm-CgjMd46J.mjs → skuForm-BhAbf2AG.mjs} +16 -16
  23. package/dist/skuForm-C2aQcL90.mjs +314 -0
  24. package/dist/{skuTable-CyGQuTvR.mjs → skuTable-9JJqGeRx.mjs} +255 -208
  25. package/dist/style.css +1 -1
  26. package/dts/api/goods-category/types.d.ts +2 -0
  27. package/dts/api/goods-spu/index.d.ts +3 -1
  28. package/dts/api/goods-spu/types.d.ts +12 -1
  29. package/dts/index.d.ts +4 -0
  30. package/dts/router/index.d.ts +1 -0
  31. package/package.json +1 -1
  32. package/dist/index-DR7GlHNd.mjs +0 -1288
  33. package/dist/index-Dvaotk7B.mjs +0 -325
  34. package/dist/index-jTDhsbYM.mjs +0 -141
  35. package/dist/info-BH4MW3Sw.mjs +0 -365
  36. package/dist/sku-B-IzfYLq.mjs +0 -52
  37. package/dist/skuForm-AMIoZkH-.mjs +0 -287
  38. package/dist/skuTable-DDWSmvoz.mjs +0 -592
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-BhJn02Ym.mjs";
1
+ import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-Bq06GIMe.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-CuzIDtTN.mjs";
1
+ import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-DjKzEAB7.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,8 +3,8 @@ import { ElMessage as y } from "element-plus";
3
3
  import { useRouter as we } from "vue-router";
4
4
  import { useTableHooks as Ce, fileApi as W } from "jmash-core";
5
5
  import { useI18n as ke } from "vue-i18n";
6
- import { goodsSpuApi as T } from "./index.mjs";
7
- import { D as S, C as h } from "./index-Dvaotk7B.mjs";
6
+ import { a as T } from "./index-C7oatDPl.mjs";
7
+ import { D as S, C as h } from "./index-jCpYt-EU.mjs";
8
8
  const Ve = { class: "app-container" }, Pe = { class: "search-container" }, Ie = ["onClick"], $e = ["onClick"], Re = ["onClick"], Oe = /* @__PURE__ */ be({
9
9
  __name: "goodsList",
10
10
  props: {
@@ -1,10 +1,10 @@
1
- import { defineComponent as ge, getCurrentInstance as fe, ref as j, onActivated as be, resolveComponent as s, resolveDirective as _e, openBlock as r, createElementBlock as f, createElementVNode as h, createVNode as l, withCtx as o, withKeys as Y, unref as n, Fragment as V, renderList as R, createBlock as v, createTextVNode as i, toDisplayString as u, withDirectives as S, createCommentVNode as z, isRef as A } from "vue";
2
- import { ElMessage as I } from "element-plus";
1
+ import { defineComponent as ge, getCurrentInstance as fe, ref as j, onActivated as be, resolveComponent as n, resolveDirective as _e, openBlock as r, createElementBlock as y, createElementVNode as C, createVNode as l, withCtx as o, withKeys as Y, unref as s, Fragment as N, renderList as R, createBlock as w, createTextVNode as c, toDisplayString as p, withDirectives as v, createCommentVNode as z, isRef as A } from "vue";
2
+ import { ElMessage as V } from "element-plus";
3
3
  import { useRouter as ye } from "vue-router";
4
- import { useTableHooks as we, fileApi as H } from "jmash-core";
5
- import { useI18n as he } from "vue-i18n";
6
- import { goodsSpuApi as P } from "./index.mjs";
7
- import { D as g, C as ve } from "./index-Dvaotk7B.mjs";
4
+ import { useTableHooks as he, fileApi as H } from "jmash-core";
5
+ import { useI18n as we } from "vue-i18n";
6
+ import { a as B } from "./index-C7oatDPl.mjs";
7
+ import { D as g, C as ve } from "./index-jCpYt-EU.mjs";
8
8
  const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke = ["onClick"], Ve = ["onClick"], Ie = ["onClick"], ze = /* @__PURE__ */ ge({
9
9
  __name: "goodsList",
10
10
  props: {
@@ -15,10 +15,10 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
15
15
  },
16
16
  setup(Q) {
17
17
  g.brandListBizDict.useValues(), g.labelListBizDict.useValues();
18
- const { t: b } = he(), T = ye(), $ = Q, { proxy: F } = fe(), p = j({
18
+ const { t: f } = we(), D = ye(), I = Q, { proxy: F } = fe(), u = j({
19
19
  curPage: 1,
20
20
  pageSize: 10,
21
- shelf: $.shelf ? $.shelf : void 0,
21
+ shelf: I.shelf ? I.shelf : void 0,
22
22
  goodsType: ve.GOODS_TYPE.GROUP
23
23
  }), {
24
24
  tableHooks: d,
@@ -26,8 +26,8 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
26
26
  queryFormRef: K,
27
27
  listLoading: M,
28
28
  tableData: G,
29
- total: D
30
- } = we(b, P, p);
29
+ total: $
30
+ } = he(f, B, u);
31
31
  let k = j([
32
32
  {
33
33
  label: "goodsSpu.spuName",
@@ -56,8 +56,6 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
56
56
  prop: "minPrice",
57
57
  width: "110",
58
58
  sortable: "custom",
59
- slotName: "minPrice",
60
- columnType: "slot",
61
59
  isColumn: !0
62
60
  },
63
61
  {
@@ -112,17 +110,17 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
112
110
  ]);
113
111
  g.shopInfoBizDict.useValues(), g.goodsCategoryListBizLayDict.useValues();
114
112
  function W() {
115
- T.push({ path: "/rawgoods/goods-combination/edit" });
113
+ D.push({ path: "/rawgoods/goods-combination/edit" });
116
114
  }
117
115
  function J(a) {
118
- T.push({
116
+ D.push({
119
117
  path: "/rawgoods/goods-combination/edit",
120
118
  query: { spuId: a.spuId }
121
119
  });
122
120
  }
123
121
  function X(a) {
124
- T.push({
125
- path: "/rawgoods/goods-spu/info",
122
+ D.push({
123
+ path: "/rawgoods/goods-combination/info",
126
124
  query: { spuId: a.spuId }
127
125
  });
128
126
  }
@@ -134,69 +132,69 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
134
132
  }
135
133
  function ee(a) {
136
134
  if (d.selectionRows.value.length === 0) {
137
- I({
138
- message: b("goodsSpu.chooseShelf"),
135
+ V({
136
+ message: f("goodsSpu.chooseShelf"),
139
137
  type: "warning"
140
138
  });
141
139
  return;
142
140
  }
143
- const t = d.selectionRows.value.map((c) => c.spuId);
144
- P.enable({ spuId: t }, JSON.parse(a)).then((c) => {
145
- var _;
146
- c.status === 200 && (a === "true" ? I({
147
- message: b("goodsSpu.successShelf") + c.data + b("common.stripData"),
141
+ const t = d.selectionRows.value.map((m) => m.spuId);
142
+ B.enable({ spuId: t }, JSON.parse(a)).then((m) => {
143
+ var b;
144
+ m.status === 200 && (a === "true" ? V({
145
+ message: f("goodsSpu.successShelf") + m.data + f("common.stripData"),
148
146
  type: "success"
149
- }) : I({
150
- message: b("goodsSpu.successOffShelf") + c.data + b("common.stripData"),
147
+ }) : V({
148
+ message: f("goodsSpu.successOffShelf") + m.data + f("common.stripData"),
151
149
  type: "success"
152
- }), d.getList(), (_ = U.value) == null || _.clearSelection());
150
+ }), d.getList(), (b = U.value) == null || b.clearSelection());
153
151
  });
154
152
  }
155
153
  function oe() {
156
154
  if (d.selectionRows.value.length === 0) {
157
- I({
158
- message: b("goodsSpu.chooseShelf"),
155
+ V({
156
+ message: f("goodsSpu.chooseShelf"),
159
157
  type: "warning"
160
158
  });
161
159
  return;
162
160
  }
163
161
  const a = d.selectionRows.value.map((t) => t.spuId);
164
- P.enable({ spuId: a }, !0).then((t) => {
165
- var c;
166
- t.status === 200 && (I({
167
- message: b("goodsSpu.successShelf") + t.data + b("common.stripData"),
162
+ B.enable({ spuId: a }, !0).then((t) => {
163
+ var m;
164
+ t.status === 200 && (V({
165
+ message: f("goodsSpu.successShelf") + t.data + f("common.stripData"),
168
166
  type: "success"
169
- }), d.getList(), (c = U.value) == null || c.clearSelection());
167
+ }), d.getList(), (m = U.value) == null || m.clearSelection());
170
168
  });
171
169
  }
172
170
  return be(() => {
173
171
  d.getList();
174
172
  }), (a, t) => {
175
- const c = s("el-input"), _ = s("el-form-item"), y = s("el-col"), le = s("el-tree-select"), B = s("el-option"), q = s("el-select"), L = s("el-row"), C = s("el-button"), te = s("el-form"), ae = s("arrow-down"), N = s("el-icon"), ne = s("Unlock"), E = s("el-dropdown-item"), se = s("Lock"), de = s("el-dropdown-menu"), ue = s("el-dropdown"), re = s("jmash-column-select"), pe = s("el-image"), O = s("el-switch"), ie = s("jmash-table"), me = s("jmash-pagination"), ce = s("el-card"), w = _e("hasPerm");
176
- return r(), f("div", Se, [
177
- h("div", Ce, [
173
+ const m = n("el-input"), b = n("el-form-item"), _ = n("el-col"), le = n("el-tree-select"), P = n("el-option"), q = n("el-select"), T = n("el-row"), S = n("el-button"), te = n("el-form"), ae = n("arrow-down"), L = n("el-icon"), se = n("Unlock"), E = n("el-dropdown-item"), ne = n("Lock"), de = n("el-dropdown-menu"), ue = n("el-dropdown"), re = n("jmash-column-select"), pe = n("el-image"), O = n("el-switch"), ie = n("jmash-table"), me = n("jmash-pagination"), ce = n("el-card"), h = _e("hasPerm");
174
+ return r(), y("div", Se, [
175
+ C("div", Ce, [
178
176
  l(te, {
179
177
  ref_key: "queryFormRef",
180
178
  ref: K,
181
- model: p.value,
179
+ model: u.value,
182
180
  inline: !0
183
181
  }, {
184
182
  default: o(() => [
185
- l(L, null, {
183
+ l(T, null, {
186
184
  default: o(() => [
187
- l(y, { span: 6 }, {
185
+ l(_, { span: 6 }, {
188
186
  default: o(() => [
189
- l(_, {
187
+ l(b, {
190
188
  label: a.$t("goodsSpu.spuCode"),
191
189
  prop: "spuCode"
192
190
  }, {
193
191
  default: o(() => [
194
- l(c, {
195
- modelValue: p.value.spuCode,
196
- "onUpdate:modelValue": t[0] || (t[0] = (e) => p.value.spuCode = e),
192
+ l(m, {
193
+ modelValue: u.value.spuCode,
194
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.spuCode = e),
197
195
  placeholder: a.$t("goodsSpu.spuCode"),
198
196
  class: "!w-[203px]",
199
- onKeyup: t[1] || (t[1] = Y((e) => n(d).handleQuery(), ["enter"]))
197
+ onKeyup: t[1] || (t[1] = Y((e) => s(d).handleQuery(), ["enter"]))
200
198
  }, null, 8, ["modelValue", "placeholder"])
201
199
  ]),
202
200
  _: 1
@@ -204,18 +202,18 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
204
202
  ]),
205
203
  _: 1
206
204
  }),
207
- l(y, { span: 6 }, {
205
+ l(_, { span: 6 }, {
208
206
  default: o(() => [
209
- l(_, {
207
+ l(b, {
210
208
  label: a.$t("goodsSpu.spuName"),
211
209
  prop: "likeSpuName"
212
210
  }, {
213
211
  default: o(() => [
214
- l(c, {
215
- modelValue: p.value.likeSpuName,
216
- "onUpdate:modelValue": t[2] || (t[2] = (e) => p.value.likeSpuName = e),
212
+ l(m, {
213
+ modelValue: u.value.likeSpuName,
214
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.likeSpuName = e),
217
215
  placeholder: a.$t("goodsSpu.spuName"),
218
- onKeyup: t[3] || (t[3] = Y((e) => n(d).handleQuery(), ["enter"]))
216
+ onKeyup: t[3] || (t[3] = Y((e) => s(d).handleQuery(), ["enter"]))
219
217
  }, null, 8, ["modelValue", "placeholder"])
220
218
  ]),
221
219
  _: 1
@@ -223,17 +221,17 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
223
221
  ]),
224
222
  _: 1
225
223
  }),
226
- l(y, { span: 6 }, {
224
+ l(_, { span: 6 }, {
227
225
  default: o(() => [
228
- l(_, {
226
+ l(b, {
229
227
  label: a.$t("goodsSpu.categoryId"),
230
228
  prop: "categoryIds"
231
229
  }, {
232
230
  default: o(() => [
233
231
  l(le, {
234
- modelValue: p.value.categoryIds,
235
- "onUpdate:modelValue": t[4] || (t[4] = (e) => p.value.categoryIds = e),
236
- data: n(g).goodsCategoryListBizLayDict.values,
232
+ modelValue: u.value.categoryIds,
233
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.categoryIds = e),
234
+ data: s(g).goodsCategoryListBizLayDict.values,
237
235
  multiple: "",
238
236
  placeholder: a.$t("goodsSpu.categoryIdRequired"),
239
237
  class: "!w-[203px]"
@@ -244,22 +242,22 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
244
242
  ]),
245
243
  _: 1
246
244
  }),
247
- l(y, { span: 6 }, {
245
+ l(_, { span: 6 }, {
248
246
  default: o(() => [
249
- l(_, {
247
+ l(b, {
250
248
  label: a.$t("goodsSpu.brandId"),
251
249
  prop: "brandId"
252
250
  }, {
253
251
  default: o(() => [
254
252
  l(q, {
255
- modelValue: p.value.brandId,
256
- "onUpdate:modelValue": t[5] || (t[5] = (e) => p.value.brandId = e),
257
- data: n(g).brandListBizDict.values,
253
+ modelValue: u.value.brandId,
254
+ "onUpdate:modelValue": t[5] || (t[5] = (e) => u.value.brandId = e),
255
+ data: s(g).brandListBizDict.values,
258
256
  placeholder: a.$t("goodsSpu.brandIdRequired"),
259
257
  class: "!w-[203px]"
260
258
  }, {
261
259
  default: o(() => [
262
- (r(!0), f(V, null, R(n(g).brandListBizDict.values, (e) => (r(), v(B, {
260
+ (r(!0), y(N, null, R(s(g).brandListBizDict.values, (e) => (r(), w(P, {
263
261
  key: e.key,
264
262
  label: e.value,
265
263
  value: e.key
@@ -276,25 +274,25 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
276
274
  ]),
277
275
  _: 1
278
276
  }),
279
- l(L, null, {
277
+ l(T, null, {
280
278
  default: o(() => [
281
- l(y, { span: 6 }, {
279
+ l(_, { span: 6 }, {
282
280
  default: o(() => [
283
- l(_, {
281
+ l(b, {
284
282
  label: a.$t("goodsSpu.labelIds"),
285
283
  prop: "labelIds"
286
284
  }, {
287
285
  default: o(() => [
288
286
  l(q, {
289
- modelValue: p.value.labelIds,
290
- "onUpdate:modelValue": t[6] || (t[6] = (e) => p.value.labelIds = e),
291
- data: n(g).labelListBizDict.values,
287
+ modelValue: u.value.labelIds,
288
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.labelIds = e),
289
+ data: s(g).labelListBizDict.values,
292
290
  multiple: "",
293
291
  placeholder: a.$t("goodsSpu.labelIdsRequired"),
294
292
  class: "!w-[203px]"
295
293
  }, {
296
294
  default: o(() => [
297
- (r(!0), f(V, null, R(n(g).labelListBizDict.values, (e) => (r(), v(B, {
295
+ (r(!0), y(N, null, R(s(g).labelListBizDict.values, (e) => (r(), w(P, {
298
296
  key: e.key,
299
297
  label: e.value,
300
298
  value: e.key
@@ -308,24 +306,24 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
308
306
  ]),
309
307
  _: 1
310
308
  }),
311
- l(y, { span: 18 }, {
309
+ l(_, { span: 18 }, {
312
310
  default: o(() => [
313
- l(_, { class: "search-btn" }, {
311
+ l(b, { class: "search-btn" }, {
314
312
  default: o(() => [
315
- l(C, {
313
+ l(S, {
316
314
  type: "primary",
317
- onClick: t[7] || (t[7] = (e) => n(d).handleQuery())
315
+ onClick: t[7] || (t[7] = (e) => s(d).handleQuery())
318
316
  }, {
319
317
  default: o(() => [
320
- i(u(a.$t("common.search")), 1)
318
+ c(p(a.$t("common.search")), 1)
321
319
  ]),
322
320
  _: 1
323
321
  }),
324
- l(C, {
325
- onClick: t[8] || (t[8] = (e) => n(d).resetQuery())
322
+ l(S, {
323
+ onClick: t[8] || (t[8] = (e) => s(d).resetQuery())
326
324
  }, {
327
325
  default: o(() => [
328
- i(u(a.$t("common.reset")), 1)
326
+ c(p(a.$t("common.reset")), 1)
329
327
  ]),
330
328
  _: 1
331
329
  })
@@ -341,52 +339,52 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
341
339
  ]),
342
340
  _: 1
343
341
  }, 8, ["model"]),
344
- t[15] || (t[15] = h("div", { class: "clear" }, null, -1))
342
+ t[15] || (t[15] = C("div", { class: "clear" }, null, -1))
345
343
  ]),
346
344
  l(ce, {
347
345
  shadow: "never",
348
346
  class: "table-container"
349
347
  }, {
350
348
  header: o(() => [
351
- l(L, null, {
349
+ l(T, null, {
352
350
  default: o(() => [
353
- l(y, { span: 17 }, {
351
+ l(_, { span: 17 }, {
354
352
  default: o(() => [
355
- S((r(), v(C, {
353
+ v((r(), w(S, {
356
354
  type: "primary",
357
355
  onClick: W
358
356
  }, {
359
357
  default: o(() => [
360
- i(u(a.$t("common.add")), 1)
358
+ c(p(a.$t("common.add")), 1)
361
359
  ]),
362
360
  _: 1
363
361
  })), [
364
- [w, ["goods:goods_com:add"]]
362
+ [h, ["goods:goods_com:add"]]
365
363
  ]),
366
- S((r(), v(C, {
364
+ v((r(), w(S, {
367
365
  type: "primary",
368
- onClick: t[9] || (t[9] = (e) => n(d).deleteRecords())
366
+ onClick: t[9] || (t[9] = (e) => s(d).deleteRecords())
369
367
  }, {
370
368
  default: o(() => [
371
- i(u(a.$t("common.batchDelete")), 1)
369
+ c(p(a.$t("common.batchDelete")), 1)
372
370
  ]),
373
371
  _: 1
374
372
  })), [
375
- [w, ["goods:goods_com:delete"]]
373
+ [h, ["goods:goods_com:delete"]]
376
374
  ]),
377
- $.shelf === "false" ? S((r(), v(C, {
375
+ I.shelf === "false" ? v((r(), w(S, {
378
376
  key: 0,
379
377
  type: "primary",
380
378
  onClick: oe
381
379
  }, {
382
380
  default: o(() => [
383
- i(u(a.$t("goodsSpu.batchShelf")), 1)
381
+ c(p(a.$t("goodsSpu.batchShelf")), 1)
384
382
  ]),
385
383
  _: 1
386
384
  })), [
387
- [w, ["goods:goods_com:onSale"]]
385
+ [h, ["goods:goods_com:onSale"]]
388
386
  ]) : z("", !0),
389
- $.shelf === "" ? S((r(), v(ue, {
387
+ I.shelf === "" ? v((r(), w(ue, {
390
388
  key: 1,
391
389
  class: "dropdown-left",
392
390
  onCommand: ee
@@ -396,25 +394,25 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
396
394
  default: o(() => [
397
395
  l(E, { command: "true" }, {
398
396
  default: o(() => [
399
- l(N, { size: "14" }, {
397
+ l(L, { size: "14" }, {
400
398
  default: o(() => [
401
- l(ne)
399
+ l(se)
402
400
  ]),
403
401
  _: 1
404
402
  }),
405
- i(" " + u(a.$t("goodsSpu.batchShelf")), 1)
403
+ c(" " + p(a.$t("goodsSpu.batchShelf")), 1)
406
404
  ]),
407
405
  _: 1
408
406
  }),
409
407
  l(E, { command: "false" }, {
410
408
  default: o(() => [
411
- l(N, { size: "14" }, {
409
+ l(L, { size: "14" }, {
412
410
  default: o(() => [
413
- l(se)
411
+ l(ne)
414
412
  ]),
415
413
  _: 1
416
414
  }),
417
- i(" " + u(a.$t("goodsSpu.batchOffShelf")), 1)
415
+ c(" " + p(a.$t("goodsSpu.batchOffShelf")), 1)
418
416
  ]),
419
417
  _: 1
420
418
  })
@@ -423,10 +421,10 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
423
421
  })
424
422
  ]),
425
423
  default: o(() => [
426
- l(C, { type: "primary" }, {
424
+ l(S, { type: "primary" }, {
427
425
  default: o(() => [
428
- i(u(a.$t("goodsSpu.batchShelf")) + "/" + u(a.$t("goodsSpu.batchOffShelf")) + " ", 1),
429
- l(N, { class: "el-icon--right" }, {
426
+ c(p(a.$t("goodsSpu.batchShelf")) + "/" + p(a.$t("goodsSpu.batchOffShelf")) + " ", 1),
427
+ l(L, { class: "el-icon--right" }, {
430
428
  default: o(() => [
431
429
  l(ae)
432
430
  ]),
@@ -438,18 +436,18 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
438
436
  ]),
439
437
  _: 1
440
438
  })), [
441
- [w, ["goods:goods_com:onSale"]]
439
+ [h, ["goods:goods_com:onSale"]]
442
440
  ]) : z("", !0)
443
441
  ]),
444
442
  _: 1
445
443
  }),
446
- l(y, {
444
+ l(_, {
447
445
  span: 7,
448
446
  class: "container-float"
449
447
  }, {
450
448
  default: o(() => [
451
449
  l(re, {
452
- modelValue: n(k),
450
+ modelValue: s(k),
453
451
  "onUpdate:modelValue": t[10] || (t[10] = (e) => A(k) ? k.value = e : k = e),
454
452
  "label-name": "goods/goods-combination"
455
453
  }, null, 8, ["modelValue"])
@@ -461,15 +459,15 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
461
459
  })
462
460
  ]),
463
461
  footer: o(() => [
464
- n(D) > 0 ? (r(), v(me, {
462
+ s($) > 0 ? (r(), w(me, {
465
463
  key: 0,
466
- total: n(D),
467
- "onUpdate:total": t[11] || (t[11] = (e) => A(D) ? D.value = e : null),
468
- "current-page": p.value.curPage,
469
- "onUpdate:currentPage": t[12] || (t[12] = (e) => p.value.curPage = e),
470
- "page-size": p.value.pageSize,
471
- "onUpdate:pageSize": t[13] || (t[13] = (e) => p.value.pageSize = e),
472
- onPagination: t[14] || (t[14] = (e) => n(d).getList())
464
+ total: s($),
465
+ "onUpdate:total": t[11] || (t[11] = (e) => A($) ? $.value = e : null),
466
+ "current-page": u.value.curPage,
467
+ "onUpdate:currentPage": t[12] || (t[12] = (e) => u.value.curPage = e),
468
+ "page-size": u.value.pageSize,
469
+ "onUpdate:pageSize": t[13] || (t[13] = (e) => u.value.pageSize = e),
470
+ onPagination: t[14] || (t[14] = (e) => s(d).getList())
473
471
  }, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
474
472
  ]),
475
473
  default: o(() => [
@@ -477,24 +475,24 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
477
475
  ref_key: "multipleTableRef",
478
476
  ref: U,
479
477
  "row-key": "spuId",
480
- "list-loading": n(M),
481
- data: n(G),
482
- "table-label": n(k),
478
+ "list-loading": s(M),
479
+ data: s(G),
480
+ "table-label": s(k),
483
481
  onSelectionChange: Z,
484
482
  onSortChange: x
485
483
  }, {
486
484
  categoryId: o((e) => [
487
- (r(!0), f(V, null, R(e.data.row.categoryIds, (m) => (r(), f("span", {
488
- key: m,
485
+ (r(!0), y(N, null, R(e.data.row.categoryIds, (i) => (r(), y("span", {
486
+ key: i,
489
487
  style: { "margin-right": "8px", "margin-bottom": "4px" }
490
- }, u(n(g).goodsCategoryListBizLayDict.getValue(m) || m), 1))), 128))
488
+ }, p(s(g).goodsCategoryListBizLayDict.getValue(i) || i), 1))), 128))
491
489
  ]),
492
490
  picUrls: o((e) => [
493
- h("span", null, [
491
+ C("span", null, [
494
492
  l(pe, {
495
- src: n(H).imageUrl(e.data.row.picUrls.split(",")[0], 0, 0),
493
+ src: s(H).imageUrl(e.data.row.picUrls.split(",")[0], 0, 0),
496
494
  "preview-src-list": [
497
- n(H).imageUrl(e.data.row.picUrls.split(",")[0])
495
+ s(H).imageUrl(e.data.row.picUrls.split(",")[0])
498
496
  ],
499
497
  "preview-teleported": "",
500
498
  "hide-on-click-modal": "",
@@ -503,28 +501,19 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
503
501
  ])
504
502
  ]),
505
503
  shelf: o((e) => [
506
- h("span", null, [
504
+ C("span", null, [
507
505
  l(O, {
508
506
  modelValue: e.data.row.shelf,
509
- "onUpdate:modelValue": (m) => e.data.row.shelf = m,
510
- onClick: (m) => n(d).enableRecord(e.data.row, e.data.row.shelf)
507
+ "onUpdate:modelValue": (i) => e.data.row.shelf = i,
508
+ onClick: (i) => s(d).enableRecord(e.data.row, e.data.row.shelf)
511
509
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onClick"])
512
510
  ])
513
511
  ]),
514
- minPrice: o((e) => [
515
- h("span", null, [
516
- e.data.row.minPrice === e.data.row.maxPrice ? (r(), f(V, { key: 0 }, [
517
- i(u(e.data.row.minPrice), 1)
518
- ], 64)) : (r(), f(V, { key: 1 }, [
519
- i(u(e.data.row.minPrice) + " ~ " + u(e.data.row.maxPrice), 1)
520
- ], 64))
521
- ])
522
- ]),
523
512
  specType: o((e) => [
524
- h("span", null, u(n(g).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
513
+ C("span", null, p(s(g).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
525
514
  ]),
526
515
  updateTime: o((e) => [
527
- h("span", null, u(n(F).$moment.formatDate(
516
+ C("span", null, p(s(F).$moment.formatDate(
528
517
  e.data.row.updateTime,
529
518
  "YYYY-MM-DD HH:mm:ss"
530
519
  )), 1)
@@ -532,34 +521,34 @@ const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke =
532
521
  enable: o((e) => [
533
522
  l(O, {
534
523
  modelValue: e.data.row.enable,
535
- "onUpdate:modelValue": (m) => e.data.row.enable = m,
536
- onChange: (m) => n(d).enableRecord(e.data.row, e.data.row.enable)
524
+ "onUpdate:modelValue": (i) => e.data.row.enable = i,
525
+ onChange: (i) => s(d).enableRecord(e.data.row, e.data.row.enable)
537
526
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
538
527
  ]),
539
528
  operation: o((e) => [
540
- S((r(), f("span", {
529
+ v((r(), y("span", {
541
530
  class: "el-button-color",
542
- onClick: (m) => J(e.data.row)
531
+ onClick: (i) => J(e.data.row)
543
532
  }, [
544
- i(u(a.$t("common.edit")), 1)
533
+ c(p(a.$t("common.edit")), 1)
545
534
  ], 8, ke)), [
546
- [w, ["goods:goods_com:update"]]
535
+ [h, ["goods:goods_com:update"]]
547
536
  ]),
548
- S((r(), f("span", {
537
+ v((r(), y("span", {
549
538
  class: "el-button-color dropdown-left",
550
- onClick: (m) => n(d).deleteRecord(e.data.row)
539
+ onClick: (i) => s(d).deleteRecord(e.data.row)
551
540
  }, [
552
- i(u(a.$t("common.delete")), 1)
541
+ c(p(a.$t("common.delete")), 1)
553
542
  ], 8, Ve)), [
554
- [w, ["goods:goods_com:delete"]]
543
+ [h, ["goods:goods_com:delete"]]
555
544
  ]),
556
- S((r(), f("span", {
545
+ v((r(), y("span", {
557
546
  class: "el-button-color dropdown-left",
558
- onClick: (m) => X(e.data.row)
547
+ onClick: (i) => X(e.data.row)
559
548
  }, [
560
- i(u(a.$t("common.view")), 1)
549
+ c(p(a.$t("common.view")), 1)
561
550
  ], 8, Ie)), [
562
- [w, ["goods:goods_com:view"]]
551
+ [h, ["goods:goods_com:view"]]
563
552
  ])
564
553
  ]),
565
554
  _: 1