|
|
@@ -892,9 +892,12 @@
|
|
|
<el-col :span="2" style="margin: 0 42px 0 35px">
|
|
|
<span>保险公司</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ <el-col :span="4">
|
|
|
<span>报价协议</span>
|
|
|
</el-col>
|
|
|
+ <el-col :span="3" v-if="isLetter == '3'" style="margin-right: 20px;">
|
|
|
+ <span>现询协议</span>
|
|
|
+ </el-col>
|
|
|
<el-col :span="3" v-if="isLetter !== '3'">
|
|
|
<span>报价结果</span>
|
|
|
</el-col>
|
|
|
@@ -935,7 +938,7 @@
|
|
|
" />
|
|
|
<span>{{ reslistitem.namesimple }}</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ <el-col :span="4">
|
|
|
<el-select size="small" v-if="reslistitem.isTaxSource && reslistitem.isTaxSource == '1'
|
|
|
" :disabled="true" placeholder="默认" style="width: 230px" v-model="isTaxSourceModel"
|
|
|
:clearable="true"></el-select>
|
|
|
@@ -970,6 +973,11 @@
|
|
|
</div>
|
|
|
</el-select>
|
|
|
</el-col>
|
|
|
+ <el-col :span="3" style="margin-right: 20px;">
|
|
|
+ <el-select :disabled="!reslistitem.checked" size="small" v-model="reslistitem.isInquiryNow" @change="inquiryNowListChange">
|
|
|
+ <el-option v-for="(item, index) in inquiryNowList" :key="index" :label="item.costsDescription" :value="item.id"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-col>
|
|
|
<el-col :span="3">
|
|
|
<span style="color: #d42426; font-weight: bold">
|
|
|
{{
|
|
|
@@ -1359,7 +1367,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label=" ">
|
|
|
<el-select clearable v-model="guoRenaccidentForm.prodCode" @change="grcxchangeChild">
|
|
|
- <el-option v-for="(item, index) in guoRenaccidentDataListChild" :key="item.projectCode"
|
|
|
+ <el-option v-for="(item) in guoRenaccidentDataListChild" :key="item.projectCode"
|
|
|
:label="item.projectName" :value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -1455,7 +1463,7 @@
|
|
|
:value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
<el-select clearable v-model="dajiaaccidentForm.projectCode" @change="djcxchangeChild">
|
|
|
- <el-option v-for="(item, index) in dajiaaccidentDataListChild" :key="item.projectCode"
|
|
|
+ <el-option v-for="(item) in dajiaaccidentDataListChild" :key="item.projectCode"
|
|
|
:label="item.projectName" :value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
@@ -1535,7 +1543,7 @@
|
|
|
" />
|
|
|
<span>{{ reslistitem.namesimple }}</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ <el-col :span="4">
|
|
|
<el-select size="small" v-if="reslistitem.isTaxSource && reslistitem.isTaxSource == '1'
|
|
|
" :disabled="true" placeholder="默认" style="width: 230px" v-model="isTaxSourceModel"
|
|
|
:clearable="true"></el-select>
|
|
|
@@ -1570,6 +1578,11 @@
|
|
|
</div>
|
|
|
</el-select>
|
|
|
</el-col>
|
|
|
+ <!-- <el-col :span="3" style="margin-right: 20px;">
|
|
|
+ <el-select :disabled="!reslistitem.checked" size="small" v-model="reslistitem.isInquiryNow" @change="inquiryNowListChange">
|
|
|
+ <el-option v-for="(item, index) in inquiryNowList" :key="index" :label="item.costsDescription" :value="item.id"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-col> -->
|
|
|
<el-col :span="3">
|
|
|
<div v-show="reslistitem.quoteCode == '0'">
|
|
|
<span>未报价</span>
|
|
|
@@ -2216,7 +2229,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label=" ">
|
|
|
<el-select clearable v-model="guoRenaccidentForm.prodCode" @change="grcxchangeChild">
|
|
|
- <el-option v-for="(item, index) in guoRenaccidentDataListChild" :key="item.projectCode"
|
|
|
+ <el-option v-for="(item) in guoRenaccidentDataListChild" :key="item.projectCode"
|
|
|
:label="item.projectName" :value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -2313,7 +2326,7 @@
|
|
|
</el-select>
|
|
|
<el-select size="small" style="width: 250px" clearable v-model="dajiaaccidentForm.projectCode"
|
|
|
@change="djcxchangeChild">
|
|
|
- <el-option v-for="(item, index) in dajiaaccidentDataListChild" :key="item.projectCode"
|
|
|
+ <el-option v-for="(item) in dajiaaccidentDataListChild" :key="item.projectCode"
|
|
|
:label="item.projectName" :value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
@@ -3289,6 +3302,7 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
return {
|
|
|
+ inquiryNowList: [], // 现询列表
|
|
|
taikangtemplateSelection: [], // 泰康
|
|
|
taikangInsuranceDataTable: [],
|
|
|
taikangaccidentDataList: [],
|
|
|
@@ -5754,8 +5768,39 @@ export default {
|
|
|
Payment(id, item) {
|
|
|
this.carcode(id, item);
|
|
|
},
|
|
|
+ // 现询
|
|
|
+ getInquiryNowList(agreementId, riskList, kindList) {
|
|
|
+ let productId = ''
|
|
|
+ this.inquiryNowList = []
|
|
|
+ this.$api.letter.getProductId({
|
|
|
+ riskList: riskList,
|
|
|
+ kindList: kindList
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ productId = res.data
|
|
|
+ this.$api.letter.getInquiryNowFee({
|
|
|
+ agreementId: agreementId,
|
|
|
+ productId: productId
|
|
|
+ }).then((resp) => {
|
|
|
+ if (resp.code == 200) {
|
|
|
+ this.inquiryNowList = resp.data
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ inquiryNowListChange(data) {
|
|
|
+ this.inquiryNowList.forEach((val) => {
|
|
|
+ if (val.id == data) {
|
|
|
+ this.policyNumberForm.jqCostsProportion = val.jqCostsProportion
|
|
|
+ this.policyNumberForm.noCostsProportion = val.noCostsProportion
|
|
|
+ this.policyNumberForm.syCostsProportion = val.syCostsProportion
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
//选择协议 val:协议id row:协议列表 index:下标 item:保险公司数据集合
|
|
|
agreementChange(val, row, index, item) {
|
|
|
+ this.getInquiryNowList(val, this.riskList, this.kindList)
|
|
|
this.kindListFun();
|
|
|
if (this.isLetter == "3") {
|
|
|
this.isLetter3agreementId = "";
|