Browse Source

小数点 后面要显示6位

mentoswzq 4 years ago
parent
commit
521daedcf1
36 changed files with 66 additions and 67 deletions
  1. 1 1
      js/component/common/imgList/index.js
  2. 4 4
      js/component/manageCenter/financialManage/distribute/approvedOutsourcing.jsx
  3. 4 4
      js/component/manageCenter/financialManage/distribute/approvedOutsourcingAll.jsx
  4. 1 1
      js/component/manageCenter/financialManage/distribute/inSpecial.jsx
  5. 1 1
      js/component/manageCenter/financialManage/distribute/invoiceApplyList.jsx
  6. 1 1
      js/component/manageCenter/financialManage/distribute/invoiceApplyListQuery.jsx
  7. 1 1
      js/component/manageCenter/financialManage/distribute/invoiceApplyListWai.jsx
  8. 1 1
      js/component/manageCenter/financialManage/distribute/outInvoiceQuery.jsx
  9. 1 1
      js/component/manageCenter/financialManage/distribute/outSpecial.jsx
  10. 3 3
      js/component/manageCenter/financialManage/distribute/shouKuanAll.jsx
  11. 3 3
      js/component/manageCenter/financialManage/distribute/shouKuang.jsx
  12. 1 1
      js/component/manageCenter/financialManage/orderDetail/orderDetail.jsx
  13. 1 2
      js/component/manageCenter/order/orderNew/addService.jsx
  14. 1 1
      js/component/manageCenter/order/orderNew/addorders.js
  15. 4 4
      js/component/manageCenter/order/orderNew/approveds.jsx
  16. 2 2
      js/component/manageCenter/order/orderNew/billing.jsx
  17. 1 1
      js/component/manageCenter/order/orderNew/chargeback.jsx
  18. 1 1
      js/component/manageCenter/order/orderNew/checkOutsourcing.jsx
  19. 3 3
      js/component/manageCenter/order/orderNew/contractCwjl.js
  20. 3 3
      js/component/manageCenter/order/orderNew/contractCwzj.js
  21. 3 3
      js/component/manageCenter/order/orderNew/contractCwzy.js
  22. 3 3
      js/component/manageCenter/order/orderNew/contractJsjl.js
  23. 1 1
      js/component/manageCenter/order/orderNew/contractJsy.js
  24. 3 3
      js/component/manageCenter/order/orderNew/contractJszj.js
  25. 3 3
      js/component/manageCenter/order/orderNew/contractYxy.js
  26. 1 1
      js/component/manageCenter/order/orderNew/examine.jsx
  27. 3 3
      js/component/manageCenter/order/orderNew/inquiry.jsx
  28. 1 1
      js/component/manageCenter/order/orderNew/outsourcingList.jsx
  29. 1 1
      js/component/manageCenter/order/orderNew/outsourcingPro.jsx
  30. 1 1
      js/component/manageCenter/order/orderNew/reject.jsx
  31. 1 1
      js/component/manageCenter/project/project/outsourceTaskAssignment.jsx
  32. 3 3
      js/component/manageCenter/project/task/myTask.jsx
  33. 1 1
      js/component/manageCenter/project/task/myTaskOutsource.jsx
  34. 1 1
      js/component/manageCenter/project/task/taskAssignment.jsx
  35. 1 1
      js/component/manageCenter/project/task/taskQuery.jsx
  36. 1 1
      js/component/tools.js

+ 1 - 1
js/component/common/imgList/index.js

@@ -78,7 +78,7 @@ class ImgList extends Component{
                     }
                     {console.log(this.props.fileList,'图片')}
                 </div>
-                {this.props.fileList.length > 10 ? <div className='seeMore' onClick={()=>{this.setState({seeMore:!this.state.seeMore})}}>
+                {this.props.fileList && this.props.fileList.length > 10 ? <div className='seeMore' onClick={()=>{this.setState({seeMore:!this.state.seeMore})}}>
                     {this.state.seeMore ? '收起' : '查看更多'}
                 </div> : <div/>}
                 <Modal visible={this.state.previewVisible} footer={null} onCancel={this.handleCancel}>

+ 4 - 4
js/component/manageCenter/financialManage/distribute/approvedOutsourcing.jsx

@@ -2039,7 +2039,7 @@ const approvedOutsourcing = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4),
+          sum: sum.toFixed(6),
         })
       }.bind(this),
     }).done(
@@ -2112,7 +2112,7 @@ const approvedOutsourcing = React.createClass({
         }
         this.setState({
           waterData: theArr,
-          waterSum: waterSum.toFixed(4),
+          waterSum: waterSum.toFixed(6),
         })
       }.bind(this),
     }).always(
@@ -2505,7 +2505,7 @@ const approvedOutsourcing = React.createClass({
             })
           }
         }
-        totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4)
+        totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6)
         this.setState({
           proDataList: theArr,
           totalWaibao,
@@ -2655,7 +2655,7 @@ const approvedOutsourcing = React.createClass({
           if (!totalCui) {
             totalCui = 0
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4)
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6)
           this.setState({
             contactListNew: theArr,
             totalCui,

+ 4 - 4
js/component/manageCenter/financialManage/distribute/approvedOutsourcingAll.jsx

@@ -2006,7 +2006,7 @@ const approvedOutsourcing = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4),
+          sum: sum.toFixed(6),
         });
       }.bind(this),
     }).done(
@@ -2079,7 +2079,7 @@ const approvedOutsourcing = React.createClass({
         }
         this.setState({
           waterData: theArr,
-          waterSum: waterSum.toFixed(4),
+          waterSum: waterSum.toFixed(6),
         });
       }.bind(this),
     }).always(
@@ -2426,7 +2426,7 @@ const approvedOutsourcing = React.createClass({
             });
           }
         }
-        totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4);
+        totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6);
         this.setState({
           proDataList: theArr,
           totalWaibao,
@@ -2530,7 +2530,7 @@ const approvedOutsourcing = React.createClass({
           if (!totalCui) {
             totalCui = 0;
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
           this.setState({
             contactListNew: theArr,
             totalCui,

+ 1 - 1
js/component/manageCenter/financialManage/distribute/inSpecial.jsx

@@ -530,7 +530,7 @@ const inSpecial = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4)
+          sum: sum.toFixed(6)
         });
       }.bind(this)
     }).done(

+ 1 - 1
js/component/manageCenter/financialManage/distribute/invoiceApplyList.jsx

@@ -529,7 +529,7 @@ const invoiceApplyList = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4)
+          sum: sum.toFixed(6)
         });
       }.bind(this)
     }).done(

+ 1 - 1
js/component/manageCenter/financialManage/distribute/invoiceApplyListQuery.jsx

@@ -513,7 +513,7 @@ const invoiceApplyListQuery = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4)
+          sum: sum.toFixed(6)
         });
       }.bind(this)
     }).done(

+ 1 - 1
js/component/manageCenter/financialManage/distribute/invoiceApplyListWai.jsx

@@ -528,7 +528,7 @@ const invoiceApplyListWai = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4)
+          sum: sum.toFixed(6)
         });
       }.bind(this)
     }).done(

+ 1 - 1
js/component/manageCenter/financialManage/distribute/outInvoiceQuery.jsx

@@ -501,7 +501,7 @@ const outInvoiceQuery = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4)
+          sum: sum.toFixed(6)
         });
       }.bind(this)
     }).done(

+ 1 - 1
js/component/manageCenter/financialManage/distribute/outSpecial.jsx

@@ -507,7 +507,7 @@ const outSpecial = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4)
+          sum: sum.toFixed(6)
         });
       }.bind(this)
     }).done(

+ 3 - 3
js/component/manageCenter/financialManage/distribute/shouKuanAll.jsx

@@ -1294,7 +1294,7 @@ const ShouKuang = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4),
+          sum: sum.toFixed(6),
         });
       }.bind(this),
     }).done(
@@ -1362,7 +1362,7 @@ const ShouKuang = React.createClass({
         }
         this.setState({
           waterData: theArr,
-          waterSum: (Math.round(waterSum * 10000) / 10000).toFixed(4),
+          waterSum: (Math.round(waterSum * 1000000) / 1000000).toFixed(6),
         });
       }.bind(this),
     }).always(
@@ -1669,7 +1669,7 @@ const ShouKuang = React.createClass({
             });
           }
         }
-        totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4);
+        totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6);
         this.setState({
           proDataList: theArr,
           totalWaibao,

+ 3 - 3
js/component/manageCenter/financialManage/distribute/shouKuang.jsx

@@ -1349,7 +1349,7 @@ const ShouKuang = React.createClass({
         }
         this.setState({
           recordData: theArr,
-          sum: sum.toFixed(4),
+          sum: sum.toFixed(6),
         });
       }.bind(this),
     }).done(
@@ -1417,7 +1417,7 @@ const ShouKuang = React.createClass({
         }
         this.setState({
           waterData: theArr,
-          waterSum: (Math.round(waterSum * 10000) / 10000).toFixed(4),
+          waterSum: (Math.round(waterSum * 1000000) / 1000000).toFixed(6),
         });
       }.bind(this),
     }).always(
@@ -1725,7 +1725,7 @@ const ShouKuang = React.createClass({
             });
           }
         }
-        totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4);
+        totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6);
         this.setState({
           proDataList: theArr,
           totalWaibao,

+ 1 - 1
js/component/manageCenter/financialManage/orderDetail/orderDetail.jsx

@@ -695,7 +695,7 @@ const OrderDetail = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 1 - 2
js/component/manageCenter/order/orderNew/addService.jsx

@@ -1897,7 +1897,6 @@ const NewService = Form.create()(
             contactMobile: thisData.contactMobile, //联系人电话
             legalPerson: thisData.legalPerson, //法人
             legalPersonTel: thisData.legalPersonTel, //法人电话
-            contractNo: thisData.contractNo, //合同编号
             orgCodeUrl: thisData.contractPictureUrl
               ? splitUrl(
                   thisData.contractPictureUrl,
@@ -2039,7 +2038,7 @@ const NewService = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 1 - 1
js/component/manageCenter/order/orderNew/addorders.js

@@ -1160,7 +1160,7 @@ const Addorders = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 4 - 4
js/component/manageCenter/order/orderNew/approveds.jsx

@@ -1222,7 +1222,7 @@ const IntentionCustomer = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,
@@ -1557,7 +1557,7 @@ const IntentionCustomer = Form.create()(
           }
           this.setState({
             waterData: theArr,
-            waterSum: (Math.round(waterSum * 10000) / 10000).toFixed(4),
+            waterSum: (Math.round(waterSum * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this),
       }).always(
@@ -1825,7 +1825,7 @@ const IntentionCustomer = Form.create()(
               });
             }
           }
-          totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4);
+          totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6);
           this.setState({
             proDataList: theArr,
             totalWaibao,
@@ -1882,7 +1882,7 @@ const IntentionCustomer = Form.create()(
           }
           this.setState({
             recordData: theArr,
-            sum: sum.toFixed(4),
+            sum: sum.toFixed(6),
           });
         }.bind(this),
       }).done(

+ 2 - 2
js/component/manageCenter/order/orderNew/billing.jsx

@@ -1172,7 +1172,7 @@ const MyService = Form.create()(
           }
           this.setState({
             recordData: theArr,
-            sum: sum.toFixed(4)
+            sum: sum.toFixed(6)
           });
         }.bind(this)
       }).done(
@@ -1657,7 +1657,7 @@ const MyService = Form.create()(
               });
             }
           }
-          totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4);
+          totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6);
           this.setState({
             proDataList: theArr,
             totalWaibao

+ 1 - 1
js/component/manageCenter/order/orderNew/chargeback.jsx

@@ -808,7 +808,7 @@ const IntentionCustomer = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 1 - 1
js/component/manageCenter/order/orderNew/checkOutsourcing.jsx

@@ -725,7 +725,7 @@ const checkOutsourcing = Form.create()(
             if (!totalCui) {
               totalCui = 0
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4)
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6)
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 3 - 3
js/component/manageCenter/order/orderNew/contractCwjl.js

@@ -467,8 +467,8 @@ const contractChange = Form.create()(
           });
           this.setState({
             proceedsData: data.data,
-            proTotal: (Math.round(proTotal * 10000) / 10000).toFixed(4),
-            invTotal: (Math.round(invTotal * 10000) / 10000).toFixed(4),
+            proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
+            invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this)
       });
@@ -801,7 +801,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 3 - 3
js/component/manageCenter/order/orderNew/contractCwzj.js

@@ -426,8 +426,8 @@ const contractChange = Form.create()(
           });
           this.setState({
             proceedsData: data.data,
-            proTotal: (Math.round(proTotal * 10000) / 10000).toFixed(4),
-            invTotal: (Math.round(invTotal * 10000) / 10000).toFixed(4),
+            proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
+            invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this)
       });
@@ -721,7 +721,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 3 - 3
js/component/manageCenter/order/orderNew/contractCwzy.js

@@ -467,8 +467,8 @@ const contractChange = Form.create()(
           });
           this.setState({
             proceedsData: data.data,
-            proTotal: (Math.round(proTotal * 10000) / 10000).toFixed(4),
-            invTotal: (Math.round(invTotal * 10000) / 10000).toFixed(4),
+            proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
+            invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this)
       });
@@ -794,7 +794,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 3 - 3
js/component/manageCenter/order/orderNew/contractJsjl.js

@@ -423,8 +423,8 @@ const contractChange = Form.create()(
           });
           this.setState({
             proceedsData: data.data,
-            proTotal: (Math.round(proTotal * 10000) / 10000).toFixed(4),
-            invTotal: (Math.round(invTotal * 10000) / 10000).toFixed(4),
+            proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
+            invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this)
       });
@@ -718,7 +718,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 1 - 1
js/component/manageCenter/order/orderNew/contractJsy.js

@@ -682,7 +682,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 3 - 3
js/component/manageCenter/order/orderNew/contractJszj.js

@@ -421,8 +421,8 @@ const contractChange = Form.create()(
           });
           this.setState({
             proceedsData: data.data,
-            proTotal: (Math.round(proTotal * 10000) / 10000).toFixed(4),
-            invTotal: (Math.round(invTotal * 10000) / 10000).toFixed(4),
+            proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
+            invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this)
       });
@@ -716,7 +716,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 3 - 3
js/component/manageCenter/order/orderNew/contractYxy.js

@@ -428,8 +428,8 @@ const contractChange = Form.create()(
           });
           this.setState({
             proceedsData: data.data,
-            proTotal: (Math.round(proTotal * 10000) / 10000).toFixed(4),
-            invTotal: (Math.round(invTotal * 10000) / 10000).toFixed(4),
+            proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
+            invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
           });
         }.bind(this)
       });
@@ -733,7 +733,7 @@ const contractChange = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui

+ 1 - 1
js/component/manageCenter/order/orderNew/examine.jsx

@@ -818,7 +818,7 @@ const IntentionCustomer = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 3 - 3
js/component/manageCenter/order/orderNew/inquiry.jsx

@@ -1364,7 +1364,7 @@ const IntentionCustomer = Form.create()(
           }
           this.setState({
             recordData: theArr,
-            sum: sum.toFixed(4),
+            sum: sum.toFixed(6),
           });
         }.bind(this),
       }).done(
@@ -1782,7 +1782,7 @@ const IntentionCustomer = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,
@@ -2106,7 +2106,7 @@ const IntentionCustomer = Form.create()(
               });
             }
           }
-          totalWaibao = (Math.round(totalWaibao * 10000) / 10000).toFixed(4);
+          totalWaibao = (Math.round(totalWaibao * 1000000) / 1000000).toFixed(6);
           this.setState({
             proDataList: theArr,
             totalWaibao,

+ 1 - 1
js/component/manageCenter/order/orderNew/outsourcingList.jsx

@@ -996,7 +996,7 @@ const outsourcingList = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 1 - 1
js/component/manageCenter/order/orderNew/outsourcingPro.jsx

@@ -803,7 +803,7 @@ const outsourcingPro = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 1 - 1
js/component/manageCenter/order/orderNew/reject.jsx

@@ -1151,7 +1151,7 @@ const IntentionCustomer = Form.create()(
             if (!totalCui) {
               totalCui = 0;
             }
-            totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+            totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
             this.setState({
               contactListNew: theArr,
               totalCui,

+ 1 - 1
js/component/manageCenter/project/project/outsourceTaskAssignment.jsx

@@ -716,7 +716,7 @@ const OutsourceTaskAssignment = React.createClass({
           if (!totalCui) {
             totalCui = 0;
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
           this.setState({
             jiedianNew: theArr,
             totalCui,

+ 3 - 3
js/component/manageCenter/project/task/myTask.jsx

@@ -2459,7 +2459,7 @@ const Task = React.createClass({
           if (!totalCui) {
             totalCui = 0
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4)
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6)
           this.setState({
             jiedianNew: theArr,
             totalCui,
@@ -2702,7 +2702,7 @@ const Task = React.createClass({
   calculatedAmount() {
     let currentTotalPrice
     currentTotalPrice = this.state.thirdUnitPrice * this.state.thirdQuantity
-    currentTotalPrice = currentTotalPrice.toFixed(4)
+    currentTotalPrice = currentTotalPrice.toFixed(6)
     this.setState({
       currentTotalPrice: currentTotalPrice,
     })
@@ -2722,7 +2722,7 @@ const Task = React.createClass({
     this.state.thirdInfoList.forEach((item) => {
       if (item.companyName === this.state.thirdCompanyName) {
         currentTotalPrice = num ? item.unitPrice * num : item.quantity * item.unitPrice;
-        currentTotalPrice = currentTotalPrice.toFixed(4);
+        currentTotalPrice = currentTotalPrice.toFixed(6);
         quantity = num ? num : item.quantity;
         unitPrice = item.unitPrice;
       }

+ 1 - 1
js/component/manageCenter/project/task/myTaskOutsource.jsx

@@ -1828,7 +1828,7 @@ const MyTaskOutsource = React.createClass({
           if (!totalCui) {
             totalCui = 0;
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
           this.setState({
             jiedianNew: theArr,
             totalCui,

+ 1 - 1
js/component/manageCenter/project/task/taskAssignment.jsx

@@ -729,7 +729,7 @@ const Task = React.createClass({
           if (!totalCui) {
             totalCui = 0;
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
           this.setState({
             jiedianNew: theArr,
             totalCui,

+ 1 - 1
js/component/manageCenter/project/task/taskQuery.jsx

@@ -816,7 +816,7 @@ const Task = React.createClass({
           if (!totalCui) {
             totalCui = 0;
           }
-          totalCui = (Math.round(totalCui * 10000) / 10000).toFixed(4);
+          totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
           this.setState({
             jiedianNew: theArr,
             totalCui,

+ 1 - 1
js/component/tools.js

@@ -1962,7 +1962,7 @@ module.exports = {
     }
   },
   moneyVerify(e) {
-    if (!/^\d{1,3}(,?\d{3})*(\.\d{1,4})?$/.test(e)) {
+    if (!/^\d{1,3}(,?\d{3})*(\.\d{1,6})?$/.test(e)) {
       message.warning("输入金额不符合规范");
       return true;
     }