|
@@ -1421,6 +1421,14 @@ agreementitem, agreementindex
|
|
|
placeholder="请输入"></el-input>
|
|
placeholder="请输入"></el-input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="card-table flex a-c j-s" v-show="reslistitem.cnName == 'yongan'">
|
|
|
|
|
+ <div class="flex a-c mrgin-5">
|
|
|
|
|
+ <span style="margin-right: 5px;">车损验车事项:</span>
|
|
|
|
|
+ <el-select size="small" v-model="reslistitem.result.carChecker">
|
|
|
|
|
+ <el-option v-for="item in verificationDict" :key="item.code" :value="item.code" :label="item.desc"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<!-- 服务明细 -->
|
|
<!-- 服务明细 -->
|
|
@@ -4449,6 +4457,7 @@ import imageDialog from "@/views/Core/components/imageDialog.vue";
|
|
|
import { mapState } from "vuex";
|
|
import { mapState } from "vuex";
|
|
|
import Ktletter1Popover from "./components/LetterPopover.vue";
|
|
import Ktletter1Popover from "./components/LetterPopover.vue";
|
|
|
import dayjs from "dayjs";
|
|
import dayjs from "dayjs";
|
|
|
|
|
+import {getYaCarDamageVerificationDict} from "../../../http/moudules/letter";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
inject: ["reload"],
|
|
inject: ["reload"],
|
|
@@ -4496,6 +4505,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
return {
|
|
return {
|
|
|
|
|
+ verificationDict: [], // 车损验车事项
|
|
|
validateCarCodeShow: false,
|
|
validateCarCodeShow: false,
|
|
|
vehicleInspectionUrl: "",
|
|
vehicleInspectionUrl: "",
|
|
|
colSpan: {
|
|
colSpan: {
|
|
@@ -6226,6 +6236,7 @@ export default {
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.getCompanyList(this.$route.query.data);
|
|
this.getCompanyList(this.$route.query.data);
|
|
|
this.onScroll();
|
|
this.onScroll();
|
|
|
|
|
+ this.initVerificationDict();
|
|
|
|
|
|
|
|
if (this.$route.query.data) {
|
|
if (this.$route.query.data) {
|
|
|
if (this.isDateBeforeToday(this.$route.query.data.jqstartdate)) {
|
|
if (this.isDateBeforeToday(this.$route.query.data.jqstartdate)) {
|
|
@@ -6269,6 +6280,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // 车损验车事项
|
|
|
|
|
+ initVerificationDict() {
|
|
|
|
|
+ this.$api.letter.getYaCarDamageVerificationDict().then(res => {
|
|
|
|
|
+ if(res.code == 200) {
|
|
|
|
|
+ this.verificationDict = res.data
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
//补录订单
|
|
//补录订单
|
|
|
supplementOrder(id) {
|
|
supplementOrder(id) {
|
|
|
let params = {
|
|
let params = {
|
|
@@ -6398,7 +6417,7 @@ export default {
|
|
|
this.$api.letter.ruleFilterCompany(param).then(res => {
|
|
this.$api.letter.ruleFilterCompany(param).then(res => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
res.data.map(ele => {
|
|
res.data.map(ele => {
|
|
|
- ele["result"] = {};
|
|
|
|
|
|
|
+ ele["result"] = ele.namesimple==='永安财险'?{carChecker: 1}:{};
|
|
|
ele["quoteCode"] = 0;
|
|
ele["quoteCode"] = 0;
|
|
|
ele["checked"] = false;
|
|
ele["checked"] = false;
|
|
|
ele["msg"] = "";
|
|
ele["msg"] = "";
|
|
@@ -9905,6 +9924,7 @@ export default {
|
|
|
|
|
|
|
|
//永安报价
|
|
//永安报价
|
|
|
yongan(num, id) {
|
|
yongan(num, id) {
|
|
|
|
|
+ console.log(123123123, this.totalCompanyList[num])
|
|
|
let isTaxSource = this.totalCompanyList[num].isTaxSource;
|
|
let isTaxSource = this.totalCompanyList[num].isTaxSource;
|
|
|
let params = {
|
|
let params = {
|
|
|
accidentalDrivingVo:{},
|
|
accidentalDrivingVo:{},
|
|
@@ -9913,7 +9933,8 @@ export default {
|
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
|
kinds: this.totalCompanyList[num].kindList,
|
|
kinds: this.totalCompanyList[num].kindList,
|
|
|
risks: this.riskList,
|
|
risks: this.riskList,
|
|
|
- productId: this.productId
|
|
|
|
|
|
|
+ productId: this.productId,
|
|
|
|
|
+ carChecker: this.totalCompanyList[num].result.carChecker
|
|
|
};
|
|
};
|
|
|
this.$api.letter.yonganquote(params).then(res => {
|
|
this.$api.letter.yonganquote(params).then(res => {
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
this.totalCompanyList[num].msg = res.msg;
|