初始版本

This commit is contained in:
2026-04-19 01:39:41 +08:00
commit 2b4d3e9880
1272 changed files with 389959 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');?>
<table width="1500px" class="list">
<tr><td class='H' align="center" colspan="11"><h3>成本调整单记录</h3></td></tr>
</table>
<table class="table" width="1500" border="1">
<thead>
<tr>
<th width="100" align="center">单据日期</th>
<th width="150" align="center">单据编号</th>
<th width="120" align="center">业务类别</th>
<th width="60" align="center">金额</th>
<th width="60" align="center">制单人</th>
<th width="100" align="center">单据备注</th>
<th width="200" align="center">商品</th>
<th width="60" align="center">单位</th>
<th width="80" align="center">调整金额</th>
<th width="60" align="center">仓库</th>
<th width="100" align="center">备注</th>
</tr>
</thead>
<tbody>
<?php
$i = 1;
$n = 1;
$amount = 0;
foreach($list as $arr=>$row) {
$postData = unserialize($row['postData']);
$n = isset($postData['entries']) ? count($postData['entries'])+1 : 1;
?>
<tr target="id">
<td rowspan="<?php echo $n?>" ><?php echo $row['billDate']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['billNo']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['transTypeName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['amount']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['userName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['description']?></td>
<?php
$i = 1;
foreach($postData['entries'] as $arr1=>$row1) {
$amount += abs($row1['amount']);
if ($i==1) {
?>
<td ><?php echo $row1['invNumber'].' '.$row1['invName'].' '.$row1['invSpec']?></td>
<td ><?php echo $row1['mainUnit']?></td>
<td ><?php echo abs($row1['amount'])?></td>
<td ><?php echo $row1['locationName']?></td>
<td ><?php echo $row1['description']?></td>
</tr>
<?php } else {?>
<tr target="id">
<td ><?php echo $row1['invNumber'].' '.$row1['invName'].' '.$row1['invSpec']?></td>
<td ><?php echo $row1['mainUnit']?></td>
<td ><?php echo abs($row1['amount'])?></td>
<td ><?php echo $row1['locationName']?></td>
<td ><?php echo $row1['description']?></td>
</tr>
<?php }$i++;}?>
<tr target="id">
<td >合计</td>
<td ></td>
<td ><?php echo $amount?></td>
<td ></td>
<td ></td>
</tr>
<?php $amount = 0;$n = 1;}?>
</tbody>
</table>

View File

@@ -0,0 +1,84 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');?>
<table width="1500px" class="list">
<tr><td class='H' align="center" colspan="15"><h3>其它入库单记录</h3></td></tr>
</table>
<table class="table" width="1500" border="1">
<thead>
<tr>
<th width="100" align="center">单据日期</th>
<th width="150" align="center">单据编号</th>
<th width="120" align="center">业务类别</th>
<th width="120" align="center">供应商</th>
<th width="60" align="center">金额</th>
<th width="60" align="center">制单人</th>
<th width="60" >审核人</th>
<th width="100" align="center">单据备注</th>
<th width="100" align="center">商品</th>
<th width="60" align="center">单位</th>
<th width="60" align="center">数量</th>
<th width="80" align="center">入库单价</th>
<th width="80" align="center">入库金额</th>
<th width="60" align="center">仓库</th>
<th width="100" align="center">备注</th>
</tr>
</thead>
<tbody>
<?php
$i = 1;
$n = 1;
$qty = $amount = 0;
foreach($list as $arr=>$row) {
$postData = unserialize($row['postData']);
$n = isset($postData['entries']) ? count($postData['entries'])+1 : 1;
?>
<tr target="id">
<td rowspan="<?php echo $n?>" ><?php echo $row['billDate']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['billNo']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['transTypeName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['contactNo'].' '.$row['contactName'];?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['amount']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['userName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['checkName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['description']?></td>
<?php
$i = 1;
foreach($postData['entries'] as $arr1=>$row1) {
$qty += abs($row1['qty']);
$amount += abs($row1['amount']);
if ($i==1) {
?>
<td ><?php echo $row1['invNumber'].' '.$row1['invName'].' '.$row1['invSpec']?></td>
<td ><?php echo $row1['mainUnit']?></td>
<td ><?php echo abs($row1['qty'])?></td>
<td ><?php echo $row1['price']?></td>
<td ><?php echo abs($row1['amount'])?></td>
<td ><?php echo $row1['locationName']?></td>
<td ><?php echo $row1['description']?></td>
</tr>
<?php } else {?>
<tr target="id">
<td ><?php echo $row1['invNumber'].' '.$row1['invName'].' '.$row1['invSpec']?></td>
<td ><?php echo $row1['mainUnit']?></td>
<td ><?php echo abs($row1['qty'])?></td>
<td ><?php echo $row1['price']?></td>
<td ><?php echo abs($row1['amount'])?></td>
<td ><?php echo $row1['locationName']?></td>
<td ><?php echo $row1['description']?></td>
</tr>
<?php }$i++;}?>
<tr target="id">
<td >合计</td>
<td ></td>
<td ><?php echo $qty?></td>
<td ></td>
<td ><?php echo $amount?></td>
<td ></td>
<td ></td>
</tr>
<?php $qty = $amount = 0;$n = 1;}?>
</tbody>
</table>

View File

@@ -0,0 +1,90 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');?>
<table width="1500px" class="list">
<tr><td class='H' align="center" colspan="15"><h3>其它出库单记录</h3></td></tr>
</table>
<table class="table" width="1500" border="1">
<thead>
<tr>
<th width="100" align="center">单据日期</th>
<th width="150" align="center">单据编号</th>
<th width="120" align="center">业务类别</th>
<th width="120" align="center">客户</th>
<th width="60" align="center">金额</th>
<th width="60" align="center">制单人</th>
<th width="60" >审核人</th>
<th width="100" align="center">单据备注</th>
<th width="100" align="center">商品</th>
<th width="60" align="center">单位</th>
<th width="60" align="center">数量</th>
<th width="80" align="center">出库单位成本</th>
<th width="80" align="center">出库成本</th>
<th width="60" align="center">仓库</th>
<th width="100" align="center">备注</th>
</tr>
</thead>
<tbody>
<?php
$i = 1;
$n = 1;
$qty = $amount = 0;
foreach($list as $arr=>$row) {
$postData = unserialize($row['postData']);
$n = isset($postData['entries']) ? count($postData['entries'])+1 : 1;
?>
<tr target="id">
<td rowspan="<?php echo $n?>" ><?php echo $row['billDate']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['billNo']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['transTypeName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['contactNo'].' '.$row['contactName'];?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['amount']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['userName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['checkName']?></td>
<td rowspan="<?php echo $n?>" ><?php echo $row['description']?></td>
<?php
$i = 1;
foreach($postData['entries'] as $arr1=>$row1) {
$qty += abs($row1['qty']);
$amount += abs($row1['amount']);
if ($i==1) {
?>
<td ><?php echo $row1['invNumber'].' '.$row1['invName'].' '.$row1['invSpec']?></td>
<td ><?php echo $row1['mainUnit']?></td>
<td ><?php echo abs($row1['qty'])?></td>
<td ><?php echo $row1['price']?></td>
<td ><?php echo abs($row1['amount'])?></td>
<td ><?php echo $row1['locationName']?></td>
<td ><?php echo $row1['description']?></td>
</tr>
<?php } else {?>
<tr target="id">
<td ><?php echo $row1['invNumber'].' '.$row1['invName'].' '.$row1['invSpec']?></td>
<td ><?php echo $row1['mainUnit']?></td>
<td ><?php echo abs($row1['qty'])?></td>
<td ><?php echo $row1['price']?></td>
<td ><?php echo abs($row1['amount'])?></td>
<td ><?php echo $row1['locationName']?></td>
<td ><?php echo $row1['description']?></td>
</tr>
<?php }$i++;}?>
<tr target="id">
<td >合计</td>
<td ></td>
<td ><?php echo $qty?></td>
<td ></td>
<td ><?php echo $amount?></td>
<td ></td>
<td ></td>
</tr>
<?php $qty = $amount = 0;$n = 1;}?>
</tbody>
</table>

View File

@@ -0,0 +1,33 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');?>
<table class="table" width="1500" border="1">
<tr>
<td colspan="9" align="center"><H3>盘点表</H3></td>
</tr>
<tr>
<th width="120" align="center">仓库</th>
<th width="180" >商品类别</th>
<th width="100" align="center">商品编号</th>
<th width="100" align="center">商品名称</th>
<th width="100" align="center">属性编号</th>
<th width="100" align="center">属性名称</th>
<th width="120" align="center">规格型号</th>
<th width="100" align="center">系统库存</th>
<th width="100" align="center">盘点库存</th>
</tr>
<?php
$i = 1;
foreach($list as $arr=>$row) {
?>
<tr target="id">
<td ><?php echo $locationId > 0 ? $row['locationName'] : '所有仓库';?></td>
<td ><?php echo $row['categoryName']?></td>
<td ><?php echo $row['invNumber']?></td>
<td ><?php echo $row['invName']?></td>
<td ><?php echo ''?></td>
<td ><?php echo ''?></td>
<td ><?php echo $row['invSpec']?></td>
<td ><?php echo $row['qty']?></td>
<td > </td>
</tr>
<?php $i++;}?>
</table>

View File

@@ -0,0 +1,81 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<link href="<?php echo base_url()?>statics/css/green/bills.css?ver=20150522" rel="stylesheet" type="text/css">
</head>
<body>
<div class="wrapper">
<span id="config" class="ui-icon ui-state-default ui-icon-config"></span>
<div class="mod-toolbar-top mr0 cf dn" id="toolTop"></div>
<div class="bills cf">
<div class="con-header">
<dl class="cf">
<dd>
<label>单据日期:</label>
<input type="text" id="date" class="ui-input ui-datepicker-input" value="2015-06-01">
</dd>
<dd id="identifier" style="float:right; margin-right:10px; ">
<label>单据编号:</label>
<span id="number"><?php echo str_no('CBTZ')?></span></dd>
</dl>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
<div class="con-footer cf">
<div class="mb10">
<textarea type="text" id="note" class="ui-input ui-input-ph">暂无备注信息</textarea>
</div>
<ul class="c999 cf">
<li>
<label>制单人:</label>
<span id="userName"></span>
</li>
</ul>
</div>
<div class="cf" id="bottomField">
<div class="fr" id="toolBottom"></div>
</div>
</div>
<div id="initCombo" class="dn">
<input type="text" class="textbox goodsAuto" name="goods" autocomplete="off">
<input type="text" class="textbox storageAuto" name="storage" autocomplete="off">
</div>
<div id="storageBox" class="shadow target_box dn">
</div>
</div>
<script src="<?php echo base_url()?>statics/js/dist/adjustment.js?ver=20150522"></script>
</body>
</html>

View File

@@ -0,0 +1,102 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<link href="<?php echo base_url()?>statics/css/<?php echo sys_skin()?>/bills.css?ver=20150427" rel="stylesheet" type="text/css">
<style>
#bottomField{line-height:30px;}
#bottomField label{width: 75px;display: inline-block;}
.con-footer{padding:10px 0 0 0;}
.grid-wrap h5{ padding:10px 0; }
#tempName{ width: 160px;}
</style>
</head>
<body>
<div class="wrapper">
<div class="mod-toolbar-top mr0 cf dn" id="toolTop"></div>
<div class="bills cf">
<div class="con-header">
<dl class="cf">
<dd class="pct35">
<a id="chooseTemp" class="ui-btn">选择模板</a>
<a id="saveTemp" class="ui-btn">存为模板</a>
<dd class="pct30 tc">
<label>单据日期:</label>
<input type="text" id="date" class="ui-input ui-datepicker-input" value="2015-05-05">
</dd>
<dd id="identifier" class="pct35 tr">
<label>单据编号:</label>
<span id="number"><?php echo str_no('CXD')?></span></dd>
</dl>
</div>
<div class="grid-wrap">
<h5><label class="r"><input type="checkbox" checked="checked" value="1" class="vm" id="isAuto"> 自动分摊</label>组合件:</h5>
<table id="fixedGrid">
</table>
<h5>子件:</h5>
<table id="grid">
</table>
</div>
<div class="con-footer cf">
<div class="mb10">
<textarea type="text" id="note" class="ui-input ui-input-ph">暂无备注信息</textarea>
</div>
<ul id="amountArea" class="cf">
<li>
<label>拆卸费用:</label>
<input type="text" id="amount" class="ui-input" data-ref="discount">
</li>
</ul>
<ul class="c999 cf">
<li>
<label>制单人:</label>
<span id="userName"></span>
</li>
</ul>
</div>
<div class="cf" id="bottomField">
<div class="fr" id="toolBottom"></div>
</div>
</div>
<div id="initCombo" class="dn">
<input type="text" class="textbox goodsAuto_0" name="goods_0" autocomplete="off">
<input type="text" class="textbox storageAuto_0" name="storage_0" autocomplete="off">
<input type="text" class="textbox unitAuto_0" name="unit_0" autocomplete="off">
<input type="text" class="textbox goodsAuto" name="goods" autocomplete="off">
<input type="text" class="textbox storageAuto" name="storage" autocomplete="off">
<input type="text" class="textbox unitAuto" name="unit" autocomplete="off">
</div>
<div id="storageBox" class="shadow target_box dn">
</div>
</div>
<script src="<?php echo base_url()?>statics/js/dist/disassemble.js?ver=20150427"></script>
</body>
</html>

View File

@@ -0,0 +1,104 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<link href="<?php echo base_url()?>statics/css/<?php echo sys_skin()?>/bills.css?ver=20150522" rel="stylesheet" type="text/css">
</head>
<body>
<div class="wrapper">
<span id="config" class="ui-icon ui-state-default ui-icon-config"></span>
<div class="mod-toolbar-top mr0 cf dn" id="toolTop"></div>
<div class="bills cf">
<div class="con-header">
<dl class="cf">
<dd class="pct30">
<label>供应商:</label>
<span class="ui-combo-wrap" id="customer">
<input type="text" name="" class="input-txt" autocomplete="off" value="" data-ref="date">
<i class="ui-icon-ellipsis"></i></span></dd>
<dd class="pct25 tc">
<label>单据日期:</label>
<input type="text" id="date" class="ui-input ui-datepicker-input" value="2015-06-08">
</dd>
<dd id="identifier" class="pct25 tc">
<label>单据编号:</label>
<span id="number"><?php echo str_no('QTRK')?></span></dd>
<dd class="fr pct20 tr">
<label>业务类别:</label>
<span class="ui-combo-wrap" id="transType">
<input type="text" name="" class="input-txt" autocomplete="off" value="" data-ref="date">
<i class="trigger"></i></span></dd>
</dl>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
<div class="con-footer cf">
<div class="mb10">
<textarea type="text" id="note" class="ui-input ui-input-ph">暂无备注信息</textarea>
</div>
<ul class="c999 cf">
<li>
<label>制单人:</label>
<span id="userName"></span>
</li>
<li>
<label>录单时间:</label>
<span id="createTime"></span>
</li>
<li>
<label>最后修改时间:</label>
<span id="modifyTime"></span>
</li>
</ul>
</div>
<div class="cf" id="bottomField">
<div class="fr" id="toolBottom"></div>
</div>
<div id="mark"></div>
</div>
<div id="initCombo" class="dn">
<input type="text" class="textbox goodsAuto" name="goods" autocomplete="off">
<input type="text" class="textbox storageAuto" name="storage" autocomplete="off">
<input type="text" class="textbox unitAuto" name="unit" autocomplete="off">
<input type="text" class="textbox batchAuto" name="batch" autocomplete="off">
<input type="text" class="textbox dateAuto" name="date" autocomplete="off">
</div>
<div id="storageBox" class="shadow target_box dn">
</div>
</div>
<script src="<?php echo base_url()?>statics/js/dist/otherWarehouse.js?ver=20150522"></script>
</body>
</html>

View File

@@ -0,0 +1,105 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<link href="<?php echo base_url()?>statics/css/<?php echo sys_skin()?>/bills.css?ver=20150522" rel="stylesheet" type="text/css">
</head>
<body>
<div class="wrapper">
<span id="config" class="ui-icon ui-state-default ui-icon-config"></span>
<div class="mod-toolbar-top mr0 cf dn" id="toolTop"></div>
<div class="bills cf">
<div class="con-header">
<dl class="cf">
<dd class="pct30">
<label>客户:</label>
<span class="ui-combo-wrap" id="customer">
<input type="text" name="" class="input-txt" autocomplete="off" value="" data-ref="date">
<i class="ui-icon-ellipsis"></i></span></dd>
<dd class="pct25 tc">
<label>单据日期:</label>
<input type="text" id="date" class="ui-input ui-datepicker-input" value="2015-06-08">
</dd>
<dd id="identifier" class="pct25 tc">
<label>单据编号:</label>
<span id="number"><?php echo str_no('QTCK')?></span></dd>
<dd class="fr pct20 tr">
<label>业务类别:</label>
<span class="ui-combo-wrap" id="transType">
<input type="text" name="" class="input-txt" autocomplete="off" value="">
<i class="trigger"></i></span></dd>
</dl>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
<div class="con-footer cf">
<div class="mb10">
<textarea type="text" id="note" class="ui-input ui-input-ph">暂无备注信息</textarea>
</div>
<ul class="c999 cf">
<li>
<label>制单人:</label>
<span id="userName"></span>
</li>
<li>
<label>录单时间:</label>
<span id="createTime"></span>
</li>
<li>
<label>最后修改时间:</label>
<span id="modifyTime"></span>
</li>
</ul>
</div>
<div class="cf" id="bottomField">
<div class="fr" id="toolBottom"></div>
</div>
<div id="mark"></div>
</div>
<div id="initCombo" class="dn">
<input type="text" class="textbox goodsAuto" name="goods" autocomplete="off">
<input type="text" class="textbox storageAuto" name="storage" autocomplete="off">
<input type="text" class="textbox unitAuto" name="unit" autocomplete="off">
<input type="text" class="textbox batchAuto" name="batch" autocomplete="off">
<input type="text" class="textbox dateAuto" name="date" autocomplete="off">
</div>
<div id="storageBox" class="shadow target_box dn">
</div>
</div>
<script src="<?php echo base_url()?>statics/js/dist/otherOutbound.js?ver=20151022"></script>
</body>
</html>

View File

@@ -0,0 +1,114 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<link href="<?php echo base_url()?>statics/css/<?php echo sys_skin()?>/bills.css?ver=20150427" rel="stylesheet" type="text/css">
<style>
.grid-wrap h5{ padding:10px 0; }
#tempName{ width: 160px; ]}
</style>
</head>
<body>
<div class="wrapper">
<span id="config" class="ui-icon ui-state-default ui-icon-config"></span>
<div class="mod-toolbar-top mr0 cf dn" id="toolTop"></div>
<div class="bills cf">
<div class="con-header">
<dl class="cf">
<dd class="pct35">
<a id="chooseTemp" class="ui-btn">选择模板</a>
<a id="saveTemp" class="ui-btn">存为模板</a>
<dd class="pct30 tc">
<label>单据日期:</label>
<input type="text" id="date" class="ui-input ui-datepicker-input" value="2015-11-05">
</dd>
<dd id="identifier" class="pct35 tr">
<label>单据编号:</label>
<span id="number"><?php echo str_no('ZZD')?></span></dd>
</dl>
</div>
<div class="grid-wrap">
<h5>组合件:</h5>
<table id="fixedGrid">
</table>
<h5>子件:</h5>
<table id="grid">
</table>
</div>
<div class="con-footer cf">
<div class="mb10">
<textarea type="text" id="note" class="ui-input ui-input-ph">暂无备注信息</textarea>
</div>
<ul id="amountArea" class="cf">
<li>
<label>组装费用:</label>
<input type="text" id="amount" class="ui-input" data-ref="discount">
</li>
</ul>
<ul class="c999 cf">
<li>
<label>制单人:</label>
<span id="userName"></span>
</li>
<li>
<label>录单时间:</label>
<span id="createTime"></span>
</li>
<li>
<label>最后修改时间:</label>
<span id="modifyTime"></span>
</li>
</ul>
</div>
<div class="cf" id="bottomField">
<div class="fr" id="toolBottom"></div>
</div>
</div>
<div id="initCombo" class="dn">
<input type="text" class="textbox goodsAuto_0" name="goods_0" autocomplete="off">
<input type="text" class="textbox storageAuto_0" name="storage_0" autocomplete="off">
<input type="text" class="textbox unitAuto_0" name="unit_0" autocomplete="off">
<input type="text" class="textbox batchAuto_0" name="batch" autocomplete="off">
<input type="text" class="textbox dateAuto_0" name="date" autocomplete="off">
<input type="text" class="textbox skuAuto_0" name="price" autocomplete="off">
<input type="text" class="textbox goodsAuto" name="goods" autocomplete="off">
<input type="text" class="textbox storageAuto" name="storage" autocomplete="off">
<input type="text" class="textbox unitAuto" name="unit" autocomplete="off">
<input type="text" class="textbox batchAuto" name="batch" autocomplete="off">
<input type="text" class="textbox dateAuto" name="date" autocomplete="off">
<input type="text" class="textbox skuAuto" name="price" autocomplete="off">
</div>
<div id="storageBox" class="shadow target_box dn">
</div>
</div>
<script src="<?php echo base_url()?>statics/js/dist/assemble.js?ver=201510141132"></script>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
</head>
<body>
<div class="wrapper">
<div class="mod-search cf">
<div class="fl">
<ul class="ul-inline">
<li>
<input type="text" id="matchCon" class="ui-input ui-input-ph con" value="请输入单据号或客户名或备注">
</li>
<li>
<label>日期</label>
<input type="text" id="beginDate" value="2015-04-29" class="ui-input ui-datepicker-input">
<i>-</i>
<input type="text" id="endDate" value="2015-05-05" class="ui-input ui-datepicker-input">
</li>
<li>
<label>仓库</label>
<span id="storageA"></span>
</li>
<li><a class="ui-btn mrb" id="search">查询</a></li>
</ul>
</div>
<div class="fr"><a class="ui-btn ui-btn-sp mrb" id="add">新增</a><a class="ui-btn" id="export" target
="_blank">导出</a></div>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
</div>
<script src="<?php echo base_url()?>/statics/js/dist/adjustmentList.js?ver=20150427"></script>
</body>
</html>

View File

@@ -0,0 +1,63 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<style>
.ui-jqgrid tr.jqgrow td{ height: 24px;padding: 3px 2px; }
</style>
</head>
<body>
<div class="wrapper">
<div class="mod-search cf">
<div class="fl">
<ul class="ul-inline">
<li>
<input type="text" id="matchCon" class="ui-input ui-input-ph con" value="请输入单据号或备注">
</li>
<li>
<label>日期:</label>
<input type="text" id="beginDate" value="2015-04-29" class="ui-input ui-datepicker-input">
<span>-</span>
<input type="text" id="endDate" value="2015-05-05" class="ui-input ui-datepicker-input">
</li>
<li><!-- <a class="mrb more" id="moreCon">(高级搜索)</a> --><a class="ui-btn mrb" id="search">查询</a></li>
</ul>
</div>
<div class="fr"><a class="ui-btn ui-btn-sp mrb" id="add">新增</a><a class="ui-btn mrb" id="print" target="_blank" href="javascript:void(0);">打印</a><a class="ui-btn" id="export" target="_blank">导出</a></div>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
</div>
<script src="<?php echo base_url()?>/statics/js/dist/disassembleList.js?ver=20150427"></script>
</body>
</html>

View File

@@ -0,0 +1,67 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<style>
#reAudit,#audit{display:none;}
</style>
</head>
<body>
<div class="wrapper">
<div class="mod-search cf">
<div class="fl">
<ul class="ul-inline">
<li>
<input type="text" id="matchCon" class="ui-input ui-input-ph con" value="请输入单据号或供应商或备注">
</li>
<li>
<label>日期:</label>
<input type="text" id="beginDate" value="2015-04-10" class="ui-input ui-datepicker-input">
<i>-</i>
<input type="text" id="endDate" value="2015-04-16" class="ui-input ui-datepicker-input">
</li>
<li><a class="mrb more" id="moreCon">(高级搜索)</a><a class="ui-btn mrb" id="search">查询</a></li>
</ul>
</div>
<div class="fr"><a class="ui-btn ui-btn-sp mrb" id="add">新增</a> <a class="ui-btn" id="export" target="_blank">导出</a
></div>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
</div>
<script src="<?php echo base_url()?>/statics/js/dist/otherWarehouseList.js?ver=20140430"></script>
</body>
</html>

View File

@@ -0,0 +1,67 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<style>
#reAudit,#audit{display:none;}
</style>
</head>
<body>
<div class="wrapper">
<div class="mod-search cf">
<div class="fl">
<ul class="ul-inline">
<li>
<input type="text" id="matchCon" class="ui-input ui-input-ph con" value="请输入单据号或客户名或备注">
</li>
<li>
<label>日期:</label>
<input type="text" id="beginDate" value="2015-04-10" class="ui-input ui-datepicker-input">
<i>-</i>
<input type="text" id="endDate" value="2015-04-16" class="ui-input ui-datepicker-input">
</li>
<li><a class="mrb more" id="moreCon">(高级搜索)</a><a class="ui-btn mrb" id="search">查询</a></li>
</ul>
</div>
<div class="fr"><a class="ui-btn ui-btn-sp mrb" id="add">新增</a> <a class="ui-btn" id="export" target="_blank">导出</a></div>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
</div>
<script src="<?php echo base_url()?>/statics/js/dist/otherOutboundList.js?ver=20140430"></script>
</body>
</html>

View File

@@ -0,0 +1,63 @@
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<style>
.ui-jqgrid tr.jqgrow td{ height: 24px;padding: 3px 2px; }
</style>
</head>
<body>
<div class="wrapper">
<div class="mod-search cf">
<div class="fl">
<ul class="ul-inline">
<li>
<input type="text" id="matchCon" class="ui-input ui-input-ph con" value="请输入单据号或备注">
</li>
<li>
<label>日期:</label>
<input type="text" id="beginDate" value="2015-10-30" class="ui-input ui-datepicker-input">
<span>-</span>
<input type="text" id="endDate" value="2015-11-05" class="ui-input ui-datepicker-input">
</li>
<li><!-- <a class="mrb more" id="moreCon">(高级搜索)</a> --><a class="ui-btn mrb" id="search">查询</a></li>
</ul>
</div>
<div class="fr"><a class="ui-btn ui-btn-sp mrb" id="add">新增</a><a class="ui-btn mrb" id="print" target="_blank" href="javascript:void(0);">打印</a><a class="ui-btn" id="export" target="_blank">导出</a></div>
</div>
<div class="grid-wrap">
<table id="grid">
</table>
<div id="page"></div>
</div>
</div>
<script src="<?php echo base_url()?>statics/js/dist/assembleList.js?ver=201510141132"></script>
</body>
</html>

View File

@@ -0,0 +1,107 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>成本调整单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style></style>
</head>
<body>
<?php for($t=1; $t<=$countpage; $t++){?>
<table width="1100" align="center">
<tr height="15px">
<td align="center" style="font-family:'宋体'; font-size:24px; font-weight:normal;height:20px;"></td>
</tr>
<tr height="15px">
<td align="center" style="font-family:'宋体'; font-size:20px; font-weight:normal;"><?php echo $system['companyName']?></td>
</tr>
<tr height="15px">
<td align="center" style="font-family:'宋体'; font-size:20px; font-weight:normal;">成本调整单</td>
</tr>
</table>
<table width="1300" align="center">
<tr height="15" align="left">
<td width="250" style="font-family:'宋体'; font-size:18px;">单据日期:<?php echo $billDate?></td>
<td width="190" style="font-family:'宋体'; font-size:18px;"></td>
<td width="150" style="font-family:'宋体'; font-size:18px;"></td>
<td width="100" style="font-family:'宋体'; font-size:18px;"></td>
<td width="280" style="font-family:'宋体'; font-size:18px;">单据编号:<?php echo $billNo?></td>
</tr>
</table>
<table width="1100" border="1" cellpadding="2" cellspacing="1" align="center" style="border-collapse:collapse;border:solid #000000;border-width:1px 0 0 1px;">
<tr style="height:20px">
<td width="30" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px; font-family:'宋体'; font-size:18px;height:15px;" align="center">序号</td>
<td width="400" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px; font-family:'宋体'; font-size:18px;height:15px;" align="center">商品</td>
<td width="150" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px; font-family:'宋体'; font-size:18px;height:15px;" align="center">单位</td>
<td width="150" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px; font-family:'宋体'; font-size:18px;height:15px;" align="center">调整金额</td>
<td width="200" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px; font-family:'宋体'; font-size:18px;height:15px;" align="center">仓库</td>
</tr>
<?php
$i = ($t-1)*$num + 1;
foreach($list as $arr=>$row) {
if ($row['i']>=(($t-1)*$num + 1) && $row['i'] <=$t*$num) {
?>
<tr style="height:20px">
<td width="30" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;" align="center"><?php echo $row['i']?></td>
<td width="400" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;"><?php echo $row['goods'];?></td>
<td width="150" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;" align="center"><?php echo $row['invSpec']?></td>
<td width="150" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;" align="center"><?php echo abs($row['amount'])?></td>
<td width="200" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;" align="center"><?php echo $row['locationName']?></td>
</tr>
<?php }
$i++;
}
?>
<?php if ($t==$countpage) {?>
<tr style="height:20px">
<td colspan="3" align="right" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;">合计:</td>
<td width="150" align="center" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;"><?php echo $totalAmount;?></td>
<td width="200" style="border:solid #000000;border-width:0 1px 1px 0;padding:2px;height:15px;font-family:'宋体'; font-size:16px;"></td>
</tr>
<?php }?>
</table>
<table width="1300" align="center">
<tr height="15" align="left">
<td align="left" width="960" style="font-family:'宋体'; font-size:18px;height:15px;">备注: <?php echo $description?></td>
<td width="0" style="font-family:'宋体'; font-size:18px;height:15px;"></td>
<td width="0" style="font-family:'宋体'; font-size:18px;height:15px;"></td>
<td width="0" style="font-family:'宋体'; font-size:18px;height:15px;"></td>
<td width="0" style="font-family:'宋体'; font-size:18px;height:15px;"></td>
</tr>
</table>
<table width="1300" align="center">
<tr height="15" align="left">
<td align="left" width="250" style="font-family:'宋体'; font-size:18px;">制单人:<?php echo $userName?> </td>
<td width="250" style="font-family:'宋体'; font-size:18px;"></td>
<td width="250" style="font-family:'宋体'; font-size:18px;"></td>
<td width="100" style="font-family:'宋体'; font-size:18px;"></td>
<td width="100" style="font-family:'宋体'; font-size:18px;"></td>
</tr>
</table>
<?php }?>
</body>
</html>

View File

@@ -0,0 +1,101 @@
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $transTypeName?>单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php for($t=1; $t<=$countpage; $t++){?>
<table width="800" align="center">
<tr>
<td style="height:50px;"></td>
</tr>
<tr>
<td align="center" style="font-family:'宋体'; font-size:18px; font-weight:bold;"><?php echo $system['companyName']?></td>
</tr>
<tr>
<td align="center" style="font-family:'宋体'; font-size:18px; font-weight:bold;height:25px;">其他入库单</td>
</tr>
</table>
<table width="800" align="center">
<tr height="15" align="left" style="font-family:'宋体'; font-size:12px;">
<td width="220" >供应商:<?php echo $contactNo.' '.$contactName?> </td>
<td width="130" >单据日期:<?php echo $billDate?></td>
<td width="200" >单据编号:<?php echo $billNo?></td>
<td width="70" >币别RMB</td>
<td width="150" >业务类型:<?php echo $transTypeName?></td>
</tr>
</table>
<table width="800" border="1" cellpadding="2" cellspacing="1" align="center" style="border-collapse:collapse;border:solid #000000;border-width:1px 0 0 1px;">
<tr style="border:solid #000000;border-width:0 1px 0px 0;padding:1px; font-family:'宋体'; font-size:14px;height:15px;">
<td width="30" align="center">序号</td>
<td width="250" align="center">商品</td>
<td width="60" align="center">单位</td>
<td width="60" align="center">数量</td>
<td width="80" align="center">入库单价</td>
<td width="80" align="center">入库金额</td>
<td width="150" align="center">仓库</td>
</tr>
<?php
$i = ($t-1)*$num + 1;
foreach($list as $arr=>$row) {
if ($row['i']>=(($t-1)*$num + 1) && $row['i'] <=$t*$num) {
?>
<tr style="border:solid #000000;height:15px;font-family:'宋体'; font-size:12px;vertical-align:bottom;">
<td width="30" align="center"><?php echo $row['i']?></td>
<td width="250"><?php echo $row['goods']?></td>
<td width="60" align="center"><?php echo $row['invSpec']?></td>
<td width="60" align="right"><?php echo str_money(abs($row['qty']),$system['qtyPlaces'])?></td>
<td width="80" align="right"><?php echo abs($row['price'])?></td>
<td width="80" align="right"><?php echo str_money(abs($row['amount']),2)?></td>
<td width="150"><?php echo $row['locationName']?></td>
</tr>
<?php }
$i++;
}
?>
<?php if ($t==$countpage) {?>
<tr style="border:solid #000000;border-width:0 1px 0px 0;height:15px;font-family:'宋体'; font-size:12px;">
<td colspan="3" width="340" align="right" >合计:</td>
<td width="60" align="right"><?php echo str_money($totalQty,$system['qtyPlaces'])?></td>
<td width="80" ></td>
<td width="80" align="right"><?php echo str_money($totalAmount,2)?></td>
<td width="150"></td>
</tr>
<?php }?>
</table>
<?php if ($t==$countpage) {?>
<table width="800" align="center">
<tr align="left">
<td align="left" width="780" style="font-family:'宋体'; font-size:12px;height:25px;">备注: <?php echo $description?></td>
<td width="0" ></td>
<td width="0" ></td>
<td width="0" ></td>
<td width="0" ></td>
</tr>
</table>
<table width="800" align="center">
<tr height="15" align="left" style="font-family:'宋体'; font-size:12px;">
<td align="left" width="250" style="font-family:'宋体'; font-size:12px;">制单人:<?php echo $userName?> </td>
<td width="250" >收货人签字____________</td>
<td width="250" ></td>
<td width="100" ></td>
<td width="100" ></td>
</tr>
</table>
<?php }?>
<?php }?>
</body>
</html>

View File

@@ -0,0 +1,102 @@
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $transTypeName?>单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php for($t=1; $t<=$countpage; $t++){?>
<table width="800" align="center">
<tr>
<td style="height:50px;"></td>
</tr>
<tr>
<td align="center" style="font-family:'宋体'; font-size:18px; font-weight:bold;"><?php echo $system['companyName']?></td>
</tr>
<tr>
<td align="center" style="font-family:'宋体'; font-size:18px; font-weight:bold;height:25px;">其他出库单</td>
</tr>
</table>
<table width="800" align="center">
<tr height="15" align="left" style="font-family:'宋体'; font-size:12px;">
<td width="220" >客户:<?php echo $contactNo.' '.$contactName?> </td>
<td width="130" >单据日期:<?php echo $billDate?></td>
<td width="200" >单据编号:<?php echo $billNo?></td>
<td width="70" >币别RMB</td>
<td width="150" >业务类型:<?php echo $transTypeName?></td>
</tr>
</table>
<table width="800" border="1" cellpadding="2" cellspacing="1" align="center" style="border-collapse:collapse;border:solid #000000;border-width:1px 0 0 1px;">
<tr style="border:solid #000000;border-width:0 1px 0px 0;padding:1px; font-family:'宋体'; font-size:14px;height:15px;">
<td width="30" align="center">序号</td>
<td width="250" align="center">商品</td>
<td width="60" align="center">单位</td>
<td width="60" align="center">数量</td>
<td width="80" align="center">出库单位成本</td>
<td width="80" align="center">出库成本</td>
<td width="150" align="center">仓库</td>
</tr>
<?php
$i = ($t-1)*$num + 1;
foreach($list as $arr=>$row) {
if ($row['i']>=(($t-1)*$num + 1) && $row['i'] <=$t*$num) {
?>
<tr style="border:solid #000000;height:15px;font-family:'宋体'; font-size:12px;vertical-align:bottom;">
<td width="30" align="center"><?php echo $row['i']?></td>
<td width="250"><?php echo $row['goods']?></td>
<td width="60" align="center"><?php echo $row['invSpec']?></td>
<td width="60" align="center"><?php echo str_money(abs($row['qty']),$system['qtyPlaces'])?></td>
<td width="80" align="center"><?php echo abs($row['price'])?></td>
<td width="80" align="center"><?php echo str_money(abs($row['amount']),2)?></td>
<td width="150" align="center"><?php echo $row['locationName']?></td>
</tr>
<?php }
$i++;
}
?>
<?php if ($t==$countpage) {?>
<tr style="border:solid #000000;border-width:0 1px 0px 0;height:15px;font-family:'宋体'; font-size:12px;">
<td colspan="3" width="340" align="right" >合计:</td>
<td width="60" align="right"><?php echo str_money($totalQty,$system['qtyPlaces'])?></td>
<td width="80" ></td>
<td width="80" align="right"><?php echo str_money($totalAmount,2)?></td>
<td width="150"></td>
</tr>
<?php }?>
</table>
<?php if ($t==$countpage) {?>
<table width="800" align="center">
<tr align="left">
<td align="left" width="780" style="font-family:'宋体'; font-size:12px;height:25px;">备注: <?php echo $description?></td>
<td width="0" ></td>
<td width="0" ></td>
<td width="0" ></td>
<td width="0" ></td>
</tr>
</table>
<table width="800" align="center">
<tr height="15" align="left" style="font-family:'宋体'; font-size:12px;">
<td align="left" width="250" style="font-family:'宋体'; font-size:12px;">制单人:<?php echo $userName?> </td>
<td width="250" >发货人签字____________</td>
<td width="250" >收货人签字____________</td>
<td width="100" ></td>
<td width="100" ></td>
</tr>
</table>
<?php }?>
<?php }?>
</body>
</html>