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,14 +1,20 @@
1
- var S = Object.defineProperty;
2
- var _ = (o, e, s) => e in o ? S(o, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : o[e] = s;
1
+ var d = Object.defineProperty;
2
+ var _ = (o, e, s) => e in o ? d(o, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : o[e] = s;
3
3
  var t = (o, e, s) => _(o, typeof e != "symbol" ? e + "" : e, s);
4
- import { useUserStore as n, clearEmpty as p, request as h, BizDict as d, BizLayDict as v, EnumDict as l } from "jmash-core";
5
- import { EntryDict as g } from "jmash-dict";
6
- import { ref as E, reactive as m } from "vue";
4
+ import { useUserStore as n, clearEmpty as p, request as h, BizDict as S, BizLayDict as E, EnumDict as l } from "jmash-core";
5
+ import { EntryDict as v } from "jmash-dict";
6
+ import { ref as g, reactive as m } from "vue";
7
7
  class a {
8
8
  }
9
9
  // 模块
10
- t(a, "MODULE_GOODS", "goods"), // 启用禁用
11
- t(a, "SHELF_VALUES", E([
10
+ t(a, "MODULE_GOODS", "goods"), // 商品规格类型
11
+ t(a, "specType", {
12
+ UNIFIED_SPEC: "UNIFIED_SPEC",
13
+ //统一规格
14
+ MULTI_SPEC: "MULTI_SPEC"
15
+ //多规格
16
+ }), // 启用禁用
17
+ t(a, "SHELF_VALUES", g([
12
18
  { key: "true", value: "上架" },
13
19
  { key: "false", value: "下架" }
14
20
  ])), // 运费类型
@@ -18,7 +24,7 @@ t(a, "ENUM_SPEC_TYPE", "xyvcard.goods.protobuf.SpecType"), // 商品查询枚举
18
24
  t(a, "ENUM_GOODS_SPU_List_SORT", "xyvcard.goods.protobuf.GoodsSpuListSort"), // 审核状态
19
25
  t(a, "ENUM_APPROVAL_STATUS", "xyvcard.goods.protobuf.ApprovalStatus"), // 审核状态常量
20
26
  t(a, "approval_not_pass", "APPROVAL_NOT_PASS"), t(a, "approval_pass", "APPROVAL_PASS"), t(a, "approvaling", "APPROVALING");
21
- class f {
27
+ class I {
22
28
  getKey(e) {
23
29
  return {
24
30
  shopId: e.shopId
@@ -34,7 +40,7 @@ class f {
34
40
  });
35
41
  }
36
42
  }
37
- const O = new f();
43
+ const f = new I();
38
44
  class y {
39
45
  getKey(e) {
40
46
  return {
@@ -56,7 +62,7 @@ class y {
56
62
  });
57
63
  }
58
64
  }
59
- const I = new y();
65
+ const O = new y();
60
66
  class L {
61
67
  getKey(e) {
62
68
  return {
@@ -73,8 +79,8 @@ class L {
73
79
  });
74
80
  }
75
81
  }
76
- const A = new L();
77
- class P {
82
+ const P = new L();
83
+ class A {
78
84
  getKey(e) {
79
85
  return {
80
86
  specValueId: e.specValueId
@@ -90,8 +96,8 @@ class P {
90
96
  });
91
97
  }
92
98
  }
93
- const D = new P();
94
- class U {
99
+ const U = new A();
100
+ class D {
95
101
  constructor(e, s) {
96
102
  t(this, "values", m([]));
97
103
  // 查询条件
@@ -106,11 +112,11 @@ class U {
106
112
  return "";
107
113
  }
108
114
  }
109
- class T extends d {
115
+ class T extends S {
110
116
  // 实现 useValues 方法
111
117
  useValues() {
112
118
  return new Promise((e, s) => {
113
- O.findList(this.query).then(({ data: i }) => {
119
+ f.findList(this.query).then(({ data: i }) => {
114
120
  console.log(i);
115
121
  const c = i.results;
116
122
  this.values.length = 0, this.values.push(
@@ -125,21 +131,21 @@ class T extends d {
125
131
  });
126
132
  }
127
133
  }
128
- class V extends v {
134
+ class V extends E {
129
135
  // 实现 useValues 方法
130
136
  useValues() {
131
137
  return new Promise((e, s) => {
132
- I.findTreeListApi().then(({ data: i }) => {
138
+ O.findTreeListApi().then(({ data: i }) => {
133
139
  this.values.length = 0, this.values.push(...i.results), e(this.values);
134
140
  }).catch(s);
135
141
  });
136
142
  }
137
143
  }
138
- class w extends d {
144
+ class w extends S {
139
145
  // 实现 useValues 方法
140
146
  useValues() {
141
147
  return new Promise((e, s) => {
142
- A.findList(this.query).then(({ data: i }) => {
148
+ P.findList(this.query).then(({ data: i }) => {
143
149
  console.log(i);
144
150
  const c = i.results;
145
151
  this.values.length = 0, this.values.push(
@@ -155,11 +161,11 @@ class w extends d {
155
161
  });
156
162
  }
157
163
  }
158
- class G extends d {
164
+ class N extends S {
159
165
  // 实现 useValues 方法
160
166
  useValues() {
161
167
  return new Promise((e, s) => {
162
- D.findList(this.query).then(({ data: i }) => {
168
+ U.findList(this.query).then(({ data: i }) => {
163
169
  console.log(i);
164
170
  const c = i.results;
165
171
  this.values.length = 0, this.values.push(
@@ -180,15 +186,28 @@ class r {
180
186
  t(r, "shopInfoBizDict", new T({})), // 商品分类
181
187
  t(r, "goodsCategoryDict", new V({})), // 规格列表
182
188
  t(r, "specInfoDict", new w({})), // 规格值
183
- t(r, "specValueDict", new G({})), // 上架下架
184
- t(r, "shelfDict", new U(a.SHELF_VALUES, {})), // 运费类型
185
- t(r, "freightTypeEnum", new l(a.MODULE_GOODS, a.ENUM_FREIGHT_TYPE)), // 保障服务
186
- t(r, "goodsEnsureDict", new g(a.DICT_GOODS_ENSURE)), // 规格类型
187
- t(r, "specTypeEnum", new l(a.MODULE_GOODS, a.ENUM_SPEC_TYPE)), // 商品查询枚举
188
- t(r, "goodsSpuListSortEnum", new l(a.MODULE_GOODS, a.ENUM_GOODS_SPU_List_SORT)), // 审核状态
189
- t(r, "approvalStatusEnum", new l(a.MODULE_GOODS, a.ENUM_APPROVAL_STATUS));
189
+ t(r, "specValueDict", new N({})), // 上架下架
190
+ t(r, "shelfDict", new D(a.SHELF_VALUES, {})), // 运费类型
191
+ t(r, "freightTypeEnum", new l(
192
+ a.MODULE_GOODS,
193
+ a.ENUM_FREIGHT_TYPE
194
+ )), // 保障服务
195
+ t(r, "goodsEnsureDict", new v(a.DICT_GOODS_ENSURE)), // 规格类型
196
+ t(r, "specTypeEnum", new l(
197
+ a.MODULE_GOODS,
198
+ a.ENUM_SPEC_TYPE
199
+ )), // 商品查询枚举
200
+ t(r, "goodsSpuListSortEnum", new l(
201
+ a.MODULE_GOODS,
202
+ a.ENUM_GOODS_SPU_List_SORT
203
+ )), // 审核状态
204
+ t(r, "approvalStatusEnum", new l(
205
+ a.MODULE_GOODS,
206
+ a.ENUM_APPROVAL_STATUS
207
+ ));
190
208
  export {
191
209
  a as C,
192
210
  r as D,
193
- G as S
211
+ N as S,
212
+ w as a
194
213
  };
@@ -1,20 +1,25 @@
1
- import { defineComponent as ge, getCurrentInstance as _e, ref as P, resolveComponent as n, resolveDirective as he, openBlock as p, createElementBlock as V, createVNode as l, withCtx as o, Fragment as we, renderList as be, unref as s, createBlock as f, createElementVNode as h, withKeys as Y, createTextVNode as m, toDisplayString as u, withDirectives as y, isRef as K, createCommentVNode as S } from "vue";
1
+ import { defineComponent as ge, getCurrentInstance as _e, ref as P, resolveComponent as n, resolveDirective as he, openBlock as p, createElementBlock as V, createVNode as l, withCtx as o, Fragment as we, renderList as be, unref as s, createBlock as g, createElementVNode as _, withKeys as Y, createTextVNode as m, toDisplayString as u, withDirectives as y, isRef as K, createCommentVNode as k } from "vue";
2
2
  import { useRouter as ve } from "vue-router";
3
3
  import { useTableHooks as ye, fileApi as M } from "jmash-core";
4
4
  import { useI18n as Se } from "vue-i18n";
5
- import { g as L } from "./index-fu3gxdt_.mjs";
6
- import { D as b, C as j } from "./index-C9f6Lybt.mjs";
7
- import { _ as Ce } from "./saleIndex.vue_vue_type_script_setup_true_lang-Cfv3a-DK.mjs";
8
- import { _ as $e } from "./shelfIndex.vue_vue_type_script_setup_true_lang-BG3OCeN_.mjs";
9
- import { _ as ke } from "./auditIndex.vue_vue_type_script_setup_true_lang-sZD3eYJR.mjs";
10
- import { _ as Ve } from "./approvedIndex.vue_vue_type_script_setup_true_lang-Wyt6TM2h.mjs";
11
- import { _ as Ie } from "./approveFailIndex.vue_vue_type_script_setup_true_lang-WJ40OU9K.mjs";
12
- /* empty css */
13
- import { Z as I } from "./index-C9KO9AZw.mjs";
14
- const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-container" }, De = ["onClick"], Re = ["onClick"], ze = ["onClick"], Je = /* @__PURE__ */ ge({
5
+ import { goodsSpuApi as L } from "./index.mjs";
6
+ import { D as b, C as j } from "./index-CZD7OAWo.mjs";
7
+ import { _ as Ce } from "./saleIndex.vue_vue_type_script_setup_true_lang-qDsRE8JX.mjs";
8
+ import { _ as $e } from "./shelfIndex.vue_vue_type_script_setup_true_lang-D3xUiFR2.mjs";
9
+ import { _ as Ve } from "./auditIndex.vue_vue_type_script_setup_true_lang-UrMEjXo-.mjs";
10
+ import { _ as ke } from "./approveFailIndex.vue_vue_type_script_setup_true_lang-CSBlBFQo.mjs";
11
+ import { $ as I } from "./el-message-BBB-S2MS.mjs";
12
+ const Ie = { class: "app-container" }, Te = { key: 0 }, Ne = { class: "search-container" }, Ue = ["onClick"], De = ["onClick"], Re = ["onClick"], Ye = /* @__PURE__ */ ge({
15
13
  __name: "index",
16
- setup(Pe) {
17
- const { t: c } = Se(), D = ve(), { proxy: J } = _e(), i = P({}), { tableHooks: d, multipleTableRef: R, queryFormRef: Z, listLoading: G, tableData: W, total: N } = ye(c, L, i);
14
+ setup(ze) {
15
+ const { t: c } = Se(), D = ve(), { proxy: J } = _e(), i = P({}), {
16
+ tableHooks: d,
17
+ multipleTableRef: R,
18
+ queryFormRef: G,
19
+ listLoading: W,
20
+ tableData: X,
21
+ total: N
22
+ } = ye(c, L, i);
18
23
  let T = P([
19
24
  {
20
25
  label: "goodsSpu.shopId",
@@ -114,15 +119,21 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
114
119
  }
115
120
  ]);
116
121
  b.shopInfoBizDict.useValues(), b.goodsCategoryDict.useValues();
117
- const _ = P(0);
118
- function X() {
122
+ const h = P(0);
123
+ function Z() {
119
124
  D.push({ path: "/rawgoods/goods-spu/edit" });
120
125
  }
121
126
  function x(t) {
122
- D.push({ path: "/rawgoods/goods-spu/edit", query: { spuId: t.spuId } });
127
+ D.push({
128
+ path: "/rawgoods/goods-spu/edit",
129
+ query: { spuId: t.spuId }
130
+ });
123
131
  }
124
132
  function ee(t) {
125
- D.push({ path: "/rawgoods/goods-spu/info", query: { spuId: t.spuId } });
133
+ D.push({
134
+ path: "/rawgoods/goods-spu/info",
135
+ query: { spuId: t.spuId }
136
+ });
126
137
  }
127
138
  function oe(t) {
128
139
  d.selectionRows.value = t;
@@ -140,14 +151,14 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
140
151
  }
141
152
  const a = d.selectionRows.value.map((r) => r.spuId);
142
153
  console.log(a), L.enable({ spuId: a }, JSON.parse(t)).then((r) => {
143
- var g;
154
+ var f;
144
155
  console.log(r), r.status === 200 && (t === "true" ? I({
145
156
  message: c("goodsSpu.successShelf") + r.data + c("common.stripData"),
146
157
  type: "success"
147
158
  }) : I({
148
159
  message: c("goodsSpu.successOffShelf") + r.data + c("common.stripData"),
149
160
  type: "success"
150
- }), d.getList(), (g = R.value) == null || g.clearSelection());
161
+ }), d.getList(), (f = R.value) == null || f.clearSelection());
151
162
  });
152
163
  }
153
164
  function ae(t) {
@@ -160,49 +171,49 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
160
171
  }
161
172
  const a = d.selectionRows.value.map((r) => r.spuId);
162
173
  L.audit({ spuId: a }, t).then((r) => {
163
- var g;
174
+ var f;
164
175
  console.log(r), r.status === 200 && (t === j.approval_pass ? I({
165
176
  message: c("goodsSpu.successApproval") + r.data + c("common.stripData"),
166
177
  type: "success"
167
178
  }) : I({
168
179
  message: c("goodsSpu.successFilled") + r.data + c("common.stripData"),
169
180
  type: "success"
170
- }), d.getList(), (g = R.value) == null || g.clearSelection());
181
+ }), d.getList(), (f = R.value) == null || f.clearSelection());
171
182
  });
172
183
  }
173
184
  function se(t) {
174
- _.value = Number(t.index);
185
+ h.value = Number(t.index);
175
186
  }
176
187
  return d.getList(), (t, a) => {
177
- const r = n("jmash-select"), g = n("el-form-item"), C = n("el-col"), E = n("el-input"), $ = n("el-button"), A = n("el-row"), ne = n("el-form"), q = n("arrow-down"), k = n("el-icon"), B = n("Unlock"), U = n("el-dropdown-item"), F = n("Lock"), H = n("el-dropdown-menu"), O = n("el-dropdown"), ue = n("jmash-column-select"), de = n("el-image"), Q = n("el-switch"), pe = n("jmash-table"), re = n("jmash-pagination"), me = n("el-card"), ie = n("el-tab-pane"), ce = n("el-tabs"), v = he("hasPerm");
178
- return p(), V("div", Te, [
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"), ne = 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"), ue = n("jmash-column-select"), de = n("el-image"), Q = n("el-switch"), pe = n("jmash-table"), re = n("jmash-pagination"), me = n("el-card"), ie = n("el-tab-pane"), ce = n("el-tabs"), v = he("hasPerm");
189
+ return p(), V("div", Ie, [
179
190
  l(ce, {
180
- modelValue: _.value,
181
- "onUpdate:modelValue": a[13] || (a[13] = (z) => _.value = z),
191
+ modelValue: h.value,
192
+ "onUpdate:modelValue": a[13] || (a[13] = (z) => h.value = z),
182
193
  type: "border-card",
183
194
  onTabClick: se
184
195
  }, {
185
196
  default: o(() => [
186
- (p(!0), V(we, null, be(s(b).goodsSpuListSortEnum.values, (z, fe) => (p(), f(ie, {
197
+ (p(!0), V(we, null, be(s(b).goodsSpuListSortEnum.values, (z, fe) => (p(), g(ie, {
187
198
  label: z.value,
188
199
  name: fe
189
200
  }, {
190
201
  default: o(() => [
191
- _.value === 0 ? (p(), V("div", Ne, [
192
- h("div", Ue, [
202
+ h.value === 0 ? (p(), V("div", Te, [
203
+ _("div", Ne, [
193
204
  l(ne, {
194
205
  ref_for: !0,
195
206
  ref_key: "queryFormRef",
196
- ref: Z,
207
+ ref: G,
197
208
  model: i.value,
198
209
  inline: !0
199
210
  }, {
200
211
  default: o(() => [
201
212
  l(A, null, {
202
213
  default: o(() => [
203
- l(C, { span: 6 }, {
214
+ l(S, { span: 6 }, {
204
215
  default: o(() => [
205
- l(g, {
216
+ l(f, {
206
217
  label: t.$t("goodsSpu.shopId"),
207
218
  prop: "shopId"
208
219
  }, {
@@ -220,9 +231,9 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
220
231
  ]),
221
232
  _: 1
222
233
  }),
223
- l(C, { span: 6 }, {
234
+ l(S, { span: 6 }, {
224
235
  default: o(() => [
225
- l(g, {
236
+ l(f, {
226
237
  label: t.$t("goodsSpu.spuCode"),
227
238
  prop: "spuCode"
228
239
  }, {
@@ -240,9 +251,9 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
240
251
  ]),
241
252
  _: 1
242
253
  }),
243
- l(C, { span: 6 }, {
254
+ l(S, { span: 6 }, {
244
255
  default: o(() => [
245
- l(g, {
256
+ l(f, {
246
257
  label: t.$t("goodsSpu.spuName"),
247
258
  prop: "spuName"
248
259
  }, {
@@ -260,11 +271,11 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
260
271
  ]),
261
272
  _: 1
262
273
  }),
263
- l(C, { span: 6 }, {
274
+ l(S, { span: 6 }, {
264
275
  default: o(() => [
265
- l(g, { class: "search-btn" }, {
276
+ l(f, { class: "search-btn" }, {
266
277
  default: o(() => [
267
- l($, {
278
+ l(C, {
268
279
  type: "primary",
269
280
  onClick: a[5] || (a[5] = (e) => s(d).handleQuery())
270
281
  }, {
@@ -273,7 +284,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
273
284
  ]),
274
285
  _: 1
275
286
  }),
276
- l($, {
287
+ l(C, {
277
288
  onClick: a[6] || (a[6] = (e) => s(d).resetQuery())
278
289
  }, {
279
290
  default: o(() => [
@@ -301,11 +312,11 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
301
312
  header: o(() => [
302
313
  l(A, null, {
303
314
  default: o(() => [
304
- l(C, { span: 17 }, {
315
+ l(S, { span: 17 }, {
305
316
  default: o(() => [
306
- y((p(), f($, {
317
+ y((p(), g(C, {
307
318
  type: "primary",
308
- onClick: X
319
+ onClick: Z
309
320
  }, {
310
321
  default: o(() => [
311
322
  m(u(t.$t("common.add")), 1)
@@ -314,7 +325,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
314
325
  })), [
315
326
  [v, ["goods:goods_spu:add"]]
316
327
  ]),
317
- y((p(), f($, {
328
+ y((p(), g(C, {
318
329
  type: "primary",
319
330
  onClick: a[7] || (a[7] = (e) => s(d).deleteRecords())
320
331
  }, {
@@ -325,7 +336,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
325
336
  })), [
326
337
  [v, ["goods:goods_spu:delete"]]
327
338
  ]),
328
- y((p(), f(O, {
339
+ y((p(), g(O, {
329
340
  class: "dropdown-left",
330
341
  onCommand: te
331
342
  }, {
@@ -334,7 +345,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
334
345
  default: o(() => [
335
346
  l(U, { command: "true" }, {
336
347
  default: o(() => [
337
- l(k, { size: "14" }, {
348
+ l($, { size: "14" }, {
338
349
  default: o(() => [
339
350
  l(B)
340
351
  ]),
@@ -346,7 +357,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
346
357
  }),
347
358
  l(U, { command: "false" }, {
348
359
  default: o(() => [
349
- l(k, { size: "14" }, {
360
+ l($, { size: "14" }, {
350
361
  default: o(() => [
351
362
  l(F)
352
363
  ]),
@@ -361,10 +372,10 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
361
372
  })
362
373
  ]),
363
374
  default: o(() => [
364
- l($, { type: "primary" }, {
375
+ l(C, { type: "primary" }, {
365
376
  default: o(() => [
366
377
  m(u(t.$t("goodsSpu.batchShelf")) + "/" + u(t.$t("goodsSpu.batchOffShelf")) + " ", 1),
367
- l(k, { class: "el-icon--right" }, {
378
+ l($, { class: "el-icon--right" }, {
368
379
  default: o(() => [
369
380
  l(q)
370
381
  ]),
@@ -378,7 +389,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
378
389
  })), [
379
390
  [v, ["goods:goods_spu:onSale"]]
380
391
  ]),
381
- y((p(), f(O, {
392
+ y((p(), g(O, {
382
393
  class: "dropdown-left",
383
394
  onCommand: ae
384
395
  }, {
@@ -389,7 +400,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
389
400
  command: s(j).approval_pass
390
401
  }, {
391
402
  default: o(() => [
392
- l(k, { size: "14" }, {
403
+ l($, { size: "14" }, {
393
404
  default: o(() => [
394
405
  l(B)
395
406
  ]),
@@ -403,7 +414,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
403
414
  command: s(j).approval_not_pass
404
415
  }, {
405
416
  default: o(() => [
406
- l(k, { size: "14" }, {
417
+ l($, { size: "14" }, {
407
418
  default: o(() => [
408
419
  l(F)
409
420
  ]),
@@ -418,10 +429,10 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
418
429
  })
419
430
  ]),
420
431
  default: o(() => [
421
- l($, { type: "primary" }, {
432
+ l(C, { type: "primary" }, {
422
433
  default: o(() => [
423
434
  m(u(t.$t("goodsSpu.batchApproval")) + " ", 1),
424
- l(k, { class: "el-icon--right" }, {
435
+ l($, { class: "el-icon--right" }, {
425
436
  default: o(() => [
426
437
  l(q)
427
438
  ]),
@@ -438,7 +449,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
438
449
  ]),
439
450
  _: 1
440
451
  }),
441
- l(C, {
452
+ l(S, {
442
453
  span: 7,
443
454
  class: "container-float"
444
455
  }, {
@@ -456,7 +467,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
456
467
  })
457
468
  ]),
458
469
  footer: o(() => [
459
- s(N) > 0 ? (p(), f(re, {
470
+ s(N) > 0 ? (p(), g(re, {
460
471
  key: 0,
461
472
  total: s(N),
462
473
  "onUpdate:total": a[9] || (a[9] = (e) => K(N) ? N.value = e : null),
@@ -465,7 +476,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
465
476
  "page-size": i.value.pageSize,
466
477
  "onUpdate:pageSize": a[11] || (a[11] = (e) => i.value.pageSize = e),
467
478
  onPagination: a[12] || (a[12] = (e) => s(d).getList())
468
- }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
479
+ }, null, 8, ["total", "current-page", "page-size"])) : k("", !0)
469
480
  ]),
470
481
  default: o(() => [
471
482
  l(pe, {
@@ -473,23 +484,29 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
473
484
  ref_key: "multipleTableRef",
474
485
  ref: R,
475
486
  "row-key": "spuId",
476
- "list-loading": s(G),
477
- data: s(W),
487
+ "list-loading": s(W),
488
+ data: s(X),
478
489
  "table-label": s(T),
479
490
  onSelectionChange: oe,
480
491
  onSortChange: le
481
492
  }, {
482
493
  shopId: o((e) => [
483
- h("span", null, u(s(b).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
494
+ _("span", null, u(s(b).shopInfoBizDict.getValue(e.data.row.shopId)), 1)
484
495
  ]),
485
496
  categoryId: o((e) => [
486
- h("span", null, u(s(b).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
497
+ _("span", null, u(s(b).goodsCategoryDict.getValue(e.data.row.categoryId)), 1)
487
498
  ]),
488
499
  picUrls: o((e) => [
489
- h("span", null, [
500
+ _("span", null, [
490
501
  l(de, {
491
- src: s(M).imageUrl(e.data.row.picUrls.split(",")[0], 50, 50),
492
- "preview-src-list": [s(M).imageUrl(e.data.row.picUrls.split(",")[0])],
502
+ src: s(M).imageUrl(
503
+ e.data.row.picUrls.split(",")[0],
504
+ 50,
505
+ 50
506
+ ),
507
+ "preview-src-list": [
508
+ s(M).imageUrl(e.data.row.picUrls.split(",")[0])
509
+ ],
493
510
  "preview-teleported": "",
494
511
  "hide-on-click-modal": "",
495
512
  fit: "contain"
@@ -497,31 +514,42 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
497
514
  ])
498
515
  ]),
499
516
  shelf: o((e) => [
500
- h("span", null, [
517
+ _("span", null, [
501
518
  l(Q, {
502
519
  modelValue: e.data.row.shelf,
503
520
  "onUpdate:modelValue": (w) => e.data.row.shelf = w,
504
- onClick: (w) => s(d).enableRecord(e.data.row, e.data.row.shelf)
521
+ onClick: (w) => s(d).enableRecord(
522
+ e.data.row,
523
+ e.data.row.shelf
524
+ )
505
525
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onClick"])
506
526
  ])
507
527
  ]),
508
528
  minPrice: o((e) => [
509
- h("span", null, u(e.data.row.minPrice) + " ~ " + u(e.data.row.maxPrice), 1)
529
+ _("span", null, u(e.data.row.minPrice) + " ~ " + u(e.data.row.maxPrice), 1)
510
530
  ]),
511
531
  specType: o((e) => [
512
- h("span", null, u(s(b).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
532
+ _("span", null, u(s(b).specTypeEnum.getEnumValue(e.data.row.specType)), 1)
513
533
  ]),
514
534
  approvalStatus: o((e) => [
515
- h("span", null, u(s(b).approvalStatusEnum.getEnumValue(e.data.row.approvalStatus)), 1)
535
+ _("span", null, u(s(b).approvalStatusEnum.getEnumValue(
536
+ e.data.row.approvalStatus
537
+ )), 1)
516
538
  ]),
517
539
  updateTime: o((e) => [
518
- h("span", null, u(s(J).$moment.formatDate(e.data.row.updateTime, "YYYY-MM-DD HH:mm:ss")), 1)
540
+ _("span", null, u(s(J).$moment.formatDate(
541
+ e.data.row.updateTime,
542
+ "YYYY-MM-DD HH:mm:ss"
543
+ )), 1)
519
544
  ]),
520
545
  enable: o((e) => [
521
546
  l(Q, {
522
547
  modelValue: e.data.row.enable,
523
548
  "onUpdate:modelValue": (w) => e.data.row.enable = w,
524
- onChange: (w) => s(d).enableRecord(e.data.row, e.data.row.enable)
549
+ onChange: (w) => s(d).enableRecord(
550
+ e.data.row,
551
+ e.data.row.enable
552
+ )
525
553
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
526
554
  ]),
527
555
  operation: o((e) => [
@@ -530,7 +558,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
530
558
  onClick: (w) => x(e.data.row)
531
559
  }, [
532
560
  m(u(t.$t("common.edit")), 1)
533
- ], 8, De)), [
561
+ ], 8, Ue)), [
534
562
  [v, ["goods:goods_spu:update"]]
535
563
  ]),
536
564
  y((p(), V("span", {
@@ -538,7 +566,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
538
566
  onClick: (w) => s(d).deleteRecord(e.data.row)
539
567
  }, [
540
568
  m(u(t.$t("common.delete")), 1)
541
- ], 8, Re)), [
569
+ ], 8, De)), [
542
570
  [v, ["goods:goods_spu:delete"]]
543
571
  ]),
544
572
  y((p(), V("span", {
@@ -546,7 +574,7 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
546
574
  onClick: (w) => ee(e.data.row)
547
575
  }, [
548
576
  m(u(t.$t("common.view")), 1)
549
- ], 8, ze)), [
577
+ ], 8, Re)), [
550
578
  [v, ["goods:goods_spu:view"]]
551
579
  ])
552
580
  ]),
@@ -555,12 +583,11 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
555
583
  ]),
556
584
  _: 1
557
585
  })
558
- ])) : S("", !0),
559
- _.value === 1 ? (p(), f(Ce, { key: 1 })) : S("", !0),
560
- _.value === 2 ? (p(), f($e, { key: 2 })) : S("", !0),
561
- _.value === 3 ? (p(), f(ke, { key: 3 })) : S("", !0),
562
- _.value === 4 ? (p(), f(Ve, { key: 4 })) : S("", !0),
563
- _.value === 5 ? (p(), f(Ie, { key: 5 })) : S("", !0)
586
+ ])) : k("", !0),
587
+ h.value === 1 ? (p(), g(Ce, { key: 1 })) : k("", !0),
588
+ h.value === 2 ? (p(), g($e, { key: 2 })) : k("", !0),
589
+ h.value === 3 ? (p(), g(Ve, { key: 3 })) : k("", !0),
590
+ h.value === 4 ? (p(), g(ke, { key: 4 })) : k("", !0)
564
591
  ]),
565
592
  _: 2
566
593
  }, 1032, ["label", "name"]))), 256))
@@ -572,5 +599,5 @@ const Te = { class: "app-container" }, Ne = { key: 0 }, Ue = { class: "search-co
572
599
  }
573
600
  });
574
601
  export {
575
- Je as default
602
+ Ye as default
576
603
  };