浏览代码

bug修复

hbchen 2 年之前
父节点
当前提交
5bfbbb3e65
共有 1 个文件被更改,包括 4 次插入0 次删除
  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=()=>{