|
|
@@ -6,6 +6,7 @@
|
|
|
import React, { Component } from 'react'
|
|
|
import { connect } from 'react-redux'
|
|
|
import './currency-detail.less'
|
|
|
+import { getFormItems } from '../../../utils/common/form.util'
|
|
|
|
|
|
class CurrencyDetail extends Component {
|
|
|
|
|
|
@@ -16,7 +17,7 @@ class CurrencyDetail extends Component {
|
|
|
}
|
|
|
|
|
|
componentDidMount () {
|
|
|
- document.title = '单据详情'
|
|
|
+
|
|
|
}
|
|
|
|
|
|
componentWillUnmount () {
|
|
|
@@ -24,9 +25,17 @@ class CurrencyDetail extends Component {
|
|
|
}
|
|
|
|
|
|
render () {
|
|
|
+ const { formGroups } = this.props
|
|
|
+ const formItems = getFormItems(formGroups)
|
|
|
+
|
|
|
return (
|
|
|
- <div>
|
|
|
- 单据详情
|
|
|
+ <div className='currency-detail-root'>
|
|
|
+ <div className='currency-detail-content'>
|
|
|
+ {formItems}
|
|
|
+ </div>
|
|
|
+ <div className='currency-detail-operation'>
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
)
|
|
|
}
|