|
|
@@ -860,6 +860,21 @@
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="交强出口费用">
|
|
|
+ <el-input placeholder="请输入交强出口费用" v-model="policyNumberForm.JqExportFee" type="text"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="商业出口费用">
|
|
|
+ <el-input placeholder="请输入商业出口费用" v-model="policyNumberForm.syExportFee" type="text"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="非车出口费用">
|
|
|
+ <el-input placeholder="请输入非车出口费用" v-model="policyNumberForm.noExportFee" type="text"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -5943,6 +5958,31 @@ export default {
|
|
|
Payment(id, item) {
|
|
|
this.carcode(id, item);
|
|
|
},
|
|
|
+ // 获取出口费用
|
|
|
+ getExternalOrderFee(agreementId, riskList, kindList) {
|
|
|
+ let data = {
|
|
|
+ agreementId: agreementId,
|
|
|
+ risks: riskList,
|
|
|
+ kinds: kindList,
|
|
|
+ userId: this.userId,
|
|
|
+ jqPremium: this.policyNumberForm.jqpremium,
|
|
|
+ jqRadio: this.policyNumberForm.jqCostsProportion,
|
|
|
+ syPremium: this.policyNumberForm.sypremium,
|
|
|
+ syRadio: this.policyNumberForm.syCostsProportion,
|
|
|
+ jyPremium: this.policyNumberForm.jypremium,
|
|
|
+ jyRadio: this.policyNumberForm.noCostsProportion,
|
|
|
+ }
|
|
|
+ this.$api.letter.externalOrderFee(data).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.policyNumberForm.JqExportFee = res.data.JqExportFee
|
|
|
+ this.policyNumberForm.syExportFee = res.data.syExportFee
|
|
|
+ this.policyNumberForm.noExportFee = res.data.noExportFee
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg)
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ },
|
|
|
// 现询
|
|
|
getInquiryNowList(agreementId, riskList, kindList) {
|
|
|
let productId = ''
|
|
|
@@ -5986,6 +6026,7 @@ export default {
|
|
|
//选择协议 val:协议id row:协议列表 index:下标 item:保险公司数据集合
|
|
|
agreementChange(val, row, index, item) {
|
|
|
this.getInquiryNowList(val, this.riskList, this.kindList)
|
|
|
+ this.getExternalOrderFee(val, this.riskList, this.kindList)
|
|
|
this.kindListFun();
|
|
|
if (this.isLetter == "3") {
|
|
|
this.isLetter3agreementId = "";
|
|
|
@@ -6018,69 +6059,70 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- this.$api.letter
|
|
|
- .getDrivingInsuranceRule({
|
|
|
- companyCode: item.id,
|
|
|
- agreementId: item.agreementId,
|
|
|
- seatNum:
|
|
|
- item.namesimple == "永诚财险" || item.namesimple == "中煤财险"
|
|
|
- ? Number(this.carInfo.seatCount)
|
|
|
- : "",
|
|
|
- ruleUseNature: this.carInfo.carnature,
|
|
|
- ruleSeatNum: Number(this.carInfo.seatCount),
|
|
|
- risk: this.riskList,
|
|
|
- kind: this.kindList,
|
|
|
- ruleThirdPartyInsurance: this.insureList[1].amount,
|
|
|
-
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.nonVehicle(res.data, item.cnName);
|
|
|
- switch (item.namesimple) {
|
|
|
- case "永诚财险":
|
|
|
- this.yongchengaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "国任财险":
|
|
|
- this.guoRenaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "渤海财险":
|
|
|
- this.boHaiaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "中煤财险":
|
|
|
- this[item.cnName + +"InsuranceData"] = res.data;
|
|
|
- break;
|
|
|
- case "紫金财险":
|
|
|
- let data = res.data;
|
|
|
- data.map((ele) => {
|
|
|
- ele.quantity = 1;
|
|
|
- return ele;
|
|
|
- });
|
|
|
- this.ziJinInsuranceData = data;
|
|
|
- break;
|
|
|
- case "大家财险":
|
|
|
- this.dajiaInsuranceData = res.data;
|
|
|
- break;
|
|
|
- case "泰康财险":
|
|
|
- this.taikangaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "诚泰财险":
|
|
|
- case "中国人寿":
|
|
|
- case "恒邦财险":
|
|
|
- case "太平财险":
|
|
|
- case "安盛天平":
|
|
|
- case "华农财险":
|
|
|
- case "众安财险":
|
|
|
- res.data.map((ele) => {
|
|
|
- ele.quantity = 1;
|
|
|
- return ele;
|
|
|
- });
|
|
|
- this[item.cnName + "InsuranceData"] = res.data;
|
|
|
- break;
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.$message.error(res.msg);
|
|
|
- }
|
|
|
- });
|
|
|
+ // this.$api.letter
|
|
|
+ // .getDrivingInsuranceRule({
|
|
|
+ // companyCode: item.id,
|
|
|
+ // agreementId: item.agreementId,
|
|
|
+ // seatNum:
|
|
|
+ // item.namesimple == "永诚财险" || item.namesimple == "中煤财险"
|
|
|
+ // ? Number(this.carInfo.seatCount)
|
|
|
+ // : "",
|
|
|
+ // ruleUseNature: this.carInfo.carnature,
|
|
|
+ // ruleSeatNum: Number(this.carInfo.seatCount),
|
|
|
+ // risk: this.riskList,
|
|
|
+ // kind: this.kindList,
|
|
|
+ // ruleThirdPartyInsurance: this.insureList[1].amount,
|
|
|
+
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // this.nonVehicle(res.data, item.cnName);
|
|
|
+ // switch (item.namesimple) {
|
|
|
+ // case "永诚财险":
|
|
|
+ // this.yongchengaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "国任财险":
|
|
|
+ // this.guoRenaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "渤海财险":
|
|
|
+ // this.boHaiaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "中煤财险":
|
|
|
+ // this[item.cnName + +"InsuranceData"] = res.data;
|
|
|
+ // break;
|
|
|
+ // case "紫金财险":
|
|
|
+ // let data = res.data;
|
|
|
+ // data.map((ele) => {
|
|
|
+ // ele.quantity = 1;
|
|
|
+ // return ele;
|
|
|
+ // });
|
|
|
+ // this.ziJinInsuranceData = data;
|
|
|
+ // break;
|
|
|
+ // case "大家财险":
|
|
|
+ // this.dajiaInsuranceData = res.data;
|
|
|
+ // break;
|
|
|
+ // case "泰康财险":
|
|
|
+ // this.taikangaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "诚泰财险":
|
|
|
+ // case "中国人寿":
|
|
|
+ // case "恒邦财险":
|
|
|
+ // case "太平财险":
|
|
|
+ // case "安盛天平":
|
|
|
+ // case "华农财险":
|
|
|
+ // case "众安财险":
|
|
|
+ // res.data.map((ele) => {
|
|
|
+ // ele.quantity = 1;
|
|
|
+ // return ele;
|
|
|
+ // });
|
|
|
+ // this[item.cnName + "InsuranceData"] = res.data;
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // this.$message.error(res.msg);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+
|
|
|
// switch (item.namesimple) {
|
|
|
// case "永诚财险":
|
|
|
// this.accidentForm.agreementId = item.agreementId;
|
|
|
@@ -6449,84 +6491,84 @@ export default {
|
|
|
this.totalCompanyList[index].checked = e;
|
|
|
this.totalCompanyList[index].underwritingDescription =
|
|
|
this.totalCompanyList[index].agreement[0].underwritingDescription;
|
|
|
- if (this.$route.path != "/task/external/externalOrders")
|
|
|
- this.$api.letter
|
|
|
- .getDrivingInsuranceRule({
|
|
|
- agreementId: this.totalCompanyList[index].agreement[0].id,
|
|
|
- seatNum:
|
|
|
- ins == "永诚财险" || ins == "中煤财险"
|
|
|
- ? Number(this.carInfo.seatCount)
|
|
|
- : "",
|
|
|
- ruleUseNature: this.carInfo.carnature,
|
|
|
- ruleSeatNum: Number(this.carInfo.seatCount),
|
|
|
- risk: this.riskList,
|
|
|
- kind: this.kindList,
|
|
|
- ruleThirdPartyInsurance: this.insureList[1].amount,
|
|
|
- cimodelclass: ins == "平安财险"
|
|
|
- ? this.carInfo.cimodelclass
|
|
|
- : "",
|
|
|
- isUseCombine: ins == "平安财险"
|
|
|
- ? 'Y'
|
|
|
- : "",
|
|
|
- tonNumber: ins == "平安财险"
|
|
|
- ? this.carInfo.limitLoad
|
|
|
- : "",
|
|
|
- ownAttribute: ins == "平安财险"
|
|
|
- ? '03'
|
|
|
- : "",
|
|
|
- useAttribute: ins == "平安财险"
|
|
|
- ? this.carInfo.carnature
|
|
|
- : "",
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- switch (ins) {
|
|
|
- case "永诚财险":
|
|
|
- this.yongchengaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "国任财险":
|
|
|
- this.guoRenaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "泰康财险":
|
|
|
- this.taikangaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "渤海财险":
|
|
|
- this.boHaiaccidentDataList = res.data;
|
|
|
- break;
|
|
|
- case "中煤财险":
|
|
|
- case "平安财险":
|
|
|
- this[name + "InsuranceData"] = res.data;
|
|
|
- break;
|
|
|
- case "紫金财险":
|
|
|
- let data = res.data;
|
|
|
- data.map((ele) => {
|
|
|
- ele.quantity = 1;
|
|
|
- return ele;
|
|
|
- });
|
|
|
- this.ziJinInsuranceData = data;
|
|
|
- break;
|
|
|
- case "大家财险":
|
|
|
- this.dajiaInsuranceData = res.data;
|
|
|
- break;
|
|
|
- case "诚泰财险":
|
|
|
- case "中国人寿":
|
|
|
- case "恒邦财险":
|
|
|
- case "太平财险":
|
|
|
- case "华农财险":
|
|
|
- case "安盛天平":
|
|
|
- case "众安财险":
|
|
|
- res.data.map((ele) => {
|
|
|
- ele.quantity = 1;
|
|
|
- return ele;
|
|
|
- });
|
|
|
- this[name + "InsuranceData"] = res.data;
|
|
|
- break;
|
|
|
- }
|
|
|
- this.nonVehicle(res.data, name);
|
|
|
- } else {
|
|
|
- this.$message.error(res.msg);
|
|
|
- }
|
|
|
- });
|
|
|
+ // if (this.$route.path != "/task/external/externalOrders")
|
|
|
+ // this.$api.letter
|
|
|
+ // .getDrivingInsuranceRule({
|
|
|
+ // agreementId: this.totalCompanyList[index].agreement[0].id,
|
|
|
+ // seatNum:
|
|
|
+ // ins == "永诚财险" || ins == "中煤财险"
|
|
|
+ // ? Number(this.carInfo.seatCount)
|
|
|
+ // : "",
|
|
|
+ // ruleUseNature: this.carInfo.carnature,
|
|
|
+ // ruleSeatNum: Number(this.carInfo.seatCount),
|
|
|
+ // risk: this.riskList,
|
|
|
+ // kind: this.kindList,
|
|
|
+ // ruleThirdPartyInsurance: this.insureList[1].amount,
|
|
|
+ // cimodelclass: ins == "平安财险"
|
|
|
+ // ? this.carInfo.cimodelclass
|
|
|
+ // : "",
|
|
|
+ // isUseCombine: ins == "平安财险"
|
|
|
+ // ? 'Y'
|
|
|
+ // : "",
|
|
|
+ // tonNumber: ins == "平安财险"
|
|
|
+ // ? this.carInfo.limitLoad
|
|
|
+ // : "",
|
|
|
+ // ownAttribute: ins == "平安财险"
|
|
|
+ // ? '03'
|
|
|
+ // : "",
|
|
|
+ // useAttribute: ins == "平安财险"
|
|
|
+ // ? this.carInfo.carnature
|
|
|
+ // : "",
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // switch (ins) {
|
|
|
+ // case "永诚财险":
|
|
|
+ // this.yongchengaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "国任财险":
|
|
|
+ // this.guoRenaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "泰康财险":
|
|
|
+ // this.taikangaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "渤海财险":
|
|
|
+ // this.boHaiaccidentDataList = res.data;
|
|
|
+ // break;
|
|
|
+ // case "中煤财险":
|
|
|
+ // case "平安财险":
|
|
|
+ // this[name + "InsuranceData"] = res.data;
|
|
|
+ // break;
|
|
|
+ // case "紫金财险":
|
|
|
+ // let data = res.data;
|
|
|
+ // data.map((ele) => {
|
|
|
+ // ele.quantity = 1;
|
|
|
+ // return ele;
|
|
|
+ // });
|
|
|
+ // this.ziJinInsuranceData = data;
|
|
|
+ // break;
|
|
|
+ // case "大家财险":
|
|
|
+ // this.dajiaInsuranceData = res.data;
|
|
|
+ // break;
|
|
|
+ // case "诚泰财险":
|
|
|
+ // case "中国人寿":
|
|
|
+ // case "恒邦财险":
|
|
|
+ // case "太平财险":
|
|
|
+ // case "华农财险":
|
|
|
+ // case "安盛天平":
|
|
|
+ // case "众安财险":
|
|
|
+ // res.data.map((ele) => {
|
|
|
+ // ele.quantity = 1;
|
|
|
+ // return ele;
|
|
|
+ // });
|
|
|
+ // this[name + "InsuranceData"] = res.data;
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
+ // this.nonVehicle(res.data, name);
|
|
|
+ // } else {
|
|
|
+ // this.$message.error(res.msg);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
// switch (ins) {
|
|
|
// case "永诚财险":
|
|
|
// this.accidentForm.agreementId = this.totalCompanyList[
|
|
|
@@ -6658,7 +6700,7 @@ export default {
|
|
|
// default:
|
|
|
// break;
|
|
|
// }
|
|
|
- } else {
|
|
|
+ // } else {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -7251,6 +7293,7 @@ export default {
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
isExternal: "1",
|
|
|
vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
|
|
|
+ nowCostsId: this.nowCostsId
|
|
|
};
|
|
|
|
|
|
// debugger;
|