|
@@ -503,37 +503,43 @@ class PublicContent extends Component {
|
|
<View className="tips">
|
|
<View className="tips">
|
|
以地图为中心100米范围为可打卡区域,移动红标只需要拖动地图即可
|
|
以地图为中心100米范围为可打卡区域,移动红标只需要拖动地图即可
|
|
</View>
|
|
</View>
|
|
- <View className="formItems" style={{ paddingBottom: 0, marginTop: 10 }}>
|
|
|
|
- <View className="formNames">技术协单: </View>
|
|
|
|
- <View className="formValues">
|
|
|
|
- {
|
|
|
|
- cList.length == 0
|
|
|
|
- ? <Text>无</Text>
|
|
|
|
- : cList.map((item, index) =>
|
|
|
|
- <View className="fitems" key={index}>
|
|
|
|
- {item.name}
|
|
|
|
- <View className="fclose"
|
|
|
|
- onClick={() => {
|
|
|
|
- coorderList.includes(item.id) &&
|
|
|
|
- (
|
|
|
|
- cList.splice(coorderList.indexOf(item.id), 1),
|
|
|
|
- coorderList.splice(coorderList.indexOf(item.id), 1)
|
|
|
|
- )
|
|
|
|
- this.setState({
|
|
|
|
- cList,
|
|
|
|
- coorderList,
|
|
|
|
- })
|
|
|
|
- }}
|
|
|
|
- ><AtIcon value="close-circle" size="15" color="#bbbbbb" /></View>
|
|
|
|
- </View>
|
|
|
|
- )
|
|
|
|
- }
|
|
|
|
- {cList.length < 5 && <Button className="addbuttom" type='primary' onClick={this.popupClick.bind(this)}>新增技术协单</Button>}
|
|
|
|
|
|
+ {
|
|
|
|
+ this.props.enterpriseInfor.type === 0 &&
|
|
|
|
+ <View className="formItems" style={{ paddingBottom: 0, marginTop: 10 }}>
|
|
|
|
+ <View className="formNames">技术协单: </View>
|
|
|
|
+ <View className="formValues">
|
|
|
|
+ {
|
|
|
|
+ cList.length == 0
|
|
|
|
+ ? <Text>无</Text>
|
|
|
|
+ : cList.map((item, index) =>
|
|
|
|
+ <View className="fitems" key={index}>
|
|
|
|
+ {item.name}
|
|
|
|
+ <View className="fclose"
|
|
|
|
+ onClick={() => {
|
|
|
|
+ coorderList.includes(item.id) &&
|
|
|
|
+ (
|
|
|
|
+ cList.splice(coorderList.indexOf(item.id), 1),
|
|
|
|
+ coorderList.splice(coorderList.indexOf(item.id), 1)
|
|
|
|
+ )
|
|
|
|
+ this.setState({
|
|
|
|
+ cList,
|
|
|
|
+ coorderList,
|
|
|
|
+ })
|
|
|
|
+ }}
|
|
|
|
+ ><AtIcon value="close-circle" size="15" color="#bbbbbb" /></View>
|
|
|
|
+ </View>
|
|
|
|
+ )
|
|
|
|
+ }
|
|
|
|
+ {cList.length < 5 && <Button className="addbuttom" type='primary' onClick={this.popupClick.bind(this)}>新增技术协单</Button>}
|
|
|
|
+ </View>
|
|
</View>
|
|
</View>
|
|
- </View>
|
|
|
|
- <View className="tips">
|
|
|
|
- 技术协单,将统计相关的公出成本等
|
|
|
|
- </View>
|
|
|
|
|
|
+ }
|
|
|
|
+ {
|
|
|
|
+ this.props.enterpriseInfor.type === 0 &&
|
|
|
|
+ <View className="tips">
|
|
|
|
+ 技术协单,将统计相关的公出成本等
|
|
|
|
+ </View>
|
|
|
|
+ }
|
|
<View
|
|
<View
|
|
className="formItem"
|
|
className="formItem"
|
|
style={{ display: "block", paddingTop: "15px" }}
|
|
style={{ display: "block", paddingTop: "15px" }}
|