hbchen 2 gadi atpakaļ
vecāks
revīzija
5bfbbb3e65

+ 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=()=>{