xyvcard-itsmsys 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.
Files changed (70) hide show
  1. package/dist/common-B2PCBCJ2.mjs +13 -0
  2. package/dist/edit-BhRXuYku.mjs +342 -0
  3. package/dist/edit-CIm8Y0Be.mjs +4 -0
  4. package/dist/edit-CWVYUzgf.mjs +369 -0
  5. package/dist/edit-CkaU_6vk.mjs +342 -0
  6. package/dist/edit-D82hX9if.mjs +4 -0
  7. package/dist/edit-DPM0jGQT.mjs +4 -0
  8. package/dist/edit-DZJU5ZPt.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs +437 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs +439 -0
  11. package/dist/{invoiceEdit-Chsj8_aC.mjs → edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs} +58 -63
  12. package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
  13. package/dist/index-B_cot8iN.mjs +439 -0
  14. package/dist/index-BkHGzL0R.mjs +358 -0
  15. package/dist/index-C6KvLUoL.mjs +4 -0
  16. package/dist/index-CEUyLrKg.mjs +404 -0
  17. package/dist/index-ChTssr8-.mjs +123 -0
  18. package/dist/{index-B02UvpyC.mjs → index-ClU157bA.mjs} +103 -113
  19. package/dist/{index-Cskg0LGf.mjs → index-CogdeN09.mjs} +101 -111
  20. package/dist/{index-CUjT3FVb.mjs → index-i7X9N_rj.mjs} +107 -117
  21. package/dist/index.mjs +2765 -126
  22. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
  23. package/dist/info-70H0sycC.mjs +187 -0
  24. package/dist/info-BWgVN2mJ.mjs +176 -0
  25. package/dist/info-CE-ZnFj5.mjs +179 -0
  26. package/dist/info-Kf11Ye-N.mjs +187 -0
  27. package/dist/info-MYJGcyMX.mjs +179 -0
  28. package/dist/info-Z5LuCRmr.mjs +187 -0
  29. package/dist/style.css +1 -1
  30. package/dts/src/api/dict.d.ts +4 -1
  31. package/dts/src/api/index.d.ts +4 -1
  32. package/dts/src/api/itsm-sys-org/index.d.ts +1 -0
  33. package/dts/src/api/itsm-sys-org/types.d.ts +2 -2
  34. package/dts/src/api/itsm-sys-user-ext/types.d.ts +18 -3
  35. package/dts/src/constant.d.ts +7 -0
  36. package/dts/src/lang/itsmsys/zh-cn.d.ts +27 -11
  37. package/dts/src/router/index.d.ts +6 -4
  38. package/dts/src/utils/common.d.ts +1 -0
  39. package/dts/src/utils/momentPlugin.d.ts +5 -0
  40. package/dts/src/views/itsmsys/{itsm-sys-gov/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
  41. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
  42. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
  43. package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-user-out/edit.vue.d.ts} +6 -15
  44. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
  45. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
  46. package/package.json +3 -3
  47. package/dist/edit-BeMy_aOl.mjs +0 -548
  48. package/dist/edit-BhXrnHr7.mjs +0 -520
  49. package/dist/edit-BsLAy2-H.mjs +0 -276
  50. package/dist/edit-D7n1rZY2.mjs +0 -240
  51. package/dist/edit-l4-w6Psd.mjs +0 -520
  52. package/dist/index-Bw3EuEs9.mjs +0 -345
  53. package/dist/index-COPul57Z.mjs +0 -84
  54. package/dist/index-CRlIL96y.mjs +0 -334
  55. package/dist/info-7Rre3Mm0.mjs +0 -198
  56. package/dist/info-CYKiOMB6.mjs +0 -198
  57. package/dist/info-Dub2j7gN.mjs +0 -198
  58. package/dist/info-O3dKVGmT.mjs +0 -10
  59. package/dist/invoiceEdit-C5dQG8ZJ.mjs +0 -253
  60. package/dist/invoiceEdit-DuSCNiDz.mjs +0 -253
  61. package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
  62. package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
  63. package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
  64. package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
  65. package/dts/src/views/itsmsys/itsm-sys-out/invoiceEdit.vue.d.ts +0 -31
  66. /package/dts/src/views/{itsmsys-user/itsm-sys-user-man → itsmsys/itsm-sys-org-invoice}/index.vue.d.ts +0 -0
  67. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/edit.vue.d.ts +0 -0
  68. /package/dts/src/views/{itsmsys-user/itsm-sys-user-ops → itsmsys/itsm-sys-user-man}/index.vue.d.ts +0 -0
  69. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/info.vue.d.ts +0 -0
  70. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-ops/edit.vue.d.ts +0 -0
@@ -1,198 +0,0 @@
1
- import { defineComponent as B, ref as b, onBeforeMount as S, resolveComponent as s, openBlock as p, createElementBlock as v, createVNode as o, withCtx as e, createTextVNode as u, toDisplayString as l, createElementVNode as a, unref as k, withDirectives as O, vShow as h, createCommentVNode as q } from "vue";
2
- import { useRouter as A, useRoute as R } from "vue-router";
3
- import { routerUtil as U } from "jmash-core";
4
- import { sysOrgApi as j } from "./index.mjs";
5
- import { s as L } from "./index-DOXuGEyW.mjs";
6
- import { D as I } from "./index-COPul57Z.mjs";
7
- const z = { class: "app-container" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, K = { class: "cell-item" }, Q = { key: 0 }, W = { key: 1 }, X = {
8
- key: 2,
9
- class: "distance-left"
10
- }, Y = { class: "cell-item" }, se = /* @__PURE__ */ B({
11
- __name: "info",
12
- setup(Z) {
13
- const N = A(), _ = R(), n = b({}), f = b([]), m = b("first");
14
- function $(t) {
15
- m.value = t.props.name, m.value === "second" && T();
16
- }
17
- function y(t) {
18
- t.contactPersonMobileEncrypt = !t.contactPersonMobileEncrypt;
19
- }
20
- function E() {
21
- U.closeTagView(_.fullPath, N, !1);
22
- }
23
- S(() => {
24
- j.findById({ orgId: _.query.orgId }).then(({ data: t }) => {
25
- n.value = Object.assign(n.value, t);
26
- });
27
- });
28
- function T() {
29
- L.findList({ orgId: _.query.orgId }).then(({ data: t }) => {
30
- f.value = t.results;
31
- });
32
- }
33
- return (t, i) => {
34
- const M = s("el-button"), r = s("el-descriptions-item"), g = s("svg-icon"), V = s("el-descriptions"), P = s("el-tab-pane"), d = s("el-table-column"), C = s("el-table"), D = s("el-tabs"), w = s("el-card");
35
- return p(), v("div", z, [
36
- o(w, { shadow: "never" }, {
37
- header: e(() => [
38
- o(M, {
39
- type: "primary",
40
- onClick: E
41
- }, {
42
- default: e(() => [
43
- u(l(t.$t("common.back")), 1)
44
- ]),
45
- _: 1
46
- })
47
- ]),
48
- default: e(() => [
49
- o(D, {
50
- modelValue: m.value,
51
- "onUpdate:modelValue": i[2] || (i[2] = (c) => m.value = c),
52
- onTabClick: $
53
- }, {
54
- default: e(() => [
55
- o(P, {
56
- label: "公司信息",
57
- name: "first"
58
- }, {
59
- default: e(() => [
60
- o(V, {
61
- class: "margin-top",
62
- column: 2,
63
- border: ""
64
- }, {
65
- default: e(() => [
66
- o(r, null, {
67
- label: e(() => [
68
- a("div", F, l(t.$t("sysOrg.orgName")), 1)
69
- ]),
70
- default: e(() => [
71
- u(" " + l(n.value.orgName), 1)
72
- ]),
73
- _: 1
74
- }),
75
- o(r, null, {
76
- label: e(() => [
77
- a("div", G, l(t.$t("sysOrg.status")), 1)
78
- ]),
79
- default: e(() => [
80
- u(" " + l(k(I).hasStatusDict.getValue(n.value.status)), 1)
81
- ]),
82
- _: 1
83
- }),
84
- o(r, null, {
85
- label: e(() => [
86
- a("div", H, l(t.$t("sysOrg.contactPerson")), 1)
87
- ]),
88
- default: e(() => [
89
- u(" " + l(n.value.contactPerson), 1)
90
- ]),
91
- _: 1
92
- }),
93
- o(r, null, {
94
- label: e(() => [
95
- a("div", J, l(t.$t("sysOrg.contactPersonPosi")), 1)
96
- ]),
97
- default: e(() => [
98
- u(" " + l(n.value.contactPersonPosi), 1)
99
- ]),
100
- _: 1
101
- }),
102
- o(r, null, {
103
- label: e(() => [
104
- a("div", K, l(t.$t("sysOrg.contactPersonMobile")), 1)
105
- ]),
106
- default: e(() => [
107
- n.value.contactPersonMobileEncrypt ? (p(), v("span", W, l(n.value.contactPersonMobile), 1)) : (p(), v("span", Q, l(n.value.contactPersonMobileIns), 1)),
108
- n.value.contactPersonMobileIns ? (p(), v("span", X, [
109
- O(o(g, {
110
- "icon-class": "close-eye",
111
- onClick: i[0] || (i[0] = (c) => y(n.value))
112
- }, null, 512), [
113
- [h, !n.value.contactPersonMobileEncrypt]
114
- ]),
115
- O(o(g, {
116
- "icon-class": "eye-open",
117
- onClick: i[1] || (i[1] = (c) => y(n.value))
118
- }, null, 512), [
119
- [h, n.value.contactPersonMobileEncrypt]
120
- ])
121
- ])) : q("", !0)
122
- ]),
123
- _: 1
124
- }),
125
- o(r, null, {
126
- label: e(() => [
127
- a("div", Y, l(t.$t("sysOrg.contactPersonTel")), 1)
128
- ]),
129
- default: e(() => [
130
- u(" " + l(n.value.contactPersonTel), 1)
131
- ]),
132
- _: 1
133
- })
134
- ]),
135
- _: 1
136
- })
137
- ]),
138
- _: 1
139
- }),
140
- o(P, {
141
- label: "发票信息",
142
- name: "second"
143
- }, {
144
- default: e(() => [
145
- o(C, {
146
- data: f.value,
147
- style: { width: "100%" }
148
- }, {
149
- default: e(() => [
150
- o(d, {
151
- prop: "invoiceType",
152
- label: t.$t("sysOrgInvoice.invoiceType")
153
- }, {
154
- default: e(({ row: c }) => [
155
- a("div", null, l(k(I).invoiceTypeDictEnum.getEnumValue(c.invoiceType)), 1)
156
- ]),
157
- _: 1
158
- }, 8, ["label"]),
159
- o(d, {
160
- prop: "invoiceTitle",
161
- label: t.$t("sysOrgInvoice.invoiceTitle")
162
- }, null, 8, ["label"]),
163
- o(d, {
164
- prop: "taxNumber",
165
- label: t.$t("sysOrgInvoice.taxNumber")
166
- }, null, 8, ["label"]),
167
- o(d, {
168
- prop: "bankName",
169
- label: t.$t("sysOrgInvoice.bankName")
170
- }, null, 8, ["label"]),
171
- o(d, {
172
- prop: "backNumber",
173
- label: t.$t("sysOrgInvoice.backNumber")
174
- }, {
175
- default: e(({ row: c }) => [
176
- a("div", null, l(c.backNumber), 1)
177
- ]),
178
- _: 1
179
- }, 8, ["label"])
180
- ]),
181
- _: 1
182
- }, 8, ["data"])
183
- ]),
184
- _: 1
185
- })
186
- ]),
187
- _: 1
188
- }, 8, ["modelValue"])
189
- ]),
190
- _: 1
191
- })
192
- ]);
193
- };
194
- }
195
- });
196
- export {
197
- se as default
198
- };
@@ -1,198 +0,0 @@
1
- import { defineComponent as w, ref as b, onBeforeMount as B, resolveComponent as s, openBlock as p, createElementBlock as v, createVNode as t, withCtx as e, createTextVNode as u, toDisplayString as l, createElementVNode as a, unref as k, withDirectives as h, vShow as I, createCommentVNode as S } from "vue";
2
- import { useRouter as q, useRoute as A } from "vue-router";
3
- import { routerUtil as R } from "jmash-core";
4
- import { sysOrgApi as U } from "./index.mjs";
5
- import { s as j } from "./index-DOXuGEyW.mjs";
6
- import { D as N } from "./index-COPul57Z.mjs";
7
- const L = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, K = { class: "cell-item" }, Q = { key: 0 }, W = { key: 1 }, X = {
8
- key: 2,
9
- class: "distance-left"
10
- }, Y = { class: "cell-item" }, se = /* @__PURE__ */ w({
11
- __name: "info",
12
- setup(Z) {
13
- const $ = q(), _ = A(), n = b({}), f = b([]), m = b("first");
14
- function E(o) {
15
- m.value = o.props.name, m.value === "second" && T();
16
- }
17
- function y(o) {
18
- o.contactPersonMobileEncrypt = !o.contactPersonMobileEncrypt;
19
- }
20
- function O() {
21
- R.closeTagView(_.fullPath, $, !1);
22
- }
23
- B(() => {
24
- U.findById({ orgId: _.query.orgId }).then(({ data: o }) => {
25
- n.value = Object.assign(n.value, o);
26
- });
27
- });
28
- function T() {
29
- j.findList({ orgId: _.query.orgId }).then(({ data: o }) => {
30
- f.value = o.results;
31
- });
32
- }
33
- return (o, i) => {
34
- const M = s("el-button"), r = s("el-descriptions-item"), g = s("svg-icon"), V = s("el-descriptions"), P = s("el-tab-pane"), d = s("el-table-column"), C = s("el-table"), D = s("el-tabs"), G = s("el-card");
35
- return p(), v("div", L, [
36
- t(G, { shadow: "never" }, {
37
- header: e(() => [
38
- t(M, {
39
- type: "primary",
40
- onClick: O
41
- }, {
42
- default: e(() => [
43
- u(l(o.$t("common.back")), 1)
44
- ]),
45
- _: 1
46
- })
47
- ]),
48
- default: e(() => [
49
- t(D, {
50
- modelValue: m.value,
51
- "onUpdate:modelValue": i[2] || (i[2] = (c) => m.value = c),
52
- onTabClick: E
53
- }, {
54
- default: e(() => [
55
- t(P, {
56
- label: "厅局单位信息",
57
- name: "first"
58
- }, {
59
- default: e(() => [
60
- t(V, {
61
- class: "margin-top",
62
- column: 2,
63
- border: ""
64
- }, {
65
- default: e(() => [
66
- t(r, null, {
67
- label: e(() => [
68
- a("div", z, l(o.$t("sysGov.orgName")), 1)
69
- ]),
70
- default: e(() => [
71
- u(" " + l(n.value.orgName), 1)
72
- ]),
73
- _: 1
74
- }),
75
- t(r, null, {
76
- label: e(() => [
77
- a("div", F, l(o.$t("sysGov.status")), 1)
78
- ]),
79
- default: e(() => [
80
- u(" " + l(k(N).hasStatusDict.getValue(n.value.status)), 1)
81
- ]),
82
- _: 1
83
- }),
84
- t(r, null, {
85
- label: e(() => [
86
- a("div", H, l(o.$t("sysGov.contactPerson")), 1)
87
- ]),
88
- default: e(() => [
89
- u(" " + l(n.value.contactPerson), 1)
90
- ]),
91
- _: 1
92
- }),
93
- t(r, null, {
94
- label: e(() => [
95
- a("div", J, l(o.$t("sysGov.contactPersonPosi")), 1)
96
- ]),
97
- default: e(() => [
98
- u(" " + l(n.value.contactPersonPosi), 1)
99
- ]),
100
- _: 1
101
- }),
102
- t(r, null, {
103
- label: e(() => [
104
- a("div", K, l(o.$t("sysGov.contactPersonMobile")), 1)
105
- ]),
106
- default: e(() => [
107
- n.value.contactPersonMobileEncrypt ? (p(), v("span", W, l(n.value.contactPersonMobile), 1)) : (p(), v("span", Q, l(n.value.contactPersonMobileIns), 1)),
108
- n.value.contactPersonMobileIns ? (p(), v("span", X, [
109
- h(t(g, {
110
- "icon-class": "close-eye",
111
- onClick: i[0] || (i[0] = (c) => y(n.value))
112
- }, null, 512), [
113
- [I, !n.value.contactPersonMobileEncrypt]
114
- ]),
115
- h(t(g, {
116
- "icon-class": "eye-open",
117
- onClick: i[1] || (i[1] = (c) => y(n.value))
118
- }, null, 512), [
119
- [I, n.value.contactPersonMobileEncrypt]
120
- ])
121
- ])) : S("", !0)
122
- ]),
123
- _: 1
124
- }),
125
- t(r, null, {
126
- label: e(() => [
127
- a("div", Y, l(o.$t("sysGov.contactPersonTel")), 1)
128
- ]),
129
- default: e(() => [
130
- u(" " + l(n.value.contactPersonTel), 1)
131
- ]),
132
- _: 1
133
- })
134
- ]),
135
- _: 1
136
- })
137
- ]),
138
- _: 1
139
- }),
140
- t(P, {
141
- label: "发票信息",
142
- name: "second"
143
- }, {
144
- default: e(() => [
145
- t(C, {
146
- data: f.value,
147
- style: { width: "100%" }
148
- }, {
149
- default: e(() => [
150
- t(d, {
151
- prop: "invoiceType",
152
- label: o.$t("sysOrgInvoice.invoiceType")
153
- }, {
154
- default: e(({ row: c }) => [
155
- a("div", null, l(k(N).invoiceTypeDictEnum.getEnumValue(c.invoiceType)), 1)
156
- ]),
157
- _: 1
158
- }, 8, ["label"]),
159
- t(d, {
160
- prop: "invoiceTitle",
161
- label: o.$t("sysOrgInvoice.invoiceTitle")
162
- }, null, 8, ["label"]),
163
- t(d, {
164
- prop: "taxNumber",
165
- label: o.$t("sysOrgInvoice.taxNumber")
166
- }, null, 8, ["label"]),
167
- t(d, {
168
- prop: "bankName",
169
- label: o.$t("sysOrgInvoice.bankName")
170
- }, null, 8, ["label"]),
171
- t(d, {
172
- prop: "backNumber",
173
- label: o.$t("sysOrgInvoice.backNumber")
174
- }, {
175
- default: e(({ row: c }) => [
176
- a("div", null, l(c.backNumber), 1)
177
- ]),
178
- _: 1
179
- }, 8, ["label"])
180
- ]),
181
- _: 1
182
- }, 8, ["data"])
183
- ]),
184
- _: 1
185
- })
186
- ]),
187
- _: 1
188
- }, 8, ["modelValue"])
189
- ]),
190
- _: 1
191
- })
192
- ]);
193
- };
194
- }
195
- });
196
- export {
197
- se as default
198
- };
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as o } from "vue";
2
- import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
- const c = {};
4
- function n(t, _) {
5
- return e(), o("div", null, "1112223333");
6
- }
7
- const a = /* @__PURE__ */ r(c, [["render", n]]);
8
- export {
9
- a as default
10
- };
@@ -1,253 +0,0 @@
1
- import { defineComponent as j, mergeModels as k, ref as V, useModel as D, reactive as O, resolveComponent as m, openBlock as E, createBlock as K, withCtx as o, createElementVNode as B, createVNode as e, createTextVNode as h, toDisplayString as T, unref as r } from "vue";
2
- import { ElMessage as q } from "element-plus";
3
- import { useI18n as S } from "vue-i18n";
4
- import { s as f } from "./index-DOXuGEyW.mjs";
5
- import { D as F } from "./index-COPul57Z.mjs";
6
- import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- const L = { class: "dialog-footer" }, z = /* @__PURE__ */ j({
8
- __name: "invoiceEdit",
9
- props: /* @__PURE__ */ k({
10
- // 公司信息ID(orgId)
11
- orgKey: {
12
- type: String,
13
- default: () => ""
14
- },
15
- // 发票信息主键ID
16
- invoiceKey: {
17
- type: Object,
18
- default: () => {
19
- }
20
- }
21
- }, {
22
- modelValue: { type: Boolean },
23
- modelModifiers: {}
24
- }),
25
- emits: /* @__PURE__ */ k(["refresh"], ["update:modelValue"]),
26
- setup(g, { emit: w }) {
27
- const { t: s } = S(), v = V(), u = D(g, "modelValue"), y = w;
28
- let a = O({
29
- requestId: Math.random() * 10 + "",
30
- updateMask: "invoiceType,invoiceTitle,taxNumber,bankName,backNumber"
31
- });
32
- const R = O({
33
- invoiceType: [
34
- {
35
- required: !0,
36
- message: s("sysOrgInvoice.invoiceTypeRequired"),
37
- trigger: "blur"
38
- }
39
- ],
40
- invoiceTitle: [
41
- {
42
- required: !0,
43
- message: s("sysOrgInvoice.invoiceTitleRequired"),
44
- trigger: "blur"
45
- }
46
- ],
47
- taxNumber: [
48
- {
49
- required: !0,
50
- message: s("sysOrgInvoice.taxNumberRequired"),
51
- trigger: "blur"
52
- }
53
- ],
54
- bankName: [
55
- {
56
- required: !0,
57
- message: s("sysOrgInvoice.bankNameRequired"),
58
- trigger: "blur"
59
- }
60
- ],
61
- backNumber: [
62
- {
63
- required: !0,
64
- message: s("sysOrgInvoice.backNumberRequired"),
65
- trigger: "blur"
66
- },
67
- {
68
- min: 16,
69
- max: 20,
70
- message: s("sysOrgInvoice.backNumberLengthRequired"),
71
- trigger: "blur"
72
- }
73
- ]
74
- }), b = g, $ = Object.keys(b.invoiceKey), N = V($.length >= 1);
75
- N.value && f.findById({ invoiceId: b.invoiceKey.invoiceId }).then(({ data: l }) => {
76
- Object.assign(a, l);
77
- });
78
- const x = async () => {
79
- var l;
80
- await ((l = v.value) == null ? void 0 : l.validate((t) => {
81
- t && (a.orgId = b.orgKey, N.value ? f.update(a).then((n) => {
82
- console.log(n), n.status === 200 && (q({
83
- message: s("common.submitSuccess"),
84
- type: "success"
85
- }), u.value && (u.value = !1), y("refresh", n.status === 200));
86
- }) : f.create(a).then((n) => {
87
- console.log(n), n.status === 200 && (q({
88
- message: s("common.submitSuccess"),
89
- type: "success"
90
- }), u.value && (u.value = !1), y("refresh", n.status === 200));
91
- }));
92
- }));
93
- };
94
- function _() {
95
- u.value && (u.value = !1);
96
- }
97
- return (l, t) => {
98
- const n = m("jmash-select"), d = m("el-form-item"), c = m("el-col"), p = m("el-input"), C = m("el-row"), M = m("el-form"), I = m("el-button"), U = m("el-dialog");
99
- return E(), K(U, {
100
- modelValue: u.value,
101
- "onUpdate:modelValue": t[5] || (t[5] = (i) => u.value = i),
102
- onClose: _
103
- }, {
104
- footer: o(() => [
105
- B("div", L, [
106
- e(I, { onClick: _ }, {
107
- default: o(() => [
108
- h(T(l.$t("common.cancel")), 1)
109
- ]),
110
- _: 1
111
- }),
112
- e(I, {
113
- type: "primary",
114
- onClick: x
115
- }, {
116
- default: o(() => [
117
- h(T(l.$t("common.confirm")), 1)
118
- ]),
119
- _: 1
120
- })
121
- ])
122
- ]),
123
- default: o(() => [
124
- e(M, {
125
- ref_key: "sysOrgInvoiceFormRef",
126
- ref: v,
127
- model: r(a),
128
- "label-width": "100px",
129
- rules: R
130
- }, {
131
- default: o(() => [
132
- e(C, null, {
133
- default: o(() => [
134
- e(c, { span: 24 }, {
135
- default: o(() => [
136
- e(d, {
137
- label: l.$t("sysOrgInvoice.invoiceType"),
138
- prop: "invoiceType"
139
- }, {
140
- default: o(() => [
141
- e(n, {
142
- modelValue: r(a).invoiceType,
143
- "onUpdate:modelValue": t[0] || (t[0] = (i) => r(a).invoiceType = i),
144
- placeholder: l.$t("sysOrgInvoice.invoiceTypeRequired"),
145
- data: r(F).invoiceTypeDictEnum.values,
146
- class: "w-full",
147
- clearable: ""
148
- }, null, 8, ["modelValue", "placeholder", "data"])
149
- ]),
150
- _: 1
151
- }, 8, ["label"])
152
- ]),
153
- _: 1
154
- }),
155
- e(c, { span: 24 }, {
156
- default: o(() => [
157
- e(d, {
158
- label: l.$t("sysOrgInvoice.invoiceTitle"),
159
- prop: "invoiceTitle"
160
- }, {
161
- default: o(() => [
162
- e(p, {
163
- modelValue: r(a).invoiceTitle,
164
- "onUpdate:modelValue": t[1] || (t[1] = (i) => r(a).invoiceTitle = i),
165
- placeholder: l.$t("sysOrgInvoice.invoiceTitleRequired"),
166
- maxlength: "50",
167
- "show-word-limit": "",
168
- clearable: ""
169
- }, null, 8, ["modelValue", "placeholder"])
170
- ]),
171
- _: 1
172
- }, 8, ["label"])
173
- ]),
174
- _: 1
175
- }),
176
- e(c, { span: 24 }, {
177
- default: o(() => [
178
- e(d, {
179
- label: l.$t("sysOrgInvoice.taxNumber"),
180
- prop: "taxNumber"
181
- }, {
182
- default: o(() => [
183
- e(p, {
184
- modelValue: r(a).taxNumber,
185
- "onUpdate:modelValue": t[2] || (t[2] = (i) => r(a).taxNumber = i),
186
- placeholder: l.$t("sysOrgInvoice.taxNumberRequired"),
187
- maxlength: "50",
188
- "show-word-limit": "",
189
- clearable: ""
190
- }, null, 8, ["modelValue", "placeholder"])
191
- ]),
192
- _: 1
193
- }, 8, ["label"])
194
- ]),
195
- _: 1
196
- }),
197
- e(c, { span: 24 }, {
198
- default: o(() => [
199
- e(d, {
200
- label: l.$t("sysOrgInvoice.bankName"),
201
- prop: "bankName"
202
- }, {
203
- default: o(() => [
204
- e(p, {
205
- modelValue: r(a).bankName,
206
- "onUpdate:modelValue": t[3] || (t[3] = (i) => r(a).bankName = i),
207
- placeholder: l.$t("sysOrgInvoice.bankNameRequired"),
208
- maxlength: "50",
209
- "show-word-limit": "",
210
- clearable: ""
211
- }, null, 8, ["modelValue", "placeholder"])
212
- ]),
213
- _: 1
214
- }, 8, ["label"])
215
- ]),
216
- _: 1
217
- }),
218
- e(c, { span: 24 }, {
219
- default: o(() => [
220
- e(d, {
221
- label: l.$t("sysOrgInvoice.backNumber"),
222
- prop: "backNumber"
223
- }, {
224
- default: o(() => [
225
- e(p, {
226
- modelValue: r(a).backNumber,
227
- "onUpdate:modelValue": t[4] || (t[4] = (i) => r(a).backNumber = i),
228
- placeholder: l.$t("sysOrgInvoice.backNumberRequired"),
229
- maxlength: "20",
230
- "show-word-limit": "",
231
- clearable: ""
232
- }, null, 8, ["modelValue", "placeholder"])
233
- ]),
234
- _: 1
235
- }, 8, ["label"])
236
- ]),
237
- _: 1
238
- })
239
- ]),
240
- _: 1
241
- })
242
- ]),
243
- _: 1
244
- }, 8, ["model", "rules"])
245
- ]),
246
- _: 1
247
- }, 8, ["modelValue"]);
248
- };
249
- }
250
- }), X = /* @__PURE__ */ A(z, [["__scopeId", "data-v-abdef4bb"]]);
251
- export {
252
- X as default
253
- };