const notify = useNotify()
if (result !== undefined) {
create('t_prod_step',
{
data: {
machine_type_id: result.machine_type_id, part_id: result.part_id,
step_level_id: result.step_level_id, proc_solution_id: result.proc_solution_id, step_desc: result.step_desc,
step_no: result.step_no, stand_price: priceRef.current, stand_time: timeRef.current,
}
}, {
onSuccess: () => {
refresh();
},
onError: (error) => {
notify('插入错误', { type: 'error' });
}
}
);
}