<input type="text" name="row[{$vo.attr_id}]" data-rule="{$vo.required?'required;':''}"
data-tip="{$vo.required?$vo.attr_name.'必填':''}" class="form-control input-lg"
{eyou:if condition='($vo.attr_id== 28)'}
value="800" id="attr_28" readonly
{eyou:elseif condition='($vo.attr_id == 29)' /}
value="" id="attr_29" readonly
{eyou:elseif condition='($vo.attr_id == 27)' /}
value="" id="attr_27"
{eyou:else /}
placeholder="{$vo.attr_name}"
{/eyou:if}
>
<script>
$(function(){
$("#attr_27").focus(function(){
}).blur(function(){
var xufei_price = $("#attr_27").val();
$("#attr_27").attr('value',xufei_price);
var baoming_price = $("#attr_28").val();
var peixun_price = xufei_price - baoming_price;
$("#attr_29").attr('value',peixun_price);
})
})
</script>