12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <!--<div class="ibox-title">-->
- <!--<h5>盘库明细</h5>-->
- <!--<div class="ibox-tools">-->
- <!--<a class="toback" href="{:url('index')}">-->
- <!--返回上一页-->
- <!--</a>-->
- <!--</div>-->
- <!--</div>-->
- <div class="ibox-content">
- <p>
- 盘点人:{$info['userName']}
- 应盘数量:{$info['tnums']}
- 实盘数量:{$info['tchecknums']}
- 数量差异:{$info['tchecknums'] - $info['tnums']}
- </p>
- {if !empty($info['goods'])}
- <table class="table table-bordered table-striped">
- <tr>
- <th>名称</th>
- <th>规格</th>
- <th>品牌</th>
- <th>单价</th>
- <th>状态</th>
- <th>应盘数量</th>
- <th>实盘数量</th>
- <th>数量差异</th>
- <th>盘点时间</th>
- <th>盘点说明</th>
- {eq name="info['status']" value="0"}
- <th>操作</th>
- {/eq}
- </tr>
- {foreach $info['goods'] as $k=>$v}
- <tr>
- <td>{$v['title']}</td>
- <td>{$v['spec']}</td>
- <td>{$v['brand']}</td>
- <td>{$v['price']}</td>
- <td>
- {eq name="v['status']" value="0"}未盘{/eq}
- {eq name="v['status']" value="1"}盘亏{/eq}
- {eq name="v['status']" value="2"}已盘{/eq}
- {eq name="v['status']" value="3"}盘盈{/eq}
- </td>
- <td>{$v['nums']}</td>
- <td>{$v['check_nums']}</td>
- <td>{$v['check_nums'] - $v['nums']}</td>
- <td>{$v['check_time']}</td>
- <td>{$v['remark']}</td>
- {eq name="info['status']" value="0"}
- <td>
- {eq name="v['status']" value="0"}
- <a href="javascript:;" class="btn btn-xs btn-primary" url="{:url('check',['id'=>$v['id']])}" data-title="盘库" onclick="layer_open(this,2)">盘库</a>
- {/eq}
- <a href="{:url('delGoods',['id'=>$v['id']])}" class="btn btn-xs btn-danger confirm ajax-get data-reload" data-confirm="确定要删除此记录吗?">删除</a>
- </td>
- {/eq}
- </tr>
- {/foreach}
- </table>
- {/if}
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- {/block}
|