Explorar o código

Merge branch 'fsms_2.2' into debug

hbchen %!s(int64=2) %!d(string=hai) anos
pai
achega
e1fe8929a4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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=()=>{