| | |
| | | leave: false, |
| | | checked: false, |
| | | radioId1: false, |
| | | createTimeList: "", |
| | | createTimeList: [], |
| | | cusId: "", |
| | | payType: "0", |
| | | dialogVisible: false, |
| | |
| | | }, |
| | | created() { |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | console.log(this.createTimeList, 111); |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | |
| | | if (this.startTime) { |
| | | this.queryParams.djbeginTime = this.startTime[0]; |
| | | this.queryParams.djendTime = this.startTime[1]; |
| | | } else { |
| | | } else if(this.createTimeList){ |
| | | this.queryParams.djbeginTime = this.createTimeList[0]; |
| | | this.queryParams.djendTime = this.createTimeList[1]; |
| | | } else if(this.createTimeList == null){ |
| | | this.queryParams.djbeginTime = null; |
| | | this.queryParams.djendTime = null; |
| | | } |
| | | |
| | | |
| | | this.loading = true; |
| | | getQianLiList(this.queryParams).then((response) => { |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList = [] |
| | | this.startTime= [] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |