|
@@ -187,7 +187,7 @@ class Examine extends Component {
|
|
|
}
|
|
|
}
|
|
|
for (var k = 0; k < xlist.length; k++) {
|
|
|
- amount = commonAdd(amount, xlist[k].totalAmount)
|
|
|
+ amount = commonAdd(amount, xlist[k].realAmount)
|
|
|
}
|
|
|
return amount
|
|
|
}
|
|
@@ -205,6 +205,9 @@ class Examine extends Component {
|
|
|
loading: false,
|
|
|
})
|
|
|
if (v.error.length === 0) {
|
|
|
+ this.setState({
|
|
|
+ sublist: []
|
|
|
+ })
|
|
|
Taro.navigateTo({
|
|
|
url: '/pages/mergedetail/index?id=' + v.data,
|
|
|
});
|
|
@@ -371,7 +374,7 @@ class Examine extends Component {
|
|
|
</View>
|
|
|
<View className='right'>
|
|
|
{/* {item.status == 1 && <View className='lbt' onClick={e => { e.stopPropagation(); this.setState({ visible: true, id: item.id }) }}>查看审核详情</View>} */}
|
|
|
- <View className='line' style={{ color: "#6190E8" }}>报销金额:{item.totalAmount}</View>
|
|
|
+ <View className='line' style={{ color: "#6190E8" }}>报销金额:{item.realAmount}(元)</View>
|
|
|
{!!item.checkNo && <View className='line' style={{ color: "#6190E8" }}>报销编号:{item.checkNo}</View>}
|
|
|
{!!item.checkNo && <View className='lbt' onClick={e => { e.stopPropagation(); copyText(item.checkNo) }}>复制编号</View>}
|
|
|
<View className='line'>
|