Commit 677b9c03 by fukai

11s 默认103

parent e432c4c7
......@@ -229,7 +229,7 @@ export class SWFPage extends Component
{
if(item.tno == "7" && item.tag=='33B' && !this.getTagValue(item))
{
//arr.push(`:33B:`)
arr.push(`:33B:`)
}
}
......@@ -252,7 +252,7 @@ export class SWFPage extends Component
let tag19value = this.getTagValue(tags[18])
if(tag19value == 'BEN' || tag19value == 'SHA')
{
//arr.push(':71F:')
arr.push(':71F:')
}
}
......@@ -366,17 +366,23 @@ export class SWFPage extends Component
if(mty.substring(0,2)!='mt')
mty = 'mt'+mty
let t111 = this.props.params.t111
let gpiconf = GPIConfig(mty,t111)
if(!this.props.swift_message_tree)
{
let mt_config = MTFactory(mty);
mt_config = JSON.parse(JSON.stringify(mt_config))
//给192 止付 11s默认填值
if(mty == 'mt192' && t111=='zf' && mt_config )
{
mt_config.Tags[2].tagValue[0].s1 = '103'
}
this.mty=mty
this.props.extra.msgtyp=mty
this.props.actions.initSwiftMessageTree(mt_config);
}
let t111 = this.props.params.t111
let gpiconf = GPIConfig(mty,t111)
if(!this.props.gpi.inited && gpiconf)
{
this.props.actions.initGpiConf({inited:true,
......
......@@ -456,7 +456,7 @@ function gpiValidate(mty,t111,tag,tno,value){
if(!/^\/[A-Z0-9]{4}\/([A-Z0-9]{4})?$/.test(first))
{
msg = '请在第一行填写正确的状态码——"状态码/子状态码"'
msg = '请在第一行填写正确的状态码——"/状态码/子状态码"'
errors.s1 = msg
return msg
}
......
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