Commit 13d1eaf5 by WeiCong

conflict

parents 934e2462 b1d3f3cd
export {default as model} from './model'
export {default as descriptor} from './descriptor'
export {default} from './views'
\ No newline at end of file
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem, BottomBtn,CheckboxItem1,
InputItem, Input, Bind, SelectItem, Button, Label, DatePickerItem, Section, ConfirmButton, Steps, TextAreaItem
} from '@/components/Common-Library'
import Api from '@/service/api'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable } from 'mobx'
import { Row, Col, Popconfirm, Modal, Spin } from 'antd';
import { PtyPicker } from '@/components/Business-Library'
import { Link, withRouter } from 'react-router-dom'
import Ptspta from '@/views/Public/Ptspta'
import Business from '@/views/Public/Business'
import Ptspta1 from '@/views/Public/Ptspta1'
const { Pre, Next, StepWrapper } = Steps
const CodeTable = CodeTableFactory.getInstance()
const confirm = Modal.confirm
@withRouter
@inject('UserContext')
@inject('i18n')
@observer
export default class GetamcScreen extends Page {
@observable
formBlur = false
constructor(props) {
super(props)
this.model = props.model
this.bind = Bind.bind(this)
}
Checkboxchange=(type,value)=>{
console.log(value)
if(value){
this.model[type]='0'
}else{
this.model[type]='1'
}
}
//交易内实现
renderPage() {
const bind = this.bind
const { i18n } = this.props
const { bchlevelLst } = this.props.extra
//const {next,pre} = this.props.steps
bind("pts_namcn")
bind("pts5_namcn")
bind("pts2_namcn")
bind("pts6_namcn")
if (this.props.flag == true) {
return <Spin style={{ width: "100%", justifyContent: "center" }} spinning={this.props.flag} />
}
return (
<div style={{ position: 'relative' }}>
<Business wrappedComponentRef={ref => (this.com = ref)} page={this} steps={this.props.steps} extra={this.props.extra} model={this.model} />
{/* 第1行 */}
<Row>
{/* 第1行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Document tree" trn="getamc" />
</Col>
<Col span={14} >
<InputItem InputProps={bind("trndoc_doctrestm")} desp="Document tree" path="/trnmod/trndoc/doctrestm" style="width:100px;height:50px;"/>
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Connected Documents" trn="getamc" /> */}
<Label itext="C Dmts" trn="getamc" />
</Col>
<Col span={14} >
<InputItem InputProps={bind("trndoc_condocstm")} desp="Connected Documents" path="/trnmod/trndoc/condocstm" />
</Col>
</Row>
</Col>
</Row>
{/* 第2行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Show Incoming Messages" trn="getamc" /> */}
<Label itext="S Icm Msg" trn="getamc" />
</Col>
<Col span={14} >
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("trndoc_shwinc",value)} InputProps={bind("trndoc_shwinc")} desp="Show Incoming Messages" path="/trnmod/trndoc/shwinc" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Show Internal Messages" trn="getamc" /> */}
<Label itext="S Itl Msg" trn="getamc" />
</Col>
<Col span={14} >
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("trndoc_shwoutint",value)} InputProps={bind("trndoc_shwoutint")} desp="Show Internal Messages" path="/trnmod/trndoc/shwoutint" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Show Outgoing Messages" trn="getamc" /> */}
<Label itext="S Otg Msg" trn="getamc" />
</Col>
<Col span={14} >
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("trndoc_shwout",value)} InputProps={bind("trndoc_shwout")} desp="Show Outgoing Messages" path="/trnmod/trndoc/shwout" />
</Col>
</Row>
</Col>
</Row>
{/* 底部按钮 */}
<BottomBtn _this={this} />
</div >
)
}
}
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem,
InputItem, Input, Bind, SelectItem, Button, Label, DatePickerItem, Section, Table, TextArea, ConfirmButton, Steps
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetamc from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable, runInAction } from 'mobx'
import Basic from './Basic'
import FuJia from './FuJia'
import FuJia1 from './FuJia1'
import Fee from '@/views/Public/Fee'
import Gle from '@/views/Public/Gle'
import Papper from '@/views/Public/Papper'
import Engp from '@/views/Public/Engp'
import { Card } from 'antd'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class GetamcScreen extends Page{
@observable
formBlur = false
@observable
extra = { inifrm: 'getamc', getinr: '', bchlevelLst: [] }
constructor(props) {
super(props)
this.state = {
flag: true
}
this.model = new mGetamc()
}
async componentWillMount()
{
/*
*添加初始化代码
*/
let didinr = '';
if (this.props.location.query) {
if(this.props.location.query.from=="getsel"){
this.extra.getinr=this.props.location.query.getinr;
}else{
didinr=this.props.location.query.didinr;
}
}
const rtnmsg = await Api.post(this.extra.inifrm + '/init', { params: { getinr:this.extra.getinr,didinr } })
if (rtnmsg.retcod == SUCCESS) {
this.extra.bchlevelLst = rtnmsg.codetable.ownbch;
this.extra.bopmod_szflg = rtnmsg.codetable.bopmod_szflg;
Object.assign(this.model, rtnmsg.data)
this.model.max_cur = 'CNY'
this.model.concur = 'CNY'
this.model.nom1_cur= 'CNY'
this.setState({ flag: false })
}
else {
Notification.error({ message: '服务端请求失败!' })
}
//快照模式下,不必开启校验,否则,静默校验,和记录变动
!this.loadDisplay() && this.model.openMonitor() //开启校验
}
componentWillUnmount() {
this.model.stopMonitor()//关闭校验
}
renderPage(){
return(
<Card title="出口保函保兑" size="small" className="transTitle">
<Steps>
<StepItem title="明细">
<Basic model={this.model} extra={this.extra} flag={this.state.flag}/>
</StepItem>
<StepItem title="附加">
<FuJia model={this.model} extra={this.extra} flag={this.state.flag} />
</StepItem>
<StepItem title="附加1">
<FuJia1 model={this.model} extra={this.extra} flag={this.state.flag} />
</StepItem>
<StepItem title="表外&保证金">
<Engp model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="费用&账务">
<Fee model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="会计分录">
<Gle model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="面函">
<Papper model={this.model} extra={this.extra} />
</StepItem>
</Steps>
</Card>
)
}
}
import React, { Component, Fragment } from 'react'
import PropTypes from 'prop-types'
import {
Page, Validator, Notification, FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
Page, Validator, Notification, FormItem, DatePickerItem, TextAreaItem, CheckboxItem1, Checkbox,
InputItem , Input, Bind, SelectItem, Button, Label, Image, Table, BottomBtn
} from '@/components/Common-Library'
import Api from '@/service/api'
......@@ -59,7 +59,14 @@ export default class GetameScreen extends Page {
})
}
Checkboxchange=(type,value)=>{
console.log(value)
if(value){
this.model[type]='0'
}else{
this.model[type]='1'
}
}
//交易内实现
renderPage() {
const bind = this.bind
......@@ -292,7 +299,7 @@ export default class GetameScreen extends Page {
<Label itext="Unlimited" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("swiadd_newexpflg")} desp="Unlimited Validity" path="/gitamep/swiadd/newexpflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("swiadd_newexpflg",value)} InputProps={bind("swiadd_newexpflg")} desp="Unlimited Validity" path="/gitamep/swiadd/newexpflg" />
</Col>
</Row>
......@@ -301,7 +308,7 @@ export default class GetameScreen extends Page {
<Label itext="Add. Amount" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("aammod_addamtflg",value)} InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
</Col>
</Row>
......@@ -359,7 +366,7 @@ export default class GetameScreen extends Page {
<Label itext="CAM" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("gitamep_cre767flg")} desp="Create Amendment Message" path="/gitamep/cre767flg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("gitamep_cre767flg",value)} InputProps={bind("gitamep_cre767flg")} desp="Create Amendment Message" path="/gitamep/cre767flg" />
</Col>
</Row>
<Row className="row">
......@@ -368,7 +375,7 @@ export default class GetameScreen extends Page {
<Label itext="cft" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("gitamep_prtflg")} desp="choose full text" path="/gitamep/prtflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("gitamep_prtflg",value)} InputProps={bind("gitamep_prtflg")} desp="choose full text" path="/gitamep/prtflg" />
</Col>
</Row>
</Col>
......@@ -381,7 +388,7 @@ export default class GetameScreen extends Page {
<Label itext="Cpucn" trn="getame" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("gitamep_clsclmflg")} desp="Close picked up claim now" path="/gitamep/clsclmflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("gitamep_clsclmflg",value)} InputProps={bind("gitamep_clsclmflg")} desp="Close picked up claim now" path="/gitamep/clsclmflg" />
</Col>
</Row>
</Col>
......@@ -392,7 +399,7 @@ export default class GetameScreen extends Page {
<Label itext="aobr" trn="getame" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("gitamep_abrflg")} desp="agreement of bene. required" path="/gitamep/abrflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("gitamep_abrflg",value)} InputProps={bind("gitamep_abrflg")} desp="agreement of bene. required" path="/gitamep/abrflg" />
</Col>
</Row>
</Col>
......
import React, { Component, Fragment } from 'react'
import PropTypes from 'prop-types'
import {
Page, Validator, Notification, FormItem, DatePickerItem , TextAreaItem, CheckboxItem, Checkbox,
Page, Validator, Notification, FormItem, DatePickerItem , TextAreaItem, CheckboxItem1, Checkbox,
InputItem , Input, Bind, SelectItem , Button, Label, Image, Table, BottomBtn
} from '@/components/Common-Library'
import Api from '@/service/api'
......@@ -62,6 +62,14 @@ export default class GetameScreen extends Page {
})
}
Checkboxchange=(type,value)=>{
console.log(value)
if(value){
this.model[type]='0'
}else{
this.model[type]='1'
}
}
//交易内实现
renderPage() {
......@@ -121,7 +129,7 @@ export default class GetameScreen extends Page {
<Label itext="Reserved Contract" trn="getame" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("resflg")} desp="Reserved Contract" path="/gidgrp/rec/resflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("resflg",value)} InputProps={bind("resflg")} desp="Reserved Contract" path="/gidgrp/rec/resflg" />
</Col>
</Row>
</Col>
......@@ -196,7 +204,7 @@ export default class GetameScreen extends Page {
<Label itext="Add. Amount" trn="getame" />
</Col>
<Col span={1}>
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("aammod_addamtflg",value)} InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
</Col>
</Row>
</Col>
......@@ -388,7 +396,7 @@ export default class GetameScreen extends Page {
<Label itext="Unlimited Guarantee" trn="getame" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("expflg")} desp="Unlimited Guarantee" path="/gidgrp/rec/expflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("expflg",value)} InputProps={bind("expflg")} desp="Unlimited Guarantee" path="/gidgrp/rec/expflg" />
</Col>
</Row>
</Col>
......@@ -411,7 +419,7 @@ export default class GetameScreen extends Page {
<Label itext="Unlimited Liability" trn="getame" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("liaflg")} desp="Unlimited Liability" path="/gidgrp/rec/liaflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("liaflg",value)} InputProps={bind("liaflg")} desp="Unlimited Liability" path="/gidgrp/rec/liaflg" />
</Col>
</Row>
</Col>
......@@ -435,7 +443,7 @@ export default class GetameScreen extends Page {
<Label itext="Test Key Unconfirmity" trn="getame" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("teskeyunc")} desp="Test Key Unconfirmity" path="/gidgrp/rec/teskeyunc" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("teskeyunc",value)} InputProps={bind("teskeyunc")} desp="Test Key Unconfirmity" path="/gidgrp/rec/teskeyunc" />
</Col>
</Row>
</Col>
......@@ -463,7 +471,7 @@ export default class GetameScreen extends Page {
<InputItem disabled={true} InputProps={bind("cfaguatyp")} maxLength={4} desp="对外担保类型" path="/gidgrp/rec/cfaguatyp" />
</Col>
<Col span={1} offset={1}>
<CheckboxItem InputProps={bind("cmtflg")} desp="跨境人民币保函" path="/gidgrp/rec/cmtflg" />
<CheckboxItem1 onChange={(value)=>this.Checkboxchange("cmtflg",value)} InputProps={bind("cmtflg")} desp="跨境人民币保函" path="/gidgrp/rec/cmtflg" />
</Col>
</Row>
</Col>
......
......@@ -78,7 +78,7 @@ export default class GetselScreen extends Page {
//交易内实现
renderPage() {
return (
<Card title="包含修改确认" size="small" className="transTitle">
<Card title="出口包含修改" size="small" className="transTitle">
<Steps>
......
export default fieldSet = {
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\expdat Valid until
],
gartyp:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\gartyp Type of Undertaking
],
hndtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gidgrp\rec\hndtyp Handling Type
],
liadat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\liadat Liability until
],
nam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\ownref Reference
],
purcan:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\rec\purcan Reason of Cancelation
],
autflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \autflg Authentication
],
pts_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\adv\pts\nam 客户英文名称
],
pts1_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\apl\pts\nam 客户英文名称
],
pts2_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\ben\pts\nam 客户英文名称
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\max\amt Balance
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\max\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\opn1\amt Balance
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\opn1\cur Currency
],
pts3_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\iss\pts\nam 客户英文名称
],
gitp0_aplmullab:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gitp0\aplmullab Label, that is set, if there are multiple applicants
],
gitp0_expfldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gitp0\expfldlab Label for Field Validity
],
gitp0_liafldlab:[
{type:'string',max:13,message:'长度不能超过13个字符'}, // \gitp0\liafldlab Label for Field Lability
],
mtabut_clsflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \mtabut\clsflg Close Flag
],
newref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \newref New Reference
],
}
\ No newline at end of file
export {default as model} from './model'
export {default as descriptor} from './descriptor'
export {default} from './views'
\ No newline at end of file
import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {modelWrapper} from '@/components/RunTime'
@modelWrapper
class Getcan {
@observable
expdat="" // \gidgrp\rec\expdat Valid until
@observable
gartyp="" // \gidgrp\rec\gartyp Type of Undertaking
@observable
hndtyp="" // \gidgrp\rec\hndtyp Handling Type
@observable
liadat="" // \gidgrp\rec\liadat Liability until
@observable
nam="" // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
@observable
ownref="" // \gidgrp\rec\ownref Reference
@observable
purcan="" // \gidgrp\rec\purcan Reason of Cancelation
@observable
autflg="" // \autflg Authentication
@observable
pts_nam="" // \gidgrp\adv\pts\nam 客户英文名称
@observable
pts1_nam="" // \gidgrp\apl\pts\nam 客户英文名称
@observable
pts2_nam="" // \gidgrp\ben\pts\nam 客户英文名称
@observable
max_amt="" // \gidgrp\cbs\max\amt Balance
@observable
max_cur="" // \gidgrp\cbs\max\cur Currency
@observable
opn1_amt="" // \gidgrp\cbs\opn1\amt Balance
@observable
opn1_cur="" // \gidgrp\cbs\opn1\cur Currency
@observable
pts3_nam="" // \gidgrp\iss\pts\nam 客户英文名称
@observable
gitp0_aplmullab="" // \gitp0\aplmullab Label, that is set, if there are multiple applicants
@observable
gitp0_expfldlab="" // \gitp0\expfldlab Label for Field Validity
@observable
gitp0_liafldlab="" // \gitp0\liafldlab Label for Field Lability
@observable
mtabut_clsflg="" // \mtabut\clsflg Close Flag
@observable
newref="" // \newref New Reference
get descriptor()
{
return _descriptor
}
clear()
{
this.expdat=""
this.gartyp=""
this.hndtyp=""
this.liadat=""
this.nam=""
this.ownref=""
this.purcan=""
this.autflg=""
this.pts_nam=""
this.pts1_nam=""
this.pts2_nam=""
this.max_amt=""
this.max_cur=""
this.opn1_amt=""
this.opn1_cur=""
this.pts3_nam=""
this.gitp0_aplmullab=""
this.gitp0_expfldlab=""
this.gitp0_liafldlab=""
this.mtabut_clsflg=""
this.newref=""
}
}
export default Getcan
\ No newline at end of file
import React,{Component,Fragment} from 'react'
import PropTypes from 'prop-types'
import {Page,Validator,Notification,FormItem, BottomBtn, DatePickerItem,TextAreaItem,CheckboxItem,Checkbox,
InputItem,Input,Bind,SelectItem,Button,Label,Image,Table} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetcan from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable,runInAction } from 'mobx'
import { Row, Col, Card } from 'antd'
import Business from '@/views/Public/Business'
const CodeTable = CodeTableFactory.getInstance()
@inject('UserContext')
@inject('i18n')
@observer
export default class GetcanScreen extends Page
{
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext () {
return {trn:'getcan'}
}
@observable
formBlur=false
constructor(props)
{
super(props)
this.model = new mGetcan()
this.bind = Bind.bind(this)
}
async componentWillMount()
{
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('getcan/init',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
runInAction(()=>{
Object.assign(this.model,data)
})
}
//快照模式下,不必开启校验,否则,静默校验,和记录变动
!this.loadDisplay() && this.model.openMonitor && this.model.openMonitor() //开启校验
}
componentWillUnmount()
{
this.model.stopMonitor&&this.model.stopMonitor()//关闭校验
}
//交易内实现
renderPage(){
const bind = this.bind
const {i18n} = this.props
return(
<Card title="出口保函注销" size="small" className="transTitle">
<div style={{position:'relative',backgroundColor:'#fff',height:'100%'}} >
{/* 第1行 */}
<Business wrappedComponentRef={ref => (this.com = ref)} extra={this.props.extra} model={this.model} />
<Row>
{/* 第1行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Reference" trn="getcan" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("ownref")} maxLength={16} desp="Reference" path="/gidgrp/rec/ownref" />
</Col>
</Row>
</Col>
{/* 第1行第2列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Name" trn="getcan" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("nam")} maxLength={40} desp="Externally Displayed Name to Identify the Contract" path="/gidgrp/rec/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第2行 */}
<Row>
{/* 第2行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Guarantee Amount" trn="getcan" />
</Col>
<Col span={6}>
<InputItem InputProps={bind("max_cur")} maxLength={3} desp="Currency" path="/gidgrp/cbs/max/cur" />
</Col>
<Col span={7} offset={1}>
<InputItem InputProps={bind("max_amt")} desp="Balance" path="/gidgrp/cbs/max/amt" />
</Col>
</Row>
</Col>
{/* 第2行第2列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Applicant" trn="getcan" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("pts1_nam")} maxLength={100} desp="客户英文名称" path="/gidgrp/apl/pts/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第3行 */}
<Row>
{/* 第3行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Open Amount" trn="getcan" />
<Label value={this.model.gitp0_aplmullab} desp="Label, that is set, if there are multiple applicants" path="/gitp0/aplmullab" />
</Col>
<Col span={6} >
<InputItem InputProps={bind("opn1_cur")} maxLength={3} desp="Currency" path="/gidgrp/cbs/opn1/cur" />
</Col>
<Col span={7} offset={1}>
<InputItem InputProps={bind("opn1_amt")} desp="Balance" path="/gidgrp/cbs/opn1/amt" />
</Col>
</Row>
</Col>
{/* 第3行第2列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Beneficiary" trn="getcan" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("pts2_nam")} maxLength={100} desp="客户英文名称" path="/gidgrp/ben/pts/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第4行 */}
<Row>
{/* 第4行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Handling Type" trn="getcan" />
</Col>
<Col span={14}>
<SelectItem InputProps={bind("hndtyp")} code={CodeTable.hndtyp} desp="Handling Type" path="/gidgrp/rec/hndtyp"/>
</Col>
</Row>
</Col>
{/* 第4行第2列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Adv\Rcv Bank" trn="getcan" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("pts_nam")} maxLength={100} desp="客户英文名称" path="/gidgrp/adv/pts/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第5行 */}
<Row>
{/* 第5行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Type of Undertaking" trn="getcan" />
</Col>
<Col span={14} >
<SelectItem InputProps={bind("gartyp")} code={CodeTable.typgar} desp="Type of Undertaking" path="/gidgrp/rec/gartyp"/>
</Col>
</Row>
</Col>
{/* 第5行第2列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Issuing Bank" trn="getcan" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("pts3_nam")} maxLength={100} desp="客户英文名称" path="/gidgrp/iss/pts/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第6行 */}
<Row>
{/* 第6行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="expfldlab" trn="getcan" />
</Col>
<Col span={14}>
<DatePickerItem InputProps={bind("expdat")} desp="Valid until" path="/gidgrp/rec/expdat" />
<Label value={this.model.gitp0_expfldlab} desp="Label for Field Validity" path="/gitp0/expfldlab" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="liafldlab" trn="getcan" /> </Col>
<Col span={14}>
<DatePickerItem InputProps={bind("liadat")} desp="Liability until" path="/gidgrp/rec/liadat" />
<Label value={this.model.gitp0_liafldlab} desp="Label for Field Lability" path="/gitp0/liafldlab" />
</Col>
</Row>
</Col>
</Row>
{/* 第8行 */}
<Row>
{/* 第8行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Reason of Cancelation" trn="getcan" />
</Col>
<Col span={14}>
<SelectItem InputProps={bind("purcan")} code={CodeTable.purcan} desp="Reason of Cancelation" path="/gidgrp/rec/purcan"/>
</Col>
</Row>
</Col>
{/* 第8行第2列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Authentication" trn="getcan" />
</Col>
<Col span={14}>
<SelectItem InputProps={bind("autflg")} code={CodeTable.autflg} desp="Authentication" path="/autflg"/>
</Col>
</Row>
</Col>
</Row>
{/* 第9行 */}
<Row>
{/* 第9行第1列 */}
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="New Reference" trn="getcan" />
</Col>
<Col span={12}>
<InputItem InputProps={bind("newref")} maxLength={16} desp="New Reference" path="/newref" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Close Flag" trn="getcan" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("mtabut_clsflg")} desp="Close Flag" path="/mtabut/clsflg" />
</Col>
</Row>
</Col>
</Row>
{/* 底部按钮 */}
<BottomBtn _this={this} />
</div>
</Card>
)
}
}
export default fieldSet = {
clmdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gcdgrp\rec\clmdat Date of Claim
],
docprbrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\rec\docprbrol Presented by
],
nam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gcdgrp\rec\nam Externally Displayed Name to Identify the Contract
],
newexpdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gcdgrp\rec\newexpdat Validity Requested
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\rec\ownref Reference
],
payrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\rec\payrol Payer
],
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\expdat Valid until
],
gartyp:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\gartyp Type of Undertaking
],
liadat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\liadat Liability until
],
ownref1:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\ownref Reference
],
clmtxt:[
{type:'string',max:50,message:'长度不能超过50个字符'}, // \clmtxt Text of claim
],
extpay:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \extpay Extend or Pay
],
pts_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gcdgrp\apl\pts\nam 客户英文名称
],
pts_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\apl\pts\ref 参考号
],
pts1_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gcdgrp\ben\pts\nam 客户英文名称
],
pts1_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\ben\pts\ref 参考号
],
max2_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\cbs\max2\amt Balance
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\cbs\max\amt Balance
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\cbs\max\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\cbs\opn1\amt Balance
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\cbs\opn1\cur Currency
],
opn2_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\cbs\opn2\cur Currency
],
pts2_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gcdgrp\oth\pts\adrblk SWIFT地址
],
pts2_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\oth\pts\extkey 客户编号
],
pts3_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gcdgrp\prb\pts\adrblk SWIFT地址
],
pts3_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\prb\pts\extkey 客户编号
],
pts3_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\prb\pts\ref 参考号
],
gctp_adaflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gctp\adaflg Add. Amount
],
gctp_aplmullab:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gctp\aplmullab Label, that is set, if there are multiple applicants
],
gctp_expfldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gctp\expfldlab Label for Field Validity
],
gctp_explab:[
{type:'string',max:11,message:'长度不能超过11个字符'}, // \gctp\explab Label unlimited Validity
],
gctp_liafldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gctp\liafldlab Label for Field Liability
],
gctp_lialab:[
{type:'string',max:11,message:'长度不能超过11个字符'}, // \gctp\lialab Label unlimited Liability
],
opn11_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\opn1\amt Balance
],
opn11_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\opn1\cur Currency
],
liaccv_chgamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\chgamt 变动金额
],
liaccv_concur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \liaall\liaccv\concur 业务结算币种
],
liaccv_cshpct:[
{type:'string',max:5,message:'长度不能超过5个字符'}, // \liaall\liaccv\cshpct 保证金应收比例
],
liaccv_newamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\newamt 业务金额
],
liaccv_pctresamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\pctresamt 应收/支保证金
],
liaccv_relcshpct:[
{type:'string',max:5,message:'长度不能超过5个字符'}, // \liaall\liaccv\relcshpct 保证金实收比例
],
liaccv_totcovamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\totcovamt 保证金合计
],
nxtflg:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \nxtflg Further Processing
],
setmod_docamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \setmod\docamt document amount
],
setmod_doccur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \setmod\doccur document currency
],
setmod_feemac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\feemac FEEMAC
],
setmod_setmac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\setmac SETMAC
],
spt_inr:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \sysmod\spt\inr 唯一编号
],
trndoc_cortyp:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \trnmod\trndoc\cortyp Per Medium
],
trndoc_doccod:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \trnmod\trndoc\doccod 面函码值
],
trndoc_docpth:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \trnmod\trndoc\docpth 面函路径
],
}
\ No newline at end of file
export {default as model} from './model'
export {default as descriptor} from './descriptor'
export {default} from './views'
\ No newline at end of file
import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {modelWrapper} from '@/components/RunTime'
@modelWrapper
class Getcrq {
@observable
clmdat="" // \gcdgrp\rec\clmdat Date of Claim
@observable
docprbrol="" // \gcdgrp\rec\docprbrol Presented by
@observable
nam="" // \gcdgrp\rec\nam Externally Displayed Name to Identify the Contract
@observable
newexpdat="" // \gcdgrp\rec\newexpdat Validity Requested
@observable
ownref="" // \gcdgrp\rec\ownref Reference
@observable
payrol="" // \gcdgrp\rec\payrol Payer
@observable
expdat="" // \gidgrp\rec\expdat Valid until
@observable
gartyp="" // \gidgrp\rec\gartyp Type of Undertaking
@observable
liadat="" // \gidgrp\rec\liadat Liability until
@observable
ownref1="" // \gidgrp\rec\ownref Reference
@observable
clmtxt="" // \clmtxt Text of claim
@observable
extpay="" // \extpay Extend or Pay
@observable
pts_nam="" // \gcdgrp\apl\pts\nam 客户英文名称
@observable
pts_ref="" // \gcdgrp\apl\pts\ref 参考号
@observable
pts1_nam="" // \gcdgrp\ben\pts\nam 客户英文名称
@observable
pts1_ref="" // \gcdgrp\ben\pts\ref 参考号
@observable
max2_amt="" // \gcdgrp\cbs\max2\amt Balance
@observable
max_amt="" // \gcdgrp\cbs\max\amt Balance
@observable
max_cur="" // \gcdgrp\cbs\max\cur Currency
@observable
opn1_amt="" // \gcdgrp\cbs\opn1\amt Balance
@observable
opn1_cur="" // \gcdgrp\cbs\opn1\cur Currency
@observable
opn2_cur="" // \gcdgrp\cbs\opn2\cur Currency
@observable
pts2_adrblk="" // \gcdgrp\oth\pts\adrblk SWIFT地址
@observable
pts2_extkey="" // \gcdgrp\oth\pts\extkey 客户编号
@observable
pts3_adrblk="" // \gcdgrp\prb\pts\adrblk SWIFT地址
@observable
pts3_extkey="" // \gcdgrp\prb\pts\extkey 客户编号
@observable
pts3_ref="" // \gcdgrp\prb\pts\ref 参考号
@observable
gctp_adaflg="" // \gctp\adaflg Add. Amount
@observable
gctp_aplmullab="" // \gctp\aplmullab Label, that is set, if there are multiple applicants
@observable
gctp_expfldlab="" // \gctp\expfldlab Label for Field Validity
@observable
gctp_explab="" // \gctp\explab Label unlimited Validity
@observable
gctp_liafldlab="" // \gctp\liafldlab Label for Field Liability
@observable
gctp_lialab="" // \gctp\lialab Label unlimited Liability
@observable
opn11_amt="" // \gidgrp\cbs\opn1\amt Balance
@observable
opn11_cur="" // \gidgrp\cbs\opn1\cur Currency
@observable
liaall_liaallg=[] // \liaall\liaallg
@observable
liaccv_chgamt="" // \liaall\liaccv\chgamt 变动金额
@observable
liaccv_concur="" // \liaall\liaccv\concur 业务结算币种
@observable
liaccv_cshpct="" // \liaall\liaccv\cshpct 保证金应收比例
@observable
liaccv_liaccvg=[] // \liaall\liaccv\liaccvg
@observable
liaccv_newamt="" // \liaall\liaccv\newamt 业务金额
@observable
liaccv_pctresamt="" // \liaall\liaccv\pctresamt 应收/支保证金
@observable
liaccv_relcshpct="" // \liaall\liaccv\relcshpct 保证金实收比例
@observable
liaccv_totcovamt="" // \liaall\liaccv\totcovamt 保证金合计
@observable
nxtflg="" // \nxtflg Further Processing
@observable
setmod_docamt="" // \setmod\docamt document amount
@observable
setmod_doccur="" // \setmod\doccur document currency
@observable
setmod_feemac="" // \setmod\feemac FEEMAC
@observable
glemod_glelst=[] // \setmod\glemod\glelst
@observable
fegmod_feslst=[] // \setmod\setfeg\fegmod\feslst
@observable
glgmod_glslst=[] // \setmod\setglg\glgmod\glslst
@observable
setmod_setmac="" // \setmod\setmac SETMAC
@observable
spt_inr="" // \sysmod\spt\inr 唯一编号
@observable
trndoc_cortyp="" // \trnmod\trndoc\cortyp Per Medium
@observable
trndoc_doccod="" // \trnmod\trndoc\doccod 面函码值
@observable
docmod_doclst=[] // \trnmod\trndoc\docmod\doclst
@observable
trndoc_docpth="" // \trnmod\trndoc\docpth 面函路径
get descriptor()
{
return _descriptor
}
clear()
{
this.clmdat=""
this.docprbrol=""
this.nam=""
this.newexpdat=""
this.ownref=""
this.payrol=""
this.expdat=""
this.gartyp=""
this.liadat=""
this.ownref1=""
this.clmtxt=""
this.extpay=""
this.pts_nam=""
this.pts_ref=""
this.pts1_nam=""
this.pts1_ref=""
this.max2_amt=""
this.max_amt=""
this.max_cur=""
this.opn1_amt=""
this.opn1_cur=""
this.opn2_cur=""
this.pts2_adrblk=""
this.pts2_extkey=""
this.pts3_adrblk=""
this.pts3_extkey=""
this.pts3_ref=""
this.gctp_adaflg=""
this.gctp_aplmullab=""
this.gctp_expfldlab=""
this.gctp_explab=""
this.gctp_liafldlab=""
this.gctp_lialab=""
this.opn11_amt=""
this.opn11_cur=""
this.liaall_liaallg=[]
this.liaccv_chgamt=""
this.liaccv_concur=""
this.liaccv_cshpct=""
this.liaccv_liaccvg=[]
this.liaccv_newamt=""
this.liaccv_pctresamt=""
this.liaccv_relcshpct=""
this.liaccv_totcovamt=""
this.nxtflg=""
this.setmod_docamt=""
this.setmod_doccur=""
this.setmod_feemac=""
this.glemod_glelst=[]
this.fegmod_feslst=[]
this.glgmod_glslst=[]
this.setmod_setmac=""
this.spt_inr=""
this.trndoc_cortyp=""
this.trndoc_doccod=""
this.docmod_doclst=[]
this.trndoc_docpth=""
}
}
export default Getcrq
\ No newline at end of file
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem,
InputItem, Input, Bind, SelectItem, Button, Label, DatePickerItem, Section, Table, TextArea, ConfirmButton, Steps
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetcrq from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable, runInAction } from 'mobx'
import Basic from './Basic'
import Fee from '@/views/Public/Fee'
import Gle from '@/views/Public/Gle'
import Papper from '@/views/Public/Papper'
import Engp from '@/views/Public/Engp'
import { Card } from 'antd'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class GetcrqScreen extends Page
{
@observable
formBlur = false
@observable
extra = { inifrm: 'Getcrq', sptinr: '', bchlevelLst: [] }
constructor(props) {
super(props)
this.state = {
flag: true
}
this.model = new mGetcrq()
}
async componentWillMount()
{
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('getcrq/init',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
runInAction(()=>{
Object.assign(this.model,data)
})
}
//快照模式下,不必开启校验,否则,静默校验,和记录变动
!this.loadDisplay() && this.model.openMonitor && this.model.openMonitor() //开启校验
}
componentWillUnmount()
{
this.model.stopMonitor&&this.model.stopMonitor()//关闭校验
}
//交易内实现
renderPage(){
const bind = this.bind
const {i18n} = this.props
return (
<Card title="出口保函索汇申请" size="small" className="transTitle">
<Steps>
<StepItem title="明细">
<Basic model={this.model} extra={this.extra} flag={this.state.flag} />
</StepItem>
<StepItem title="表外&保证金">
<Engp model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="费用&账务">
<Fee model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="会计分录">
<Gle model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="面函">
<Papper model={this.model} extra={this.extra} />
</StepItem>
</Steps>
</Card>
)
}
}
export default fieldSet = {
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\expdat Valid until
],
gartyp:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\gartyp Type of Undertaking
],
hndtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gidgrp\rec\hndtyp Handling Type
],
liadat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\liadat Liability until
],
nam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\ownref Reference
],
pts_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\adv\pts\nam 客户英文名称
],
pts1_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\apl\pts\nam 客户英文名称
],
pts2_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\ben\pts\nam 客户英文名称
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\max\amt Balance
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\max\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\opn1\amt Balance
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\opn1\cur Currency
],
pts3_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\iss\pts\nam 客户英文名称
],
gitp0_aplmullab:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gitp0\aplmullab Label, that is set, if there are multiple applicants
],
gitp0_expfldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gitp0\expfldlab Label for Field Validity
],
gitp0_liafldlab:[
{type:'string',max:13,message:'长度不能超过13个字符'}, // \gitp0\liafldlab Label for Field Lability
],
setmod_docamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \setmod\docamt document amount
],
setmod_doccur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \setmod\doccur document currency
],
setmod_feemac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\feemac FEEMAC
],
setmod_setmac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\setmac SETMAC
],
spt_inr:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \sysmod\spt\inr 唯一编号
],
trndoc_condocstm:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\condocstm Connected Documents
],
trndoc_cortyp:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \trnmod\trndoc\cortyp Per Medium
],
trndoc_doccod:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \trnmod\trndoc\doccod 面函码值
],
trndoc_docpth:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \trnmod\trndoc\docpth 面函路径
],
trndoc_doctrestm:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\doctrestm Document tree
],
trndoc_shwinc:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\shwinc Show Incoming Messages
],
trndoc_shwout:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\shwout Show Outgoing Messages
],
trndoc_shwoutint:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\shwoutint Show Internal Messages
],
intmbu_othbussec:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \xxtfee\intmbu\othbussec Business Sector
],
intmbu_umbflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \xxtfee\intmbu\umbflg Internal Transfer Y/N
],
}
\ No newline at end of file
export {default as model} from './model'
export {default as descriptor} from './descriptor'
export {default} from './views'
\ No newline at end of file
import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {modelWrapper} from '@/components/RunTime'
@modelWrapper
class Getfee {
@observable
expdat="" // \gidgrp\rec\expdat Valid until
@observable
gartyp="" // \gidgrp\rec\gartyp Type of Undertaking
@observable
hndtyp="" // \gidgrp\rec\hndtyp Handling Type
@observable
liadat="" // \gidgrp\rec\liadat Liability until
@observable
nam="" // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
@observable
ownref="" // \gidgrp\rec\ownref Reference
@observable
pts_nam="" // \gidgrp\adv\pts\nam 客户英文名称
@observable
pts1_nam="" // \gidgrp\apl\pts\nam 客户英文名称
@observable
pts2_nam="" // \gidgrp\ben\pts\nam 客户英文名称
@observable
max_amt="" // \gidgrp\cbs\max\amt Balance
@observable
max_cur="" // \gidgrp\cbs\max\cur Currency
@observable
opn1_amt="" // \gidgrp\cbs\opn1\amt Balance
@observable
opn1_cur="" // \gidgrp\cbs\opn1\cur Currency
@observable
pts3_nam="" // \gidgrp\iss\pts\nam 客户英文名称
@observable
gitp0_aplmullab="" // \gitp0\aplmullab Label, that is set, if there are multiple applicants
@observable
gitp0_expfldlab="" // \gitp0\expfldlab Label for Field Validity
@observable
gitp0_liafldlab="" // \gitp0\liafldlab Label for Field Lability
@observable
setmod_docamt="" // \setmod\docamt document amount
@observable
setmod_doccur="" // \setmod\doccur document currency
@observable
setmod_feemac="" // \setmod\feemac FEEMAC
@observable
glemod_glelst=[] // \setmod\glemod\glelst
@observable
fegmod_feslst=[] // \setmod\setfeg\fegmod\feslst
@observable
glgmod_glslst=[] // \setmod\setglg\glgmod\glslst
@observable
setmod_setmac="" // \setmod\setmac SETMAC
@observable
spt_inr="" // \sysmod\spt\inr 唯一编号
@observable
trndoc_condocstm="" // \trnmod\trndoc\condocstm Connected Documents
@observable
trndoc_cortyp="" // \trnmod\trndoc\cortyp Per Medium
@observable
trndoc_doccod="" // \trnmod\trndoc\doccod 面函码值
@observable
docmod_doclst=[] // \trnmod\trndoc\docmod\doclst
@observable
trndoc_docpth="" // \trnmod\trndoc\docpth 面函路径
@observable
trndoc_doctrestm="" // \trnmod\trndoc\doctrestm Document tree
@observable
trndoc_shwinc="" // \trnmod\trndoc\shwinc Show Incoming Messages
@observable
trndoc_shwout="" // \trnmod\trndoc\shwout Show Outgoing Messages
@observable
trndoc_shwoutint="" // \trnmod\trndoc\shwoutint Show Internal Messages
@observable
intmbu_othbussec="" // \xxtfee\intmbu\othbussec Business Sector
@observable
intmbu_umbflg="" // \xxtfee\intmbu\umbflg Internal Transfer Y/N
get descriptor()
{
return _descriptor
}
clear()
{
this.expdat=""
this.gartyp=""
this.hndtyp=""
this.liadat=""
this.nam=""
this.ownref=""
this.pts_nam=""
this.pts1_nam=""
this.pts2_nam=""
this.max_amt=""
this.max_cur=""
this.opn1_amt=""
this.opn1_cur=""
this.pts3_nam=""
this.gitp0_aplmullab=""
this.gitp0_expfldlab=""
this.gitp0_liafldlab=""
this.setmod_docamt=""
this.setmod_doccur=""
this.setmod_feemac=""
this.glemod_glelst=[]
this.fegmod_feslst=[]
this.glgmod_glslst=[]
this.setmod_setmac=""
this.spt_inr=""
this.trndoc_condocstm=""
this.trndoc_cortyp=""
this.trndoc_doccod=""
this.docmod_doclst=[]
this.trndoc_docpth=""
this.trndoc_doctrestm=""
this.trndoc_shwinc=""
this.trndoc_shwout=""
this.trndoc_shwoutint=""
this.intmbu_othbussec=""
this.intmbu_umbflg=""
}
}
export default Getfee
\ No newline at end of file
export default fieldSet = {
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\expdat Valid until
],
gartyp:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\gartyp Type of Undertaking
],
hndtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gidgrp\rec\hndtyp Handling Type
],
liadat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\liadat Liability until
],
nam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\ownref Reference
],
fremsg_ccrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \fremsg\ccrol Role Copy
],
fremsg_flg:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \fremsg\flg flg for gitfre
],
pts_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \fremsg\fmc\pts\adrblk SWIFT地址
],
pts_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \fremsg\fmc\pts\extkey 客户编号
],
pts1_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \fremsg\fmo\pts\adrblk SWIFT地址
],
pts1_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \fremsg\fmo\pts\extkey 客户编号
],
fremsg_fulmt:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \fremsg\fulmt MT to Send
],
fremsg_msgrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \fremsg\msgrol Role Message
],
fremsg_prttitle:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \fremsg\prttitle Document Title
],
fremsg_reldat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \fremsg\reldat from
],
fremsg_reldatlab:[
{type:'string',max:25,message:'长度不能超过25个字符'}, // \fremsg\reldatlab label for date
],
fremsg_reldir:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \fremsg\reldir relevant message sent/received
],
fremsg_relmt:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \fremsg\relmt related MT
],
fremsg_sndmt:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \fremsg\sndmt message to be created
],
fremsg_strinf:[
{type:'string',max:50,message:'长度不能超过50个字符'}, // \fremsg\strinf Narrative
],
fremsg_strinflab:[
{type:'string',max:80,message:'长度不能超过80个字符'}, // \fremsg\strinflab label for tag 79
],
fremsg_tag20lab:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \fremsg\tag20lab MT799tag20
],
fremsg_tag20ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \fremsg\tag20ref tag 20 Ref
],
pts2_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\adv\pts\nam 客户英文名称
],
pts3_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\apl\pts\nam 客户英文名称
],
pts4_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\ben\pts\nam 客户英文名称
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\max\amt Balance
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\max\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\opn1\amt Balance
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\opn1\cur Currency
],
pts5_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gidgrp\iss\pts\nam 客户英文名称
],
gitp0_aplmullab:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gitp0\aplmullab Label, that is set, if there are multiple applicants
],
gitp0_expfldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gitp0\expfldlab Label for Field Validity
],
gitp0_liafldlab:[
{type:'string',max:13,message:'长度不能超过13个字符'}, // \gitp0\liafldlab Label for Field Lability
],
setmod_docamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \setmod\docamt document amount
],
setmod_doccur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \setmod\doccur document currency
],
setmod_feemac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\feemac FEEMAC
],
setmod_setmac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\setmac SETMAC
],
spt_inr:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \sysmod\spt\inr 唯一编号
],
trndoc_condocstm:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\condocstm Connected Documents
],
trndoc_cortyp:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \trnmod\trndoc\cortyp Per Medium
],
trndoc_doccod:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \trnmod\trndoc\doccod 面函码值
],
trndoc_docpth:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \trnmod\trndoc\docpth 面函路径
],
trndoc_doctrestm:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\doctrestm Document tree
],
trndoc_shwinc:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\shwinc Show Incoming Messages
],
trndoc_shwout:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\shwout Show Outgoing Messages
],
trndoc_shwoutint:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \trnmod\trndoc\shwoutint Show Internal Messages
],
}
\ No newline at end of file
export {default as model} from './model'
export {default as descriptor} from './descriptor'
export {default} from './views'
\ No newline at end of file
import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {modelWrapper} from '@/components/RunTime'
@modelWrapper
class Getfre {
@observable
expdat="" // \gidgrp\rec\expdat Valid until
@observable
gartyp="" // \gidgrp\rec\gartyp Type of Undertaking
@observable
hndtyp="" // \gidgrp\rec\hndtyp Handling Type
@observable
liadat="" // \gidgrp\rec\liadat Liability until
@observable
nam="" // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
@observable
ownref="" // \gidgrp\rec\ownref Reference
@observable
fremsg_ccrol="" // \fremsg\ccrol Role Copy
@observable
fremsg_flg="" // \fremsg\flg flg for gitfre
@observable
pts_adrblk="" // \fremsg\fmc\pts\adrblk SWIFT地址
@observable
pts_extkey="" // \fremsg\fmc\pts\extkey 客户编号
@observable
pts1_adrblk="" // \fremsg\fmo\pts\adrblk SWIFT地址
@observable
pts1_extkey="" // \fremsg\fmo\pts\extkey 客户编号
@observable
fremsg_fulmt="" // \fremsg\fulmt MT to Send
@observable
fremsg_msgrol="" // \fremsg\msgrol Role Message
@observable
fremsg_prttitle="" // \fremsg\prttitle Document Title
@observable
fremsg_reldat="" // \fremsg\reldat from
@observable
fremsg_reldatlab="" // \fremsg\reldatlab label for date
@observable
fremsg_reldir="" // \fremsg\reldir relevant message sent/received
@observable
fremsg_relmt="" // \fremsg\relmt related MT
@observable
fremsg_sndmt="" // \fremsg\sndmt message to be created
@observable
fremsg_strinf="" // \fremsg\strinf Narrative
@observable
fremsg_strinflab="" // \fremsg\strinflab label for tag 79
@observable
fremsg_tag20lab="" // \fremsg\tag20lab MT799tag20
@observable
fremsg_tag20ref="" // \fremsg\tag20ref tag 20 Ref
@observable
pts2_nam="" // \gidgrp\adv\pts\nam 客户英文名称
@observable
pts3_nam="" // \gidgrp\apl\pts\nam 客户英文名称
@observable
pts4_nam="" // \gidgrp\ben\pts\nam 客户英文名称
@observable
max_amt="" // \gidgrp\cbs\max\amt Balance
@observable
max_cur="" // \gidgrp\cbs\max\cur Currency
@observable
opn1_amt="" // \gidgrp\cbs\opn1\amt Balance
@observable
opn1_cur="" // \gidgrp\cbs\opn1\cur Currency
@observable
pts5_nam="" // \gidgrp\iss\pts\nam 客户英文名称
@observable
gitp0_aplmullab="" // \gitp0\aplmullab Label, that is set, if there are multiple applicants
@observable
gitp0_expfldlab="" // \gitp0\expfldlab Label for Field Validity
@observable
gitp0_liafldlab="" // \gitp0\liafldlab Label for Field Lability
@observable
setmod_docamt="" // \setmod\docamt document amount
@observable
setmod_doccur="" // \setmod\doccur document currency
@observable
setmod_feemac="" // \setmod\feemac FEEMAC
@observable
glemod_glelst=[] // \setmod\glemod\glelst
@observable
fegmod_feslst=[] // \setmod\setfeg\fegmod\feslst
@observable
glgmod_glslst=[] // \setmod\setglg\glgmod\glslst
@observable
setmod_setmac="" // \setmod\setmac SETMAC
@observable
spt_inr="" // \sysmod\spt\inr 唯一编号
@observable
trndoc_condocstm="" // \trnmod\trndoc\condocstm Connected Documents
@observable
trndoc_cortyp="" // \trnmod\trndoc\cortyp Per Medium
@observable
trndoc_doccod="" // \trnmod\trndoc\doccod 面函码值
@observable
docmod_doclst=[] // \trnmod\trndoc\docmod\doclst
@observable
trndoc_docpth="" // \trnmod\trndoc\docpth 面函路径
@observable
trndoc_doctrestm="" // \trnmod\trndoc\doctrestm Document tree
@observable
trndoc_shwinc="" // \trnmod\trndoc\shwinc Show Incoming Messages
@observable
trndoc_shwout="" // \trnmod\trndoc\shwout Show Outgoing Messages
@observable
trndoc_shwoutint="" // \trnmod\trndoc\shwoutint Show Internal Messages
get descriptor()
{
return _descriptor
}
clear()
{
this.expdat=""
this.gartyp=""
this.hndtyp=""
this.liadat=""
this.nam=""
this.ownref=""
this.fremsg_ccrol=""
this.fremsg_flg=""
this.pts_adrblk=""
this.pts_extkey=""
this.pts1_adrblk=""
this.pts1_extkey=""
this.fremsg_fulmt=""
this.fremsg_msgrol=""
this.fremsg_prttitle=""
this.fremsg_reldat=""
this.fremsg_reldatlab=""
this.fremsg_reldir=""
this.fremsg_relmt=""
this.fremsg_sndmt=""
this.fremsg_strinf=""
this.fremsg_strinflab=""
this.fremsg_tag20lab=""
this.fremsg_tag20ref=""
this.pts2_nam=""
this.pts3_nam=""
this.pts4_nam=""
this.max_amt=""
this.max_cur=""
this.opn1_amt=""
this.opn1_cur=""
this.pts5_nam=""
this.gitp0_aplmullab=""
this.gitp0_expfldlab=""
this.gitp0_liafldlab=""
this.setmod_docamt=""
this.setmod_doccur=""
this.setmod_feemac=""
this.glemod_glelst=[]
this.fegmod_feslst=[]
this.glgmod_glslst=[]
this.setmod_setmac=""
this.spt_inr=""
this.trndoc_condocstm=""
this.trndoc_cortyp=""
this.trndoc_doccod=""
this.docmod_doclst=[]
this.trndoc_docpth=""
this.trndoc_doctrestm=""
this.trndoc_shwinc=""
this.trndoc_shwout=""
this.trndoc_shwoutint=""
}
}
export default Getfre
\ No newline at end of file
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem, BottomBtn, TextAreaItem, CheckboxItem,
InputItem, Input, Bind, SelectItem, Button, Label, DatePickerItem, Section, Table, TextArea, ConfirmButton, Steps, AmountLabel
} from '@/components/Common-Library'
import Api from '@/service/api'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable } from 'mobx'
import { Row, Col, Popconfirm, Modal } from 'antd';
import { ButtonModal, ModalTest } from '@/components/Business-Library'
import { Link, withRouter } from 'react-router-dom'
import Business from '@/views/Public/Business'
const CodeTable = CodeTableFactory.getInstance()
const confirm = Modal.confirm
const { Pre, Next, StepWrapper } = Steps
@withRouter
@inject('UserContext')
@inject('i18n')
@observer
export default class AttachmentsScreen extends Page {
@observable
formBlur = false
constructor(props) {
super(props)
this.model = props.model
this.bind = Bind.bind(this)
}
async componentWillMount() {
}
componentWillUnmount() {
// this.model.closeValidate()//关闭校验
}
onTabFocus = async () => {
this.com.wrappedInstance.wrappedInstance.onRebook();
}
//交易内实现
renderPage() {
const bind = this.bind
const { i18n } = this.props
return (
<div style={{ position: 'relative' }}>
<Business wrappedComponentRef={ref => (this.com = ref)} steps={this.props.steps} extra={this.props.extra} model={this.model} />
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Document tree" trn="getfre" />
</Col>
<Col span={14}>
<InputItem style={{ height: "60px", display: "inline-block" }} InputProps={bind("trndoc_doctrestm")} desp="Document tree" path="/trnmod/trndoc/doctrestm" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Show Incoming Messages" trn="getfre" /> */}
<Label itext="S Icm Msg" trn="getfre" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("trndoc_shwinc")} desp="Show Incoming Messages" path="/trnmod/trndoc/shwinc" />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Connected Documents" trn="getfre" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("trndoc_condocstm")} desp="Connected Documents" path="/trnmod/trndoc/condocstm" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Show Internal Messages" trn="getfre" /> */}
<Label itext="S Itl Msg" trn="getfre" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("trndoc_shwoutint")} desp="Show Internal Messages" path="/trnmod/trndoc/shwoutint" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Show Outgoing Messages" trn="getfre" /> */}
<Label itext="S Otg Msg" trn="getfre" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("trndoc_shwout")} desp="Show Outgoing Messages" path="/trnmod/trndoc/shwout" />
</Col>
</Row>
</Col>
</Row>
<BottomBtn _this={this} />
</div >
)
}
}
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
InputItem, Input, Bind, SelectItem, Button, Label, Image, Table, Steps
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetfre from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable } from 'mobx'
import Fee from '@/views/Public/Fee'
import Gle from '@/views/Public/Gle'
import Papper from '@/views/Public/Papper'
import FuJia from './FuJia'
import Basic from './Basic'
import { Card } from 'antd'
import DateFormat from '@/utils/DateUtil'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class GetfreScreen extends Page {
@observable
formBlur = false
@observable
extra = { inifrm: 'getfre', sptinr: '', bchlevelLst: [] }
constructor(props) {
super(props)
this.state = {
flag: true
}
this.model = new mGetfre()
}
async componentWillMount() {
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('getfre/init', { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
const { data } = rtnmsg
Object.assign(this.model, data)
}
//快照模式下,不必开启校验,否则,静默校验,和记录变动
!this.loadDisplay() && this.model.openMonitor && this.model.openMonitor() //开启校验
}
componentWillUnmount() {
this.model.stopMonitor && this.model.stopMonitor()//关闭校验
}
//交易内实现
renderPage() {
return (
<Card title="出口保函自由报文" size="small" className="transTitle">
<Steps>
<StepItem title="自由报文">
<Basic model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="附加">
<FuJia model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="费用&账务">
<Fee model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="会计分录">
<Gle model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="面函">
<Papper model={this.model} extra={this.extra} />
</StepItem>
</Steps>
</Card>
)
}
}
import React,{Component,Fragment} from 'react'
import PropTypes from 'prop-types'
import {Page, Validator, Notification, BottomBtn,FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
import {Page, Validator, Notification, BottomBtn,FormItem, DatePickerItem, TextAreaItem, CheckboxItem1, Checkbox,
InputItem, Input, Bind, SelectItem, Button, Label, Image, Table} from '@/components/Common-Library'
import Api from '@/service/api'
import Business from '@/views/Public/Business'
......@@ -27,10 +27,21 @@ export default class GetopnScreen extends Page
getChildContext () {
return {trn:'getopn'}
}
@observable
formBlur=false
@observable
visible=false
@observable
formBlur=false
dataSource=[]
@observable
datakey=''
@observable
prefix=''
constructor(props)
{
......@@ -85,41 +96,13 @@ export default class GetopnScreen extends Page
})
}
onAplp_sel = () => {
this.formBlur = true //已触发表单提交处理
Validator.validate(this.model, this.model.descriptor, async (errors, values) => {
if (errors)
return
const rtnmsg = await Api.post('getopn/aplp_sel', { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
console.log(rtnmsg)
this.model.pts1_extkey = rtnmsg.data.pts1_extkey;
Checkboxchange=(type,value)=>{
console.log(value)
if(value){
this.model[type]='0'
}else{
this.model[type]='1'
}
else {
Notification.error({ message: '服务端请求失败!' })
}
//余下逻辑处理
})
}
onBenp_sel = () => {
this.formBlur = true //已触发表单提交处理
Validator.validate(this.model, this.model.descriptor, async (errors, values) => {
if (errors)
return
const rtnmsg = await Api.post('getopn/benp_sel', { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
console.log(rtnmsg)
this.model.pts2_extkey = rtnmsg.data.pts2_extkey;
}
else {
Notification.error({ message: '服务端请求失败!' })
}
//余下逻辑处理
})
}
//交易内实现
renderPage(){
......@@ -175,7 +158,7 @@ export default class GetopnScreen extends Page
<Label itext="Reserved Contract" trn="getopn" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("resflg")} desp="Reserved Contract" path="/gidgrp/rec/resflg" />
<CheckboxItem1 InputProps={bind("resflg")} desp="Reserved Contract" path="/gidgrp/rec/resflg" onChange={(value)=>this.Checkboxchange("resflg",value)} />
</Col>
</Row>
</Col>
......@@ -249,7 +232,7 @@ export default class GetopnScreen extends Page
<Label itext="Add. Amount" trn="getopn" />
</Col>
<Col span={1}>
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
<CheckboxItem1 InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" onChange={(value)=>this.Checkboxchange("aammod_addamtflg",value)}/>
</Col>
</Row>
</Col>
......@@ -339,7 +322,7 @@ export default class GetopnScreen extends Page
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Adv\Rcv bank Ref." trn="getopn" />
<Label itext="Adv Rcv bank Ref." trn="getopn" />
</Col>
<Col span={14} >
<InputItem InputProps={bind("pts_ref")} maxLength={16} desp="参考号" path="/gidgrp/adv/pts/ref" />
......@@ -440,7 +423,7 @@ export default class GetopnScreen extends Page
<Label itext="Unlimited Guarantee" trn="getopn" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("expflg")} desp="Unlimited Guarantee" path="/gidgrp/rec/expflg" />
<CheckboxItem1 InputProps={bind("expflg")} desp="Unlimited Guarantee" path="/gidgrp/rec/expflg" onChange={(value)=>this.Checkboxchange("expflg",value)}/>
</Col>
</Row>
</Col>
......@@ -463,7 +446,7 @@ export default class GetopnScreen extends Page
<Label itext="Unlimited Liability" trn="getopn" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("liaflg")} desp="Unlimited Liability" path="/gidgrp/rec/liaflg" />
<CheckboxItem1 InputProps={bind("liaflg")} desp="Unlimited Liability" path="/gidgrp/rec/liaflg" onChange={(value)=>this.Checkboxchange("liaflg",value)}/>
</Col>
</Row>
</Col>
......@@ -487,7 +470,7 @@ export default class GetopnScreen extends Page
<Label itext="Test Key Unconfirmity" trn="getopn" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("teskeyunc")} desp="Test Key Unconfirmity" path="/gidgrp/rec/teskeyunc" />
<CheckboxItem1 InputProps={bind("teskeyunc")} desp="Test Key Unconfirmity" path="/gidgrp/rec/teskeyunc" onChange={(value)=>this.Checkboxchange("teskeyunc",value)}/>
</Col>
</Row>
</Col>
......@@ -515,7 +498,7 @@ export default class GetopnScreen extends Page
<InputItem InputProps={bind("cfaguatyp")} maxLength={4} desp="对外担保类型" path="/gidgrp/rec/cfaguatyp" />
</Col>
<Col span={1} offset={1}>
<CheckboxItem InputProps={bind("cmtflg")} desp="跨境人民币保函" path="/gidgrp/rec/cmtflg" />
<CheckboxItem1 InputProps={bind("cmtflg")} desp="跨境人民币保函" path="/gidgrp/rec/cmtflg" onChange={(value)=>this.Checkboxchange("cmtflg",value)}/>
</Col>
</Row>
</Col>
......
import React,{Component,Fragment} from 'react'
import PropTypes from 'prop-types'
import {Page, Validator, Notification, BottomBtn,FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
import {Page, Validator, Notification, BottomBtn,FormItem, DatePickerItem, TextAreaItem, CheckboxItem1, Checkbox,
InputItem, Input, Bind, SelectItem, Button, Label, Image, Table} from '@/components/Common-Library'
import Api from '@/service/api'
import Business from '@/views/Public/Business'
......@@ -28,10 +28,21 @@ export default class GetopnScreen extends Page
return {trn:'getopn'}
}
@observable
formBlur=false
@observable
visible=false
@observable
dataSource=[]
@observable
datakey=''
@observable
prefix=''
constructor(props)
{
super(props)
......@@ -59,7 +70,14 @@ export default class GetopnScreen extends Page
{
this.model.stopMonitor&&this.model.stopMonitor()//关闭校验
}
Checkboxchange=(type,value)=>{
console.log(value)
if(value){
this.model[type]='0'
}else{
this.model[type]='1'
}
}
//交易内实现
renderPage(){
......@@ -120,7 +138,7 @@ export default class GetopnScreen extends Page
<Label itext="Modify Guarantee Text" trn="getopn" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("gitp_gidtxtmodflg")} desp="Modify Guarantee Text" path="/gitp/gidtxtmodflg" />
<CheckboxItem1 InputProps={bind("gitp_gidtxtmodflg")} desp="Modify Guarantee Text" path="/gitp/gidtxtmodflg" onChange={(value)=>this.Checkboxchange("gitp_gidtxtmodflg",value)}/>
</Col>
</Row>
</Col>
......
......@@ -106,11 +106,11 @@ export default class ChuKouBaoHanScreen extends Page {
this.gidinr = inr
}
const rtnmsg = await Api.post('getsel/cfgfil_isnext', { data: this.model, params: { objinr: this.gidinr, objtyp: "gid" } })
if (rtnmsg.retcod == SUCCESS) {
// if (rtnmsg.retcod == SUCCESS) {
this.props.history.push({ pathname, query: { gidinr: this.gidinr } });
} else {
Notification.error({ message: `${rtnmsg.retmsg}` })
}
// } else {
// Notification.error({ message: `${rtnmsg.retmsg}` })
// }
}
onSellst = async () => {
......
......@@ -89,5 +89,6 @@ export default class GetselScreen extends Page {
</Card>
)
}
}
export default fieldSet = {
gctp_expfldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gctp\expfldlab Label for Field Validity
],
gctp_explab:[
{type:'string',max:11,message:'长度不能超过11个字符'}, // \gctp\explab Label unlimited Validity
],
gctp_aplmullab:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gctp\aplmullab Label, that is set, if there are multiple applicants
],
gctp_liafldlab:[
{type:'string',max:10,message:'长度不能超过10个字符'}, // \gctp\liafldlab Label for Field Liability
],
gctp_lialab:[
{type:'string',max:11,message:'长度不能超过11个字符'}, // \gctp\lialab Label unlimited Liability
],
ownref1:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\ownref Reference
],
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\expdat Valid until
],
opn11_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\opn1\cur Currency
],
opn11_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\cbs\opn1\amt Balance
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\rec\ownref Reference
],
nam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gcdgrp\rec\nam Externally Displayed Name to Identify the Contract
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\cbs\max\cur Currency
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\cbs\max\amt Balance
],
gctp_adaflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gctp\adaflg Add. Amount
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\cbs\opn1\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\cbs\opn1\amt Balance
],
gartyp:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\gartyp Type of Undertaking
],
liadat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\liadat Liability until
],
clmdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gcdgrp\rec\clmdat Date of Claim
],
pts_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\apl\pts\ref 参考号
],
pts_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gcdgrp\apl\pts\nam 客户英文名称
],
pts1_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\ben\pts\ref 参考号
],
pts1_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \gcdgrp\ben\pts\nam 客户英文名称
],
opn2_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\cbs\opn2\cur Currency
],
max2_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\cbs\max2\amt Balance
],
cannowflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gcdgrp\rec\cannowflg Payment under Cancelation of Guarantee
],
mtabut_clsflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \mtabut\clsflg Close Flag
],
docprbrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\rec\docprbrol Presented by
],
pts3_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\prb\pts\ref 参考号
],
pts3_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\prb\pts\extkey 客户编号
],
pts3_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gcdgrp\prb\pts\adrblk SWIFT地址
],
payrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gcdgrp\rec\payrol Payer
],
pts2_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gcdgrp\oth\pts\extkey 客户编号
],
pts2_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gcdgrp\oth\pts\adrblk SWIFT地址
],
liaccv_concur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \liaall\liaccv\concur 业务结算币种
],
liaccv_newamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\newamt 业务金额
],
liaccv_cshpct:[
{type:'string',max:5,message:'长度不能超过5个字符'}, // \liaall\liaccv\cshpct 保证金应收比例
],
liaccv_chgamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\chgamt 变动金额
],
liaccv_totcovamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\totcovamt 保证金合计
],
liaccv_pctresamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \liaall\liaccv\pctresamt 应收/支保证金
],
liaccv_relcshpct:[
{type:'string',max:5,message:'长度不能超过5个字符'}, // \liaall\liaccv\relcshpct 保证金实收比例
],
setmod_doccur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \setmod\doccur document currency
],
setmod_docamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \setmod\docamt document amount
],
setmod_feemac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\feemac FEEMAC
],
setmod_setmac:[
{type:'string',max:200,message:'长度不能超过200个字符'}, // \setmod\setmac SETMAC
],
trndoc_docpth:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \trnmod\trndoc\docpth 面函路径
],
trndoc_doccod:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \trnmod\trndoc\doccod 面函码值
],
trndoc_cortyp:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \trnmod\trndoc\cortyp Per Medium
],
spt_inr:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \sysmod\spt\inr 唯一编号
],
}
\ No newline at end of file
export {default as model} from './model'
export {default as descriptor} from './descriptor'
export {default} from './views'
\ No newline at end of file
import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {modelWrapper} from '@/components/RunTime'
@modelWrapper
class Getset {
@observable
gctp_expfldlab="" // \gctp\expfldlab Label for Field Validity
@observable
gctp_explab="" // \gctp\explab Label unlimited Validity
@observable
gctp_aplmullab="" // \gctp\aplmullab Label, that is set, if there are multiple applicants
@observable
gctp_liafldlab="" // \gctp\liafldlab Label for Field Liability
@observable
gctp_lialab="" // \gctp\lialab Label unlimited Liability
@observable
ownref1="" // \gidgrp\rec\ownref Reference
@observable
expdat="" // \gidgrp\rec\expdat Valid until
@observable
opn11_cur="" // \gidgrp\cbs\opn1\cur Currency
@observable
opn11_amt="" // \gidgrp\cbs\opn1\amt Balance
@observable
ownref="" // \gcdgrp\rec\ownref Reference
@observable
nam="" // \gcdgrp\rec\nam Externally Displayed Name to Identify the Contract
@observable
max_cur="" // \gcdgrp\cbs\max\cur Currency
@observable
max_amt="" // \gcdgrp\cbs\max\amt Balance
@observable
gctp_adaflg="" // \gctp\adaflg Add. Amount
@observable
opn1_cur="" // \gcdgrp\cbs\opn1\cur Currency
@observable
opn1_amt="" // \gcdgrp\cbs\opn1\amt Balance
@observable
gartyp="" // \gidgrp\rec\gartyp Type of Undertaking
@observable
liadat="" // \gidgrp\rec\liadat Liability until
@observable
clmdat="" // \gcdgrp\rec\clmdat Date of Claim
@observable
pts_ref="" // \gcdgrp\apl\pts\ref 参考号
@observable
pts_nam="" // \gcdgrp\apl\pts\nam 客户英文名称
@observable
pts1_ref="" // \gcdgrp\ben\pts\ref 参考号
@observable
pts1_nam="" // \gcdgrp\ben\pts\nam 客户英文名称
@observable
opn2_cur="" // \gcdgrp\cbs\opn2\cur Currency
@observable
max2_amt="" // \gcdgrp\cbs\max2\amt Balance
@observable
cannowflg="" // \gcdgrp\rec\cannowflg Payment under Cancelation of Guarantee
@observable
mtabut_clsflg="" // \mtabut\clsflg Close Flag
@observable
docprbrol="" // \gcdgrp\rec\docprbrol Presented by
@observable
pts3_ref="" // \gcdgrp\prb\pts\ref 参考号
@observable
pts3_extkey="" // \gcdgrp\prb\pts\extkey 客户编号
@observable
pts3_adrblk="" // \gcdgrp\prb\pts\adrblk SWIFT地址
@observable
payrol="" // \gcdgrp\rec\payrol Payer
@observable
pts2_extkey="" // \gcdgrp\oth\pts\extkey 客户编号
@observable
pts2_adrblk="" // \gcdgrp\oth\pts\adrblk SWIFT地址
@observable
liaall_liaallg=[] // \liaall\liaallg
@observable
liaccv_concur="" // \liaall\liaccv\concur 业务结算币种
@observable
liaccv_newamt="" // \liaall\liaccv\newamt 业务金额
@observable
liaccv_cshpct="" // \liaall\liaccv\cshpct 保证金应收比例
@observable
liaccv_chgamt="" // \liaall\liaccv\chgamt 变动金额
@observable
liaccv_totcovamt="" // \liaall\liaccv\totcovamt 保证金合计
@observable
liaccv_pctresamt="" // \liaall\liaccv\pctresamt 应收/支保证金
@observable
liaccv_relcshpct="" // \liaall\liaccv\relcshpct 保证金实收比例
@observable
liaccv_liaccvg=[] // \liaall\liaccv\liaccvg
@observable
fegmod_feslst=[] // \setmod\setfeg\fegmod\feslst
@observable
glgmod_glslst=[] // \setmod\setglg\glgmod\glslst
@observable
setmod_doccur="" // \setmod\doccur document currency
@observable
setmod_docamt="" // \setmod\docamt document amount
@observable
setmod_feemac="" // \setmod\feemac FEEMAC
@observable
setmod_setmac="" // \setmod\setmac SETMAC
@observable
glemod_glelst=[] // \setmod\glemod\glelst
@observable
docmod_doclst=[] // \trnmod\trndoc\docmod\doclst
@observable
trndoc_docpth="" // \trnmod\trndoc\docpth 面函路径
@observable
trndoc_doccod="" // \trnmod\trndoc\doccod 面函码值
@observable
trndoc_cortyp="" // \trnmod\trndoc\cortyp Per Medium
@observable
spt_inr="" // \sysmod\spt\inr 唯一编号
get descriptor()
{
return _descriptor
}
clear()
{
this.gctp_expfldlab=""
this.gctp_explab=""
this.gctp_aplmullab=""
this.gctp_liafldlab=""
this.gctp_lialab=""
this.ownref1=""
this.expdat=""
this.opn11_cur=""
this.opn11_amt=""
this.ownref=""
this.nam=""
this.max_cur=""
this.max_amt=""
this.gctp_adaflg=""
this.opn1_cur=""
this.opn1_amt=""
this.gartyp=""
this.liadat=""
this.clmdat=""
this.pts_ref=""
this.pts_nam=""
this.pts1_ref=""
this.pts1_nam=""
this.opn2_cur=""
this.max2_amt=""
this.cannowflg=""
this.mtabut_clsflg=""
this.docprbrol=""
this.pts3_ref=""
this.pts3_extkey=""
this.pts3_adrblk=""
this.payrol=""
this.pts2_extkey=""
this.pts2_adrblk=""
this.liaall_liaallg=[]
this.liaccv_concur=""
this.liaccv_newamt=""
this.liaccv_cshpct=""
this.liaccv_chgamt=""
this.liaccv_totcovamt=""
this.liaccv_pctresamt=""
this.liaccv_relcshpct=""
this.liaccv_liaccvg=[]
this.fegmod_feslst=[]
this.glgmod_glslst=[]
this.setmod_doccur=""
this.setmod_docamt=""
this.setmod_feemac=""
this.setmod_setmac=""
this.glemod_glelst=[]
this.docmod_doclst=[]
this.trndoc_docpth=""
this.trndoc_doccod=""
this.trndoc_cortyp=""
this.spt_inr=""
}
}
export default Getset
\ No newline at end of file
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
InputItem, Input, Bind, SelectItem, Button, Label, Image, Table, Steps
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetset from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { action, observable } from 'mobx'
import { Card } from 'antd'
import DateFormat from '@/utils/DateUtil'
import Engp from '@/views/Public/Engp'
import Fee from '@/views/Public/Fee'
import Gle from '@/views/Public/Gle'
import Papper from '@/views/Public/Papper'
import Basic from './Basic'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class GetsetScreen extends Page
{
@observable
formBlur = false
@observable
extra = { inifrm: 'getset', sptinr: '', bchlevelLst: [] }
constructor(props) {
super(props)
this.state = {
flag: true
}
this.model = new mGetset()
}
async componentWillMount()
{
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('getset/init',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
runInAction(()=>{
Object.assign(this.model,data)
})
}
//快照模式下,不必开启校验,否则,静默校验,和记录变动
!this.loadDisplay() && this.model.openMonitor && this.model.openMonitor() //开启校验
}
componentWillUnmount()
{
this.model.stopMonitor&&this.model.stopMonitor()//关闭校验
}
//交易内实现
renderPage(){
return (
<Card title="出口保函收汇" size="small" className="transTitle">
<Steps>
<StepItem title="Claim Payment">
<Basic model={this.model} extra={this.extra} flag={this.state.flag} />
</StepItem>
<StepItem title="表外&保证金">
<Engp model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="费用&账务">
<Fee model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="会计分录">
<Gle model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="面函">
<Papper model={this.model} extra={this.extra} />
</StepItem>
</Steps>
</Card>
)
}
}
......@@ -36,6 +36,9 @@ export default class GitcrjScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'gitcrj', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -51,7 +54,10 @@ export default class GitcrjScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitcrj/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitcrj/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -37,6 +37,9 @@ export default class GitengScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'giteng', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -52,7 +55,10 @@ export default class GitengScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('giteng/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('giteng/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -36,6 +36,9 @@ export default class GitfeeScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'giteng', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -51,7 +54,10 @@ export default class GitfeeScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitfee/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitfee/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -36,6 +36,9 @@ export default class GitfreScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'gitcrj', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -51,7 +54,10 @@ export default class GitfreScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitfre/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitfre/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -36,6 +36,10 @@ export default class GitpcaScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'gitcrj', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -51,7 +55,10 @@ export default class GitpcaScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitpca/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitpca/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -36,6 +36,9 @@ export default class GitplbScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'gitplb', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -51,7 +54,10 @@ export default class GitplbScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitplb/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitplb/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -36,6 +36,10 @@ export default class GitropScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'gitplb', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -51,7 +55,10 @@ export default class GitropScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitrop/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitrop/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -37,6 +37,9 @@ export default class GittenScreen extends Page
@observable
formBlur=false
@observable
extra = { inifrm: 'gitten', gidinr: '',oldinr:'', bchlevelLst: [] }
constructor(props)
{
super(props)
......@@ -52,7 +55,10 @@ export default class GittenScreen extends Page
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('gitten/init',{data:this.model})
if (this.props.location.query) {
this.extra.gidinr=this.props.location.query.gidinr;
}
const rtnmsg = await Api.post('gitten/init',{params: { gidinr:this.extra.gidinr}})
if(rtnmsg.retcod == SUCCESS)
{
const {data} = rtnmsg
......
......@@ -209,13 +209,16 @@ export default class InfgidScreen extends Page
</Col>
<Col span={12}>
<Row className="row">
<Col span={19} offset={2}>
<Col span={5} offset={2}>
<Label itext="display stream" trn="infgid" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("infbut_dspstm")} desp="display stream" path="/infbut/dspstm" />
</Col>
</Row>
</Col>
</Row>
<Button type="primary" onClick={this.onInfbut_searow} desp="Search" path="/infbut/searow">
{/* <Button type="primary" onClick={this.onInfbut_searow} desp="Search" path="/infbut/searow">
<Label itext="&Search"/>
</Button>
<Button type="primary" onClick={this.onInfbut_dsp} desp="Display" path="/infbut/dsp">
......@@ -229,7 +232,9 @@ export default class InfgidScreen extends Page
</Button>
<Button type="primary" onClick={this.onInfbut_exi} desp="Exit" path="/infbut/exi">
<Label itext="E&xit"/>
</Button>
</Button> */}
{/* 底部按钮 */}
<BottomBtn _this={this} />
</div>
)
}
......
......@@ -8,9 +8,6 @@ import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { Card } from 'antd'
import Ovwp from './Ovwp'
import Detp from './Detp'
import Tkp from './Tkp'
import Selp from './Selp'
import { action, observable,runInAction } from 'mobx'
......@@ -95,17 +92,6 @@ export default class InfgidScreen extends Page
<StepItem title="查询">
<Selp model={this.model} extra={this.extra} flag={this.state.flag} />
</StepItem>
{/*<StepItem title="明细">
<Ovwp model={this.model} extra={this.extra} flag={this.state.flag} />
</StepItem>
<StepItem title="附加">
<Detp model={this.model} extra={this.extra} />
</StepItem>
<StepItem title="条款">
<Tkp model={this.model} extra={this.extra} />
</StepItem>*/}
</Steps>
</Card>
)
......
......@@ -159,31 +159,16 @@ const Lckinf =MLoader(()=>import('./Lckinf'))
const Loginf =MLoader(()=>import('./Loginf'))
const Elschk =MLoader(()=>import('./Elschk'))
const Ptybat =MLoader(()=>import('./Ptybat'))
const Gitsel =MLoader(()=>import('./Gitsel'))
const Gitopn =MLoader(()=>import('./Gitopn'))
const Gitame =MLoader(()=>import('./Gitame'))
const Gitadd =MLoader(()=>import('./Gitadd'))
const Infgid =MLoader(()=>import('./Infgid'))
const Gitcrq =MLoader(()=>import('./Gitcrq'))
const Gitset =MLoader(()=>import('./Gitset'))
const Gitcan =MLoader(()=>import('./Gitcan'))
const Gitatt =MLoader(()=>import('./Gitatt'))
const Gitcom =MLoader(()=>import('./Gitcom'))
const Gitcrj =MLoader(()=>import('./Gitcrj'))
const Giteng =MLoader(()=>import('./Giteng'))
const Gitfee =MLoader(()=>import('./Gitfee'))
const Gitfre =MLoader(()=>import('./Gitfre'))
const Gitpca =MLoader(()=>import('./Gitpca'))
const Gitplb =MLoader(()=>import('./Gitplb'))
const Gitrop =MLoader(()=>import('./Gitrop'))
const Gitten =MLoader(()=>import('./Gitten'))
const Getsel =MLoader(()=>import('./Getsel'))
const Getame =MLoader(()=>import('./Getame'))
const Getopn =MLoader(()=>import('./Getopn'))
const Litsel =MLoader(()=>import('./Litsel'))
const Gitadd = MLoader(() => import('./Gitadd'))
const Getsel = MLoader(() => import('./Getsel'))
const Getset = MLoader(() => import('./Getset'))
const Getopn = MLoader(() => import('./Getopn'))
const Getfre = MLoader(() => import('./Getfre'))
const Getfee = MLoader(() => import('./Getfee'))
const Getcrq = MLoader(() => import('./Getcrq'))
const Getcan = MLoader(() => import('./Getcan'))
const Getamc = MLoader(() => import('./Getamc'))
const Getame = MLoader(() => import('./Getame'))
export default class Bus extends Component{
......@@ -367,31 +352,17 @@ export default class Bus extends Component{
<Route exact path={`${moduleBasePath}lckinf${!isDisplay?'':'/:trninr'}`} render={(props)=><Lckinf {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}elschk${!isDisplay?'':'/:trninr'}`} render={(props)=><Elschk {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}ptybat${!isDisplay?'':'/:trninr'}`} render={(props)=><Ptybat {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitsel${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitsel {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitopn${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitopn {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitame${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitame {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitadd${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitadd {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}infgid${!isDisplay?'':'/:trninr'}`} render={(props)=><Infgid {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitcrq${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitcrq {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitset${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitset {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitcan${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitcan {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitatt${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitatt {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitcom${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitcom {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitcrj${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitcrj {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}giteng${!isDisplay?'':'/:trninr'}`} render={(props)=><Giteng {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitfee${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitfee {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitfre${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitfre {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitpca${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitpca {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitplb${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitplb {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitrop${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitrop {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}gitten${!isDisplay?'':'/:trninr'}`} render={(props)=><Gitten {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}getsel${!isDisplay?'':'/:trninr'}`} render={(props)=><Getsel {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}getopn${!isDisplay?'':'/:trninr'}`} render={(props)=><Getopn {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}getame${!isDisplay?'':'/:trninr'}`} render={(props)=><Getame {...props} {...params}/>} />
<Route exact path={`${moduleBasePath}getset${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getset {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getopn${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getopn {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getfre${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getfre {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getfee${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getfee {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getcrq${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getcrq {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getcan${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getcan {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getamc${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getamc {...props} {...params} />} />
<Route exact path={`${moduleBasePath}getame${!isDisplay ? '' : '/:trninr'}`} render={(props) => <Getame {...props} {...params} />} />
<Route exact path={`${moduleBasePath}litsel${!isDisplay?'':'/:trninr'}`} render={(props)=><Litsel {...props} {...params}/>} />
</React.Fragment>
}
}
......
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