Commit c5f5a9f58421039c7da248e121a5c547031b8f0c
1 parent
2ef8caa1
优化材料单价输入;
切换算法时需要重新核价;
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/QuickQuote/index.jsx
| ... | ... | @@ -2335,6 +2335,7 @@ const BoxComponent = props => { |
| 2335 | 2335 | ...pre, |
| 2336 | 2336 | slaveData: [...slaveData], |
| 2337 | 2337 | activeKey: 1, |
| 2338 | + calcPriceFinished: false, | |
| 2338 | 2339 | })); |
| 2339 | 2340 | }} |
| 2340 | 2341 | value={radioValue} |
| ... | ... | @@ -2659,8 +2660,7 @@ const MaterialsComponent = props => { |
| 2659 | 2660 | // } |
| 2660 | 2661 | |
| 2661 | 2662 | return materialsInfo.map((item, index) => { |
| 2662 | - // let viewRow = { ...materialsInfo[index], sProductClassifyId: selectedNode.sId,sId: selectedNode.sId}; | |
| 2663 | - let viewRow = { ...materialsInfo[index], sProductClassifyId: selectedNode.sId }; | |
| 2663 | + let viewRow = { ...materialsInfo[index], sProductClassifyId: selectedNode.sId, sId: selectedNode.sId }; | |
| 2664 | 2664 | viewRow = { ...viewRow, sMaterialsName0: viewRow.showName || "" }; |
| 2665 | 2665 | let materialsConfigNew = cloneDeep(materialsConfig); |
| 2666 | 2666 | if (viewRow.showName) { | ... | ... |