50726a45 by renchao@pashanhoo.com

style:证书入库初始化表单验证

1 parent 24c9a239
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-21 10:41:10 4 * @LastEditTime: 2023-10-18 14:49:25
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -103,12 +103,6 @@ ...@@ -103,12 +103,6 @@
103 * @author: renchao 103 * @author: renchao
104 */ 104 */
105 openDialog (item) { 105 openDialog (item) {
106 // bdcqzPreview(item).then(res => {
107 // this.$popupDialog("证书证明预览", "workflow/components/dialog/zsylxq", {
108 // bsmSlsq: item.bsmSlsq,
109 // bsmBdcqz: item.bsmBdcqz
110 // }, '1230px', true)
111 // })
112 this.$popupDialog("证书证明预览", "workflow/components/dialog/zsylxq", { 106 this.$popupDialog("证书证明预览", "workflow/components/dialog/zsylxq", {
113 bsmSlsq: item.bsmSlsq, 107 bsmSlsq: item.bsmSlsq,
114 bsmBdcqz: item.bsmBdcqz 108 bsmBdcqz: item.bsmBdcqz
......
...@@ -66,10 +66,10 @@ ...@@ -66,10 +66,10 @@
66 </template> 66 </template>
67 67
68 <script> 68 <script>
69 import store from '@/store/index.js' 69 import store from '@/store/index.js'
70 import { zsrk, getZsglInfo } from "@/api/zsgl.js" 70 import { zsrk, getZsglInfo } from "@/api/zsgl.js"
71 import { getSysSerialSingle } from "@/api/sysSerial.js" 71 import { getSysSerialSingle } from "@/api/sysSerial.js"
72 export default { 72 export default {
73 props: { 73 props: {
74 formData: { 74 formData: {
75 type: Object, 75 type: Object,
...@@ -141,7 +141,6 @@ export default { ...@@ -141,7 +141,6 @@ export default {
141 } 141 }
142 }, 142 },
143 methods: { 143 methods: {
144 //表单提交
145 /** 144 /**
146 * @description: 表单提交 145 * @description: 表单提交
147 * @author: renchao 146 * @author: renchao
...@@ -187,6 +186,7 @@ export default { ...@@ -187,6 +186,7 @@ export default {
187 getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { 186 getZsglInfo({ "bsmBatch": bsmBatch }).then(res => {
188 if (res.code == 200) { 187 if (res.code == 200) {
189 this.ruleForm = res.result; 188 this.ruleForm = res.result;
189 this.$refs.ruleForm.resetFields()
190 this.readOnly = false; 190 this.readOnly = false;
191 this.tableForm[0].ksysxlh = res.result.zsstarno; 191 this.tableForm[0].ksysxlh = res.result.zsstarno;
192 this.tableForm[0].jsysxlh = res.result.zsendno; 192 this.tableForm[0].jsysxlh = res.result.zsendno;
...@@ -272,17 +272,17 @@ export default { ...@@ -272,17 +272,17 @@ export default {
272 this.resetTableFields(); 272 this.resetTableFields();
273 } 273 }
274 } 274 }
275 } 275 }
276 </script> 276 </script>
277 <style scoped lang="scss"> 277 <style scoped lang="scss">
278 @import "~@/styles/mixin.scss"; 278 @import "~@/styles/mixin.scss";
279 @import "~@/styles/dialogBoxheader.scss"; 279 @import "~@/styles/dialogBoxheader.scss";
280 280
281 .font-red { 281 .font-red {
282 color: red 282 color: red;
283 } 283 }
284 284
285 .middle-margin-bottom { 285 .middle-margin-bottom {
286 margin-top: 20px 286 margin-top: 20px;
287 } 287 }
288 </style> 288 </style>
......