| | |
| | | </el-form-item> |
| | | <el-form-item label="核销时间" prop="createTimeList"> |
| | | <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions" |
| | | style="width: 300px" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd" @change="dateChangebirthday1"> |
| | | style="width: 300px" start-placeholder="开始日期" end-placeholder="结束日期" |
| | | :default-time="['00:00:00', '23:59:00']" |
| | | format="yyyy-MM-dd HH:mm" |
| | | value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item> |
| | |
| | | addChecklog, |
| | | updateChecklog, |
| | | } from "@/api/mall/checklog"; |
| | | |
| | | import { |
| | | getNumber, |
| | | hasReport, |
| | | getPdf, |
| | | getOrderList, |
| | | getNewDateList, |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | export default { |
| | | name: "Checklog", |
| | | data() { |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime() |
| | | // this.getNowTime() |
| | | this.getList(); |
| | | this.getdate(); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.createTimeList = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00") |
| | | ];; |
| | | }); |
| | | }, |
| | | getNowTime() { |
| | | const end = new Date(); |
| | | const start = new Date(new Date().setHours(0, 0, 0, 0)); |