修复消息类型为全部时,不显示收件人的问题

This commit is contained in:
HDM58\hdm58 2023-09-16 09:30:38 +08:00
parent aec6d8fd5d
commit 5393049b3c
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@
<input type="radio" name="type" lay-filter="type" value="4" title="全部" {eq name="$detail.type" value="4"}checked{/eq}> <input type="radio" name="type" lay-filter="type" value="4" title="全部" {eq name="$detail.type" value="4"}checked{/eq}>
</td> </td>
</tr> </tr>
<tr id ="person" {eq name="$detail.type" value="3"}style="display:none;"{/eq}> <tr id ="person" {eq name="$detail.type" value="4"}style="display:none;"{/eq}>
<td class="layui-td-gray">收件人<font>*</font></td> <td class="layui-td-gray">收件人<font>*</font></td>
<td> <td>
{eq name="$detail.type" value="3"} {eq name="$detail.type" value="3"}

View File

@ -18,7 +18,7 @@
</td> </td>
</tr> </tr>
{if condition="$type eq 1"} {if condition="$type eq 1"}
<tr id ="person" {eq name="$detail.type" value="3"}style="display:none;"{/eq}> <tr id ="person" {eq name="$detail.type" value="4"}style="display:none;"{/eq}>
<td class="layui-td-gray">收件人<font>*</font></td> <td class="layui-td-gray">收件人<font>*</font></td>
<td> <td>
<input type="text" name="person_name" value="{$detail.person_name}" lay-verify="required" lay-reqText="请选择收件人" placeholder="请选择收件人" readonly class="layui-input"> <input type="text" name="person_name" value="{$detail.person_name}" lay-verify="required" lay-reqText="请选择收件人" placeholder="请选择收件人" readonly class="layui-input">
@ -34,7 +34,7 @@
</td> </td>
</tr> </tr>
{else/} {else/}
<tr id ="person" {eq name="$detail.type" value="3"}style="display:none;"{/eq}> <tr id ="person" {eq name="$detail.type" value="4"}style="display:none;"{/eq}>
<td class="layui-td-gray">收件人<font>*</font></td> <td class="layui-td-gray">收件人<font>*</font></td>
<td> <td>
<input type="text" name="person_name" value="" lay-verify="required" lay-reqText="请选择收件人" placeholder="请选择收件人" readonly class="layui-input"> <input type="text" name="person_name" value="" lay-verify="required" lay-reqText="请选择收件人" placeholder="请选择收件人" readonly class="layui-input">