|
|
@ -151,11 +151,13 @@ const buttonTableClick = async (val, row) => { |
|
|
|
const basicFormRef = ref() |
|
|
|
|
|
|
|
const openForm = async (type: string, row?: any) => { |
|
|
|
const obj = await CounterApi.getNextStage(row.id) |
|
|
|
for (const item of Counter.allSchemas.formSchema) { |
|
|
|
if (item.field === 'nextStage') { |
|
|
|
item.componentProps.options = await CounterApi.getNextStage(row.id) |
|
|
|
item.componentProps.options = obj.nextStageList |
|
|
|
} |
|
|
|
} |
|
|
|
row.available = obj.available |
|
|
|
basicFormRef.value.open(type, row) |
|
|
|
} |
|
|
|
|
|
|
|