提交 7c9a51a9 authored 作者: liupengfei's avatar liupengfei

时间格式化错误

上级 c64890f7
......@@ -62,7 +62,7 @@
</template>
<el-form-item label="创建时间">
<!-- <el-date-picker v-model="timeRange" type="daterange" range-separator="至" value-format="yyyy-MM-dd"></el-date-picker> -->
<el-date-picker v-model="timeRange" type="datetimerange" range-separator="至" start-placeholder="yyyy-mm-dd" end-placeholder="yyyy-mm-dd"></el-date-picker>
<el-date-picker v-model="timeRange" type="datetimerange" range-separator="至" start-placeholder="yyyy-MM-dd" end-placeholder="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
<template v-if="moreFilter" >
<!--<el-form-item label="订单号">
......@@ -92,7 +92,7 @@
<el-option label="仅退款" :value="'仅退款'"></el-option>
</el-select>
</el-form-item>
<el-form-item label="售后原因">
<el-select v-model="reasonList" multiple="multiple" style="width: 550px;" @visible-change="changeValue1($event)">
<!-- <el-option label="全部" :value="null"></el-option> -->
......@@ -137,7 +137,7 @@
<el-option label="非空" :value="1"></el-option>
</el-select>
</el-form-item>
<!--<el-form-item label="售后原因:">
<el-select v-model="listQuery.reason">
<el-option label="全部" :value="null"></el-option>
......@@ -1158,7 +1158,7 @@ created() {
if(this.isHandleFilterBtn){
this.isHandleFilterBtn=false;
store.dispatch('SetRefundGoodsSerKeys',this.listQuery).then(res => {
})
if (this.timeRange) {
this.listQuery.beginCreateTime = this.timeRange[0]
......
......@@ -47,7 +47,7 @@
<el-input placeholder="下单会员" v-model="listQuery.createrName" clearable></el-input>
</el-form-item>
<el-form-item label="创建时间">
<el-date-picker v-model="timeRange" type="datetimerange" range-separator="至" start-placeholder="yyyy-mm-dd" end-placeholder="yyyy-mm-dd"></el-date-picker>
<el-date-picker v-model="timeRange" type="datetimerange" range-separator="至" start-placeholder="yyyy-MM-dd" end-placeholder="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" ></el-date-picker>
</el-form-item>
<el-form-item label="登录方式:">
<el-select v-model="listQuery.loginType">
......@@ -334,7 +334,7 @@ created() {
setTimeout(el=>{
let bodyHeight = document.body.clientHeight //body高度
let topHeight = (window.getComputedStyle(this.$refs.topHeight).height).replace(/[^\d\.]/g,''); //顶部高度
let searchHeight = (window.getComputedStyle(this.$refs.searchHeight).height).replace(/[^\d\.]/g,''); //检索部分高度
let searchHeight = (window.getComputedStyle(this.$refs.searchHeight).height).replace(/[^\d\.]/g,''); //检索部分高度
this.centerHeight = bodyHeight - topHeight - searchHeight - 90 - 83
},100)
},
......@@ -381,9 +381,9 @@ created() {
this.isRefundBtn=false;
this.$confirm('是否确认退款?', {
confirmButtonText: '确认',
cancelButtonText: '取消',
cancelButtonText: '取消',
type: 'warning',
}).then(()=>{
}).then(()=>{
const loading = this.$loading({
lock: true,
text: '拼命加载中',
......@@ -408,7 +408,7 @@ created() {
}
}
})
// refundAPI({oid:id}).then(res => {
// refundAPI({oid:id}).then(res => {
// if(res.data.code ==-1){
// this.$confirm('冲红失败,是否继续退款?', {
// confirmButtonText: '确认',
......@@ -496,7 +496,7 @@ created() {
msg += ";失败原因:";
msg += v.reason;
msg += '<br/>'
n ++;
n ++;
}
)
if (n > 0) {
......@@ -664,7 +664,7 @@ created() {
if(this.isHandleFilterBtn){
this.isHandleFilterBtn=false;
store.dispatch('SetRefundOrderSerKey',this.listQuery).then(res => {
})
if (this.timeRange) {
this.listQuery.beginCreateTime = this.timeRange[0]
......@@ -673,6 +673,7 @@ created() {
this.listQuery.beginCreateTime = null
this.listQuery.endCreateTime = null
}
console.log(this.timeRange, "11122")
this.listQuery.pageNum = 1
this.getList()
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论