#if item.isdetail >
|
colspan="${colnum*2-1}" <#elseif item.itemcol??> colspan="${item.itemcol}" #if> >
<#if item.detailAsHref>
<#if data[item.name]??&&data[item.name]?has_content>${((data[item.name])?string("##,##0.00"))!}#if>
<#else>
<#if data[item.name]??&&data[item.name]?has_content>${((data[item.name])?string("##,##0.00"))!}#if>
#if>
<#if (data[item.name])?has_content >#if>
|
<#else>
|
colspan="${colnum*2-1}" <#elseif item.itemcol??> colspan="${item.itemcol}" #if> style="width1: ${70/panel.colsize}%;" >
${item.htmlattr!}
<#elseif (formStyle!)=='2'&& item.unit?has_content> <#--OA 样式有单位,需要变短-->
style="width:80%" ${item.htmlattr!}
<#else>
style="width:${fixWidth}%" ${item.htmlattr!}
#if>
name="${item.name}" value="<#if (data[item.name])?has_content >${(data[item.name])!?c}<#else>${item.defaultvalue!}#if>" class="easyui-numberbox" style="text-align:right"
data-options="cls:'sm line',groupSeparator:',',required:${item.required?string('true','false')},editable:${item.editable?string('true','false')}
<#if item.decimal?exists>,precision:${item.decimal}#if><#if item.length?exists>,validType:'maxLength[${item.length}]'#if><#if item.dataoptions?exists>,${item.dataoptions}#if>"/>
|
#if>