Jelajahi Sumber

泰康甲乙bug

@dongkboy 2 tahun lalu
induk
melakukan
913796e60f
2 mengubah file dengan 21 tambahan dan 14 penghapusan
  1. 2 2
      config/dev.env.js
  2. 19 12
      src/views/Task/daikeComponents/KtLetter.vue

+ 2 - 2
config/dev.env.js

@@ -6,7 +6,7 @@ module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG: '"dev"',
   // BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
-  // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"',//正式服务器
+  BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"',//正式服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"', //凯森
   // BASE_URL: '"http://192.168.0.106:8080/"',//屈晨
@@ -18,7 +18,7 @@ module.exports = merge(prodEnv, {
   // BASE_URL: '"http://192.168.0.250:8080/"',//
   // BASE_URL: '"http:///192.168.0.103:8080/"',//霍续亮
   // BASE_URL: '"http://192.168.0.52:8080/"',//贺礼霄
-  BASE_URL: '"http:///192.168.0.55:8080/"',// 董鑫
+  // BASE_URL: '"http:///192.168.0.55:8080/"',// 董鑫
   CONSOLE_BASE_URL: '"http://localhost:8080/"', //控制台测试服务器
   // CONSOLE_BASE_URL: '"https://test.baoxianzhanggui.com/console-api"' //控制台正式服务器
   APP_BASE_URL: '"https://pre.baoxianzhanggui.com/web-api"',    // app打包上传地址

+ 19 - 12
src/views/Task/daikeComponents/KtLetter.vue

@@ -1113,8 +1113,9 @@
                   <span style="color: #d42426; font-weight: bold">
                     ¥{{ reslistitem.result.sumPermium }}
                   </span>
-                  <span style="font-size: 13px; color: #2d4d89" class="m-top-5">{{reslistitem.result.feeView?'总科技币:':'优惠:'}}{{ reslistitem.result.sumExportFee
-                  }}</span>
+                  <span style="font-size: 13px; color: #2d4d89"
+                    class="m-top-5">{{ reslistitem.result.feeView ? '总科技币:' : '优惠:' }}{{ reslistitem.result.sumExportFee
+                    }}</span>
                 </div>
               </el-col>
               <el-col :span="3" v-show="reslistitem.quoteCode == '200'">
@@ -1122,8 +1123,9 @@
                   <span style="color: #d42426; font-weight: bold">
                     ¥{{ reslistitem.result.jqPremium }}
                   </span>
-                  <span v-if="reslistitem.result.jqPremium" style="font-size: 13px; color: #2d4d89" class="m-top-5">{{reslistitem.result.feeView?'掌柜科技币:':'优惠:'}}{{
-                    reslistitem.result.jqExportFee }}</span>
+                  <span v-if="reslistitem.result.jqPremium" style="font-size: 13px; color: #2d4d89"
+                    class="m-top-5">{{ reslistitem.result.feeView ? '掌柜科技币:' : '优惠:' }}{{
+                      reslistitem.result.jqExportFee }}</span>
                 </div>
               </el-col>
               <el-col :span="3" v-show="reslistitem.quoteCode == '200'">
@@ -1136,8 +1138,9 @@
                   <span style="color: #d42426; font-weight: bold">
                     ¥{{ reslistitem.result.syPremium }}
                   </span>
-                  <span v-if="reslistitem.result.syPremium" style="font-size: 13px; color: #2d4d89" class="m-top-5">{{reslistitem.result.feeView?'掌柜科技币:':'优惠:'}}{{
-                    reslistitem.result.syExportFee }}</span>
+                  <span v-if="reslistitem.result.syPremium" style="font-size: 13px; color: #2d4d89"
+                    class="m-top-5">{{ reslistitem.result.feeView ? '掌柜科技币:' : '优惠:' }}{{
+                      reslistitem.result.syExportFee }}</span>
                 </div>
               </el-col>
               <el-col :span="2" v-if="reslistitem.quoteCode == '200'" style="">
@@ -1149,8 +1152,9 @@
                       : "无"
                     }}
                   </span>
-                  <span v-if="reslistitem.result.jyPremium" style="font-size: 13px; color: #2d4d89" class="m-top-5">{{reslistitem.result.feeView?'掌柜科技币:':'优惠:'}}{{
-                    reslistitem.result.noExportFee }}</span>
+                  <span v-if="reslistitem.result.jyPremium" style="font-size: 13px; color: #2d4d89"
+                    class="m-top-5">{{ reslistitem.result.feeView ? '掌柜科技币:' : '优惠:' }}{{
+                      reslistitem.result.noExportFee }}</span>
                 </div>
               </el-col>
               <el-col :span="24" v-show="reslistitem.quoteCode == '200' &&
@@ -1729,8 +1733,8 @@
                   </el-select>
                   <div class="flex a-c" style="margin-right:15px;">
                     份数:
-                    <el-input-number size="small" v-model="chengtaiaccidentalDrivingVo.quantity" :min="1" :max="1" controls-position="right"
-                    ></el-input-number>
+                    <el-input-number size="small" v-model="chengtaiaccidentalDrivingVo.quantity" :min="1" :max="1"
+                      controls-position="right"></el-input-number>
                     <span style="margin-left: 5px;">份</span>
                   </div>
                   保费:
@@ -3171,7 +3175,7 @@
         <el-button size="small" type="primary" @click="uploadinformation">上传资料</el-button>
       </span>
     </el-dialog>
-    <floatingBar/>
+    <floatingBar />
   </div>
 </template>
 <script>
@@ -5435,7 +5439,7 @@ export default {
       this.taikangInsuranceDataTable = this.taikangaccidentDataList.find(
         (val) => val.projectCode == index
       ).son;
-      this.accidentPremiumTk = this.accidentFormTk.premium;
+      this.accidentPremiumTk = this.accidentFormTk.sumPremium;
     },
     anshengInsuranceChange(index) {
       this.anshengtemplateSelection = index;
@@ -6483,6 +6487,9 @@ export default {
                   case "国任财险":
                     this.guoRenaccidentDataList = res.data;
                     break;
+                  case "泰康财险":
+                    this.taikangaccidentDataList = res.data;
+                    break;
                   case "渤海财险":
                     this.boHaiaccidentDataList = res.data;
                     break;