Browse Source

bug修复

hbchen 2 năm trước cách đây
mục cha
commit
5bfbbb3e65
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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=()=>{