Browse Source

(*) 小程序抽查列表保留三位小数

dev
liujiangyong 1 year ago
parent
commit
32ea703efe
  1. 6
      weapp/src/packages/maintenanceSpotCheck/index.jsx

6
weapp/src/packages/maintenanceSpotCheck/index.jsx

@ -94,9 +94,9 @@ function Index() {
)} )}
> >
<View className='item'>抽查县道比例%{item.countyPercentage}</View> <View className='item'>抽查县道比例%{item.countyPercentage}</View>
<View className='item'>抽查县道公里{item.countryMil}</View> <View className='item'>抽查县道公里{item.countryMil?.toFixed(3)}</View>
<View className='item'>抽查乡道公里{item.townMil}</View> <View className='item'>抽查乡道公里{item.townMil?.toFixed(3)}</View>
<View className='item'>抽查村道公里{item.villageMil}</View> <View className='item'>抽查村道公里{item.villageMil?.toFixed(3)}</View>
<View className='item'>抽查日期{moment(item.date).format('YYYY-MM-DD')}</View> <View className='item'>抽查日期{moment(item.date).format('YYYY-MM-DD')}</View>
</View>) : <View style={{ paddingTop: 100 }}><NoData /></View>} </View>) : <View style={{ paddingTop: 100 }}><NoData /></View>}
</ScrollView> </ScrollView>

Loading…
Cancel
Save