fix: 修正删除后刷新方法名和调整报表时间区间

将删除操作后的刷新方法从getList改为getMaterialCoil以匹配实际功能
调整交付报表的默认时间区间从6点改为7点
This commit is contained in:
砂糖
2026-01-17 11:17:42 +08:00
parent 615d917762
commit 2449915c6d
2 changed files with 3 additions and 3 deletions

View File

@@ -684,7 +684,7 @@ export default {
return delMaterialCoil(coilIds);
}).then(() => {
this.loading = false;
this.getList();
this.getMaterialCoil();
this.$modal.msgSuccess("删除成功");
}).catch(() => {
}).finally(() => {

View File

@@ -142,8 +142,8 @@ export default {
const nowDay = addZero(now.getDate())
// ✅ 目标时间区间昨天早上6点 至 今天早上6点
const startTime = `${yesYear}-${yesMonth}-${yesDay} 06:00:00`
const endTime = `${nowYear}-${nowMonth}-${nowDay} 06:00:00`
const startTime = `${yesYear}-${yesMonth}-${yesDay} 07:00:00`
const endTime = `${nowYear}-${nowMonth}-${nowDay} 07:00:00`
return {
list: [],
queryParams: {