|
|
@@ -701,7 +701,7 @@
|
|
|
<span style="margin-left:10px;">外部订单</span>
|
|
|
</div>
|
|
|
<div class="flex j-c a-c">
|
|
|
- <el-button v-show="policyNumberForm.jqpolicyno || policyNumberForm.sypolicyno" size="small" type="primary"
|
|
|
+ <el-button v-show="policyNumberForm.jqpolicyno || policyNumberForm.sypolicyno ||policyNumberForm.jypolicyno" size="small" type="primary"
|
|
|
@click="policyUpload()">
|
|
|
<i class="el-icon-camera-solid" style="margin-right:4px;"></i>
|
|
|
保单上传
|
|
|
@@ -915,27 +915,25 @@
|
|
|
</div>
|
|
|
</el-select>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
- <span style="color:#D42426;font-weight:bold;">
|
|
|
- ¥{{ reslistitem.result.jqpremium }}
|
|
|
+ <el-col :span="3" >
|
|
|
+ <span style="color:#D42426;font-weight:bold;" >
|
|
|
+ {{ reslistitem.result.jqpremium ?'¥' + reslistitem.result.jqpremium:' ' }}
|
|
|
</span>
|
|
|
</el-col>
|
|
|
<el-col :span="3">
|
|
|
- <span style="color:#D42426;font-weight:bold;">
|
|
|
- ¥{{
|
|
|
- reslistitem.result.taxamount }}
|
|
|
+ <span style="color:#D42426;font-weight:bold;" >
|
|
|
+ {{
|
|
|
+ reslistitem.result.taxamount?'¥' +reslistitem.result.taxamount:' ' }}
|
|
|
</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
- <span style="color:#D42426;font-weight:bold;">
|
|
|
- ¥{{
|
|
|
- reslistitem.result.sypremium }}
|
|
|
+ <el-col :span="3" >
|
|
|
+ <span style="color:#D42426;font-weight:bold;" >
|
|
|
+ {{reslistitem.result.sypremium?'¥' +reslistitem.result.sypremium:' ' }}
|
|
|
</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="2">
|
|
|
+ <el-col :span="2" >
|
|
|
<span style="color:#D42426;font-weight:bold;">
|
|
|
- ¥{{
|
|
|
- reslistitem.result.jypremium }}
|
|
|
+ {{ reslistitem.result.jypremium?'¥' +reslistitem.result.jypremium:' ' }}
|
|
|
</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -3312,19 +3310,10 @@ export default {
|
|
|
{ required: true, message: "请输入整备质量", trigger: "blur" }
|
|
|
],
|
|
|
name: [{ required: true, message: "请填写姓名", trigger: "blur" }],
|
|
|
- // jqpolicyno: [{ required: true, message: "请填写交强保单号", trigger: "blur" }],
|
|
|
- // sypolicyno: [{ required: true, message: "请填写商业保单号", trigger: "blur" }],
|
|
|
- // jypolicyno: [{ required: true, message: "请填写驾意保单号", trigger: "blur" }],
|
|
|
- // jqpremium: [{ required: true, message: "请填写交强险费用", trigger: "blur" }],
|
|
|
- // sypremium: [{ required: true, message: "请填写商业险费用", trigger: "blur" }],
|
|
|
- // jypremium: [{ required: true, message: "请填写驾意险费用", trigger: "blur" }],
|
|
|
- // taxamount: [{ required: true, message: "请填写车船税", trigger: "blur" }],
|
|
|
- // jqSuperviseCostsProportion: [{ required: true, message: "请填写交强险手续费比例", trigger: "blur" }],
|
|
|
- // sySuperviseCostsProportion: [{ required: true, message: "请填写商业险手续费比例", trigger: "blur" }],
|
|
|
- // noSuperviseCostsProportion: [{ required: true, message: "请填写非车手续费比例", trigger: "blur" }],
|
|
|
- // jqOtherCostsProportion: [{ required: true, message: "请填写交强险其他费用比例", trigger: "blur" }],
|
|
|
- // syOtherCostsProportion: [{ required: true, message: "请填写商业险其他费用比例", trigger: "blur" }],
|
|
|
- // noOtherCostsProportion: [{ required: true, message: "请填写非车其他费用比例", trigger: "blur" }],
|
|
|
+
|
|
|
+ taxamount: [{ required: true, message: "请填写车船税", trigger: "blur" }],
|
|
|
+ signDate: [{ required: true, message: "请填写签单日期", trigger: "blur" }],
|
|
|
+
|
|
|
|
|
|
// identifyNumber: [
|
|
|
// { required: true, message: "请填写证件号", trigger: "blur" },
|
|
|
@@ -5499,7 +5488,7 @@ export default {
|
|
|
},
|
|
|
//勾选保险公司
|
|
|
initchange(e, code, name, index) {
|
|
|
- if (e && this.isLetter == '3') {
|
|
|
+ if (e && this.isLetter == 3) {
|
|
|
this.totalCompanyList[index].result = JSON.parse(JSON.stringify(this.policyNumberForm))
|
|
|
}
|
|
|
else {
|
|
|
@@ -5879,13 +5868,31 @@ export default {
|
|
|
this.$message({ message: "发证日期早于初登日期", type: "error" });
|
|
|
return;
|
|
|
}
|
|
|
+ if (this.policyNumberForm.jqpolicyno || this.policyNumberForm.jqpremium|| this.policyNumberForm.jqCostsProportion|| this.policyNumberForm.jqPolicyList.length>0) {
|
|
|
+ if (!(this.policyNumberForm.jqpolicyno && this.policyNumberForm.jqpremium&& this.policyNumberForm.jqCostsProportion && this.policyNumberForm.jqPolicyList.length>0)) {
|
|
|
+ this.$message({ message: "请填写交强保单号、交强险保费、交强险总比例(%)、交强保单", type: "error" });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.policyNumberForm.sypolicyno || this.policyNumberForm.sypremium|| this.policyNumberForm.syCostsProportion|| this.policyNumberForm.syPolicyList.length>0) {
|
|
|
+ if (!(this.policyNumberForm.sypolicyno && this.policyNumberForm.sypremium&& this.policyNumberForm.syCostsProportion&& this.policyNumberForm.syPolicyList.length>0)) {
|
|
|
+ this.$message({ message: "请填写商业保单号、商业险保费、商业险总比例(%)、商业保单", type: "error" });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.policyNumberForm.jypolicyno || this.policyNumberForm.jypremium|| this.policyNumberForm.noCostsProportion|| this.policyNumberForm.noPolicyList.length>0) {
|
|
|
+ if (!(this.policyNumberForm.jypolicyno && this.policyNumberForm.jypremium&& this.policyNumberForm.noCostsProportion&& this.policyNumberForm.noPolicyList.length>0)) {
|
|
|
+ this.$message({ message: "请填写驾意险保单号、驾意险保费、非车险总比例(%)、非车保单", type: "error" });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
this.$refs["carInfo"].validate(valid => {
|
|
|
if (valid) {
|
|
|
var _this = this;
|
|
|
_this.$refs["ownerInfo"].validate(valid1 => {
|
|
|
if (valid1) {
|
|
|
- // _this.$refs["policyNumberForm"].validate(valid2 => {
|
|
|
- // if (valid2) {
|
|
|
+ _this.$refs["policyNumberForm"].validate(valid2 => {
|
|
|
+ if (valid2) {
|
|
|
if (_this.tbczcarShow == true) {
|
|
|
_this.policyHolderInfo = JSON.parse(
|
|
|
JSON.stringify(_this.ownerInfo)
|
|
|
@@ -5989,12 +5996,12 @@ export default {
|
|
|
}
|
|
|
this.preserveOrderStageProcessing();
|
|
|
}
|
|
|
- // }
|
|
|
- // else {
|
|
|
- // document.getElementById("Waibu").scrollIntoView();
|
|
|
- // _this.$message({ message: "请检查外部订单信息", type: "warning" });
|
|
|
- // }
|
|
|
- // })
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ document.getElementById("Waibu").scrollIntoView();
|
|
|
+ _this.$message({ message: "请检查外部订单信息", type: "warning" });
|
|
|
+ }
|
|
|
+ })
|
|
|
} else {
|
|
|
document.getElementById("CheZhu").scrollIntoView();
|
|
|
_this.$message({ message: "请检查人员信息", type: "warning" });
|