“user il y a 7 ans
Parent
commit
0c06419971

+ 2 - 4
js/component/manageCenter/order/flowSettlement/billManagement/myBillDetaile.jsx

@@ -3,9 +3,8 @@ import { Icon, Table, Modal, message, Spin, Input, Select, Button, Form ,Upload,
 import ajax from 'jquery/src/ajax/xhr.js';
 import $ from 'jquery/src/ajax';
 import '../../userMangagement.less';
-import {} from '../../../../dataDic.js';
 import {getOrderType ,getOrderChannel , getOrderState ,getPaymentState ,getApprovedState,getTransactionChannel,getTransactionProject  } from '../../../../tools.js';
-
+import moment from 'moment';
 
 const MyBillDetaile = Form.create()(React.createClass({
 	getInitialState() {
@@ -273,11 +272,10 @@ const MyBillDetaile = Form.create()(React.createClass({
 				                            {...formItemLayout}
 				                            label="财务流水时间" >   
 				                            <DatePicker
-				                              style={{marginTop:'0',width:'200px',height:'32px'}}
 										      showTime
 										      format="YYYY-MM-DD HH:mm:ss"
 										      placeholder="选择时间"
-										      value={this.state.financialPayTime}
+										      value={this.state.financialPayTime?moment(this.state.financialPayTime,'YYYY-MM-DD HH:mm:ss'):undefined}
 										      onChange={(e,time)=>{this.selTime(e,time)}}
 										    />
 									        <span className="mandatory">*</span>