Răsfoiți Sursa

报价也没税源控制

lihongxiao 2 ani în urmă
părinte
comite
771dad30ad
2 a modificat fișierele cu 17 adăugiri și 19 ștergeri
  1. 2 2
      config/dev.env.js
  2. 15 17
      src/views/Letter/Letter.vue

+ 2 - 2
config/dev.env.js

@@ -6,9 +6,9 @@ module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
   // BASE_URL: '"http://39.98.239.48/web-api"',//测试服务器
-  BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
+  // BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
-  // BASE_URL: '"http:///192.168.0.253:8082/"',//田智
+  BASE_URL: '"http:///192.168.0.253:8082/"',//田智
   // BASE_URL: '"http:///192.168.0.36:8080/"',//靖燕龙
 })
 

+ 15 - 17
src/views/Letter/Letter.vue

@@ -151,7 +151,7 @@
         <el-row style="flex-wrap: wrap; display: flex;">
           <el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
             <el-form-item label="车牌:" :prop="licenseplate ? 'licenseNo' : ''">
-              <el-input v-model="carInfo.licenseNo" placeholder="请输入车牌号" :disabled="!licenseplate" @change="licenseNoFun"></el-input>
+              <el-input v-model="carInfo.licenseNo" placeholder="请输入车牌号" :disabled="!licenseplate" ></el-input>
             </el-form-item>
           </el-col>
           <el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
@@ -222,7 +222,7 @@
           </el-col>
           <el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
             <el-form-item label="排量:" prop="enginedesc">
-              <el-input v-model="carInfo.enginedesc" placeholder="请输入排量" @change="enginedescFun">
+              <el-input v-model="carInfo.enginedesc" placeholder="请输入排量" >
                 <el-button slot="append">升(L)</el-button>
               </el-input>
             </el-form-item>
@@ -4804,7 +4804,8 @@ export default {
       import("element-ui/packages/image/src/image-viewer")
   },
   created() {
-    this.commpanyList(); //获取保险公司
+    // this.commpanyList(); //获取保险公司
+    this.obtainProtocol()
     this.getDicType("taxRelifFlag");//车船税类型
     this.getDicType("taxpayerIdentifier");//纳税人证件类型
     this.getDicType("relifReason");//减免税原因代码
@@ -4871,7 +4872,6 @@ export default {
       _this.ownerInfo.age = getAgeByIdCard(_this.ownerInfo.identifyNumber)
       _this.policyHolderInfo.age = getAgeByIdCard(_this.policyHolderInfo.identifyNumber)
       _this.insuredPersonInfo.age = getAgeByIdCard(_this.insuredPersonInfo.identifyNumber)
-      // this.obtainProtocol()
       // const ownerInfoObject = {
       //   province: _this.ownerInfo.province,
       //   city: _this.ownerInfo.city,
@@ -4981,16 +4981,16 @@ export default {
     }
   },
   methods: {
-    licenseNoFun(data){
-      if(data && this.carInfo.enginedesc){
-        this.obtainProtocol()
-      }
-    },
-    enginedescFun(data){
-      if(data && this.carInfo.licenseNo){
-        this.obtainProtocol()
-      }
-    },
+    // licenseNoFun(data){
+    //   if(data && this.carInfo.enginedesc){
+    //     this.obtainProtocol()
+    //   }
+    // },
+    // enginedescFun(data){
+    //   if(data && this.carInfo.licenseNo){
+    //     this.obtainProtocol()
+    //   }
+    // },
     packageChange(val){
       let arr=this.packageOptions.find(ele=>ele.id==val).kind
       if(arr.length>0){
@@ -5504,7 +5504,7 @@ else{
       });
     },
     obtainProtocol(){
-      this.$api.letter.getAllAgreement({ license:this.carInfo.licenseNo,volume:this.carInfo.enginedesc }).then(res => {
+      this.$api.letter.getAllAgreement().then(res => {
         if(res.code==200){
           res.data.map(ele => {
           ele["result"] = {};
@@ -7863,7 +7863,6 @@ else{
       this.carInfo.powerScale = row.powerScale; //功率
       this.chexingdialogVisible = false;
       this.sbdmdialogVisible=false
-      this.obtainProtocol()
     },
     //是否过户事件
     transferFlagChange(e) {
@@ -8689,7 +8688,6 @@ else{
       this.jqendDate = this.oneYearPast1(this.jqstartDate);
       this.systartDate = this.transformTime1();
       this.syendDate = this.oneYearPast1(this.jqstartDate);
-      // this.obtainProtocol()
 
     },
     toChinesNum(num) {