浏览代码

sunguidong

zhangguidong 2 年之前
父节点
当前提交
fcc5e25281
共有 1 个文件被更改,包括 13 次插入1 次删除
  1. 13 1
      application/store/view/examine/form.html

+ 13 - 1
application/store/view/examine/form.html

@@ -51,24 +51,36 @@
                 <input name="hunshi"  disabled value='{if $vo.hunshi==1}未婚{elseif $vo.hunshi==2}离异{else}丧偶{/if}' class="layui-input">
             </div>
         </div>
+
+
         <div class="layui-form-item">
             <label class="layui-form-label">是否有子女</label>
             <div class="layui-input-block">
                 <input name="is_zinv"  disabled value='{if $vo.is_zinv==1}有{else}没有{/if}' class="layui-input">
             </div>
         </div>
+        {if $vo.is_du==}
         <div class="layui-form-item">
             <label class="layui-form-label">子女性别</label>
             <div class="layui-input-block">
                 <input name="zinv_sex"  disabled value='{if $vo.zinv_sex==1}男{else}女{/if}' class="layui-input">
             </div>
         </div>
+        {/if}
+        <div class="layui-form-item">
+            <label class="layui-form-label">是否独生子女</label>
+            <div class="layui-input-block">
+                <input name="is_du"  disabled value='{if $vo.is_du==1}是{else}否{/if}' class="layui-input">
+            </div>
+        </div>
+        {if $vo.is_du==2}
         <div class="layui-form-item">
-            <label class="layui-form-label">孩子数量</label>
+            <label class="layui-form-label"></label>
             <div class="layui-input-block">
                 <input name="children"  disabled value='{$vo.children|default=""}' class="layui-input">
             </div>
         </div>
+        {/if}
         <div class="layui-form-item">
             <label class="layui-form-label">居住情况</label>
             <div class="layui-input-block">