master
e 3 years ago
parent d6ba626e10
commit bf152bb0fd
  1. 14
      src/components/page/afterLoan/afterInsurance.vue
  2. 1
      src/components/page/afterLoan/collection.vue
  3. 7
      src/components/page/afterLoan/complete.vue
  4. 4
      src/utils/http.js

@ -346,7 +346,7 @@
</div> </div>
<div class="df" style="margin-top:23px"> <div class="df" style="margin-top:23px">
<span style="margin-right:20px">2资产</span> <span style="margin-right:20px">2资产</span>
<el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentAssetsName" placeholder="请输入资产名称"></el-input> <el-input style="width:40%;min-width:250px;" @blur="assetChange($event,'资产')" v-model="repaymentForm.repaymentAssetsName" placeholder="请输入资产名称"></el-input>
<el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentAssetsName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentAssetsAmount" placeholder="请输入金额"> <el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentAssetsName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentAssetsAmount" placeholder="请输入金额">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentAssetsAmount)}}</i> <i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentAssetsAmount)}}</i>
</el-input> </el-input>
@ -354,7 +354,7 @@
</div> </div>
<div class="df" style="margin-top:23px"> <div class="df" style="margin-top:23px">
<span style="margin-right:20px">3其他</span> <span style="margin-right:20px">3其他</span>
<el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentOtherName" placeholder="请输入其他方式"></el-input> <el-input style="width:40%;min-width:250px;" @blur="assetChange" v-model="repaymentForm.repaymentOtherName" placeholder="请输入其他方式"></el-input>
<el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentOtherName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentOtherAmount" placeholder="请输入金额"> <el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentOtherName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentOtherAmount" placeholder="请输入金额">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentOtherAmount)}}</i> <i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentOtherAmount)}}</i>
</el-input> </el-input>
@ -1882,6 +1882,16 @@ export default {
return chineseValue; return chineseValue;
}, },
assetChange(val,str){ //
console.log(val,'值');
if(!val.target.value){
if(str=='资产'){
this.$set(this.repaymentForm, 'repaymentAssetsAmount', '');
}else{
this.$set(this.repaymentForm, 'repaymentOtherAmount', '');
}
}
}

@ -763,6 +763,7 @@
let exportIds = this.insMultipleSelection.map(e => e.id).join() let exportIds = this.insMultipleSelection.map(e => e.id).join()
let url = `${excelCollection}?insuranceIds=${exportIds}` let url = `${excelCollection}?insuranceIds=${exportIds}`
window.location.href = url window.location.href = url
// console.log(exportIds,url,'')
// }else{ // }else{
// this.$message.error(' '); // this.$message.error(' ');
// } // }

@ -170,12 +170,9 @@
<el-table-column prop="remark" label="备注" align="center" width="200px"> <el-table-column prop="remark" label="备注" align="center" width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="backTime static multi-box" v-for="(item, index) in scope.row.description" :key="index"> <div class="backTime static multi-box" v-for="(item, index) in scope.row.description" :key="index">
<el-tooltip v-if="item.description&&item.description!='-'&&scope.row.description!=' '" class="item" effect="dark" :content="item.description" placement="top"> <el-tooltip class="item" effect="dark" :content="item.description" placement="top">
<el-input :disabled="!scope.row.edit" v-model="item.description"></el-input> <el-input :disabled="!scope.row.edit" v-model="item.description"></el-input>
</el-tooltip> </el-tooltip>
<div v-else>
-
</div>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>

@ -5,9 +5,9 @@ import { Message } from 'element-ui'
import router from '../router/index' import router from '../router/index'
// 服务器的切换 // 服务器的切换
// export const Url = 'https://test.feifanhitech.com'// 测试服务器地址 export const Url = 'https://test.feifanhitech.com'// 测试服务器地址
// export const Url = 'https://www.feifanhitech.com';// 非凡(正式服) // export const Url = 'https://www.feifanhitech.com';// 非凡(正式服)
export const Url = 'http://192.168.31.137:8080';//陈赓 // export const Url = 'http://192.168.31.137:8080';//陈赓
axios.defaults.baseURL = Url; axios.defaults.baseURL = Url;
const baseurl = Url const baseurl = Url
// 请求超时时间 // 请求超时时间

Loading…
Cancel
Save