Commit 27ae0f8b by YuMengShuai

出口保函修改

parent 3c13ba52
export default fieldSet = {
cfaguatyp:[
{type:'string',max:4,message:'长度不能超过4个字符'}, // \gidgrp\rec\cfaguatyp 对外担保类型
],
cmtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\cmtflg 跨境人民币保函
],
// expdat:[
// {type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\expdat Valid until
// ],
expflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\expflg Unlimited Guarantee
],
fenlishi:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\fenlishi 是否分离式保函
],
fingua:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\fingua 是否对外担保
],
gartyp:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\gartyp Type of Undertaking
],
giduil:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gidgrp\rec\giduil Guarantee Language
],
gtxinr:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \gidgrp\rec\gtxinr INR of Generating Text
],
guaflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\guaflg Mortgage Flag
],
hndtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gidgrp\rec\hndtyp Handling Type
],
// inudat:[
// {type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\inudat Inure Date
// ],
// liadat:[
// {type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\liadat Liability until
// ],
liaflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\liaflg Unlimited Liability
],
nam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
],
oldref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\oldref Old Reference
],
// opndat:[
// {type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\opndat Valid from
// ],
oppbnk:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\oppbnk 境内外对手行代码
],
// orddat:[
// {type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\orddat Date of Customer's Order
// ],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\rec\ownref Reference
],
resflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\resflg Reserved Contract
],
teskeyunc:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gidgrp\rec\teskeyunc Test Key Unconfirmity
],
// vrfdat:[
// {type:'string',max:12,message:'长度不能超过12个字符'}, // \gidgrp\rec\vrfdat 核销日期
// ],
expdat1:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \oldgidgrp\rec\expdat Valid until
],
liadat1:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \oldgidgrp\rec\liadat Liability until
],
pts_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\adv\pts\adrblk SWIFT地址
],
pts_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\adv\pts\extkey 客户编号
],
pts_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\adv\pts\ref 参考号
],
// pts1_adrblk:[
// {type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\apl\pts\adrblk SWIFT地址
// ],
pts1_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\apl\pts\extkey 客户编号
],
pts1_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\apl\pts\ref 参考号
],
// pts2_adrblk:[
// {type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\ben\pts\adrblk SWIFT地址
// ],
pts2_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\ben\pts\extkey 客户编号
],
pts2_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\ben\pts\ref 参考号
],
blk_apprul:[
{type:'string',max:4,message:'长度不能超过4个字符'}, // \gidgrp\blk\apprul Applicable Rules
],
blk_apprultxt:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\blk\apprultxt Specification of Applicable Rule
],
blk_gidtxtame:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \gidgrp\blk\gidtxtame History of Amendments
],
max2_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gidgrp\cbs\max2\cur Currency
],
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_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\con\pts\adrblk SWIFT地址
],
pts3_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\con\pts\extkey 客户编号
],
pts3_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\con\pts\ref 参考号
],
ghd_segtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gidgrp\ghd\segtyp 特殊保函类型
],
pts4_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gidgrp\iss\pts\adrblk SWIFT地址
],
pts4_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\iss\pts\extkey 客户编号
],
pts4_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \gidgrp\iss\pts\ref 参考号
],
gitamep_abrflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitamep\abrflg agreement of bene. required
],
gitamep_amenbr:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gitamep\amenbr Number of Amendment
],
gitamep_amenumjmg:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gitamep\amenumjmg 变更次数
],
gitamep_ametxt:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \gitamep\ametxt Amendment :77C:
],
gitamep_clsclmflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitamep\clsclmflg Close picked up claim now
],
gitamep_cre767flg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitamep\cre767flg Create Amendment Message
],
gitamep_orddat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gitamep\orddat Order From
],
gitamep_prtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitamep\prtflg choose full text
],
gitamep_ramrol:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gitamep\ramrol Request of Amendment send to
],
swiadd_addamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \gitamep\swiadd\addamt Additional Amount
],
swiadd_addamtcov:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \gitamep\swiadd\addamtcov Additional Amount Covered
],
swiadd_ameamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \gitamep\swiadd\ameamt Amended Amount
],
swiadd_ameblk:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \gitamep\swiadd\ameblk Text for Amendments
],
swiadd_amecur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gitamep\swiadd\amecur Currency of amended amount
],
swiadd_amedat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gitamep\swiadd\amedat Date of Amendment
],
swiadd_amenbr:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \gitamep\swiadd\amenbr Number of Amendment
],
swiadd_newamt:[
{type:'string',max:18,message:'长度不能超过18个字符'}, // \gitamep\swiadd\newamt New amount
],
swiadd_newcur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \gitamep\swiadd\newcur Currency of new amount
],
swiadd_newexpdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gitamep\swiadd\newexpdat New Expiry Date
],
swiadd_newexpflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitamep\swiadd\newexpflg Unlimited Validity
],
swiadd_newliadat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \gitamep\swiadd\newliadat New Liability Date
],
usr_nam:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \gitp\\sysmod\usr\nam 用户ID
],
aammod_addamtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitp\aamp\aammod\addamtflg Add. Amount
],
gitp_drpreflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \gitp\drpreflg Type of Request
],
gitp_drpreflglab:[
{type:'string',max:20,message:'长度不能超过20个字符'}, // \gitp\drpreflglab Label for Type of Request
],
gitp_lettername:[
{type:'string',max:60,message:'长度不能超过60个字符'}, // \gitp\lettername 面函标题
],
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 保证金合计
],
max1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \oldgidgrp\cbs\max\amt Balance
],
max1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \oldgidgrp\cbs\max\cur Currency
],
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 Getame {
@observable
cfaguatyp="" // \gidgrp\rec\cfaguatyp 对外担保类型
@observable
cmtflg="" // \gidgrp\rec\cmtflg 跨境人民币保函
@observable
expdat="" // \gidgrp\rec\expdat Valid until
@observable
expflg="" // \gidgrp\rec\expflg Unlimited Guarantee
@observable
fenlishi="" // \gidgrp\rec\fenlishi 是否分离式保函
@observable
fingua="" // \gidgrp\rec\fingua 是否对外担保
@observable
gartyp="" // \gidgrp\rec\gartyp Type of Undertaking
@observable
giduil="" // \gidgrp\rec\giduil Guarantee Language
@observable
gtxinr="" // \gidgrp\rec\gtxinr INR of Generating Text
@observable
guaflg="" // \gidgrp\rec\guaflg Mortgage Flag
@observable
hndtyp="" // \gidgrp\rec\hndtyp Handling Type
@observable
inudat="" // \gidgrp\rec\inudat Inure Date
@observable
liadat="" // \gidgrp\rec\liadat Liability until
@observable
liaflg="" // \gidgrp\rec\liaflg Unlimited Liability
@observable
nam="" // \gidgrp\rec\nam Externally Displayed Name to Identify the Contract
@observable
oldref="" // \gidgrp\rec\oldref Old Reference
@observable
opndat="" // \gidgrp\rec\opndat Valid from
@observable
oppbnk="" // \gidgrp\rec\oppbnk 境内外对手行代码
@observable
orddat="" // \gidgrp\rec\orddat Date of Customer's Order
@observable
ownref="" // \gidgrp\rec\ownref Reference
@observable
resflg="" // \gidgrp\rec\resflg Reserved Contract
@observable
teskeyunc="" // \gidgrp\rec\teskeyunc Test Key Unconfirmity
@observable
vrfdat="" // \gidgrp\rec\vrfdat 核销日期
@observable
expdat1="" // \oldgidgrp\rec\expdat Valid until
@observable
liadat1="" // \oldgidgrp\rec\liadat Liability until
@observable
pts_adrblk="" // \gidgrp\adv\pts\adrblk SWIFT地址
@observable
pts_extkey="" // \gidgrp\adv\pts\extkey 客户编号
@observable
pts_ref="" // \gidgrp\adv\pts\ref 参考号
@observable
pts1_adrblk="" // \gidgrp\apl\pts\adrblk SWIFT地址
@observable
pts1_extkey="" // \gidgrp\apl\pts\extkey 客户编号
@observable
pts1_ref="" // \gidgrp\apl\pts\ref 参考号
@observable
pts2_adrblk="" // \gidgrp\ben\pts\adrblk SWIFT地址
@observable
pts2_extkey="" // \gidgrp\ben\pts\extkey 客户编号
@observable
pts2_ref="" // \gidgrp\ben\pts\ref 参考号
@observable
blk_apprul="" // \gidgrp\blk\apprul Applicable Rules
@observable
blk_apprultxt="" // \gidgrp\blk\apprultxt Specification of Applicable Rule
@observable
blk_gidtxtame="" // \gidgrp\blk\gidtxtame History of Amendments
@observable
max2_cur="" // \gidgrp\cbs\max2\cur Currency
@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_adrblk="" // \gidgrp\con\pts\adrblk SWIFT地址
@observable
pts3_extkey="" // \gidgrp\con\pts\extkey 客户编号
@observable
pts3_ref="" // \gidgrp\con\pts\ref 参考号
@observable
ghd_segtyp="" // \gidgrp\ghd\segtyp 特殊保函类型
@observable
pts4_adrblk="" // \gidgrp\iss\pts\adrblk SWIFT地址
@observable
pts4_extkey="" // \gidgrp\iss\pts\extkey 客户编号
@observable
pts4_ref="" // \gidgrp\iss\pts\ref 参考号
@observable
gitamep_abrflg="" // \gitamep\abrflg agreement of bene. required
@observable
gitamep_amenbr="" // \gitamep\amenbr Number of Amendment
@observable
gitamep_amenumjmg="" // \gitamep\amenumjmg 变更次数
@observable
gitamep_ametxt="" // \gitamep\ametxt Amendment :77C:
@observable
gitamep_clsclmflg="" // \gitamep\clsclmflg Close picked up claim now
@observable
gitamep_cre767flg="" // \gitamep\cre767flg Create Amendment Message
@observable
gitamep_orddat="" // \gitamep\orddat Order From
@observable
gitamep_prtflg="" // \gitamep\prtflg choose full text
@observable
gitamep_ramrol="" // \gitamep\ramrol Request of Amendment send to
@observable
swiadd_addamt="" // \gitamep\swiadd\addamt Additional Amount
@observable
swiadd_addamtcov="" // \gitamep\swiadd\addamtcov Additional Amount Covered
@observable
swiadd_ameamt="" // \gitamep\swiadd\ameamt Amended Amount
@observable
swiadd_ameblk="" // \gitamep\swiadd\ameblk Text for Amendments
@observable
swiadd_amecur="" // \gitamep\swiadd\amecur Currency of amended amount
@observable
swiadd_amedat="" // \gitamep\swiadd\amedat Date of Amendment
@observable
swiadd_amenbr="" // \gitamep\swiadd\amenbr Number of Amendment
@observable
swiadd_newamt="" // \gitamep\swiadd\newamt New amount
@observable
swiadd_newcur="" // \gitamep\swiadd\newcur Currency of new amount
@observable
swiadd_newexpdat="" // \gitamep\swiadd\newexpdat New Expiry Date
@observable
swiadd_newexpflg="" // \gitamep\swiadd\newexpflg Unlimited Validity
@observable
swiadd_newliadat="" // \gitamep\swiadd\newliadat New Liability Date
@observable
usr_nam="" // \gitp\\sysmod\usr\nam 用户ID
@observable
aammod_addamtflg="" // \gitp\aamp\aammod\addamtflg Add. Amount
@observable
gitp_drpreflg="" // \gitp\drpreflg Type of Request
@observable
gitp_drpreflglab="" // \gitp\drpreflglab Label for Type of Request
@observable
gitp_lettername="" // \gitp\lettername 面函标题
@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
max1_amt="" // \oldgidgrp\cbs\max\amt Balance
@observable
max1_cur="" // \oldgidgrp\cbs\max\cur Currency
@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.cfaguatyp=""
this.cmtflg=""
this.expdat=""
this.expflg=""
this.fenlishi=""
this.fingua=""
this.gartyp=""
this.giduil=""
this.gtxinr=""
this.guaflg=""
this.hndtyp=""
this.inudat=""
this.liadat=""
this.liaflg=""
this.nam=""
this.oldref=""
this.opndat=""
this.oppbnk=""
this.orddat=""
this.ownref=""
this.resflg=""
this.teskeyunc=""
this.vrfdat=""
this.expdat1=""
this.liadat1=""
this.pts_adrblk=""
this.pts_extkey=""
this.pts_ref=""
this.pts1_adrblk=""
this.pts1_extkey=""
this.pts1_ref=""
this.pts2_adrblk=""
this.pts2_extkey=""
this.pts2_ref=""
this.blk_apprul=""
this.blk_apprultxt=""
this.blk_gidtxtame=""
this.max2_cur=""
this.max_amt=""
this.max_cur=""
this.opn1_amt=""
this.opn1_cur=""
this.pts3_adrblk=""
this.pts3_extkey=""
this.pts3_ref=""
this.ghd_segtyp=""
this.pts4_adrblk=""
this.pts4_extkey=""
this.pts4_ref=""
this.gitamep_abrflg=""
this.gitamep_amenbr=""
this.gitamep_amenumjmg=""
this.gitamep_ametxt=""
this.gitamep_clsclmflg=""
this.gitamep_cre767flg=""
this.gitamep_orddat=""
this.gitamep_prtflg=""
this.gitamep_ramrol=""
this.swiadd_addamt=""
this.swiadd_addamtcov=""
this.swiadd_ameamt=""
this.swiadd_ameblk=""
this.swiadd_amecur=""
this.swiadd_amedat=""
this.swiadd_amenbr=""
this.swiadd_newamt=""
this.swiadd_newcur=""
this.swiadd_newexpdat=""
this.swiadd_newexpflg=""
this.swiadd_newliadat=""
this.usr_nam=""
this.aammod_addamtflg=""
this.gitp_drpreflg=""
this.gitp_drpreflglab=""
this.gitp_lettername=""
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.max1_amt=""
this.max1_cur=""
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 Getame
\ No newline at end of file
import React, { Component, Fragment } from 'react'
import PropTypes from 'prop-types'
import {
Page, Validator, Notification, FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
InputItem , Input, Bind, SelectItem, Button, Label, Image, Table, BottomBtn
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetame from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { Row, Col } from 'antd'
import { action, observable, runInAction } from 'mobx'
import Business from '@/views/Public/Business'
const CodeTable = CodeTableFactory.getInstance()
@inject('UserContext')
@inject('i18n')
@observer
export default class GetameScreen extends Page {
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext() {
return { trn: 'getame' }
}
@observable
formBlur = false
constructor(props) {
super(props)
this.model = props.model
this.bind = Bind.bind(this)
}
//按钮事件
onAmebut_buttxmsel = () => {
this.formBlur = true //已触发表单提交处理
Validator.validate(this.model, this.model.descriptor, async (errors, values) => {
if (errors)
return
const rtnmsg = await Api.post('getame/amebut_buttxmsel', { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
this.model.swiadd_ameblk=rtnmsg.data.swiadd_ameblk
}
else {
Notification.error({ message: '服务端请求失败!' })
}
//余下逻辑处理
})
}
//交易内实现
renderPage() {
const bind = this.bind
const { i18n } = this.props
const { bchlevelLst } = this.props.extra
//const {next,pre} = this.props.steps
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)} extra={this.props.extra} model={this.model} />
{/* 第1行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Reference" trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("ownref")} maxLength={16} desp="Reference" path="/gidgrp/rec/ownref" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Name" trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("nam")} maxLength={40} desp="Externally Displayed Name to Identify the Contract" path="/gidgrp/rec/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第2行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Amendment Date" trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem InputProps={bind("swiadd_amedat")} desp="Date of Amendment" path="/gitamep/swiadd/amedat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Amend. No Receiv." trn="getame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("swiadd_amenbr")} desp="Number of Amendment" path="/gitamep/swiadd/amenbr" />
</Col>
</Row>
</Col>
</Row>
{/* 第3行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Order from" trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem disabled={true} InputProps={bind("gitamep_orddat")} desp="Order From" path="/gitamep/orddat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Actual Adt No" trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("gitamep_amenbr")} desp="Number of Amendment" path="/gitamep/amenbr" />
</Col>
</Row>
</Col>
</Row>
{/* 第4行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Old Validity" trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem disabled={true} InputProps={bind("expdat1")} desp="Valid until" path="/oldgidgrp/rec/expdat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="New Validity" trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem InputProps={bind("swiadd_newexpdat")} desp="New Expiry Date" path="/gitamep/swiadd/newexpdat" />
</Col>
</Row>
</Col>
</Row>
{/* 第5行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Old Guarantee Amt." trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem disabled={true} InputProps={bind("liadat1")} desp="Liability until" path="/oldgidgrp/rec/liadat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="核销日期" trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem disabled={true} InputProps={bind("vrfdat")} desp="核销日期" path="/gidgrp/rec/vrfdat" />
</Col>
</Row>
</Col>
</Row>
{/* 第6行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Old Liability " trn="getame" />
</Col>
<Col span={6} >
<InputItem disabled={true} InputProps={bind("max1_cur")} maxLength={3} desp="Currency" path="/oldgidgrp/cbs/max/cur" />
</Col>
<Col span={7} offset={1}>
<InputItem disabled={true} InputProps={bind("max1_amt")} desp="Balance" path="/oldgidgrp/cbs/max/amt" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="New Liability" trn="getame" />
</Col>
<Col span={14}>
<DatePickerItem InputProps={bind("swiadd_newliadat")} desp="New Liability Date" path="/gitamep/swiadd/newliadat" />
</Col>
</Row>
</Col>
</Row>
{/* 第7行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Guarantee Amount" trn="getame" />
</Col>
<Col span={6} >
<InputItem InputProps={bind("swiadd_amecur")} maxLength={3} desp="Currency of amended amount" path="/gitamep/swiadd/amecur" />
</Col>
<Col span={7} offset={1}>
<InputItem InputProps={bind("swiadd_ameamt")} desp="Amended Amount" path="/gitamep/swiadd/ameamt" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="变更次数" trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("gitamep_amenumjmg")} maxLength={2} desp="变更次数" path="/gitamep/amenumjmg" />
</Col>
</Row>
</Col>
</Row>
{/* 第9行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Amounts Covered" trn="getame" />
</Col>
<Col span={6} >
<InputItem InputProps={bind("swiadd_newcur")} maxLength={3} desp="Currency of new amount" path="/gitamep/swiadd/newcur" />
</Col>
<Col span={7} offset={1}>
<InputItem InputProps={bind("swiadd_newamt")} desp="New amount" path="/gitamep/swiadd/newamt" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Additional Amount Covered" trn="getame" /> */}
<Label itext="AAC" trn="getame" />
</Col>
<Col span={14}>
<TextAreaItem style={{height:"71px"}} InputProps={bind("swiadd_addamtcov")} desp="Additional Amount Covered" path="/gitamep/swiadd/addamtcov" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Adding amount" trn="getame" />
</Col>
<Col span={6}>
<InputItem disabled={true} InputProps={bind("max2_cur")} maxLength={3} desp="Currency" path="/gidgrp/cbs/max2/cur" />
</Col>
<Col span={7} offset={1}>
<InputItem InputProps={bind("swiadd_addamt")} desp="Additional Amount" path="/gitamep/swiadd/addamt" />
</Col>
</Row>
<Row className="row" >
<Col span={5} offset={2}>
<Label itext="Unlimited" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("swiadd_newexpflg")} desp="Unlimited Validity" path="/gitamep/swiadd/newexpflg" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Add. Amount" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
</Col>
</Row>
</Col>
</Row>
{/* 第10行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Amendment :77C:" trn="getame" />
</Col>
<Col span={14}>
<TextAreaItem disabled={true} InputProps={bind("gitamep_ametxt")} desp="Amendment :77C:" path="/gitamep/ametxt" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Request of Amendment send to" /> */}
<Label itext="RoAst" />
</Col>
<Col span={11}>
<SelectItem disabled={true} InputProps={bind("gitamep_ramrol")} desp="Request of Amendment send to" path="/gitamep/ramrol" />
</Col>
</Row>
</Col>
</Row>
{/* 第11行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Text for Amendments" trn="getame" />
</Col>
<Col span={11}>
<TextAreaItem style={{ height: "71px" }} InputProps={bind("swiadd_ameblk")} desp="Text for Amendments" path="/gitamep/swiadd/ameblk" />
</Col>
<Col span={2} offset={1}>
<Button type="primary" icon="search" onClick={this.onAmebut_buttxmsel} desp="..." path="/gitamep/amebut/buttxmsel">
<Label itext="..." />
</Button>
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Create Amendment Message" trn="getame" /> */}
<Label itext="CAM" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("gitamep_cre767flg")} desp="Create Amendment Message" path="/gitamep/cre767flg" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="choose full text" trn="getame" /> */}
<Label itext="cft" trn="getame" />
</Col>
<Col span={14} >
<CheckboxItem InputProps={bind("gitamep_prtflg")} desp="choose full text" path="/gitamep/prtflg" />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="Close picked up claim now" trn="getame" /> */}
<Label itext="Cpucn" trn="getame" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("gitamep_clsclmflg")} desp="Close picked up claim now" path="/gitamep/clsclmflg" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
{/* <Label itext="agreement of bene. required" trn="getame" /> */}
<Label itext="aobr" trn="getame" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("gitamep_abrflg")} desp="agreement of bene. required" path="/gitamep/abrflg" />
</Col>
</Row>
</Col>
</Row>
{/* <Label itext="Amended" trn="getame" /> */}
{/* <Label itext="Amendments" trn="getame" /> */}
{/* 底部按钮 */}
<BottomBtn _this={this} />
</div>
)
}
}
import React, { Component, Fragment } from 'react'
import PropTypes from 'prop-types'
import {
Page, Validator, Notification, FormItem, DatePickerItem , TextAreaItem, CheckboxItem, Checkbox,
InputItem , Input, Bind, SelectItem , Button, Label, Image, Table, BottomBtn
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetame from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { Row, Col } from 'antd'
import { action, observable, runInAction } from 'mobx'
import Business from '@/views/Public/Business'
import Ptspta2 from '@/views/Public/Ptspta2'
const CodeTable = CodeTableFactory.getInstance()
@inject('UserContext')
@inject('i18n')
@observer
export default class GetameScreen extends Page {
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext() {
return { trn: 'getame' }
}
@observable
formBlur = false
constructor(props) {
super(props)
this.model = props.model
this.bind = Bind.bind(this)
}
//按钮事件
//第一行
onGetref = () => {
this.formBlur = true //已触发表单提交处理
Validator.validate(this.model, this.model.descriptor, async (errors, values) => {
if (errors)
return
const rtnmsg = await Api.post('getame/getref', { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
this.model.ownref = rtnmsg.data.ownref;
}
else {
Notification.error({ message: '服务端请求失败!' })
}
//余下逻辑处理
})
}
//交易内实现
renderPage() {
const bind = this.bind
const { i18n } = this.props
const { bchlevelLst } = this.props.extra
//const {next,pre} = this.props.steps
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)} extra={this.props.extra} model={this.model} />
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Reference" trn="getame" />
</Col>
<Col span={11} >
<InputItem disabled={true} InputProps={bind("ownref")} maxLength={16} desp="Reference" path="/gidgrp/rec/ownref" />
</Col>
<Col span={2} offset={1}>
<Button type="primary" onClick={this.onGetref} desp="Get Ref." path="/mtabut/getref">
<Label itext="获取" />
</Button>
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Name" trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("nam")} maxLength={40} desp="Externally Displayed Name to Identify the Contract" path="/gidgrp/rec/nam" />
</Col>
</Row>
</Col>
</Row>
{/* 第2行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Responsible User" trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("usr_nam")} maxLength={8} desp="用户ID" path="/gitp//sysmod/usr/nam" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Reserved Contract" trn="getame" />
</Col>
<Col span={14}>
<CheckboxItem InputProps={bind("resflg")} desp="Reserved Contract" path="/gidgrp/rec/resflg" />
</Col>
</Row>
</Col>
</Row>
{/* 第3行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Guarantee Amount" trn="getame" />
</Col>
<Col span={6}>
<SelectItem disabled={true} InputProps={bind("max_cur")} code={CodeTable.curtxt} desp="Currency" path="/gidgrp/cbs/max/cur" />
</Col>
<Col span={7} offset={1}>
<InputItem disabled={true} InputProps={bind("max_amt")} desp="Balance" path="/gidgrp/cbs/max/amt" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="drprtflglab" trn="getopn" />
<Label value={this.model.gitp_drpreflglab} desp="Label for Type of Request" path="/gitp/drpreflglab" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("gitp_drpreflg")} code={CodeTable.drpreflg} desp="Type of Request" path="/gitp/drpreflg" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Handling Type" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("hndtyp")} code={CodeTable.hndtyp} desp="Handling Type" path="/gidgrp/rec/hndtyp" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Applicant Ref." trn="getame" />
</Col>
<Col span={14}>
<InputItem disabled={true} InputProps={bind("pts1_ref")} maxLength={16} desp="参考号" path="/gidgrp/apl/pts/ref" />
</Col>
</Row>
<Row className="row">
<Col >
<Ptspta2 model={this.model} argArr={{ desc: "客户编号",desc1:"SWIFT地址",prefix: 'pts1', url: 'getame/aplp_sel', flg: 'C', datakey: '\\gitp\\aplp\\ptslst' }} formBlur={this.formBlur}/>
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className='row'>
<Col span={5} offset={2}>
<Label itext="Open Amount" trn="getame" />
</Col>
<Col span={6} >
<SelectItem disabled={true} InputProps={bind("opn1_cur")} code={CodeTable.curtxt} desp="Currency" path="/gidgrp/cbs/opn1/cur" />
</Col>
<Col span={7} offset={1}>
<InputItem disabled={true} InputProps={bind("opn1_amt")} desp="Balance" path="/gidgrp/cbs/opn1/amt" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className='row'>
<Col span={5} offset={2}>
<Label itext="Add. Amount" trn="getame" />
</Col>
<Col span={1}>
<CheckboxItem InputProps={bind("aammod_addamtflg")} desp="Add. Amount" path="/gitp/aamp/aammod/addamtflg" />
</Col>
</Row>
</Col>
</Row>
{/* 第5行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Type of Undertaking" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("gartyp")} code={CodeTable.typgar} desp="Type of Undertaking" path="/gidgrp/rec/gartyp" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="境内外对手行代码" trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("oppbnk")} maxLength={12} desp="境内外对手行代码" path="/gidgrp/rec/oppbnk" />
</Col>
</Row>
</Col>
</Row>
{/* 第8行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="面函标题" trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("gitp_lettername")} maxLength={60} desp="面函标题" path="/gitp/lettername" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Applicable Rules" trn="getame" />
</Col>
<Col span={6} >
<SelectItem disabled={true} InputProps={bind("blk_apprul")} code={CodeTable.gitapprul} desp="Applicable Rules" path="/gidgrp/blk/apprul" />
</Col>
<Col span={7} offset={1}>
<InputItem disabled={true} InputProps={bind("blk_apprultxt")} maxLength={35} desp="Specification of Applicable Rule" path="/gidgrp/blk/apprultxt" />
</Col>
</Row>
</Col>
</Row>
{/* 第8-11行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Language of Undertak." trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("giduil")} code={CodeTable.uiltxt} desp="Guarantee Language" path="/gidgrp/rec/giduil" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Choice of Text" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("gtxinr")} desp="INR of Generating Text" path="/gidgrp/rec/gtxinr" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="特殊保函类型" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("ghd_segtyp")} desp="特殊保函类型" path="/gidgrp/ghd/segtyp" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Adv\Rcv bank Ref." trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("pts_ref")} maxLength={16} desp="参考号" path="/gidgrp/adv/pts/ref" />
</Col>
</Row>
<Row className="row">
<Col >
<Ptspta2 model={this.model} argArr={{ desc: "客户编号",desc1:"SWIFT地址",prefix: 'pts', url: 'getame/advp_sel', flg: 'B', datakey: '\\gitp\\advp\\ptslst' }} formBlur={this.formBlur}/>
</Col>
</Row>
</Col>
</Row>
{/* 第12行 */}
<Row>
<Col span={12}>
<Row className='row'>
<Col span={5} offset={2}>
<Label itext="是否分离式保函" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("fenlishi")} code={CodeTable.fenlishi} desp="是否分离式保函" path="/gidgrp/rec/fenlishi" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Order Date" trn="getame" />
</Col>
<Col span={14} >
<DatePickerItem disabled={true} InputProps={bind("orddat")} desp="Date of Customer's Order" path="/gidgrp/rec/orddat" />
</Col>
</Row>
</Col>
</Row>
{/* 第13-15行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Issuance Date" trn="getame" />
</Col>
<Col span={14} >
<DatePickerItem disabled={true} InputProps={bind("opndat")} desp="Valid from" path="/gidgrp/rec/opndat" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Old Reference" trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("oldref")} maxLength={16} desp="Old Reference" path="/gidgrp/rec/oldref" />
</Col>
</Row>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="保函生效日" trn="getame" />
</Col>
<Col span={14} >
<DatePickerItem disabled={true} InputProps={bind("inudat")} desp="Inure Date" path="/gidgrp/rec/inudat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Beneficiary Ref." trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("pts2_ref")} maxLength={16} desp="参考号" path="/gidgrp/ben/pts/ref" />
</Col>
</Row>
<Row className="row">
<Col >
<Ptspta2 model={this.model} argArr={{ desc: "客户编号",desc1:"SWIFT地址",prefix: 'pts2', url: 'getame/benp_sel', flg: 'C', datakey: '\\gitp\\benp\\ptslst' }} formBlur={this.formBlur}/>
</Col>
</Row>
</Col>
</Row>
{/* 第16行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Validity until" trn="getame" />
</Col>
<Col span={12} >
<DatePickerItem disabled={true} InputProps={bind("expdat")} desp="Valid until" path="/gidgrp/rec/expdat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Unlimited Guarantee" trn="getame" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("expflg")} desp="Unlimited Guarantee" path="/gidgrp/rec/expflg" />
</Col>
</Row>
</Col>
</Row>
{/* 第17行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Our Liability until" trn="getame" />
</Col>
<Col span={14} >
<DatePickerItem disabled={true} InputProps={bind("liadat")} desp="Liability until" path="/gidgrp/rec/liadat" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Unlimited Liability" trn="getame" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("liaflg")} desp="Unlimited Liability" path="/gidgrp/rec/liaflg" />
</Col>
</Row>
</Col>
</Row>
{/* 第18行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Mortgage Flag" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("guaflg")} code={CodeTable.guaflg} desp="Mortgage Flag" path="/gidgrp/rec/guaflg" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Test Key Unconfirmity" trn="getame" />
</Col>
<Col span={1} >
<CheckboxItem InputProps={bind("teskeyunc")} desp="Test Key Unconfirmity" path="/gidgrp/rec/teskeyunc" />
</Col>
</Row>
</Col>
</Row>
{/* 第19行 */}
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="是否对外担保" trn="getame" />
</Col>
<Col span={14} >
<SelectItem disabled={true} InputProps={bind("fingua")} code={CodeTable.fingua} desp="是否对外担保" path="/gidgrp/rec/fingua" />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="担保类型" trn="getame" />
</Col>
<Col span={12} >
<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" />
</Col>
</Row>
</Col>
</Row>
{/* 底部按钮 */}
<BottomBtn _this={this} />
</div>
)
}
}
import React, { Component, Fragment } from 'react'
import PropTypes from 'prop-types'
import {
Page, Validator, Notification, FormItem, DatePickerItem, TextAreaItem, CheckboxItem, Checkbox,
InputItem, Input, Bind, SelectItem, Button, Label, Image, Table, BottomBtn
} from '@/components/Common-Library'
import Api from '@/service/api'
import mGetame from '../model'
import CodeTableFactory from '@/components/CodeTable'
import "./index.less"
import { inject, observer } from 'mobx-react'
import { Row, Col } from 'antd'
import { action, observable, runInAction } from 'mobx'
import Business from '@/views/Public/Business'
import Ptspta2 from '@/views/Public/Ptspta2'
const CodeTable = CodeTableFactory.getInstance()
@inject('UserContext')
@inject('i18n')
@observer
export default class GetameScreen extends Page {
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext() {
return { trn: 'getame' }
}
@observable
formBlur = false
constructor(props) {
super(props)
this.model = props.model
this.bind = Bind.bind(this)
}
//按钮事件
//第一行
//交易内实现
renderPage() {
const bind = this.bind
const { i18n } = this.props
const { bchlevelLst } = this.props.extra
//const {next,pre} = this.props.steps
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)} extra={this.props.extra} model={this.model} />
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Confirming Bank" trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("pts3_ref")} maxLength={16} desp="参考号" path="/gidgrp/con/pts/ref" />
</Col>
</Row>
<Row className='row'>
<Col >
<Ptspta2 model={this.model} argArr={{ desc: "客户编号",desc1:"SWIFT地址",prefix: 'pts3', url: 'getame/conp_sel', flg: 'B', datakey: '\\gitp\\conp\\ptslst' }} formBlur={this.formBlur}/>
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="Confirming Bank's Ref. " trn="getame" />
</Col>
<Col span={14} >
<InputItem disabled={true} InputProps={bind("pts4_ref")} maxLength={16} desp="参考号" path="/gidgrp/iss/pts/ref" />
</Col>
</Row>
<Row className="row">
<Col >
<Ptspta2 model={this.model} argArr={{ desc: "客户编号",desc1:"SWIFT地址",prefix: 'pts4', url: 'getame/issp_sel', flg: 'B', datakey: '\\gitp\\issp\\ptslst' }} formBlur={this.formBlur}/>
</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 mGetame 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'
import Fujia from './fujia'
import Fujia2 from './fujia2'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class GetselScreen extends Page {
@observable
formBlur = false
@observable
extra = { inifrm: 'getame', sptinr: '', oldinr: '', bchlevelLst: [] }
constructor(props) {
super(props)
this.state = {
flag: true
}
this.model = new mGetame()
}
async componentWillMount() {
let gidinr = '';
if (this.props.location.query) {
// if (this.props.location.query.from == "sptsel") {
// this.extra.sptinr = this.props.location.query.sptinr;
// } else {
gidinr = this.props.location.query.gidinr;
// }
}
const rtnmsg = await Api.post(this.extra.inifrm + '/init', { params: { gidinr: gidinr } })
if (rtnmsg.retcod == SUCCESS) {
Object.assign(this.model, rtnmsg.data)
this.extra.bchlevelLst = rtnmsg.codetable.ownbch;
this.extra.oldinr = gidinr ;
this.setState({ flag: false })
this.model.max_cur="CNY"
}
else {
Notification.error({ message: '服务端请求失败!' })
}
//快照模式下,不必开启校验,否则,静默校验,和记录变动
!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}></Basic>
</StepItem>
<StepItem title="附加">
<Fujia model={this.model} extra={this.extra}></Fujia>
</StepItem>
<StepItem title="附加2">
<Fujia2 model={this.model} extra={this.extra}></Fujia2>
</StepItem>
<StepItem title="表外&保证金">
<Engp model={this.model} extra={this.extra}></Engp>
</StepItem>
<StepItem title="费用&账务">
<Fee model={this.model} extra={this.extra}></Fee>
</StepItem>
<StepItem title="会计分录">
<Gle model={this.model} extra={this.extra}></Gle>
</StepItem>
<StepItem title="面函">
<Papper model={this.model} extra={this.extra}></Papper>
</StepItem>
</Steps>
</Card>
)
}
}
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