|
@@ -4,7 +4,7 @@ import { View, Picker, ScrollView, } from '@tarojs/components'
|
|
|
import { getRecordList, } from '../../utils/servers/servers';
|
|
|
import dayjs from 'dayjs';
|
|
|
import { AtIcon, } from 'taro-ui';
|
|
|
-import { getAccountName, removeNull } from '../../utils/tools';
|
|
|
+import { getAccountName, removeNull, copyText } from '../../utils/tools';
|
|
|
import { accountLtate, } from '../../utils/tools/config'
|
|
|
import ListBottomStart from "../../components/common/listBottomStart";
|
|
|
import AuditModal from "../../components/common/auditModal";
|
|
@@ -241,6 +241,7 @@ class Examine extends Component {
|
|
|
}}
|
|
|
>
|
|
|
{item.status == 1 && <View className='lbt' onClick={e => { e.stopPropagation(); this.setState({ visible: true, id: item.id }) }}>查看审核详情</View>}
|
|
|
+ {item.status == 2 && <View className='lbt' style={{ background: "#ff4d4f" }} onClick={e => { e.stopPropagation(); copyText(item.checkNo) }}>复制编号打印</View>}
|
|
|
<View className='line'>报销金额:{item.totalAmount}元</View>
|
|
|
<View className='line'>报销时间:{item.createTimeStr}</View>
|
|
|
<View className='line'>报销类型:{getAccountName(item.type, item.typeOther)}</View>
|