Browse Source

bug 修改提交

tags/小炒逻辑变更前
gwbvipvip 2 years ago
parent
commit
28a0a22a2d
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/pages/bom/manage/components/BomList.jsx

+ 7
- 7
src/pages/bom/manage/components/BomList.jsx View File

@@ -58,16 +58,16 @@ const AddBomInfo = (props) => {
})
.then((r) => {
if (r.data) {
message.success('配置成功');
message.success('操作成功');
} else {
message.error('配置失败请重试!');
message.error('操作失败请重试!');
}
//刷新数据
actionRef.current.reload();
});
return true;
} catch (error) {
message.error('配置失败请重试!');
message.error('操作失败请重试!');
return false;
}
}
@@ -128,7 +128,7 @@ const AddBomInfo = (props) => {
render: (_, record) => [
record.isReplace && (
<a
key="link"
key="link1"
onClick={() => {
BomReplacVisible(true);
setCurrentRow(record);
@@ -139,7 +139,7 @@ const AddBomInfo = (props) => {
),
record.isReplace && (
<a
key="link"
key="link2"
onClick={() => {
handleEnable(record, 0);
}}
@@ -149,7 +149,7 @@ const AddBomInfo = (props) => {
),
!record.isReplace && (
<a
key="link"
key="link3"
onClick={() => {
handleEnable(record, 1);
}}
@@ -158,7 +158,7 @@ const AddBomInfo = (props) => {
</a>
),
<a
key="link"
key="link4"
onClick={() => {
handleUpdate(record);
}}


Loading…
Cancel
Save