|
|
@@ -2113,9 +2113,9 @@
|
|
|
<el-button size="small" type="primary" @click="renewalCodeconfirm">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <el-dialog :title="contributingState?'选择特约':'提交核保'" :visible.sync="hbsubmitdialogVisible" width="1200px">
|
|
|
+ <el-dialog title="提交核保" :visible.sync="hbsubmitdialogVisible" width="1200px">
|
|
|
<div style="margin-bottom: 20px;font-weight: bold;">特约选择</div>
|
|
|
- <el-table size="small" :data="zijinengageListData" border v-loading="contributingLoading" @select="zijinengageChange"
|
|
|
+ <el-table size="small" :data="zijinengageListData" border v-loading="accidentLoading" @select="zijinengageChange"
|
|
|
ref="expandTable" highlight-current-row @cell-dblclick="zijincellDblclick" :cell-class-name="tableCellClassName"
|
|
|
:header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#ee7000' }">
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
@@ -2131,9 +2131,7 @@
|
|
|
</el-table>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="small" @click="hbsubmitdialogVisible = false">取 消</el-button>
|
|
|
- <el-button v-if="contributingState" size="small" type="warning" @click="hbsubmitdialogVisible=false">确定</el-button>
|
|
|
- <el-button v-else size="small" type="warning" @click="hbsubmit">提交核保</el-button>
|
|
|
-
|
|
|
+ <el-button size="small" type="warning" @click="hbsubmit">提交核保</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<el-image-viewer v-if="showViewer" :on-close="closeViewer" :z-index="9999" :url-list="[ProViewImg]" />
|
|
|
@@ -2245,7 +2243,6 @@ export default {
|
|
|
accidenttableData: [],
|
|
|
accidentLoading: false,
|
|
|
guoRenaccidentLoading: false,
|
|
|
- contributingLoading:false,
|
|
|
guoRenaccidentPremium:'',
|
|
|
guoRenaccidentForm: {
|
|
|
quantity: "1",
|
|
|
@@ -2253,7 +2250,6 @@ export default {
|
|
|
}, //国任意外险内容
|
|
|
accidentPremium: "",
|
|
|
accidentPremiumGr:'',
|
|
|
- contributingState:false, //是否为国任特约
|
|
|
pickerOptions: {
|
|
|
disabledDate(time) {
|
|
|
//若选择的日期小于当前日期(包含今天)
|
|
|
@@ -3443,6 +3439,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+
|
|
|
//--订单编辑回显--
|
|
|
this.paramsEdit = this.$route.query.data; //接收参数
|
|
|
if (this.paramsEdit) {
|
|
|
@@ -3452,6 +3449,7 @@ export default {
|
|
|
this.bbtbcarShow = false;
|
|
|
this.bbczcarShow = false;
|
|
|
const { carinfo, ownerinfo, applyinfo, insureinfo, quoteno, orderno } = _this.paramsEdit;
|
|
|
+
|
|
|
_this.carInfo = carinfo;
|
|
|
if( _this.carInfo.carnature=="8A"){
|
|
|
_this.carInfo.carnature='02'
|
|
|
@@ -4109,22 +4107,6 @@ export default {
|
|
|
ZADrivingRadio(row){
|
|
|
this.ZADrivingChange(row)
|
|
|
},
|
|
|
- // 国任特约选择
|
|
|
- contributingGuoRen(id){
|
|
|
- this.zijinengageListData = [];
|
|
|
- this.contributingLoading=true
|
|
|
- this.contributingState=true
|
|
|
- this.hbsubmitdialogVisible=true
|
|
|
- this.$api.letter.guorenqueryClauseData
|
|
|
- ({ agreementId: id }).then(res => {
|
|
|
- this.contributingLoading=false
|
|
|
- res.data.forEach(val=>{
|
|
|
- val.clauseName=val.clauses
|
|
|
- val.clauseContent=val.clausesContext
|
|
|
- })
|
|
|
- this.zijinengageListData = res.data;
|
|
|
- });
|
|
|
- },
|
|
|
//紫金特约选择
|
|
|
zijinengageChange(select, row) {
|
|
|
this.zijinengageList = [];
|
|
|
@@ -4387,6 +4369,7 @@ export default {
|
|
|
this.$message({ message: "发证日期早于初登日期", type: "error" });
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
this.$refs["carInfo"].validate(valid => {
|
|
|
if (valid) {
|
|
|
var _this = this;
|
|
|
@@ -5127,16 +5110,6 @@ export default {
|
|
|
},
|
|
|
//国任报价
|
|
|
guoRen(num, id) {
|
|
|
- let guoRenSpecialAgreementVo=[]
|
|
|
- this.zijinengageList.forEach(val=>{
|
|
|
- guoRenSpecialAgreementVo.push({
|
|
|
- clauses:val.clauseName,
|
|
|
- clausesContext:val.clauses,
|
|
|
- clauseCode:val.clauseCode,
|
|
|
- riskCode:val.riskCode,
|
|
|
- riskName:val.riskName,
|
|
|
- })
|
|
|
- })
|
|
|
let accidentalDrivingVo = {};
|
|
|
if ( this.guoRenaccidentForm.goodsCode) {
|
|
|
accidentalDrivingVo = {
|
|
|
@@ -5152,9 +5125,9 @@ export default {
|
|
|
renewalCodeJq: this.renewalCodeJq,
|
|
|
renewalCodeSy: this.renewalCodeSy,
|
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
|
- guoRenSpecialAgreementVo
|
|
|
};
|
|
|
this.$api.letter.guorenquote(params).then(res => {
|
|
|
+
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
|
|
|
this.totalCompanyList[num].quoteCode = "4";
|
|
|
@@ -5524,7 +5497,6 @@ export default {
|
|
|
this.companyId = data.result.companyId;
|
|
|
this.apiType = data.apiType;
|
|
|
this.hbsubmitdialogVisible = true;
|
|
|
- this.contributingState=false
|
|
|
if(data.namesimple=='紫金财险'){
|
|
|
this.$api.letter.zijinqueryClauseData({ companyId: this.companyId }).then(res => {
|
|
|
this.zijinengageListData = res.data;
|
|
|
@@ -5557,7 +5529,6 @@ export default {
|
|
|
},
|
|
|
hbsubmit() {
|
|
|
this.hbsubmitdialogVisible = false;
|
|
|
- this.contributingState=false
|
|
|
this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(async res => {
|
|
|
if (res.code == 200) {
|
|
|
var data = res.data;
|