382 行
17 KiB
HTML
可执行文件
382 行
17 KiB
HTML
可执行文件
<!DOCTYPE html>
|
|
<html>
|
|
<!--[1.3.57]-->
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>打印</title>
|
|
<link href="__PUBLIC__/Retail/css/base.css" rel="stylesheet">
|
|
<script src="__PUBLIC__/jquery/js/jquery-2.0.3.min.js"></script>
|
|
<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="__PUBLIC__/Retail/css/store.css" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
cursor: pointer;
|
|
box-sizing: border-box;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
#app {
|
|
position: relative;
|
|
with: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.content-head span {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.content-head1 {
|
|
display: flex;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 0px 20px;
|
|
box-sizing: border-box;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.content {
|
|
width: 100%;
|
|
}
|
|
|
|
.content div {
|
|
display: inline-block;
|
|
width: 33.33%;
|
|
font-size: 14px;
|
|
margin: 5px 0;
|
|
float: left;
|
|
}
|
|
|
|
.Business_tb1 table tr th {
|
|
border-color: #000;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.Business_tb1 table tr td {
|
|
border-color: #000;
|
|
}
|
|
|
|
.Business_tb1 tr {
|
|
height: 20px;
|
|
line-height: 20px;
|
|
}
|
|
.Business_tb1 tr td {
|
|
border-right: 1px solid #ebecee;
|
|
border-bottom: 1px solid #ebecee;
|
|
line-height: 20px;
|
|
padding: 2px;
|
|
}
|
|
.form-textarea {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-textarea-title {
|
|
margin-bottom: 10px;
|
|
text-align: left;
|
|
}
|
|
.text{
|
|
width: 100%;
|
|
color: #000;
|
|
text-align: left;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="print_detail">
|
|
<div class="Business">
|
|
<div class="Business_tb1">
|
|
<div class="content-head">
|
|
<span>{$type_name}</span>
|
|
</div>
|
|
<div class="content-head1">
|
|
<div class="content">
|
|
<div>单据号:{$order_number}</div>
|
|
<if condition="$type eq 1 || $type eq 2">
|
|
<div>供货商:{$supplier}</div>
|
|
</if>
|
|
<if condition="$type eq 1 || $type eq 5">
|
|
<div>入库仓库:{$warehouse}</div>
|
|
<elseif condition="$type eq 2"/>
|
|
<div>退货仓库:{$warehouse}</div>
|
|
<elseif condition="$type eq 3"/>
|
|
<div>盘点仓库:{$warehouse}</div>
|
|
<elseif condition="$type eq 4"/>
|
|
<div>报损仓库:{$warehouse}</div>
|
|
<elseif condition="$type eq 6"/>
|
|
<div>入库仓库:{$warehouse}</div>
|
|
<elseif condition="$type eq 7"/>
|
|
<div>出货仓库:{$warehouse}</div>
|
|
<if condition="$store_name neq ''">
|
|
<div>货至:{$store_name}</div>
|
|
</if>
|
|
<elseif condition="$type eq 8 && $$store_name neq ''"/>
|
|
<div>入库门店:{$store_name}</div>
|
|
<elseif condition="$type eq 8"/>
|
|
<div>入库仓库:{$warehouse}</div>
|
|
</if>
|
|
<if condition="$type eq 9">
|
|
<div>申请时间:{$add_time}</div>
|
|
<div>申请合计:{$store_goods_species}种</div>
|
|
<else/>
|
|
<div>合计:{$goods_species}种</div>
|
|
</if>
|
|
<if condition="$type eq 3">
|
|
<if condition="$showPrice neq 2 || $identity eq 1">
|
|
<div>盈亏金额:{$amount}</div>
|
|
</if>
|
|
<div>盈亏数量:{$quantity}</div>
|
|
</if>
|
|
<if condition="$print['price_state'] eq 1 && ($showPrice neq 2 || $identity eq 1) && $type eq 1 || $type eq 2 || $type eq 4 || $type eq 5 || $type eq 6 || $type eq 7 || $type eq 8">
|
|
<div>金额:{$money_total}</div>
|
|
</if>
|
|
<if condition="$type eq 9">
|
|
<div>商户出库时间:{$stock_time}</div>
|
|
<div>商户出库合计:{$goods_species}种</div>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1">
|
|
<div>商户出库金额:{$money_total}</div>
|
|
</if>
|
|
<div>门店入库时间:{$storage_time}</div>
|
|
<div>门店入库合计:{$accept_goods_species}种</div>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1">
|
|
<div>门店入库金额:{$accept_money_total}</div>
|
|
</if>
|
|
<else/>
|
|
<div>创建时间:{$add_time}</div>
|
|
</if>
|
|
<if condition="$type eq 1 || $type eq 9">
|
|
<div>状态:{$warehouse_state}</div>
|
|
</if>
|
|
</div>
|
|
</div>
|
|
<table border="1" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<th>序号</th>
|
|
<if condition="$type eq 2">
|
|
<th>原采购单</th>
|
|
</if>
|
|
<if condition="$print['goods_name_state'] eq 1">
|
|
<th>商品名称</th>
|
|
</if>
|
|
<if condition="$print['sku_name_state'] eq 1">
|
|
<th>规格</th>
|
|
</if>
|
|
<if condition="$print['goods_number_state'] eq 1">
|
|
<th>货号</th>
|
|
</if>
|
|
<if condition="$print['goods_code_state'] eq 1">
|
|
<th>条码</th>
|
|
</if>
|
|
<if condition="$print['company_state'] eq 1">
|
|
<th>单位</th>
|
|
</if>
|
|
<if condition="$print['sku_num_state'] eq 1">
|
|
<th>规格基数</th>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['num_state'] eq 1">
|
|
<th>申请数量</th>
|
|
</if>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1">
|
|
<if condition="$type eq 1">
|
|
<th>采购价</th>
|
|
<elseif condition="$type eq 2"/>
|
|
<th>原采购价</th>
|
|
<th>退货价</th>
|
|
<elseif condition="$type eq 3 || $type eq 4"/>
|
|
<th>成本价</th>
|
|
<elseif condition="$type eq 5 "/>
|
|
<th>调拨价</th>
|
|
<elseif condition="$type eq 6 || $type eq 8"/>
|
|
<th>入库价</th>
|
|
<elseif condition="$type eq 7 || $type eq 9"/>
|
|
<th>出库价</th>
|
|
</if>
|
|
</if>
|
|
<if condition="$type eq 3 && $print['num_state'] eq 1">
|
|
<th>原库存</th>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['num_state'] eq 1">
|
|
<th>出库数量</th>
|
|
</if>
|
|
<if condition="$print['num_state'] eq 1 && ($type eq 1 || $type eq 2 || $type eq 4 || $type eq 5 || $type eq 6 || $type eq 7 || $type eq 8)">
|
|
<th>数量</th>
|
|
<elseif condition="$type eq 3 && $print['num_state'] eq 1"/>
|
|
<th>盘点数量</th>
|
|
</if>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['num_state'] eq 1 && $print['price_state'] eq 1">
|
|
<if condition="$type eq 1 || $type eq 2 || $type eq 4 || $type eq 5 || $type eq 6 || $type eq 7 || $type eq 8 || $type eq 9">
|
|
<th>合计</th>
|
|
</if>
|
|
</if>
|
|
<if condition="$type eq 3 && $print['num_state'] eq 1">
|
|
<th>盈亏数量</th>
|
|
</if>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1 && $print['num_state'] eq 1">
|
|
<if condition="$type eq 2 || $type eq 3">
|
|
<th>盈亏金额</th>
|
|
</if>
|
|
</if>
|
|
<if condition="$print['price_state'] eq 1 && $type eq 9 && ($showPrice neq 2 || $identity eq 1)">
|
|
<th>入库金额</th>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['num_state'] eq 1">
|
|
<th>入库数量</th>
|
|
<if condition="$print['price_state'] eq 1 && ($showPrice neq 2 || $identity eq 1)">
|
|
<th>入库合计</th>
|
|
</if>
|
|
</if>
|
|
<if condition="$print['remarks_state'] eq 1">
|
|
<th>备注</th>
|
|
</if>
|
|
</tr>
|
|
<volist name="list" id="vo">
|
|
<tr>
|
|
<td>
|
|
{$vo.index}
|
|
</td>
|
|
<if condition="$type eq 2">
|
|
<td>
|
|
{$vo.purchase_order_number}
|
|
</td>
|
|
</if>
|
|
<if condition="$print['goods_name_state'] eq 1">
|
|
<if condition="$font_state eq true">
|
|
<td style="text-align:left;" id="px">
|
|
{$vo.goods_name}
|
|
</td>
|
|
<else/>
|
|
<td style="colspan:4;max-width: 280px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;text-align: left;">
|
|
{$vo.goods_name}
|
|
</td>
|
|
</if>
|
|
</if>
|
|
<if condition="$print['sku_name_state'] eq 1">
|
|
<td style="max-width: 60px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
|
|
{$vo.sku_name}
|
|
</td>
|
|
</if>
|
|
<if condition="$print['goods_number_state'] eq 1">
|
|
<td>
|
|
{$vo.goods_number}
|
|
</td>
|
|
</if>
|
|
<if condition="$print['goods_code_state'] eq 1">
|
|
<td>
|
|
{$vo.goods_code}
|
|
</td>
|
|
</if>
|
|
<if condition="$print['company_state'] eq 1">
|
|
<td>
|
|
{$vo.company}
|
|
</td>
|
|
</if>
|
|
<if condition="$print['sku_num_state'] eq 1">
|
|
<td>
|
|
{$vo.sku_num}
|
|
</td>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['num_state'] eq 1">
|
|
<td>
|
|
{$vo.apply_num}
|
|
</td>
|
|
</if>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1">
|
|
<if condition="$type eq 1">
|
|
<td> {$vo.purchase_price}</td>
|
|
<elseif condition="$type eq 2"/>
|
|
<td> {$vo.purchase_price}</td>
|
|
<td> {$vo.retreat_price}</td>
|
|
<elseif condition="$type eq 3"/>
|
|
<td> {$vo.cost_price}</td>
|
|
<elseif condition="$type eq 4"/>
|
|
<td> {$vo.loss_price}</td>
|
|
<elseif condition="$type eq 5 || $type eq 6 || $type eq 8"/>
|
|
<td> {$vo.warehouse_price}</td>
|
|
<elseif condition="$type eq 7 || $type eq 9"/>
|
|
<td> {$vo.stock_price}</td>
|
|
</if>
|
|
</if>
|
|
<if condition="$type eq 3 && $print['num_state'] eq 1">
|
|
<td> {$vo.goods_num}</td>
|
|
</if>
|
|
<if condition="$print['num_state'] eq 1">
|
|
<if condition="$type eq 1">
|
|
<td>{$vo.purchase_num}</td>
|
|
<elseif condition="$type eq 2"/>
|
|
<td>{$vo.retreat_num}</td>
|
|
<elseif condition="$type eq 3"/>
|
|
<td>{$vo.inventory_num}</td>
|
|
<elseif condition="$type eq 4"/>
|
|
<td>{$vo.loss_num}</td>
|
|
<elseif condition="$type eq 5 || $type eq 6 || $type eq 8"/>
|
|
<td>{$vo.warehouse_num}</td>
|
|
<elseif condition="$type eq 7 || $type eq 9"/>
|
|
<td>{$vo.stock_num}</td>
|
|
</if>
|
|
</if>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1 && $print['num_state'] eq 1">
|
|
<if condition="$type eq 1 || $type eq 2 || $type eq 4 || $type eq 5 || $type eq 6 || $type eq 7 || $type eq 8">
|
|
<td>
|
|
{$vo.subtotal}
|
|
</td>
|
|
</if>
|
|
</if>
|
|
<if condition="($showPrice neq 2 || $identity eq 1) && $print['price_state'] eq 1 && $print['num_state'] eq 1">
|
|
<if condition="$type eq 9">
|
|
<td>
|
|
{$vo.stock_price_total}
|
|
</td>
|
|
</if>
|
|
</if>
|
|
<if condition="$type eq 3 && $print['num_state'] eq 1">
|
|
<td>
|
|
{$vo.num}
|
|
</td>
|
|
</if>
|
|
<if condition="$type eq 3 && $print['num_state'] eq 1 && $print['price_state'] eq 1 && ($showPrice neq 2 || $identity eq 1)">
|
|
<td>
|
|
{$vo.subtotal}
|
|
</td>
|
|
</if>
|
|
<if condition="$type eq 2 && $print['price_state'] eq 1 && $print['num_state'] eq 1 && ($showPrice neq 2 || $identity eq 1)">
|
|
<td>
|
|
{$vo.difference_money}
|
|
</td>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['price_state'] eq 1 && ($showPrice neq 2 || $identity eq 1)">
|
|
<td>
|
|
{$vo.warehouse_price}
|
|
</td>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['num_state'] eq 1">
|
|
<td>
|
|
{$vo.warehouse_num}
|
|
</td>
|
|
</if>
|
|
<if condition="$type eq 9 && $print['num_state'] eq 1 && $print['price_state'] eq 1 && ($showPrice neq 2 || $identity eq 1)">
|
|
<td>
|
|
{$vo.warehouse_price_total}
|
|
</td>
|
|
</if>
|
|
<if condition="$print['remarks_state'] eq 1">
|
|
<td style="max-width:30px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
|
|
{$vo.remarks}
|
|
</td>
|
|
</if>
|
|
</tr>
|
|
</volist>
|
|
</table>
|
|
<div class="form-textarea" style="margin-top: 10px">
|
|
<div class="form-textarea-title">订单备注</div>
|
|
<textarea class="text">{$remarks}</textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
|
|
<script type="text/javascript" src="__PUBLIC__/flow/js/vue.js"></script>
|
|
<script type="text/javascript">
|
|
document.getElementById("px").style = "min-width:{$px}px;text-align:left;";
|
|
</script>
|
|
</html>
|