Forráskód Böngészése

技能博物馆-用车申请

jbb 2 éve
szülő
commit
55905ca618
1 módosított fájl, 9 hozzáadás és 0 törlés
  1. 9 0
      src/views/activiti/form/demoForm2.vue

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

@@ -553,6 +553,7 @@ export default {
                 this.printDisable = true
             }
         },
+        //默认时间/默认当前账号
         defualtData(item){ 
                            if(item[1].label =='today'){
                                item[0].value =moment(new Date().toLocaleDateString()).format('YYYY-MM-DD HH:mm')
@@ -781,6 +782,14 @@ export default {
                   }
               })
         }
+        // 技能博物馆---用车申请
+        if(key == 'car_automobilist' && this.processData.businessTable == 'car_apply'){
+            this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({car_department:item.departIds_dictText}) 
+                  }
+              })
+        }
 
         //技能博物馆 ----部门专项预算      
         // if(key == 'department' && this.processData.businessTable == 'bwg_department_budget'){