sooyie-material 0.0.3 → 0.0.4

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-4b_9pBbW.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-CCftB761.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-8_PSljc8.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -2,7 +2,7 @@ import { defineComponent as Y, mergeModels as U, ref as c, reactive as M, useMod
2
2
  import { ElMessage as j } from "element-plus";
3
3
  import { useI18n as ee } from "vue-i18n";
4
4
  import "jmash-core";
5
- import { D as E, a as g, g as le } from "./index-B54kJjCF.mjs";
5
+ import { D as E, a as g, g as le } from "./index-CTDcKLu0.mjs";
6
6
  const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
7
7
  __name: "edit",
8
8
  props: /* @__PURE__ */ U({
@@ -19,7 +19,7 @@ const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
19
19
  setup(y, { emit: K }) {
20
20
  const { t: d } = ee();
21
21
  E.materialCategoryBizDict.useValues();
22
- const V = c(), _ = c([]);
22
+ const _ = c(), V = c([]);
23
23
  let r = M({
24
24
  requestId: Math.random() * 10 + "",
25
25
  updateMask: "categoryId,materialCode,materialName,specInfo,unit,unitPrice,plannerId"
@@ -69,7 +69,7 @@ const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
69
69
  ]
70
70
  }), v = c([]), m = Z(y, "modelValue"), h = y, q = K, w = (e = "") => {
71
71
  le.findPageOrganTenant({ loginName: e }).then(({ data: o }) => {
72
- _.value = o.results;
72
+ V.value = o.results;
73
73
  });
74
74
  };
75
75
  w();
@@ -84,7 +84,7 @@ const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
84
84
  });
85
85
  const G = async () => {
86
86
  var e;
87
- await ((e = V.value) == null ? void 0 : e.validate((o) => {
87
+ await ((e = _.value) == null ? void 0 : e.validate((o) => {
88
88
  o && ($.value ? g.update(r).then((i) => {
89
89
  console.log(i), i.status === 200 && (j({
90
90
  message: d("common.submitSuccess"),
@@ -134,7 +134,7 @@ const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
134
134
  default: t(() => [
135
135
  l(W, {
136
136
  ref_key: "materialInfoFormRef",
137
- ref: V,
137
+ ref: _,
138
138
  model: n(r),
139
139
  "label-width": "120px",
140
140
  rules: S
@@ -304,7 +304,7 @@ const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
304
304
  class: "w-full"
305
305
  }, {
306
306
  default: t(() => [
307
- (p(!0), B(D, null, L(_.value, (a) => (p(), b(R, {
307
+ (p(!0), B(D, null, L(V.value, (a) => (p(), b(R, {
308
308
  key: a.userId,
309
309
  label: A(a),
310
310
  value: a.userId
@@ -331,5 +331,5 @@ const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Y({
331
331
  }
332
332
  });
333
333
  export {
334
- ie as default
334
+ ie as _
335
335
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as j, mergeModels as C, ref as v, reactive as h, useModel as F, resolveComponent as i, createBlock as K, openBlock as O, withCtx as m, createVNode as o, unref as n, createElementVNode as S, createTextVNode as N, toDisplayString as k } from "vue";
2
2
  import { ElMessage as I } from "element-plus";
3
3
  import { useI18n as z } from "vue-i18n";
4
- import { D as w, m as c } from "./index-B54kJjCF.mjs";
4
+ import { D as w, m as c } from "./index-CTDcKLu0.mjs";
5
5
  const E = { class: "dialog-footer" }, H = /* @__PURE__ */ j({
6
6
  __name: "edit",
7
7
  props: /* @__PURE__ */ C({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as J, ref as w, reactive as R, onActivated as O, resolveComponent as r, resolveDirective as W, createElementBlock as $, openBlock as d, createElementVNode as X, createVNode as l, createBlock as b, createCommentVNode as D, withCtx as o, withKeys as Y, unref as n, createTextVNode as u, toDisplayString as c, withDirectives as C, isRef as S } from "vue";
2
2
  import { useTableHooks as Z } from "jmash-core";
3
3
  import { useI18n as ee } from "vue-i18n";
4
- import { D as te, m as oe } from "./index-B54kJjCF.mjs";
5
- import { _ as le } from "./edit.vue_vue_type_script_setup_true_lang-4b_9pBbW.mjs";
4
+ import { D as te, m as oe } from "./index-CTDcKLu0.mjs";
5
+ import { _ as le } from "./edit.vue_vue_type_script_setup_true_lang-CCftB761.mjs";
6
6
  const ae = { class: "app-container" }, ne = { class: "search-container" }, re = ["onClick"], ie = ["onClick"], fe = /* @__PURE__ */ J({
7
7
  __name: "index",
8
8
  setup(me) {