diff --git a/klp-ui/src/views/wms/hrm/records/meal.vue b/klp-ui/src/views/wms/hrm/records/meal.vue index 92e07cdd..0a500784 100644 --- a/klp-ui/src/views/wms/hrm/records/meal.vue +++ b/klp-ui/src/views/wms/hrm/records/meal.vue @@ -199,6 +199,7 @@ import { listMealReport, getMealReport, delMealReport, addMealReport, updateMeal import DictSelect from "@/components/DictSelect"; import EmployeeSelector from "@/components/EmployeeSelector"; import { listDept } from "@/api/wms/dept" +import { getConfigKey } from '@/api/system/config' export default { name: "MealReport", @@ -233,7 +234,7 @@ export default { deptName: undefined, reportUserName: undefined, status: undefined, - deadlineTime: '12:00:00' // 新增:截至时间默认12点 + deadlineTime: '16:00:00' // 新增:截至时间默认12点 }, form: { reportId: undefined, @@ -276,6 +277,7 @@ export default { created() { this.getList(); this.getDeptList(); + this.getDeadlineConfig(); }, watch: { 'form.dineInPeople': { @@ -297,6 +299,11 @@ export default { this.deptOptions = response.data }) }, + getDeadlineConfig() { + getConfigKey('hrm.meal.deadline').then(response => { + this.queryParams.deadlineTime = response.msg || '16:00:00' + }) + }, /** 查询部门报餐主列表 */ getList() { this.loading = true;