|
|
@@ -1412,10 +1412,17 @@ agreementitem, agreementindex
|
|
|
<div class="flex a-c mrgin-5">
|
|
|
<span style="margin-right: 5px;">期望折扣:</span>
|
|
|
<el-input v-model="reslistitem.result.expectedDiscount" size="mini" class="coefficient"
|
|
|
- placeholder="请输入"></el-input>
|
|
|
+ placeholder="请输入"></el-input>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="card-table flex a-c j-s" v-show="reslistitem.cnName == 'renbao'">
|
|
|
+ <div class="flex a-c mrgin-5">
|
|
|
+ <span style="margin-right: 5px;">车险保额折扣:</span>
|
|
|
+ <el-input v-model="reslistitem.result.priceCoefficient" size="mini" class="coefficient"
|
|
|
+ placeholder="请输入"></el-input>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<!-- 服务明细 -->
|
|
|
@@ -9781,6 +9788,7 @@ export default {
|
|
|
},
|
|
|
//订单生成前数据处理事件
|
|
|
OrderStageProcessing(index) {
|
|
|
+
|
|
|
if (this.tbczcarShow && this.imageList2.length > 0) {
|
|
|
//投保人同车主
|
|
|
this.imageList3 = JSON.parse(JSON.stringify(this.imageList2));
|
|
|
@@ -10422,7 +10430,7 @@ export default {
|
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
kinds: this.totalCompanyList[num].kindList || [],
|
|
|
- risks: this.riskList || []
|
|
|
+ risks: this.riskList || [],
|
|
|
};
|
|
|
this.$api.letter[api](params).then(res => {
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
@@ -11007,6 +11015,7 @@ export default {
|
|
|
|
|
|
// 爬虫对接
|
|
|
quoteInsurance(num, id, namesimple, apiType) {
|
|
|
+ console.log(123123123123, this.totalCompanyList[num])
|
|
|
let api = apiType == 2 ? "pythonquote" : "";
|
|
|
if (namesimple == "诚泰财险") {
|
|
|
api = "pythonquote";
|
|
|
@@ -11026,7 +11035,6 @@ export default {
|
|
|
kinds: this.totalCompanyList[num].kindList || [],
|
|
|
risks: this.riskList || [],
|
|
|
productId: this.productId,
|
|
|
- // coefficient:this.totalCompanyList[num].coefficient,
|
|
|
};
|
|
|
if (namesimple == "中国人寿" && this.lastCompanyId) {
|
|
|
params.discount = this.totalCompanyList[num].discount;
|
|
|
@@ -11043,6 +11051,9 @@ export default {
|
|
|
params.discount = this.totalCompanyList[num].result.expectedDiscount;
|
|
|
params.coefficient = this.totalCompanyList[num].result.pricingCoefficient;
|
|
|
}
|
|
|
+ if(namesimple == '人保财险') {
|
|
|
+ params.priceCoefficient = this.totalCompanyList[num].result.priceCoefficient
|
|
|
+ }
|
|
|
this.$api.letter[api](params).then(res => {
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
switch (namesimple) {
|