xyvcard-goods 0.0.14 → 0.0.16

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,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DRAXgRwD.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BHplO2tN.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as F, mergeModels as V, ref as h, reactive as v, useModel as O, onMounted as E, resolveComponent as n, openBlock as A, createBlock as T, withCtx as l, createElementVNode as x, createVNode as e, createTextVNode as I, toDisplayString as w, unref as r } from "vue";
1
+ import { defineComponent as F, mergeModels as V, ref as h, reactive as v, useModel as O, onMounted as E, resolveComponent as n, openBlock as A, createBlock as T, withCtx as l, createElementVNode as G, createVNode as e, createTextVNode as w, toDisplayString as I, unref as r } from "vue";
2
2
  import { ElMessage as U } from "element-plus";
3
- import { useI18n as G } from "vue-i18n";
4
- import { D as q, g as N } from "./index-DZJVaUh3.mjs";
5
- const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
3
+ import { useI18n as H } from "vue-i18n";
4
+ import { D as q, g as N } from "./index-CmKF2zdn.mjs";
5
+ const J = { class: "dialog-footer" }, Y = /* @__PURE__ */ F({
6
6
  __name: "edit",
7
7
  props: /* @__PURE__ */ V({
8
8
  entityKey: {
@@ -17,7 +17,7 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
17
17
  emits: /* @__PURE__ */ V(["refresh"], ["update:modelValue"]),
18
18
  setup(g, { emit: $ }) {
19
19
  var C;
20
- const { t: u } = G(), y = h();
20
+ const { t: u } = H(), y = h();
21
21
  let o = v({
22
22
  requestId: Math.random() * 10 + "",
23
23
  updateMask: "categoryName,parentId,picUrl,description"
@@ -46,9 +46,7 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
46
46
  ]
47
47
  }), i = O(g, "modelValue"), p = g, k = Object.keys(p.entityKey), D = h(k.length >= 1);
48
48
  E(() => {
49
- var a;
50
- const t = (a = p.entityKey) == null ? void 0 : a.categoryId;
51
- q.goodsCategoryListBizLayDict.useValues(t);
49
+ q.goodsCategoryListBizLayDict.useValues();
52
50
  });
53
51
  const f = $;
54
52
  (C = p.entityKey) != null && C.categoryId && (o = Object.assign(o, p.entityKey), o.parentId === "00000000-0000-0000-0000-000000000000" && (o.parentId = ""));
@@ -75,17 +73,17 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
75
73
  o.picUrl = t;
76
74
  }
77
75
  return (t, a) => {
78
- const d = n("el-input"), m = n("el-form-item"), c = n("el-col"), B = n("el-tree-select"), K = n("jmash-single-image-upload"), S = n("el-row"), L = n("el-form"), b = n("el-button"), z = n("el-dialog");
76
+ const d = n("el-input"), m = n("el-form-item"), c = n("el-col"), B = n("el-tree-select"), S = n("jmash-single-image-upload"), K = n("el-row"), L = n("el-form"), b = n("el-button"), z = n("el-dialog");
79
77
  return A(), T(z, {
80
78
  modelValue: i.value,
81
79
  "onUpdate:modelValue": a[4] || (a[4] = (s) => i.value = s),
82
80
  onClose: _
83
81
  }, {
84
82
  footer: l(() => [
85
- x("div", H, [
83
+ G("div", J, [
86
84
  e(b, { onClick: _ }, {
87
85
  default: l(() => [
88
- I(w(t.$t("common.cancel")), 1)
86
+ w(I(t.$t("common.cancel")), 1)
89
87
  ]),
90
88
  _: 1
91
89
  }),
@@ -94,7 +92,7 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
94
92
  onClick: M
95
93
  }, {
96
94
  default: l(() => [
97
- I(w(t.$t("common.confirm")), 1)
95
+ w(I(t.$t("common.confirm")), 1)
98
96
  ]),
99
97
  _: 1
100
98
  })
@@ -109,7 +107,7 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
109
107
  rules: R
110
108
  }, {
111
109
  default: l(() => [
112
- e(S, null, {
110
+ e(K, null, {
113
111
  default: l(() => [
114
112
  e(c, { span: 24 }, {
115
113
  default: l(() => [
@@ -184,7 +182,7 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
184
182
  prop: "picUrl"
185
183
  }, {
186
184
  default: l(() => [
187
- e(K, {
185
+ e(S, {
188
186
  "picture-url": r(o).picUrl,
189
187
  onImageSrc: j,
190
188
  width: 80,
@@ -232,5 +230,5 @@ const H = { class: "dialog-footer" }, X = /* @__PURE__ */ F({
232
230
  }
233
231
  });
234
232
  export {
235
- X as _
233
+ Y as _
236
234
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-CWJQd86q.mjs";
1
+ import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-C7lnUpja.mjs";
2
2
  export {
3
3
  f as default
4
4
  };