فهرست منبع

feat: 部分调整

xdd 4 هفته پیش
والد
کامیت
c4f306667f

+ 2 - 2
public/index.html

@@ -9,7 +9,7 @@
     <title><%= webpackConfig.name %></title>
     <script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=ONIBZ-44LLJ-QHYFI-KGG6Y-5ADJT-A7BIO&libraries=drawing"></script>
     <script src="/sdk.js" charset="utf-8"></script>
-   
+
 	  <style>
     html,
     body,
@@ -120,7 +120,7 @@
       top: 0;
       width: 51%;
       height: 100%;
-      background: #13c2c2;
+      background: #409eff;
       z-index: 1000;
       -webkit-transform: translateX(0);
       -ms-transform: translateX(0);

+ 1 - 1
src/components/TopNav/index.vue

@@ -138,7 +138,7 @@ export default {
 }
 
 .el-menu--horizontal > .el-menu-item.is-active {
-  border-bottom: 3px solid #13c2c2;
+  border-bottom: 3px solid #409eff;
   color: #303133;
 }
 </style>

+ 7 - 7
src/views/company/companySmsPackage/index.vue

@@ -119,11 +119,11 @@ export default {
             that.getCompanySms()
           }).catch(function(error) {
           });
-           
+
         }
       });
     },
-     
+
   }
 };
 </script>
@@ -135,22 +135,22 @@ export default {
     width:200px;
     margin: 0px 10px;
     cursor: pointer;
-    
+
   }
   .active{
-    border: 1px solid #13c2c2;;
+    border: 1px solid #409eff;;
   }
 
 
 }
- 
+
 .footer-btn{
   padding-top: 30px;
   border-top: 1px solid #eee;
   display: flex;
   justify-content: flex-end;
 }
- 
+
 .counts{
   padding: 15px;
   border: 1px solid #ddd;
@@ -187,7 +187,7 @@ export default {
         color: red;
       }
       .green{
-        color: #13c2c2;
+        color: #409eff;
       }
     }
   }

+ 6 - 6
src/views/company/companyVoicePackageOrder/buy.vue

@@ -61,7 +61,7 @@
 <script>
 import { getVoicePackagelist, buy} from "@/api/company/companyVoicePackageOrder";
 import { getCompanyInfo,getCompanyVoice } from "@/api/company/company";
- 
+
 export default {
   name: "CompanyRecharge",
   data() {
@@ -79,7 +79,7 @@ export default {
       },
       // 表单校验
       rules: {
-        
+
          packageId: [
           { required: true, message: "套餐不能为空", trigger: "blur" },
         ],
@@ -137,10 +137,10 @@ export default {
     width:200px;
     margin: 0px 10px;
     cursor: pointer;
-    
+
   }
   .active{
-    border: 1px solid #13c2c2;;
+    border: 1px solid #409eff;;
   }
 
 
@@ -151,7 +151,7 @@ export default {
 .radio{
   display: flex;
   align-items: center;
-   
+
 
 }
 .radio-item{
@@ -266,7 +266,7 @@ export default {
         color: red;
       }
       .green{
-        color: #13c2c2;
+        color: #409eff;
       }
     }
   }

+ 94 - 94
src/views/company/tcmScheduleReport/add.vue

@@ -1,15 +1,15 @@
 <template>
   <div class="app-container">
       <div class="bj-divider">
-          <div class="left"> 
+          <div class="left">
                 <span class="default-text">档期信息</span>
             </div>
-             <div class="right"> 
+             <div class="right">
                 <el-button type="mini" @click="goBack()">返 回</el-button>
                 <span class="tips"></span>
             </div>
       </div>
-      
+
      <el-form ref="form" :model="form" :rules="rules" label-width="90px" style="margin-bottom:50px">
        <el-form-item label="所属档期" prop="scheduleId">
             <el-select disabled style="width: 500px" v-model="form.scheduleId" placeholder="请选择档期" clearable size="small" >
@@ -24,13 +24,13 @@
 
         <el-row>
             <el-col :span="12">
-                    <el-form-item label="总进线" label-width="90px" prop="totalNum">  
-                       <el-input :disabled="form.id>0" v-model="form.totalNum"  onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))" type="number" placeholder="请输入总进线" />  
+                    <el-form-item label="总进线" label-width="90px" prop="totalNum">
+                       <el-input :disabled="form.id>0" v-model="form.totalNum"  onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))" type="number" placeholder="请输入总进线" />
                     </el-form-item>
             </el-col>
             <el-col :span="12">
                     <el-form-item label="注册数" label-width="90px" prop="registerNum">
-                        <el-input :disabled="form.id>0" v-model="form.registerNum" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))" type="number" placeholder="请输入注册数" />  
+                        <el-input :disabled="form.id>0" v-model="form.registerNum" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))" type="number" placeholder="请输入注册数" />
                     </el-form-item>
             </el-col>
          </el-row>
@@ -46,7 +46,7 @@
                 </el-form-item>
            </el-col>
         </el-row>
-      
+
          <el-row>
               <el-col :span="8" v-if="form.registerRate!='0'">
                     <el-form-item label-width="80px" label="注册率" prop="registerRate">
@@ -57,23 +57,23 @@
                    <el-form-item label-width="80px" label="上线率" prop="onlineRate" style="margin-right:10px">
                            {{(form.onlineRate*100).toFixed(2)+"%"}}
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="8" v-if="form.onlineRate!='0'">
                     <el-form-item label-width="80px" label="完课率" prop="onlineRate">
                            {{(form.finishRate*100).toFixed(2)+"%"}}
                     </el-form-item>
               </el-col>
-         </el-row>   
+         </el-row>
 
         <div class="bj-divider">
-            <div class="left"> 
+            <div class="left">
                     <span class="default-text">轮次业绩</span>
              </div>
         </div>
-        
+
          <el-row v-for="(item, index) in roundArr" :key="index">
               <el-col :span="7">
-                    <el-form-item :label="item+'业绩'"  label-width="90px" :prop="'round'+(index+1)+'Money'">  
+                    <el-form-item :label="item+'业绩'"  label-width="90px" :prop="'round'+(index+1)+'Money'">
                         <el-input-number  v-model="form['round'+(index+1)+'Money']" :step="10" :precision="2"  :min="0.00" :placeholder="'请输入'+item+'业绩'" />
                     </el-form-item>
               </el-col>
@@ -81,22 +81,22 @@
                     <el-form-item :label="item+'单数'"  label-width="90px" :prop="'round'+(index+1)+'Order'">
                         <el-input-number  v-model="form['round'+(index+1)+'Order']" :min="0"  :step="1" :placeholder="'请输入'+item+'单数'"/>
                     </el-form-item>
-              </el-col>  
+              </el-col>
 
               <el-col :span="5">
-                    <el-form-item :label="item+'转化率:'" label-width="90px" :prop="'round'+(index+1)+'Rate'"> 
-                       <b class="span">{{  renderRate(index) }}</b>  
+                    <el-form-item :label="item+'转化率:'" label-width="90px" :prop="'round'+(index+1)+'Rate'">
+                       <b class="span">{{  renderRate(index) }}</b>
                     </el-form-item>
               </el-col>
                <el-col :span="5">
                     <el-form-item :label="item+'客单价(元):'"  label-width="110px" :prop="'round'+(index+1)+'Unit'">
-                        <b class="span">{{form['round'+(index+1)+'Unit']}}</b>  
+                        <b class="span">{{form['round'+(index+1)+'Unit']}}</b>
                     </el-form-item>
               </el-col>
          </el-row>
 
          <el-row>
-                <el-col :span="7">  
+                <el-col :span="7">
                 <el-form-item label="累计总业绩" label-width="90px" prop="totalMoney">
                     <el-input-number  disabled v-model="form.totalMoney" :step="10" :precision="2"  :min="0.00" placeholder="请输入累计总业绩" />
                 </el-form-item>
@@ -113,7 +113,7 @@
             </el-col>
             <el-col :span="4">
                 <el-form-item label="目标完成率"  label-width="90px" prop="targetRate">
-                    <b class="span">{{ (form.targetRate*100).toFixed(2)+"%"}}</b>  
+                    <b class="span">{{ (form.targetRate*100).toFixed(2)+"%"}}</b>
                 </el-form-item>
             </el-col>
 
@@ -129,7 +129,7 @@
                     <el-form-item label="二轮单数"  label-width="90px" prop="round2Order">
                         <el-input-number v-model="form.round2Order" :min="0" :step="1" placeholder="请输入二轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="二轮转化率" label-width="90px"  prop="round2Rate">
                         {{(form.round2Rate*100).toFixed(2)+"%"}}
@@ -152,7 +152,7 @@
                     <el-form-item label="三轮单数"  label-width="90px" prop="round3Order">
                         <el-input-number v-model="form.round3Order" :min="0" :step="1" placeholder="请输入三轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="三轮转化率" label-width="90px"  prop="round3Rate">
                         {{(form.round3Rate*100).toFixed(2)+"%"}}
@@ -175,7 +175,7 @@
                     <el-form-item label="四轮单数"  label-width="90px" prop="round4Order">
                         <el-input-number v-model="form.round4Order" :min="0" :step="1" placeholder="请输入四轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="四轮转化率" label-width="90px"  prop="round4Rate">
                         {{(form.round4Rate*100).toFixed(2)+"%"}}
@@ -187,7 +187,7 @@
                     </el-form-item>
               </el-col>
          </el-row>
-         
+
          <el-row>
               <el-col :span="7">
                     <el-form-item label="五轮业绩"  label-width="90px" prop="round5Money">
@@ -198,7 +198,7 @@
                     <el-form-item label="五轮单数"  label-width="90px" prop="round5Order">
                         <el-input-number v-model="form.round5Order" :min="0" :step="1" placeholder="请输入五轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="五轮转化率" label-width="90px"  prop="round5Rate">
                         {{(form.round5Rate*100).toFixed(2)+"%"}}
@@ -210,7 +210,7 @@
                     </el-form-item>
               </el-col>
          </el-row>
-         
+
          <el-row>
               <el-col :span="7">
                     <el-form-item label="六轮业绩"  label-width="90px" prop="round6Money">
@@ -221,7 +221,7 @@
                     <el-form-item label="六轮单数"  label-width="90px" prop="round6Order">
                         <el-input-number v-model="form.round6Order" :min="0" :step="1" placeholder="请输入六轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="六轮转化率" label-width="90px"  prop="round6Rate">
                         {{(form.round6Rate*100).toFixed(2)+"%"}}
@@ -233,7 +233,7 @@
                     </el-form-item>
               </el-col>
          </el-row>
-         
+
          <el-row>
               <el-col :span="7">
                     <el-form-item label="七轮业绩"  label-width="90px" prop="round7Money">
@@ -244,7 +244,7 @@
                     <el-form-item label="七轮单数"  label-width="90px" prop="round7Order">
                         <el-input-number v-model="form.round7Order" :min="0" :step="1" placeholder="请输入七轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="七轮转化率" label-width="90px"  prop="round7Rate">
                         {{(form.round7Rate*100).toFixed(2)+"%"}}
@@ -256,7 +256,7 @@
                     </el-form-item>
               </el-col>
          </el-row>
-         
+
          <el-row>
               <el-col :span="7">
                     <el-form-item label="八轮业绩"  label-width="90px" prop="round8Money">
@@ -267,7 +267,7 @@
                     <el-form-item label="八轮单数"  label-width="90px" prop="round8Order">
                         <el-input-number v-model="form.round8Order" :min="0" :step="1" placeholder="请输入八轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="八轮转化率" label-width="90px"  prop="round8Rate">
                         {{(form.round8Rate*100).toFixed(2)+"%"}}
@@ -279,7 +279,7 @@
                     </el-form-item>
               </el-col>
          </el-row>
-         
+
          <el-row>
               <el-col :span="7">
                     <el-form-item label="九轮业绩"  label-width="90px" prop="round9Money">
@@ -290,7 +290,7 @@
                     <el-form-item label="九轮单数"  label-width="90px" prop="round9Order">
                         <el-input-number v-model="form.round9Order" :min="0" :step="1" placeholder="请输入九轮单数" />
                     </el-form-item>
-              </el-col>  
+              </el-col>
               <el-col :span="5">
                     <el-form-item label="九轮转化率" label-width="90px"  prop="round9Rate">
                         {{(form.round9Rate*100).toFixed(2)+"%"}}
@@ -397,11 +397,11 @@ export default {
       // 表单参数
       form: {},
       // 表单校验
-      rules: { 
-          scheduleId: [    
+      rules: {
+          scheduleId: [
             { required: true, message: "请选择档期", trigger: "blur" }
           ],
-          totalNum: [    
+          totalNum: [
             { required: true, message: "总进线不能为空", trigger: "blur" }
           ],
           registerNum: [
@@ -444,7 +444,7 @@ export default {
           round9Order: [
             { required: false, validator: roundOrderRule, trigger: "blur" }
           ],
-          
+
       }
     };
   },
@@ -470,166 +470,166 @@ export default {
         console.log('oldVal->',oldVal)
         this.form.finishRate=0;
         if(!!newVal && this.form.registerNum>0){
-           this.form.finishRate=(newVal/this.form.registerNum*1.0).toFixed(2); 
+           this.form.finishRate=(newVal/this.form.registerNum*1.0).toFixed(2);
         }
-    },  
-     'form.round1Money':function(newVal,oldVal){   
+    },
+     'form.round1Money':function(newVal,oldVal){
         console.log("qxj newVal:"+newVal+",is:"+!!newVal);
         if(newVal!=undefined){
             if(this.form.round1Order>0){
-                this.form.round1Unit=(newVal/this.form.round1Order*1.0).toFixed(2); 
+                this.form.round1Unit=(newVal/this.form.round1Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round1Order':function(newVal,oldVal){
         if(newVal!=undefined){
-           this.form.round1Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round1Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round1Unit=0.0;
            if(newVal>0)
-           this.form.round1Unit=(this.form.round1Money/newVal*1.0).toFixed(2); 
+           this.form.round1Unit=(this.form.round1Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-     'form.round2Money':function(newVal,oldVal){   
+     'form.round2Money':function(newVal,oldVal){
         if(newVal!=undefined){
             if(this.form.round2Order>0){
-                this.form.round2Unit=(newVal/this.form.round2Order*1.0).toFixed(2); 
+                this.form.round2Unit=(newVal/this.form.round2Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round2Order':function(newVal,oldVal){
          if(newVal!=undefined){
-           this.form.round2Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round2Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round2Unit=0.0;
            if(newVal>0)
-           this.form.round2Unit=(this.form.round2Money/newVal*1.0).toFixed(2); 
+           this.form.round2Unit=(this.form.round2Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round3Money':function(newVal,oldVal){   
+    'form.round3Money':function(newVal,oldVal){
         if(newVal!=undefined){
             if(this.form.round3Order>0){
-                this.form.round3Unit=(newVal/this.form.round3Order*1.0).toFixed(2); 
+                this.form.round3Unit=(newVal/this.form.round3Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round3Order':function(newVal,oldVal){
         if(newVal!=undefined){
-           this.form.round3Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round3Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round3Unit=0.0;
            if(newVal>0)
-           this.form.round3Unit=(this.form.round3Money/newVal*1.0).toFixed(2); 
+           this.form.round3Unit=(this.form.round3Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round4Money':function(newVal,oldVal){   
+    'form.round4Money':function(newVal,oldVal){
          if(newVal!=undefined){
             if(this.form.round4Order>0){
-                this.form.round4Unit=(newVal/this.form.round4Order*1.0).toFixed(2); 
+                this.form.round4Unit=(newVal/this.form.round4Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round4Order':function(newVal,oldVal){
         if(newVal!=undefined){
-           this.form.round4Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round4Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round4Unit=0.0;
            if(newVal>0)
-           this.form.round4Unit=(this.form.round4Money/newVal*1.0).toFixed(2); 
+           this.form.round4Unit=(this.form.round4Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round5Money':function(newVal,oldVal){   
+    'form.round5Money':function(newVal,oldVal){
         if(newVal!=undefined){
             if(this.form.round5Order>0){
-                this.form.round5Unit=(newVal/this.form.round5Order*1.0).toFixed(2); 
+                this.form.round5Unit=(newVal/this.form.round5Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round5Order':function(newVal,oldVal){
          if(newVal!=undefined){
-           this.form.round5Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round5Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round5Unit=0.0;
            if(newVal>0)
-           this.form.round5Unit=(this.form.round5Money/newVal*1.0).toFixed(2); 
+           this.form.round5Unit=(this.form.round5Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round6Money':function(newVal,oldVal){   
+    'form.round6Money':function(newVal,oldVal){
         if(newVal!=undefined){
             if(this.form.round6Order>0){
-                this.form.round6Unit=(newVal/this.form.round6Order*1.0).toFixed(2); 
+                this.form.round6Unit=(newVal/this.form.round6Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round6Order':function(newVal,oldVal){
          if(newVal!=undefined){
-           this.form.round6Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round6Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round6Unit=0.0;
            if(newVal>0)
-           this.form.round6Unit=(this.form.round6Money/newVal*1.0).toFixed(2); 
+           this.form.round6Unit=(this.form.round6Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round7Money':function(newVal,oldVal){   
+    'form.round7Money':function(newVal,oldVal){
         if(newVal!=undefined){
             if(this.form.round7Order>0){
-                this.form.round7Unit=(newVal/this.form.round7Order*1.0).toFixed(2); 
+                this.form.round7Unit=(newVal/this.form.round7Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round7Order':function(newVal,oldVal){
          if(newVal!=undefined){
-           this.form.round7Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round7Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round7Unit=0.0;
            if(newVal>0)
-           this.form.round7Unit=(this.form.round7Money/newVal*1.0).toFixed(2); 
+           this.form.round7Unit=(this.form.round7Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round8Money':function(newVal,oldVal){   
+    'form.round8Money':function(newVal,oldVal){
         if(newVal!=undefined){
             if(this.form.round8Order>0){
-                this.form.round8Unit=(newVal/this.form.round8Order*1.0).toFixed(2); 
+                this.form.round8Unit=(newVal/this.form.round8Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round8Order':function(newVal,oldVal){
         if(newVal!=undefined){
-           this.form.round8Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+           this.form.round8Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
            this.form.round8Unit=0.0;
            if(newVal>0)
-           this.form.round8Unit=(this.form.round8Money/newVal*1.0).toFixed(2); 
+           this.form.round8Unit=(this.form.round8Money/newVal*1.0).toFixed(2);
            this.calcTotalOrder();
         }
     },
-    'form.round9Money':function(newVal,oldVal){   
+    'form.round9Money':function(newVal,oldVal){
          if(newVal!=undefined){
             if(this.form.round9Order>0){
-                this.form.round9Unit=(newVal/this.form.round9Order*1.0).toFixed(2); 
+                this.form.round9Unit=(newVal/this.form.round9Order*1.0).toFixed(2);
             }
             this.calcTotalMoney();
         }
     },
      'form.round9Order':function(newVal,oldVal){
             if(newVal!=undefined){
-                this.form.round9Rate=(newVal/this.form.totalNum*1.0).toFixed(2); 
+                this.form.round9Rate=(newVal/this.form.totalNum*1.0).toFixed(2);
                 this.form.round9Unit=0.0;
                 if(newVal>0)
-                this.form.round9Unit=(this.form.round9Money/newVal*1.0).toFixed(2); 
+                this.form.round9Unit=(this.form.round9Money/newVal*1.0).toFixed(2);
                 this.calcTotalOrder();
             }
       },
      'form.targetMoney':function(newVal,oldVal){
          if(newVal!=undefined){
-              this.form.targetRate=(this.form.totalMoney/newVal*1.0).toFixed(5); 
+              this.form.targetRate=(this.form.totalMoney/newVal*1.0).toFixed(5);
          }
       },
   },
@@ -659,7 +659,7 @@ export default {
         });
     },
     /** 查询中医档期业绩报表详情 */
-    requestData() {  
+    requestData() {
       this.reset();
       this.loading = true;
       getTcmScheduleReport(this.reportId).then(response => {
@@ -796,28 +796,28 @@ export default {
         }
       });
     },
-    toDecimal2(x) {  
-        var f = x;  
-        if (isNaN(f)) {  
-            return 0;  
-        }  
-        // var f = Math.round(x*100)/100;  
-        // var s = f.toString();  
-        // var rs = s.indexOf('.');  
-        // if (rs < 0) {  
-        //     rs = s.length;  
-        //     s += '.';  
-        // }  
-        // while (s.length <= rs + 2) {  
-        //     s += '0';  
-        // }  
-        return x.toFixed(2);  
+    toDecimal2(x) {
+        var f = x;
+        if (isNaN(f)) {
+            return 0;
+        }
+        // var f = Math.round(x*100)/100;
+        // var s = f.toString();
+        // var rs = s.indexOf('.');
+        // if (rs < 0) {
+        //     rs = s.length;
+        //     s += '.';
+        // }
+        // while (s.length <= rs + 2) {
+        //     s += '0';
+        // }
+        return x.toFixed(2);
     }
   }
 };
 </script>
 
-<style lang="scss" scoped> 
+<style lang="scss" scoped>
  .app-main{
    background-color: #fff !important;
 }
@@ -864,7 +864,7 @@ export default {
     border: 1px solid #fefefe;
 }
 .bj-divider .default-text {
-    border-left: 4px #13c2c2 solid;
+    border-left: 4px #409eff solid;
     padding-left: 16px;
     font-size: 18px
 }
@@ -926,4 +926,4 @@ export default {
 }
 
 
-</style>
+</style>