Browse Source

森语-质量事故单

jbb 2 years ago
parent
commit
8825a8325f
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/views/activiti/form/demoForm2.vue

+ 7 - 0
src/views/activiti/form/demoForm2.vue

@@ -1047,6 +1047,10 @@ export default {
                         var factory = this.$refs.KFB.form.getFieldValue('factory_signature')
                         if(!type|| type==''){
                             this.$message.error('请选择业务类型')
+
+                            // 边框变红
+                            let div1 = document.getElementById('business_type')
+                            div1.setAttribute('class', 'active')
                             addForm = 'yes'
                         }else if(!factory || factory==''){
                             sonTable.every(item=>{
@@ -1729,4 +1733,7 @@ function updateModel (object, childIndex) {
 /deep/ textarea#presentation_condition {
     height: 290px;
 }
+/deep/ .active .ant-select-selection {
+    border: 1px solid red;
+}
 </style>