Commit d8ff5390f35d66790658d3b6940aa34343b06fca
1 parent
a370a443
按钮事件是否可编辑
Showing
1 changed file
with
3 additions
and
1 deletions
src/mes/common/commonOperationBarComponent/index.js
| ... | ... | @@ -826,7 +826,9 @@ const useCommonOperationBarComponentEvent = props => { |
| 826 | 826 | } |
| 827 | 827 | |
| 828 | 828 | } else { |
| 829 | - if (["btnsave", "btnscanface"].includes(btnName)) { | |
| 829 | + | |
| 830 | + | |
| 831 | + if (["btnsave", "btnscanface"].includes(btnName) || btnName?.startsWith('btncalc')) { | |
| 830 | 832 | defaultProps.disabled = true; |
| 831 | 833 | } |
| 832 | 834 | if (!bSubmit) { | ... | ... |