Commit 1db8029c by peii

添加消耗选号

parent 2c0be02f
Showing with 5 additions and 1 deletions
......@@ -1345,10 +1345,14 @@ class EquipConsuPage extends Component {
if(state.listOptionData[13].subOption && state.listOptionData[13].subOption.length > 0){
tempSubOption.fee_lines = R.compose(
R.addIndex(R.map)((item, index) => {
R.map((item) => {
item.quantity = isNotBlank(item.quantity) ? Number(item.quantity) : 1
item.sale_price = Number(item.sale_price)
item.unit_code = 'JIAN'
if (item.line_number) {
item.surgery_collect_fee_line_number = item.line_number
item.surgery_collect_number = tempSubOption.surgery_collect_number
}
return item
}),
R.map(R.dissocPath(['id'])),
......
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 sign in to comment