uniapp【修复】:调整代理商/分销佣金明细默认筛选时间

This commit is contained in:
21世纪小八路
2024-11-02 14:07:11 +08:00
parent 1f39493f4a
commit 03c96cd85d
2 changed files with 4 additions and 3 deletions

View File

@@ -81,7 +81,7 @@
const { statusBarHeight } = useSystemInfo(); const { statusBarHeight } = useSystemInfo();
const calendarsRef = ref(); const calendarsRef = ref();
const nowTimeStamp = new Date().getTime()
const state = reactive<{ const state = reactive<{
selectedDate : string; selectedDate : string;
arrowUp : boolean; arrowUp : boolean;
@@ -93,7 +93,7 @@
totalMoney : number; totalMoney : number;
userInfo : UserInfoType, userInfo : UserInfoType,
}>({ }>({
selectedDate: new Date().toLocaleDateString().replaceAll('/', '-') + '至' + new Date().toLocaleDateString().replaceAll('/', '-'), selectedDate: timeFormat(nowTimeStamp) + '至' + timeFormat(nowTimeStamp),
arrowUp: false, arrowUp: false,
showMoney: false, showMoney: false,
info: {}, info: {},

View File

@@ -81,6 +81,7 @@
const { statusBarHeight } = useSystemInfo(); const { statusBarHeight } = useSystemInfo();
const calendarsRef = ref(); const calendarsRef = ref();
const nowTimeStamp = new Date().getTime()
const state = reactive<{ const state = reactive<{
selectedDate : string; selectedDate : string;
@@ -93,7 +94,7 @@
totalMoney : number; totalMoney : number;
userInfo : UserInfoType, userInfo : UserInfoType,
}>({ }>({
selectedDate: new Date().toLocaleDateString().replaceAll('/', '-') + '至' + new Date().toLocaleDateString().replaceAll('/', '-'), selectedDate: timeFormat(nowTimeStamp) + '至' + timeFormat(nowTimeStamp),
arrowUp: false, arrowUp: false,
showMoney: false, showMoney: false,
info: {}, info: {},