Commit d0745796 by fukai

BEITS改为模态框

parent 9ad3ec0c
......@@ -6,7 +6,7 @@ import { updateTreeValue,updateRcvBic,updateSndBic,initSwiftMessageTree ,updateS
import ServiceAPI from './ServiceAPI'
import MessageValidater from './MessageValidater'
import { Form, Input, DatePicker,Row, Col,Button,Icon ,Select,Spin,Steps,Affix,Popconfirm,notification} from 'antd';
import { Form, Input, DatePicker,Row, Col,Button,Icon ,Select,Spin,Steps,Affix,Popconfirm,notification,Modal} from 'antd';
const FormItem = Form.Item;
import MTFactory from './MT'
......@@ -67,7 +67,7 @@ export class SWFPage extends Component
if("20" == item.tag && item.tagValue[1] && (/\d9\d/g.test(mty))){
ServiceAPI.checkOwnref(item.tagValue[1]).then(rtnmsg=>{
if(rtnmsg.errorCode != "0000"){
notification.warn({description:'the reference  does not exist,please confirm!',message:'Warn'})
Modal.warning({content:'The reference '+ item.tagValue[1] + 'does not exist,please confirm!',title:'Warn',okText:'OK'})
}
})
}
......@@ -353,7 +353,7 @@ export class SWFPage extends Component
return ; //已经拥有编辑树
this.reload(1)
}
//Modal.warning({content:'The reference '+1111+' does not exist,please confirm!',title:'Warn',okText:'OK'})
}
render()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment