Commit e7a7a6bb by qiuxia

新增lcyadd和lcyame

parent a94db154
export default fieldSet = {
apprul:[
{type:'string',max:30,message:'长度不能超过30个字符'}, // \lidgrp\rec\apprul Applicable Rules
],
apprultxt:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rec\apprultxt Other Applicable Rules
],
avbby:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\avbby Available by
],
avbwth:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\avbwth Available with
],
chato:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\chato Own Charges Borne by
],
cnfdet:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\cnfdet Confirmation Instructions
],
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\expdat Date of Expiry
],
expplc:[
{type:'string',max:29,message:'长度不能超过29个字符'}, // \lidgrp\rec\expplc Place of Expiry
],
lcrtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\lcrtyp Form of Documentary Credit
],
nam:[
{type:'string',max:140,message:'长度不能超过140个字符'}, // \lidgrp\rec\nam Externally Displayed Name to Identify the Contract
],
nomspc:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\nomspc Amount Specification
],
nomton:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\nomton Amount Tolerance - Negative
],
nomtop:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\nomtop Amount Tolerance - Positive
],
opndat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\opndat Date L/C Opened/Issued
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\rec\ownref Reference
],
pordis:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\pordis Port of Discharge
],
porloa:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\porloa Port of Loading
],
preadvdt:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\preadvdt Date Pre-advised
],
redclsflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\redclsflg Red/Green Clause
],
resflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\resflg Reserved Contract
],
revflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\revflg Revolving Flag
],
rmbflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\rmbflg Reimbursement Information
],
shpdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\shpdat Shipment Date
],
shpfro:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\shpfro Shipment from
],
shppar:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rec\shppar Partial Shipment
],
shpto:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\shpto For Transportation to
],
shptrs:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rec\shptrs Transshipment
],
stacty:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\stacty Country Code Risk Country
],
stagod:[
{type:'string',max:6,message:'长度不能超过6个字符'}, // \lidgrp\rec\stagod Goods Code
],
tenmaxday:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\rec\tenmaxday Maximum tenor in days
],
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 保证金合计
],
pts_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\a2b\pts\adrblk SWIFT地址
],
pts_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\a2b\pts\extkey 客户编号
],
pts_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\a2b\pts\ref 参考号
],
pts1_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\adv\pts\adrblk SWIFT地址
],
pts1_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\adv\pts\extkey 客户编号
],
pts1_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \lidgrp\adv\pts\nam 客户英文名称
],
pts1_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\adv\pts\ref 参考号
],
pts2_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\apl\pts\adrblk SWIFT地址
],
pts2_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\apl\pts\extkey 客户编号
],
pts2_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \lidgrp\apl\pts\nam 客户英文名称
],
pts2_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\apl\pts\ref 参考号
],
pts3_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\avb\pts\adrblk SWIFT地址
],
pts3_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\avb\pts\extkey 客户编号
],
pts3_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\avb\pts\ref 参考号
],
lidgrp_avbnam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \lidgrp\avbnam Available with Bank
],
pts4_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\ben\pts\adrblk SWIFT地址
],
pts4_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ben\pts\extkey 客户编号
],
pts4_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \lidgrp\ben\pts\nam 客户英文名称
],
pts4_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ben\pts\ref 参考号
],
blk_adlcnd:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\adlcnd Additional Conditions
],
blk_defdet:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\defdet Deferred Payment Details
],
blk_dftat:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\dftat Drafts at
],
blk_feetxt:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\feetxt Additional Details to Code for Charges
],
blk_insbnk:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\insbnk Instructions to Paying/Accepting/Negotiating Bank
],
blk_lcrdoc:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\lcrdoc Documents Required
],
blk_lcrgod:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\lcrgod Description of Gods
],
blk_mixdet:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\mixdet Mixed Payment Details
],
blk_preper:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\preper Presentation Period
],
blk_preperflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\blk\preperflg Presentation Period modified
],
blk_shpper:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\shpper Shipment Period
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cbs\max\amt Balance
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\cbs\max\cur Currency
],
nom1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cbs\nom1\amt Balance
],
nom1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\cbs\nom1\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cbs\opn1\amt Balance
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\cbs\opn1\cur Currency
],
pts5_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\cmb\pts\adrblk SWIFT地址
],
pts5_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cmb\pts\extkey 客户编号
],
pts6_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\drw\pts\adrblk SWIFT地址
],
pts6_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\drw\pts\extkey 客户编号
],
pts7_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\ini\pts\adrblk SWIFT地址
],
pts7_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ini\pts\extkey 客户编号
],
pts7_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ini\pts\ref 参考号
],
pts8_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rmb\pts\adrblk SWIFT地址
],
pts8_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\rmb\pts\extkey 客户编号
],
pts8_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\rmb\pts\ref 参考号
],
usr_nam:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \litp\\sysmod\usr\nam 用户ID
],
aammod_addamtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \litp\aamp\aammod\addamtflg Add. Amount
],
litp_avblab:[
{type:'string',max:80,message:'长度不能超过80个字符'}, // \litp\avblab Label Available with Bank
],
aammod1_addamtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \litp\litp0\aammod\addamtflg Add. Amount
],
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 Lcyadd {
@observable
actiontyp="" //操作类型
@observable
reasonremark="" // 补录/修改/撤销原因
@observable
reasoncod="" // 补录修改原因代码
@observable
baksrinum="" // 银行自身流水号
@observable
biztypcod="" // 业务类型代码
@observable
idtypecod="" // 证件类型代码
@observable
idcode="" // 证件号码
@observable
ctycod="" // 国家/地区代码
@observable
addidcode="" // 补充证件号码
@observable
personnam="" // 姓名
@observable
salefxtxcode="" // 结汇资金属性代码
@observable
cur="" // 币种
@observable
salefxamt="" // 结汇金额
@observable
lcycnyacc="" // 结汇人民币账户
@observable
selsetcod="" // 结汇资金形态代码
@observable
lcyacctno="" //个人外汇账户账号
@observable
biztxchnlcod="" // 业务办理渠道代码
@observable
业务办理时间="" // 业务办理时间
@observable
remark="" // 备注
@observable
agentcorpcod="" // 代理企业组织机构代码
@observable
agentcorpnam="" // 代理企业名称
@observable
indivorgcode="" // 个体工商户组织机构代码
@observable
indivorgname="" // 个体工商户名称
@observable
payorgcod="" // 支付机构组织代码
@observable
capitalno="" // 外汇局批件号
get descriptor()
{
return _descriptor
}
clear()
{
this.actiontyp=""
this.reasonremark=""
this.reasoncod=""
this.baksrinum=""
this.biztypcod=""
this.idtypecod=""
this.idcode=""
this.ctycod=""
this.addidcode=""
this.personnam=""
this.salefxtxcode=""
this.cur=""
this.salefxamt=""
this.lcycnyacc=""
this.selsetcod=""
this.lcyacctno=""
this.biztxchnlcod=""
this.biztxtime=""
this.remark=""
this.agentcorpcod=""
this.agentcorpnam=""
this.indivorgcode=""
this.indivorgname=""
this.payorgcod=""
this.capitalno=""
}
}
export default Lcyadd
\ 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 mLcyadd 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} from 'antd';
import Ptspta2 from '@/views/Public/Ptspta2'
import Business from '@/views/Public/Business'
const CodeTable = CodeTableFactory.getInstance()
@inject('UserContext')
@inject('i18n')
@observer
export default class BasicScreen extends Page
{
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext () {
return {trn:'lcyadd'}
}
@observable
formBlur=false
constructor(props)
{
super(props)
this.model = new mLcyadd()
this.bind = Bind.bind(this)
}
//交易内实现
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="操作类型" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("actiontyp")} maxLength={16} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="补录/修改/撤销原因" trn="lcyadd" />
</Col>
<Col span={14}>
<TextAreaItem InputProps={bind("reasonremark")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="补录修改原因代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("reasoncod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="银行自身流水号" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("baksrinum")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="业务类型代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("biztypcod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="证件类型代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("idtypecod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="证件号码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("idcode")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="国家/地区代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("ctycod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="补充证件号码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("addidcode")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="姓名" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("personnam")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇资金属性代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("salefxtxcode")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="币种" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("cur")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇金额" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("salefxamt")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇人民币账户" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("lcycnyacc")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇资金形态代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("selsetcod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="个人外汇账户账号" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("lcyacctno")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="业务办理渠道代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("biztxchnlcod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="业务办理时间" trn="lcyadd" />
</Col>
<Col span={14}>
<DatePickerItem InputProps={bind("biztxtime")} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="备注" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("remark")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="代理企业组织机构代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("agentcorpcod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="代理企业名称" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("agentcorpnam")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="个体工商户组织机构代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("indivorgcode")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="个体工商户名称" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("indivorgname")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="支付机构组织代码" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("payorgcod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="外汇局批件号" trn="lcyadd" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("capitalno")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
</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,Steps} from '@/components/Common-Library'
import Api from '@/service/api'
import mLcyadd 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 { Card } from 'antd'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class LcyaddScreen extends Page
{
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext () {
return {trn:'lcyadd'}
}
@observable
formBlur=false
constructor(props)
{
super(props)
this.model = new mLcyadd()
this.bind = Bind.bind(this)
this.state = {
flag: true
}
}
async componentWillMount()
{
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('lcyadd/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>
</Steps>
</Card>
)
}
}
export default fieldSet = {
apprul:[
{type:'string',max:30,message:'长度不能超过30个字符'}, // \lidgrp\rec\apprul Applicable Rules
],
apprultxt:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rec\apprultxt Other Applicable Rules
],
avbby:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\avbby Available by
],
avbwth:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\avbwth Available with
],
chato:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\chato Own Charges Borne by
],
cnfdet:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\cnfdet Confirmation Instructions
],
expdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\expdat Date of Expiry
],
expplc:[
{type:'string',max:29,message:'长度不能超过29个字符'}, // \lidgrp\rec\expplc Place of Expiry
],
lcrtyp:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\lcrtyp Form of Documentary Credit
],
nam:[
{type:'string',max:140,message:'长度不能超过140个字符'}, // \lidgrp\rec\nam Externally Displayed Name to Identify the Contract
],
nomspc:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\nomspc Amount Specification
],
nomton:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\nomton Amount Tolerance - Negative
],
nomtop:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\nomtop Amount Tolerance - Positive
],
opndat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\opndat Date L/C Opened/Issued
],
ownref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\rec\ownref Reference
],
pordis:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\pordis Port of Discharge
],
porloa:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\porloa Port of Loading
],
preadvdt:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\preadvdt Date Pre-advised
],
redclsflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\redclsflg Red/Green Clause
],
resflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\resflg Reserved Contract
],
revflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\revflg Revolving Flag
],
rmbflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\rec\rmbflg Reimbursement Information
],
shpdat:[
{type:'string',max:12,message:'长度不能超过12个字符'}, // \lidgrp\rec\shpdat Shipment Date
],
shpfro:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\shpfro Shipment from
],
shppar:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rec\shppar Partial Shipment
],
shpto:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\rec\shpto For Transportation to
],
shptrs:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rec\shptrs Transshipment
],
stacty:[
{type:'string',max:2,message:'长度不能超过2个字符'}, // \lidgrp\rec\stacty Country Code Risk Country
],
stagod:[
{type:'string',max:6,message:'长度不能超过6个字符'}, // \lidgrp\rec\stagod Goods Code
],
tenmaxday:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\rec\tenmaxday Maximum tenor in days
],
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 保证金合计
],
pts_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\a2b\pts\adrblk SWIFT地址
],
pts_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\a2b\pts\extkey 客户编号
],
pts_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\a2b\pts\ref 参考号
],
pts1_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\adv\pts\adrblk SWIFT地址
],
pts1_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\adv\pts\extkey 客户编号
],
pts1_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \lidgrp\adv\pts\nam 客户英文名称
],
pts1_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\adv\pts\ref 参考号
],
pts2_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\apl\pts\adrblk SWIFT地址
],
pts2_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\apl\pts\extkey 客户编号
],
pts2_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \lidgrp\apl\pts\nam 客户英文名称
],
pts2_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\apl\pts\ref 参考号
],
pts3_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\avb\pts\adrblk SWIFT地址
],
pts3_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\avb\pts\extkey 客户编号
],
pts3_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\avb\pts\ref 参考号
],
lidgrp_avbnam:[
{type:'string',max:40,message:'长度不能超过40个字符'}, // \lidgrp\avbnam Available with Bank
],
pts4_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\ben\pts\adrblk SWIFT地址
],
pts4_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ben\pts\extkey 客户编号
],
pts4_nam:[
{type:'string',max:100,message:'长度不能超过100个字符'}, // \lidgrp\ben\pts\nam 客户英文名称
],
pts4_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ben\pts\ref 参考号
],
blk_adlcnd:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\adlcnd Additional Conditions
],
blk_defdet:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\defdet Deferred Payment Details
],
blk_dftat:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\dftat Drafts at
],
blk_feetxt:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\feetxt Additional Details to Code for Charges
],
blk_insbnk:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\insbnk Instructions to Paying/Accepting/Negotiating Bank
],
blk_lcrdoc:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\lcrdoc Documents Required
],
blk_lcrgod:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\lcrgod Description of Gods
],
blk_mixdet:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\mixdet Mixed Payment Details
],
blk_preper:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\blk\preper Presentation Period
],
blk_preperflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \lidgrp\blk\preperflg Presentation Period modified
],
blk_shpper:[
{type:'string',max:65,message:'长度不能超过65个字符'}, // \lidgrp\blk\shpper Shipment Period
],
max_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cbs\max\amt Balance
],
max_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\cbs\max\cur Currency
],
nom1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cbs\nom1\amt Balance
],
nom1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\cbs\nom1\cur Currency
],
opn1_amt:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cbs\opn1\amt Balance
],
opn1_cur:[
{type:'string',max:3,message:'长度不能超过3个字符'}, // \lidgrp\cbs\opn1\cur Currency
],
pts5_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\cmb\pts\adrblk SWIFT地址
],
pts5_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\cmb\pts\extkey 客户编号
],
pts6_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\drw\pts\adrblk SWIFT地址
],
pts6_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\drw\pts\extkey 客户编号
],
pts7_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\ini\pts\adrblk SWIFT地址
],
pts7_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ini\pts\extkey 客户编号
],
pts7_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\ini\pts\ref 参考号
],
pts8_adrblk:[
{type:'string',max:35,message:'长度不能超过35个字符'}, // \lidgrp\rmb\pts\adrblk SWIFT地址
],
pts8_extkey:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\rmb\pts\extkey 客户编号
],
pts8_ref:[
{type:'string',max:16,message:'长度不能超过16个字符'}, // \lidgrp\rmb\pts\ref 参考号
],
usr_nam:[
{type:'string',max:8,message:'长度不能超过8个字符'}, // \litp\\sysmod\usr\nam 用户ID
],
aammod_addamtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \litp\aamp\aammod\addamtflg Add. Amount
],
litp_avblab:[
{type:'string',max:80,message:'长度不能超过80个字符'}, // \litp\avblab Label Available with Bank
],
aammod1_addamtflg:[
{type:'string',max:1,message:'长度不能超过1个字符'}, // \litp\litp0\aammod\addamtflg Add. Amount
],
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 Lcyadd {
@observable
actiontyp="" //操作类型
@observable
reasonremark="" // 补录/修改/撤销原因
@observable
reasoncod="" // 补录修改原因代码
@observable
baksrinum="" // 银行自身流水号
@observable
biztypcod="" // 业务类型代码
@observable
idtypecod="" // 证件类型代码
@observable
idcode="" // 证件号码
@observable
ctycod="" // 国家/地区代码
@observable
addidcode="" // 补充证件号码
@observable
personnam="" // 姓名
@observable
salefxtxcode="" // 结汇资金属性代码
@observable
cur="" // 币种
@observable
salefxamt="" // 结汇金额
@observable
lcycnyacc="" // 结汇人民币账户
@observable
selsetcod="" // 结汇资金形态代码
@observable
lcyacctno="" //个人外汇账户账号
@observable
biztxchnlcod="" // 业务办理渠道代码
@observable
业务办理时间="" // 业务办理时间
@observable
remark="" // 备注
@observable
agentcorpcod="" // 代理企业组织机构代码
@observable
agentcorpnam="" // 代理企业名称
@observable
indivorgcode="" // 个体工商户组织机构代码
@observable
indivorgname="" // 个体工商户名称
@observable
payorgcod="" // 支付机构组织代码
@observable
capitalno="" // 外汇局批件号
get descriptor()
{
return _descriptor
}
clear()
{
this.actiontyp=""
this.reasonremark=""
this.reasoncod=""
this.baksrinum=""
this.biztypcod=""
this.idtypecod=""
this.idcode=""
this.ctycod=""
this.addidcode=""
this.personnam=""
this.salefxtxcode=""
this.cur=""
this.salefxamt=""
this.lcycnyacc=""
this.selsetcod=""
this.lcyacctno=""
this.biztxchnlcod=""
this.biztxtime=""
this.remark=""
this.agentcorpcod=""
this.agentcorpnam=""
this.indivorgcode=""
this.indivorgname=""
this.payorgcod=""
this.capitalno=""
}
}
export default Lcyadd
\ 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 mLcyame 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} from 'antd';
import Ptspta2 from '@/views/Public/Ptspta2'
import Business from '@/views/Public/Business'
const CodeTable = CodeTableFactory.getInstance()
@inject('UserContext')
@inject('i18n')
@observer
export default class BasicScreen extends Page
{
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext () {
return {trn:'lcyame'}
}
@observable
formBlur=false
constructor(props)
{
super(props)
this.model = new mLcyame()
this.bind = Bind.bind(this)
}
//交易内实现
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="操作类型" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("actiontyp")} maxLength={16} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="补录/修改/撤销原因" trn="lcyame" />
</Col>
<Col span={14}>
<TextAreaItem InputProps={bind("reasonremark")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="补录修改原因代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("reasoncod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="银行自身流水号" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("baksrinum")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="业务类型代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("biztypcod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="证件类型代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("idtypecod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="证件号码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("idcode")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="国家/地区代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("ctycod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="补充证件号码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("addidcode")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="姓名" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("personnam")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇资金属性代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("salefxtxcode")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="币种" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("cur")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇金额" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("salefxamt")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇人民币账户" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("lcycnyacc")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="结汇资金形态代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("selsetcod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="个人外汇账户账号" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("lcyacctno")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="业务办理渠道代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("biztxchnlcod")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="业务办理时间" trn="lcyame" />
</Col>
<Col span={14}>
<DatePickerItem InputProps={bind("biztxtime")} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="备注" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("remark")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="代理企业组织机构代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("agentcorpcod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="代理企业名称" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("agentcorpnam")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="个体工商户组织机构代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("indivorgcode")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="个体工商户名称" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("indivorgname")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="支付机构组织代码" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("payorgcod")} maxLength={140} />
</Col>
</Row>
</Col>
</Row>
<Row>
<Col span={12}>
<Row className="row">
<Col span={5} offset={2}>
<Label itext="外汇局批件号" trn="lcyame" />
</Col>
<Col span={14}>
<InputItem InputProps={bind("capitalno")} maxLength={140} />
</Col>
</Row>
</Col>
<Col span={12}>
</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,Steps} from '@/components/Common-Library'
import Api from '@/service/api'
import mLcyame 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 { Card } from 'antd'
const CodeTable = CodeTableFactory.getInstance()
const StepItem = Steps.Item
@inject('UserContext')
@inject('i18n')
@observer
export default class LcyameScreen extends Page
{
static childContextTypes = {
trn: PropTypes.string,
}
getChildContext () {
return {trn:'lcyame'}
}
@observable
formBlur=false
constructor(props)
{
super(props)
this.model = new mLcyame()
this.bind = Bind.bind(this)
this.state = {
flag: true
}
}
async componentWillMount()
{
/*
*添加初始化代码
*/
const rtnmsg = await Api.post('lcyame/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>
</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