提交 4dd78205 authored 作者: chengye's avatar chengye

调整字段可编辑权限

上级 faf0bd42
......@@ -183,7 +183,7 @@
</label>
<div class="layui-input-inline">
<input type="text" oninput="sliceDom(this,8)" id="init_amount" name="init_amount" lay-verify="required"
autocomplete="off" value="0" class="layui-input" lay-verType="tips" value="{$info.init_amount}" disabled="disabled">
autocomplete="off" value="0" class="layui-input" lay-verType="tips" value="{$info.init_amount}" {if isset($info.init_amount)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -193,7 +193,7 @@
<span class="x-red">*</span>首次查表日期
</label>
<div class="layui-input-inline">
<input type="text" id="init_date" name="init_date" lay-verify="required" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.init_date}" >
<input type="text" id="init_date" name="init_date" lay-verify="required" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.init_date}" {if isset($info.init_date)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -204,7 +204,7 @@
电表地址
</label>
<div class="layui-input-inline">
<input type="text" id="address" name="address" lay-verify="required" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.address}">
<input type="text" id="address" name="address" lay-verify="required" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.address}" {if isset($info.address)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -288,7 +288,7 @@
<span class="x-red">*</span>抄表单单价
</label>
<div class="layui-input-inline">
<input type="text" id="pay_price" name="pay_price" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.pay_price}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="pay_price" name="pay_price" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.pay_price}" {if isset($info.rule.pay_price)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -299,7 +299,7 @@
<span class="x-red">*</span>缴费周期
</label>
<div class="layui-input-inline">
<input type="text" id="pay_cycle" name="pay_cycle" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.pay_cycle}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="pay_cycle" name="pay_cycle" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.pay_cycle}" {if isset($info.rule.pay_cycle)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -313,7 +313,7 @@
<span class="x-red">*</span>承包金额
</label>
<div class="layui-input-inline">
<input type="text" id="cycle_amount" name="cycle_amount" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.cycle_amount}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="cycle_amount" name="cycle_amount" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.cycle_amount}" {if isset($info.rule.cycle_amount)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -324,7 +324,7 @@
<span class="x-red">*</span>起始承包日期
</label>
<div class="layui-input-inline">
<input type="text" id="cycle_start_time" name="cycle_start_time"autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.cycle_start_time}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="cycle_start_time" name="cycle_start_time"autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.cycle_start_time}" {if isset($info.rule.cycle_start_time} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -335,7 +335,7 @@
<span class="x-red">*</span>结束承包日期
</label>
<div class="layui-input-inline">
<input type="text" id="cycle_finish_time" name="cycle_finish_time" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.cycle_finish_time}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="cycle_finish_time" name="cycle_finish_time" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.cycle_finish_time}" {if isset($info.rule.cycle_finish_time)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -347,7 +347,7 @@
<span class="x-red">*</span>缴费协议编号
</label>
<div class="layui-input-inline">
<input type="text" id="pay_protocol_numb" name="pay_protocol_numb" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.pay_protocol_numb}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="pay_protocol_numb" name="pay_protocol_numb" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.pay_protocol_numb}" {if isset($info.rule.pay_protocol_numb)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -390,7 +390,7 @@
<span class="x-red">*</span>结算单价
</label>
<div class="layui-input-inline">
<input type="text" id="settle_price" name="settle_price" lay-verify="required" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.settle_price}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="settle_price" name="settle_price" lay-verify="required" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.settle_price}" {if isset($info.rule.settle_price)} disabled="disabled" {/if}>
</div>
</div>
</div>
......@@ -401,7 +401,7 @@
<span class="x-red">*</span>结算协议编号
</label>
<div class="layui-input-inline">
<input type="text" id="settle_protocol_numb" name="settle_protocol_numb" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.settle_protocol_numb}" {if !isset($info.edit)} disabled="disabled" {/if}>
<input type="text" id="settle_protocol_numb" name="settle_protocol_numb" autocomplete="off" class="layui-input" lay-verType="tips" value="{$info.rule.settle_protocol_numb}" {if isset(info.rule.settle_protocol_numb)} disabled="disabled" {/if}>
</div>
</div>
</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论