This commit is contained in:
BianLzhaoMin 2026-02-09 11:10:48 +08:00
parent 720f349301
commit ac51cbd5d2
3 changed files with 6 additions and 5 deletions

View File

@ -191,7 +191,7 @@ const { proxy } = getCurrentInstance()
const { options: personnelCommonOptions } = useOptions(
'personnelCommonOptions',
getPersonnelCommonListAPI,
{ inspectionStationId: route.query?.inspectionStationId || '123' },
{ inspectionStationId: route.query?.inspectionStationId || '' },
)
const mode = computed(() => route.query.mode || 'edit')

View File

@ -246,7 +246,8 @@ const actionColumns = computed(() => [
type: 'danger',
link: true,
permission: ['plan:dailyPlan:remove'], // 使 v-hasPermi
disabled: (row) => isBeforeToday(row.dayPlan), //
// disabled: (row) => isBeforeToday(row.dayPlan), //
disabled: false,
handler: (row) => {
proxy.$modal.confirm('是否确认删除该日计划?').then(async () => {
const result = await delDailyPlanAPI({ dayPlanId: row.dayPlanId })

View File

@ -143,10 +143,10 @@
>
<el-input
clearable
style="width: 240px"
placeholder="输入数量"
show-word-limit
maxlength="7"
show-word-limit
style="width: 100%"
placeholder="输入数量"
v-model="item.workloadNum"
>
<template #suffix>