Explorar o código

技能博物馆-物料申领

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
aedd2c2452
Modificáronse 1 ficheiros con 7 adicións e 3 borrados
  1. 7 3
      src/views/activiti/form/demoForm2.vue

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

@@ -745,8 +745,12 @@ export default {
                                 }
                                 //技能博物馆-物料申领
                                if(that.processData.businessTable == 'application_form'){
-                                       that.$refs.KFB.setData({department:jnDeparment}) 
+                                       that.$refs.KFB.setData({create_create_name:jnDeparment}) 
                                 }
+                                 // 技能博物馆---用车申请-创建部门
+                                if(that.processData.businessTable == 'car_apply'){
+                                    that.$refs.KFB.setData({create_department:jnDeparment}) 
+                                     }
                                 //技能博物馆-任务--默认当前登陆人部门
                                if(that.processData.businessTable == 'task_management'){
                                        that.$refs.KFB.setData({initiate_department:jnDeparment}) 
@@ -1037,11 +1041,11 @@ export default {
               })
         }
 
-         // 技能博物馆---物料申领--部门
+         // 技能博物馆---物料申领--申领部门
         if(key == 'get_account' && this.processData.businessTable == 'application_form'){
             this.dynamicData.personListJn.map(item =>{
                   if(item.label == value){
-                      this.$refs.KFB.setData({department:item.departIds_dictText}) 
+                      this.$refs.KFB.setData({apply_department:item.departIds_dictText}) 
                   }
               })
         }