xyvcard-goods 0.0.30 → 0.0.31

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.
@@ -1,9 +1,9 @@
1
- import { defineComponent as Y, ref as L, reactive as R, onActivated as Z, resolveComponent as s, resolveDirective as x, openBlock as u, createElementBlock as V, createElementVNode as $, createVNode as l, withCtx as t, withKeys as ee, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as k, createBlock as C, isRef as S, createCommentVNode as D } from "vue";
1
+ import { defineComponent as Y, ref as L, reactive as R, onActivated as Z, resolveComponent as s, resolveDirective as x, createElementBlock as V, openBlock as u, createElementVNode as $, createVNode as l, createBlock as k, createCommentVNode as S, withCtx as t, withKeys as ee, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as C, isRef as D } from "vue";
2
2
  import { useTableHooks as oe } from "jmash-core";
3
3
  import { useI18n as le } from "vue-i18n";
4
- import { b as te } from "./index-Dpms2ryP.mjs";
5
- import ae from "./edit-CRc6GqY4.mjs";
6
- import { D as ne } from "./index-Vu01FEMS.mjs";
4
+ import { b as te } from "./index-CIOmQi5q.mjs";
5
+ import ae from "./edit-DEKgI9dl.mjs";
6
+ import { D as ne } from "./index-Ba-YRVAR.mjs";
7
7
  const se = { class: "app-container" }, de = { class: "search-container" }, ie = ["onClick"], re = ["onClick"], ve = /* @__PURE__ */ Y({
8
8
  __name: "index",
9
9
  setup(ue) {
@@ -178,7 +178,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
178
178
  default: t(() => [
179
179
  l(b, { span: 17 }, {
180
180
  default: t(() => [
181
- k((u(), C(g, {
181
+ C((u(), k(g, {
182
182
  type: "primary",
183
183
  onClick: B
184
184
  }, {
@@ -189,7 +189,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
189
189
  })), [
190
190
  [y, ["goods:goods_label_info:add"]]
191
191
  ]),
192
- k((u(), C(g, {
192
+ C((u(), k(g, {
193
193
  type: "primary",
194
194
  onClick: o[5] || (o[5] = (e) => n(d).deleteRecords())
195
195
  }, {
@@ -210,7 +210,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
210
210
  default: t(() => [
211
211
  l(F, {
212
212
  modelValue: n(f),
213
- "onUpdate:modelValue": o[6] || (o[6] = (e) => S(f) ? f.value = e : f = e),
213
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => D(f) ? f.value = e : f = e),
214
214
  "label-name": "goods/goods-label-info"
215
215
  }, null, 8, ["modelValue"])
216
216
  ]),
@@ -221,16 +221,16 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
221
221
  })
222
222
  ]),
223
223
  footer: t(() => [
224
- n(v) > 0 ? (u(), C(J, {
224
+ n(v) > 0 ? (u(), k(J, {
225
225
  key: 0,
226
226
  total: n(v),
227
- "onUpdate:total": o[7] || (o[7] = (e) => S(v) ? v.value = e : null),
227
+ "onUpdate:total": o[7] || (o[7] = (e) => D(v) ? v.value = e : null),
228
228
  "current-page": i.value.curPage,
229
229
  "onUpdate:currentPage": o[8] || (o[8] = (e) => i.value.curPage = e),
230
230
  "page-size": i.value.pageSize,
231
231
  "onUpdate:pageSize": o[9] || (o[9] = (e) => i.value.pageSize = e),
232
232
  onPagination: o[10] || (o[10] = (e) => n(d).getList())
233
- }, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
233
+ }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
234
234
  ]),
235
235
  default: t(() => [
236
236
  l(G, {
@@ -273,7 +273,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
273
273
  ])
274
274
  ]),
275
275
  operation: t((e) => [
276
- k((u(), V("span", {
276
+ C((u(), V("span", {
277
277
  class: "el-button-color",
278
278
  onClick: (m) => P(e.data.row)
279
279
  }, [
@@ -281,7 +281,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
281
281
  ], 8, ie)), [
282
282
  [y, ["goods:goods_label_info:update"]]
283
283
  ]),
284
- k((u(), V("span", {
284
+ C((u(), V("span", {
285
285
  class: "el-button-color dropdown-left",
286
286
  onClick: (m) => n(d).deleteRecord(e.data.row)
287
287
  }, [
@@ -295,7 +295,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
295
295
  ]),
296
296
  _: 1
297
297
  }),
298
- r.value.visible ? (u(), C(ae, {
298
+ r.value.visible ? (u(), k(ae, {
299
299
  key: 0,
300
300
  modelValue: r.value.visible,
301
301
  "onUpdate:modelValue": o[11] || (o[11] = (e) => r.value.visible = e),
@@ -303,7 +303,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
303
303
  "entity-key": n(h),
304
304
  onRefresh: A,
305
305
  width: "500px"
306
- }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
306
+ }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
307
307
  ]);
308
308
  };
309
309
  }