Commit 9b84ad10baa6a12dd0148ea3e6e8cd52e393494c
1 parent
8b9bfe71
1.处理自动暂估,会计期间没传参数
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/Common/ToolBar/ToolBarNew.js
| ... | ... | @@ -3411,8 +3411,8 @@ class ToolBarComponent extends Component { |
| 3411 | 3411 | addState.key = "masterCondition"; |
| 3412 | 3412 | const val = []; |
| 3413 | 3413 | const currVal = {}; |
| 3414 | - masterConditionArr.forEach(filed => { | |
| 3415 | - currVal[`${filed}`] = masterConditionData[`${filed}`]; | |
| 3414 | + masterConditionArr.forEach(([stype, stypeNew]) => { | |
| 3415 | + currVal[`${stypeNew}`] = masterConditionData[`${stype}`]; | |
| 3416 | 3416 | }); |
| 3417 | 3417 | val.push(currVal); |
| 3418 | 3418 | addState.value = val; | ... | ... |