jiangping
2024-05-07 529d0b8982cf30f57ba7e366c0f822c1d82c0b69
company/src/components/business/OpearaUnionApply.vue
@@ -25,7 +25,7 @@
                <el-form-item label="保险生效起止期:" prop="startDate" style="margin-left: 40px">
                    <div style="display: flex; flex-direction: column;">
                        <el-date-picker
                            @change="changeTime"
                            @change="changeTime"
                            v-model="time"
                            type="daterange"
                            format="yyyy 年 MM 月 dd 日"
@@ -213,8 +213,8 @@
    },
    changeTime (e) {
      if (e.length > 0) {
        this.form.startDate = e[0]
        this.form.endDate = e[1]
        this.form.startDate = e[0]+ ' 00:00:00'
        this.form.endDate =  e[1] + ' 23:59:59'
      } else {
        this.form.startDate = ''
        this.form.endDate = ''