Parcourir la source

技能博物馆-资产处理

jbb il y a 2 ans
Parent
commit
d78f44823d
1 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13 1
      src/views/activiti/form/demoForm2.vue

+ 13 - 1
src/views/activiti/form/demoForm2.vue

@@ -215,7 +215,6 @@ export default {
         if (!this.processData.businessTable) {
             this.processData.businessTable = this.processData.tableName
         }
-        // debugger
         this.getAction('/tbTableInfo/query', {
             businessTable: this.processData.businessTable,
             taskNodeId: this.processData.key,
@@ -746,6 +745,10 @@ export default {
                                 //技能博物馆-物料申领
                                if(that.processData.businessTable == 'application_form'){
                                        that.$refs.KFB.setData({create_create_name:jnDeparment}) 
+                                }
+                                //技能博物馆-资产处理
+                               if(that.processData.businessTable == 'add_assets_a'){
+                                       that.$refs.KFB.setData({create_department:jnDeparment}) 
                                 }
                                  // 技能博物馆---用车申请-创建部门
                                 if(that.processData.businessTable == 'car_apply'){
@@ -1050,6 +1053,15 @@ export default {
               })
         }
 
+         //技能博物馆-资产处理
+         if(key == 'managers' &&this.processData.businessTable == 'add_assets_a'){
+            this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({managers_department:item.departIds_dictText}) 
+                  }
+              })
+         }
+
          // 技能博物馆---固定资产--归还
         if(key == 'uuse_personnel' && this.processData.businessTable == 'give_back'){
             this.dynamicData.personListJn.map(item =>{