Commit b80db956 by anxiaohe

bug修改

parent 356877ef
......@@ -297,6 +297,8 @@ function detailFormatter(index, row) {
}
function addRow(list, idx, tpl, row){
row.ledgerInfo.shelvesNames = row.ledgerInfo.shelvesList ? row.ledgerInfo.shelvesList.map(function (e) { return e.name }).join(',') + ',' : '';
row.ledgerInfo.warehouseNames = row.ledgerInfo.warehouseList ? row.ledgerInfo.warehouseList.map(function (e) { return e.name }).join(',') + ',' : '';
$(list).append(Mustache.render(tpl, {
idx: idx, delBtn: true, row: row
}));
......@@ -337,7 +339,6 @@ function onDelivery (id) {
<th>单位</th>
<th>型号</th>
<th>单价</th>
<th>总价</th>
<th>批次号</th>
<th>货架</th>
<th>仓库</th>
......@@ -372,9 +373,6 @@ function onDelivery (id) {
{{row.ledgerInfo.amount}}
</td>
<td>
{{row.ledgerInfo.infoSum}}
</td>
<td>
{{row.ledgerInfo.batchNum}}
</td>
<td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment