Browse Source

bug修复

hbchen 2 years ago
parent
commit
5bfbbb3e65
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/financialManagement/composition/IandPList.js

+ 4 - 0
src/views/financialManagement/composition/IandPList.js

@@ -123,6 +123,10 @@ export default function getIandPListCom(type) {
   }
   
   const placementDetail=(row,detailType)=>{
+    if(row.contract_status == 4){
+      // 已终止 不允许开票和到款 模式改成查看
+      detailType='view'
+    }
     router.push({path:'/financial/list/contractProgress',query:{type:detailType,complianceId:row.contract_register_id}})
   }
   const placementExport=()=>{