Forráskód Böngészése

log取消,新建售前支持条件

hanxin 2 éve
szülő
commit
3504c742aa

+ 1 - 1
src/pages/PurchaseAdmin/PurchaseList/WorkingHours/AddModal.js

@@ -48,7 +48,7 @@ function AddModal(props) {
           },
         ],
       }]
-      if (type.type == 0) {
+      if (type.type == 0 && values.project == '0') {
         console.log(values);
         params[0].data[0].pay_dep_id = Number(values.pay_dep_id);
       }

+ 0 - 1
src/pages/PurchaseAdmin/PurchaseList/WorkingHours/index.js

@@ -347,7 +347,6 @@ function List(props) {
       type: 'workload/fetchDepV2',
     });
   }, []);
-  console.log(depUserMap);
   return (
     <div>
       <Spin spinning={loading}>