解决商品库存报表的单价为负数的问题

This commit is contained in:
季圣华
2019-08-13 00:07:27 +08:00
parent 0a0f346931
commit f8781f36ed
4 changed files with 78 additions and 30 deletions

View File

@@ -218,22 +218,13 @@
{title: '名称', field: 'MaterialName', width: 60},
{title: '型号', field: 'MaterialModel', width: 80},
{title: '扩展信息', field: 'MaterialOther', width: 150},
{title: '单位', field: 'MaterialUnit', width: 80},
{
title: '单价', field: 'UnitPrice', width: 60, formatter: function (value, row, index) {
return value.toFixed(2);
}
},
{title: '单位', field: 'unitName', width: 80},
{title: '单价', field: 'UnitPrice', width: 60},
{title: '上月结存数量', field: 'prevSum', width: 80},
{title: '入库数量', field: 'InSum', width: 60},
{title: '出库数量', field: 'OutSum', width: 60},
{title: '本月结存数量', field: 'thisSum', width: 80},
{
title: '结存金额', field: 'thisAllPrice', width: 60,
formatter: function (value, row, index) {
return value.toFixed(2);
}
}
{title: '结存金额', field: 'thisAllPrice', width: 60}
]],
onLoadError: function () {
$.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');