提交 3a638313 authored 作者: chengye's avatar chengye

调整电表基本信息字段编辑权限,如果不为空则不可以编辑

上级 258abe15
......@@ -270,7 +270,7 @@
<span class="x-red">*</span>缴费模式
</label>
<div class="layui-input-inline">
<select name="charge_type" id="charge_type" lay-filter="charge_type" {if !isset($info.edit)} disabled="disabled" {/if}>
<select name="charge_type" id="charge_type" lay-filter="charge_type" {if isset($info.rule.charge_type)} disabled="disabled" {/if}>
<option value="1" {if $info.rule.charge_type == 1} selected {/if}>读表</option>
<option value="2" {if $info.rule.charge_type == 2} selected {/if}>包年</option>
<option value="3" {if $info.rule.charge_type == 3} selected {/if}>包月</option>
......@@ -373,7 +373,7 @@
<span class="x-red">*</span>结算模式
</label>
<div class="layui-input-inline">
<select name="settle_type" {if !isset($info.edit)} disabled="disabled" {/if}>
<select name="settle_type" {if isset($info.rule.settle_type)} disabled="disabled" {/if}>
<option value="1"
{if $info.rule.settle_type == 1} selected {/if}>供电局标准</option>
<option value="2"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论