浏览代码

合同管理-预算金额

jbb 2 年之前
父节点
当前提交
eb04a04f23
共有 1 个文件被更改,包括 13 次插入3 次删除
  1. 13 3
      src/views/activiti/form/demoForm2.vue

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

@@ -297,12 +297,13 @@ export default {
                                var aa=[]
                                var aa=[]
                                res.result.map(item=>{
                                res.result.map(item=>{
                                aa.push(
                                aa.push(
-                                   {value:item.project_name,
-                                   label:item.project_name,
+                                   {value:item.projectName,
+                                   label:item.projectName,
                                    startDate:item.start_date,
                                    startDate:item.start_date,
                                    endDate:item.end_date,
                                    endDate:item.end_date,
                                    projectReasons:item.project_reasons,
                                    projectReasons:item.project_reasons,
-                                   budgetInformation:item.budget_information
+                                   budgetInformation:item.budget_information,
+                                   projectSum:item.projectSum
                                    })
                                    })
                              })
                              })
                              this.dynamicData.fundApproval = aa
                              this.dynamicData.fundApproval = aa
@@ -1129,6 +1130,15 @@ export default {
               })
               })
          }
          }
 
 
+          //技能博物馆-合同管理-项目预算
+          if(key == 'project_name' &&this.processData.businessTable == 'bwg_contract_management'){
+           this.dynamicData.fundApproval.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({budget_sum:item.projectSum}) 
+                  }
+              })
+         }
+
          //技能博物馆-请假申请-申请部门
          //技能博物馆-请假申请-申请部门
          if(key == 'apply_perso' &&this.processData.businessTable == 'leave_apply'){
          if(key == 'apply_perso' &&this.processData.businessTable == 'leave_apply'){
            this.dynamicData.personListJn.map(item =>{
            this.dynamicData.personListJn.map(item =>{