提交 eb58d06d authored 作者: chengye's avatar chengye

修复账单显示细节,调整凭证显示

上级 9bc835d4
...@@ -108,7 +108,6 @@ class EmInvoice extends Base ...@@ -108,7 +108,6 @@ class EmInvoice extends Base
if($receipt) $useage['photo'] = $receipt; if($receipt) $useage['photo'] = $receipt;
} else { } else {
$useage['photo'] = []; $useage['photo'] = [];
} }
//获取电表信息 //获取电表信息
......
...@@ -118,16 +118,21 @@ ...@@ -118,16 +118,21 @@
<div class="layui-col-md5"> <div class="layui-col-md5">
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"> <label class="layui-form-label">
<span class="x-red">*</span>账单凭证 <span class="x-red">*</span>抄表单照片
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<!-- <button type="button" class="layui-btn" id="up_photo"> <!-- <button type="button" class="layui-btn" id="up_photo">
<i class="layui-icon"></i>上传 <i class="layui-icon"></i>上传
</button> --> </button> -->
<input type="hidden" name="photo_id" value="{$inv.em.photo.id|default=''}"> <input type="hidden" name="photo_id" value="{$inv.em.photo.id|default=''}">
<a href="{if isset($inv.em.photo.src)}{$inv.em.photo.src|default='#'}{/if}" class='layui-btn' target="_blank" > {if $inv.em.photo.id == '' || !isset($inv.em.photo.id) }
未上传抄表照片
{else /}
<a href="{$inv.em.photo.src}" class='layui-btn' target="_blank" >
<i class="layui-icon">&#xe64a;</i>预览 <i class="layui-icon">&#xe64a;</i>预览
</a> </a>
{/if}
</div> </div>
</div> </div>
</div> </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论