code4eat 2 rokov pred
rodič
commit
92ea3b0a87

+ 1 - 1
src/global.less

@@ -115,7 +115,7 @@ textarea {
                     .bms-ant-modal-confirm-title {
                         font-size: 16px;
                         height:18px;
-                        line-height: 18px;
+                      
                     }
                     .bms-ant-modal-confirm-content {
                         max-width: 100% !important;

+ 10 - 2
src/pages/budgetMana/monthlyInfoCheck/index.tsx

@@ -4,7 +4,7 @@
  * @Author: code4eat awesomedema@gmail.com
  * @Date: 2022-12-16 09:42:52
  * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-07-24 13:27:14
+ * @LastEditTime: 2023-07-24 14:11:10
  * @FilePath: /BudgetManaSystem/src/pages/budgetMana/monthlySet/index.tsx
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -613,6 +613,14 @@ const MonthlyInfoCheck: React.FC = () => {
 
     const checkBtnHandle = () => {
         //点击检查按钮事件
+        if(auditType != '0'){
+            Modal.error({
+                title:'提示',
+                content:'当前处于审核状态无法操作!'
+            });
+            return '';
+        }
+
         const _tableColumns: ProColumns[] = [
             {
                 title: '异动类型',
@@ -777,7 +785,7 @@ const MonthlyInfoCheck: React.FC = () => {
             <div className='rightContent'>
                 <BMSPagecontainer title={`核算年月:${currentComputeDate}`} ghost>
                     {
-                        !ifBanAllAction||auditType == '0' && (
+                        !ifBanAllAction && (
                             <>
                                 <div className={auditType == '0' ? 'importBtn disabled' : 'importBtn '} onClick={() => importHandle()} style={{ right: auditType == '0' ? '64px' : '93px' }}>绩效数据导入</div>
                                 <div className='checkBtn' onClick={() => checkHandle(`${auditType}`)}>{auditType == '0' ? '审核' : '取消审核'}</div>