添加当前时间

jg-waiwang-pro
XI_TENG\xixi_ 5 months ago
parent 0407ef0e05
commit b13ef136e4

@ -297,7 +297,9 @@ public class WarehousingReturnServiceImpl extends ServiceImpl<WarehousingReturnM
//排序
if(StringUtil.isEmpty(warehousingReturnPagination.getSidx())){
warehousingReturnQueryWrapper.lambda().orderByDesc(WarehousingReturnEntity::getCreatorTime);
// warehousingReturnQueryWrapper.lambda().orderByDesc(WarehousingReturnEntity::getCreatorTime);
warehousingReturnPagination.setSidx("a.f_creator_time");
warehousingReturnPagination.setSort("DESC");
}else{
try {
String sidx = warehousingReturnPagination.getSidx();

@ -121,7 +121,7 @@
</el-table-column>
<!-- <el-table-column prop="inspectionTime" label="质检时间" align="center" width="150px">
</el-table-column> -->
<el-table-column prop="inspectionTime" label="制单时间" align="center" width="100" sortable>
<el-table-column prop="inspectionTime" label="质检时间" align="center" width="100" sortable>
<template slot-scope="scope">
{{ scope.row.creatorTime | toDate("yyyy-MM-dd") }}
</template>
@ -447,6 +447,9 @@ export default {
},
//
async initSearchData() {
let date = new Date();
let dateWithoutTime = new Date(date.getFullYear(), date.getMonth(), date.getDate());
this.query.creatorTime = [dateWithoutTime.getTime(), dateWithoutTime.getTime()]
},
initData() {
this.listLoading = true;

@ -231,7 +231,7 @@ export default {
isLeaf: 'isLeaf'
},
list: [],
listLoading: true,
listLoading: false,
multipleSelection: [],
total: 0,
queryData: {},
@ -500,7 +500,12 @@ export default {
this.initData()
},
//
async initSearchData() { },
async initSearchData() {
let date = new Date();
let dateWithoutTime = new Date(date.getFullYear(), date.getMonth(), date.getDate());
this.query.inventoryTimeStart = [dateWithoutTime.getTime(), dateWithoutTime.getTime()]
},
initData() {
this.listLoading = true;
let _query = {

@ -228,7 +228,7 @@ export default {
isLeaf: 'isLeaf'
},
list: [],
listLoading: true,
listLoading: false,
multipleSelection: [],
total: 0,
queryData: {},
@ -476,7 +476,12 @@ export default {
this.initData()
},
//
async initSearchData() { },
async initSearchData() {
let date = new Date();
let dateWithoutTime = new Date(date.getFullYear(), date.getMonth(), date.getDate());
this.query.creatorTime = [dateWithoutTime.getTime(), dateWithoutTime.getTime()]
},
initData() {
this.listLoading = true;
let _query = {

@ -216,7 +216,7 @@ export default {
isLeaf: 'isLeaf'
},
list: [],
listLoading: true,
listLoading: false,
multipleSelection: [],
total: 0,
queryData: {},
@ -486,7 +486,12 @@ export default {
this.initData()
},
//
async initSearchData() { },
async initSearchData() {
let date = new Date();
let dateWithoutTime = new Date(date.getFullYear(), date.getMonth(), date.getDate());
this.query.reportlossTime = [dateWithoutTime.getTime(), dateWithoutTime.getTime()]
},
initData() {
this.listLoading = true;
let _query = {

@ -242,7 +242,7 @@ export default {
isLeaf: 'isLeaf'
},
list: [],
listLoading: true,
listLoading: false,
multipleSelection: [],
total: 0,
queryData: {},
@ -502,7 +502,12 @@ export default {
this.initData()
},
//
async initSearchData() { },
async initSearchData() {
let date = new Date();
let dateWithoutTime = new Date(date.getFullYear(), date.getMonth(), date.getDate());
this.query.creatorTime = [dateWithoutTime.getTime(), dateWithoutTime.getTime()]
},
initData() {
this.listLoading = true;
let _query = {

@ -229,7 +229,7 @@ export default {
isLeaf: 'isLeaf'
},
list: [],
listLoading: true,
listLoading: false,
multipleSelection: [], total: 0,
queryData: {},
listQuery: {

Loading…
Cancel
Save