Pārlūkot izejas kodu

技能博物馆-归还

jbb 2 gadi atpakaļ
vecāks
revīzija
1fff3812f9

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

@@ -834,6 +834,15 @@ export default {
               })
         }
 
+         // 技能博物馆---固定资产--归还
+        if(key == 'uuse_personnel' && this.processData.businessTable == 'give_back'){
+            this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({use_department:item.departIds_dictText}) 
+                  }
+              })
+        }
+
         //技能博物馆 ----资金审批    
         if(key == 'project_name' && this.processData.businessTable == 'bwg_capital_approval'){
             this.dynamicData.fundApproval.map(item =>{

+ 4 - 2
src/views/activiti/form/fixedZyModal.vue

@@ -244,14 +244,16 @@ export default {
             assets_category : this.selectedRows[0].assetsCategory,
             asset_encoding:this.selectedRows[0].assetNumber,
             asset_name:this.selectedRows[0].assetName,
-            specifications_models:this.selectedRows[0].specificationsModels
+            specifications_models:this.selectedRows[0].specificationsModels,
+             original_value:this.selectedRows[0].unitPrice,
            }
           }else if(this.sat == '调拨'){
             var data ={
             asset_encoding:this.selectedRows[0].assetNumber,
             assets_category : this.selectedRows[0].assetsCategory,
             asset_name:this.selectedRows[0].assetName,
-            specifications_models:this.selectedRows[0].specificationsModels
+            specifications_models:this.selectedRows[0].specificationsModels,
+            original_value:this.selectedRows[0].unitPrice,
            }
           }else if(this.sat == '报废'){
             var data ={