|
|
@@ -1396,8 +1396,8 @@ agreementitem, agreementindex
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card-table" v-show="reslistitem.cnName == 'yangguang'
|
|
|
- // || reslistitem.cnName == 'taishan'
|
|
|
- ">
|
|
|
+ // || reslistitem.cnName == 'taishan'
|
|
|
+ ">
|
|
|
<div class="table-title">其他</div>
|
|
|
<div style="margin-bottom: 10px;">自主定价系数:
|
|
|
<el-input v-model="reslistitem.result.pricingCoefficient" size="mini" class="coefficient" placeholder="请输入"></el-input>
|
|
|
@@ -1410,6 +1410,14 @@ agreementitem, agreementindex
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
+ <div class="card-table" v-show="reslistitem.cnName == 'renshou'
|
|
|
+ // || reslistitem.cnName == 'taishan'
|
|
|
+ ">
|
|
|
+ <div class="table-title">其他</div>
|
|
|
+ <div style="margin-bottom: 10px;">自主定价系数:
|
|
|
+ <el-input v-model="reslistitem.discount" size="mini" class="coefficient" placeholder="请输入"></el-input>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="card-table flex a-c j-s" v-show="reslistitem.cnName == 'chengtai'">
|
|
|
<div class="table-title">其他</div>
|
|
|
<div class="flex f-wrap a-c ">
|
|
|
@@ -3263,12 +3271,12 @@ agreementitem, agreementindex
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
- <div v-if="isLetter == '1'" class="flex j-c a-c footer" :class="$store.state.app.collapse ? 'position-collapse-left' : 'position-left'
|
|
|
+ <div v-if="isLetter == '1' || isLetter == '2'" class="flex j-c a-c footer" :class="$store.state.app.collapse ? 'position-collapse-left' : 'position-left'
|
|
|
">
|
|
|
<el-button size="small" @click="add()">录下一单</el-button>
|
|
|
<el-button type="primary" :loading="calculateLoading" size="small" @click="quote1()">保费计算</el-button>
|
|
|
</div>
|
|
|
- <div v-if="isLetter == '2'" style="text-align: center">
|
|
|
+ <div v-else style="text-align: center">
|
|
|
<el-button type="primary" :loading="calculateLoading" size="small" @click="quote1()">保费计算</el-button>
|
|
|
</div>
|
|
|
<div class="Anchor-link flex f-c j-s a-c" v-if="isLetter == '1'">
|
|
|
@@ -6579,6 +6587,7 @@ export default {
|
|
|
data.insAreaCompanyEditingDtos.forEach(ele => {
|
|
|
if (val.namesimple == ele.inscompany) {
|
|
|
if (ele.inscompany == "中国人寿" && ele.companyId) {
|
|
|
+ res.data[index].discount = ele.discount
|
|
|
this.lastCompanyId = ele.companyId;
|
|
|
}
|
|
|
res.data[index].quoteCode = 200;
|
|
|
@@ -6849,6 +6858,8 @@ export default {
|
|
|
// 获取方案信息
|
|
|
getCompanyProgramme(e, code, name, index) {
|
|
|
this.totalCompanyList[index].checked = false;
|
|
|
+ console.log(e, code, name, index)
|
|
|
+ console.log('this.totalCompanyList[index]', this.totalCompanyList[index])
|
|
|
this.$api.letter
|
|
|
.getAllSchemeList({
|
|
|
companyId: code,
|
|
|
@@ -6869,6 +6880,11 @@ export default {
|
|
|
this.checkedPopover(index, 99);
|
|
|
}
|
|
|
this.totalCompanyList[index].checked = true;
|
|
|
+ if(name == 'yongan') {
|
|
|
+ if(this.totalCompanyList[index].programme.kinds.main.find(item => item.kindCode == 'A')) {
|
|
|
+ this.totalCompanyList[index].result.carChecker = 1
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -11119,6 +11135,7 @@ export default {
|
|
|
if(namesimple == "恒邦财险") {
|
|
|
params.coefficient = this.totalCompanyList[num].coefficient
|
|
|
}
|
|
|
+ console.log('this.totalCompanyList[num]', this.totalCompanyList[num])
|
|
|
if (namesimple == "中国人寿" && this.lastCompanyId) {
|
|
|
params.discount = this.totalCompanyList[num].discount;
|
|
|
params.lastCompanyId = this.lastCompanyId;
|
|
|
@@ -13941,6 +13958,11 @@ export default {
|
|
|
// this.obtainProtocol();
|
|
|
if (this.isLetter == "1") {
|
|
|
this.$router.push({ path: "/letter/letter" });
|
|
|
+ } else if(this.isLetter == '2') {
|
|
|
+ let url = this.$router.resolve({
|
|
|
+ path: '/task/daiKeLetter'
|
|
|
+ })
|
|
|
+ window.open(url.href, '_blank')
|
|
|
}
|
|
|
for (let key in this.ownerInfo) {
|
|
|
this.ownerInfo[key] = "";
|