|
@@ -52,6 +52,7 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
{else/}
|
|
|
+<!-- 编辑时-->
|
|
|
<table class="layui-table">
|
|
|
<tr>
|
|
|
<td class="layui-td-gray">部门名称<font>*</font></td>
|
|
@@ -85,7 +86,7 @@
|
|
|
<td class="layui-td-gray-2 get-entrust">委托单位</td>
|
|
|
<td colspan="3">
|
|
|
<input type="text" name="entrust_unit_name" placeholder="请选择委托单位(仅业主选择)" autocomplete="off" class="layui-input get-entrust" value="{$entrust_unit_name}">
|
|
|
- <input type="hidden" name="entrust_unit" value="">
|
|
|
+ <input type="hidden" name="entrust_unit" value="{$entrust_unit}">
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
@@ -153,14 +154,14 @@
|
|
|
oaTool.getEntrust(callback);
|
|
|
});
|
|
|
//
|
|
|
- $(document).on('change', 'input[name="type"]', function () {
|
|
|
- console.log("执行变化");
|
|
|
- if ($(this).val() === '1') {
|
|
|
- $('.entrust-unit-row').show();
|
|
|
- } else {
|
|
|
- $('.entrust-unit-row').hide();
|
|
|
- }
|
|
|
- });
|
|
|
+ // $(document).on('change', 'input[name="type"]', function () {
|
|
|
+ // console.log("执行变化");
|
|
|
+ // if ($(this).val() === '1') {
|
|
|
+ // $('.entrust-unit-row').show();
|
|
|
+ // } else {
|
|
|
+ // $('.entrust-unit-row').hide();
|
|
|
+ // }
|
|
|
+ // });
|
|
|
|
|
|
//页面加载时根据初始选中的单选按钮值设置委托单位行的显示状态
|
|
|
// $(document).ready(function () {
|