|
|
@@ -955,6 +955,21 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="flex j-c a-start">
|
|
|
+ <el-checkbox class="checkbox" style="margin-right: 20px" v-model="jychecked" disabled
|
|
|
+ @change="jycheckedChange"></el-checkbox>
|
|
|
+ <div class="flex f-c a-c">
|
|
|
+ <el-form-item label="驾意险起保日期" prop="name" class="red-btn">
|
|
|
+ <el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="jystartDate" @change="jyChange"
|
|
|
+ type="datetime" placeholder="选择日期时间" placement="bottom-start"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="驾意险终保日期" prop="name" class="red-btn">
|
|
|
+ <el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="jyendDate" type="datetime"
|
|
|
+ placeholder="选择日期时间" placement="bottom-start"
|
|
|
+ @change="(e) => jyendDate = quotechangeDate(e)"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -4933,10 +4948,13 @@ export default {
|
|
|
},
|
|
|
jqchecked: true,
|
|
|
sychecked: false,
|
|
|
+ jychecked: false,
|
|
|
jqstartDate: "", //交强时间
|
|
|
jqendDate: "", //交强时间
|
|
|
systartDate: "", //商业时间
|
|
|
syendDate: "", //商业时间
|
|
|
+ jystartDate: '', // 驾意时间
|
|
|
+ jyendDate: '', // 驾意时间
|
|
|
loading: false, //加载事件
|
|
|
reslist: [], //车型列表
|
|
|
userId: "", //出单工号
|
|
|
@@ -9043,6 +9061,10 @@ export default {
|
|
|
syChange(e) {
|
|
|
this.syendDate = this.oneYearPast1(e);
|
|
|
},
|
|
|
+ // 驾意险起保日期时间
|
|
|
+ jyChange() {
|
|
|
+ this.jyendDate = this.oneYearPast1(e);
|
|
|
+ },
|
|
|
// //查看更多
|
|
|
// selectMore(leg) {
|
|
|
// this.insureMore = false;
|
|
|
@@ -9197,6 +9219,22 @@ export default {
|
|
|
// this.obtainProtocol();
|
|
|
}
|
|
|
},
|
|
|
+ jycheckedChange(e) {
|
|
|
+ if (e) {
|
|
|
+ this.jystartDate = this.transformTime1();
|
|
|
+ this.jyendDate = this.oneYearPast1(this.jystartDate);
|
|
|
+ // this.riskList.push({
|
|
|
+ // riskCode: "0510"
|
|
|
+ // });
|
|
|
+ // this.obtainProtocol();
|
|
|
+ } else {
|
|
|
+ this.jystartDate = "";
|
|
|
+ this.jyendDate = "";
|
|
|
+ // let list = this.riskList.filter(item => item.riskCode !== "0510");
|
|
|
+ // this.riskList = list;
|
|
|
+ // this.obtainProtocol();
|
|
|
+ }
|
|
|
+ },
|
|
|
//订单生成后保存接口
|
|
|
preserveOrderStageProcessing(type, btnLoading) {
|
|
|
// console.log(this.editorInfo);
|