2019-09-06 23:53:10 +08:00

52 lines
2.4 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<form id='configForm' autocomplete='off'>
<input type='hidden' id='id' class='j-ipt' value='{$object["id"]}'/>
<table width='100%' style='margin-top:10px;' class='wst-form'>
<tr>
<th width='120' align='right'>开卡银行<font color='red'>*</font></th>
<td>
<select id='accTargetId' class='j-ipt' data-rule="开卡银行: required;">
<option value=''>请选择</option>
{volist name="banks" id="vo"}
<option value='{$vo["bankId"]}' {if $object.accTargetId == $vo['bankId']}selected{/if}>{$vo["bankName"]}</option>
{/volist}
</select>
</td>
</tr>
<tr>
<th align='right'>开卡地区<font color='red'>*</font></th>
<td>
<select id="area_0" class='j-areas' level="0" onchange="WST.ITAreas({id:'area_0',val:this.value,isRequire:true,className:'j-areas'});" data-rule="开卡地区: required;">
<option value="">-请选择-</option>
{foreach $areas as $v}
<option value="{$v['areaId']}">{$v['areaName']}</option>
{/foreach}
</select>
</td>
</tr>
<tr height='40'>
<th align='right'>卡号<font color='red'>*</font></th>
<td><input type='text' id='accNo' class='j-ipt' value='{$object["accNo"]}' style='width:250px' data-rule="卡号: required;"/></td>
</tr>
<tr>
<th align='right'>持卡人<font color='red'>*</font></th>
<td><input type='text' id='accUser' class='j-ipt' value='{$object["accUser"]}' style='width:250px' data-rule="持卡人: required;"/></td>
</tr>
<tr>
<td colspan='2' style='text-align: center;padding-top:5px;'>
<button type='button' class='wst-sec-but u-btn' onclick="editConfig()">保存</button>
<button type='button' style='margin-left:10px;' class='wst-user-buta2 u-btn' onclick='layerclose()'>取消</button>
</td>
</tr>
</table>
</form>
<script>
$(function(){
var bankAreaIdPath = '{$object["accAreaIdPath"]}';
if(bankAreaIdPath!=''){
var areaIdPath = bankAreaIdPath.split("_");
$('#area_0').val(areaIdPath[0]);
var aopts = {id:'area_0',val:areaIdPath[0],childIds:areaIdPath,className:'j-areas',isRequire:true}
WST.ITSetAreas(aopts);
}
})
</script>