This commit is contained in:
parent
720f349301
commit
ac51cbd5d2
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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 })
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue