Commit e056b620 authored by XieZhiXiong's avatar XieZhiXiong

chore: 是否含税 bool -> number

parent eb1c4aa8
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-04 15:09:09
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-08 14:44:38
* @LastEditTime: 2021-06-29 14:16:40
* @Description: 维修商品抽屉组件
*/
import React from 'react';
......@@ -495,7 +495,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
return now.externalState === PayOutWorkState.CONFIRM_ACCOUNT ? +(new BigNumber(+product.purchaseCount).multipliedBy(product.price).multipliedBy(new BigNumber(now.payRatio).dividedBy(100))).toFixed(2) + prev : prev;
}, 0)
: 0,
taxInclusive: product.taxInclusive || !!product.taxRate,
taxInclusive: product.taxInclusive || +!!product.taxRate,
});
}
});
......
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 to comment