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( const { options: personnelCommonOptions } = useOptions(
'personnelCommonOptions', 'personnelCommonOptions',
getPersonnelCommonListAPI, getPersonnelCommonListAPI,
{ inspectionStationId: route.query?.inspectionStationId || '123' }, { inspectionStationId: route.query?.inspectionStationId || '' },
) )
const mode = computed(() => route.query.mode || 'edit') const mode = computed(() => route.query.mode || 'edit')

View File

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

View File

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