|
@@ -3,7 +3,7 @@ import { connect } from 'react-redux'
|
|
|
import { Input, Textarea, View, Text, Picker, Button, Image } from '@tarojs/components'
|
|
|
import Taro from '@tarojs/taro';
|
|
|
import {
|
|
|
- AtButton, AtModal, AtModalContent, AtModalAction
|
|
|
+ AtButton, AtModal, AtModalContent, AtModalAction, AtTextarea
|
|
|
} from "taro-ui";
|
|
|
import dayjs from 'dayjs';
|
|
|
import Skeleton from 'taro-skeleton'
|
|
@@ -235,7 +235,7 @@ class PunchClocks extends Component {
|
|
|
<View className='items'>
|
|
|
<View className='ititle'><Text style={{ color: "red", width: "7px" }}>*</Text>研发工时:
|
|
|
<Input value={this.state.duration} type='digit' className='input' placeholder='请输入'
|
|
|
- style={{ textAlign: "center", background: "#D7D7D7", borderRadius: "15px", padding: "3px 5px" }}
|
|
|
+ style={{ textAlign: "center", background: "#F5F5F5", borderRadius: "15px", padding: "3px 5px" }}
|
|
|
// border: "1px solid #d6e4ef",
|
|
|
onInput={e => {
|
|
|
this.setState({
|
|
@@ -264,17 +264,29 @@ class PunchClocks extends Component {
|
|
|
|
|
|
<View className='items'>
|
|
|
<View className='ititles'><Text style={{ width: "7px" }}></Text>研发记录:
|
|
|
- <Textarea
|
|
|
+ <AtTextarea
|
|
|
value={this.state.remark}
|
|
|
+ onChange={value => {
|
|
|
+ this.setState({
|
|
|
+ remark: value,
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ maxLength={500}
|
|
|
placeholder="请填写研发过程记录"
|
|
|
+ />
|
|
|
+ {/*
|
|
|
+ <Textarea
|
|
|
+ value={this.state.remark}
|
|
|
+ placeholder="请填写研发过程记录不能超过500字"
|
|
|
style='background:#D7D7D7;width:66%;min-height:70px;padding:10px;border-radius: 10px'
|
|
|
autoHeight
|
|
|
+ maxlength={500}
|
|
|
onInput={e => {
|
|
|
this.setState({
|
|
|
remark: e.detail.value
|
|
|
})
|
|
|
}}
|
|
|
- />
|
|
|
+ /> */}
|
|
|
</View>
|
|
|
</View>
|
|
|
<View className='items'>
|