Commit 984ed5a1 authored by 皮倩雯's avatar 皮倩雯

fix: '优化维保模板开关交互禁用逻辑'

parent 023c8a80
Pipeline #63153 canceled with stages
......@@ -84,6 +84,9 @@ const AddModal = props => {
} else if (type === 'edit') {
CM_XWBPlan_DataList({ id: formObj.id }).then(res => {
let data = res.data[0];
if (data.isSubmit == '是') {
setAutoFlag(true);
}
setVisibleChecked(data.isSubmit == '是');
setVisibleChecked1(data.autoAssign == '是');
console.log(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment