Просмотр исходного кода

打印清单样式修改

西昌缴费二期
zhichao lei 4 лет назад
Родитель
Сommit
97258cd99f
2 измененных файлов: 14 добавлений и 10 удалений
  1. +7
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Inventory.cshtml
  2. +7
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Inventory.cshtml

+ 7
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Inventory.cshtml Просмотреть файл

@@ -132,14 +132,16 @@
str += '<tr><td>' + i + '</td>';//序号
str += '<td>' + entity.aName + '</td>';//品名
str += '<td></td>';//规格
str += '<td>' + entity.aUnit + '</td>';//单位
str += '<td>1</td>';//数量
str += '<td>' + entity.aPrice + '</td>';//单价
str += '<td>' + entity.aAllPrice + '</td>';//金额
str += '<td>' + (entity.aUnit ? entity.aUnit : '') + '</td>';//单位
str += '<td>'+entity.aNum+'</td>';//数量
str += '<td>' + (entity.aPrice ? entity.aPrice : 0) + '</td>';//单价
str += '<td>' + (entity.aAllPrice ? entity.aAllPrice : 0) + '</td>';//金额
str += '<td></td></tr>';//用途

//累计金额
price += parseFloat(entity.aPrice);
if (entity.aAllPrice) {
price += parseFloat(entity.aAllPrice);
}
}
$('.table').find('tr').eq(2).after(str);
$('#moneyUp').html(digitUppercase(price));


+ 7
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Inventory.cshtml Просмотреть файл

@@ -82,8 +82,8 @@
}
</style>
<div id="table">
<div class="btn btn-default" id="btnPrint">打印</div>
<div class="tableBox">
<div class="btn btn-default" id="btnPrint">打印</div>
<table class="table">
<tr>
<th colspan="8" style="text-align: center">西昌民族幼专出库清单</th>
@@ -144,14 +144,16 @@
str += '<tr><td>' + i + '</td>';//序号
str += '<td>' + entity.aName + '</td>';//品名
str += '<td></td>';//规格
str += '<td>' + entity.aUnit + '</td>';//单位
str += '<td>' + (entity.aUnit ? entity.aUnit : '') + '</td>';//单位
str += '<td>1</td>';//数量
str += '<td>' + entity.aPrice + '</td>';//单价
str += '<td>' + entity.aAllPrice + '</td>';//金额
str += '<td>' + (entity.aPrice ? entity.aPrice : 0) + '</td>';//单价
str += '<td>' + (entity.aAllPrice ? entity.aAllPrice : 0) + '</td>';//金额
str += '<td></td></tr>';//用途

//累计金额
price += parseFloat(entity.aPrice);
if (entity.aAllPrice) {
price += parseFloat(entity.aAllPrice);
}
}
$('.table').find('tr').eq(3).after(str);
$('#moneyUp').html(digitUppercase(price));


Загрузка…
Отмена
Сохранить