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