Commit b368a260 by qiuxia

修改codetable 新增进口保函路由

parent 7a8a4e30
......@@ -1956,6 +1956,10 @@ export const fingua = [
{ label: `Y`, value: `是` },
{ label: `N`, value: `否` },
]
export const fingua1 = [
{ label: `是`, value: `Y` },
{ label: `否`, value: `N` },
]
export const finkind = [
{ label: `F080`, value: `国际贸易再融资` },
{ label: `F081`, value: `国际贸易融资` },
......@@ -2487,6 +2491,15 @@ export const hndtyp = [
{ label: `FR`, value: `Guarantee received ` },
{ label: `OL`, value: `Direct (we issue)` },
]
export const hndtyp1 = [
{ label: `Inward Assignment`, value: `FG` },
{ label: `Advise with confirmation`, value: `FI` },
{ label: `Indirect (please issue)`, value: `OC` },
{ label: `Transfer`, value: `OT` },
{ label: `Advise without confirmation`, value: `FA` },
{ label: `Guarantee received`, value: `FR` },
{ label: `Direct (we issue)`, value: `OL` },
]
export const idtype = [
{ label: `C`, value: `对公用户` },
{ label: `D`, value: `对私中国居民` },
......
......@@ -51,43 +51,6 @@ export default class BasicScreen extends Page
this.model[type]='1'
}
}
//按钮事件
onAdvp_sel= async()=>{
this.formBlur=true //已触发表单提交处理
this.datakey='\\gitp\\advp\\ptslst'
this.prefix='pts'
const rtnmsg = await Api.post('gitopn/advp_sel',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
this.visible=true;
this.dataSource=rtnmsg.data[this.datakey];
Notification.success({message:'数据提交成功!'})
}
else
{
Notification.error({message:'服务端请求失败!'})
}
//余下逻辑处理
}
onBenp_sel= async()=>{
this.formBlur=true //已触发表单提交处理
this.datakey='\\gitp\\benp\\ptslst'
this.prefix='pts2'
const rtnmsg = await Api.post('gitopn/benp_sel',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
this.visible=true;
this.dataSource=rtnmsg.data[this.datakey];
Notification.success({message:'数据提交成功!'})
}
else
{
Notification.error({message:'服务端请求失败!'})
}
//余下逻辑处理
}
//onGetref
onGetref= async()=>{
const rtnmsg = await Api.post(this.props.extra.inifrm + '/getref', { data: this.model })
......@@ -100,42 +63,6 @@ export default class BasicScreen extends Page
}
}
onConp_sel= async()=>{
this.formBlur=true //已触发表单提交处理
this.datakey='\\gitp\\conp\\ptslst'
this.prefix='pts3'
const rtnmsg = await Api.post('gitopn/conp_sel',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
this.visible=true;
this.dataSource=rtnmsg.data[this.datakey];
Notification.success({message:'数据提交成功!'})
}
else
{
Notification.error({message:'服务端请求失败!'})
}
//余下逻辑处理
}
onIssp_sel= async()=>{
this.formBlur=true //已触发表单提交处理
this.datakey='\\gitp\\issp\\ptslst'
this.prefix='pts4'
const rtnmsg = await Api.post('gitopn/issp_sel',{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
this.visible=true;
this.dataSource=rtnmsg.data[this.datakey];
Notification.success({message:'数据提交成功!'})
}
else
{
Notification.error({message:'服务端请求失败!'})
}
//余下逻辑处理
}
//交易内实现
renderPage(){
......
......@@ -162,10 +162,28 @@ 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'))
export default class Bus extends Component{
......@@ -348,9 +366,26 @@ 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}/>} />
......
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