Commit 3b070cba by guanzhenshan

增加备注显示

parent 32a79a3e
......@@ -105,7 +105,12 @@
{ field: 'amount_refund', title: '退款(未发货)', width: '100', iscount: true },
{
field: 'amount_other', title: '其他金额', width: '110', iscount: true, formatter: function (idx, data) {
return '<span>' + data.amount_other + '</span><a style="margin-left:3px;" href="javascript:;" onclick="showmodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.amount_other + '\');">编辑</a><a style="margin-left:3px;" href="javascript:;" onclick="shownotemodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.note +'\');">备注</a>';
return '<span>' + data.amount_other + '</span><a style="margin-left:3px;" href="javascript:;" onclick="showmodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.amount_other + '\');">编辑</a>';
}
},
{
field: 'amount_end', title: '备注', width: '130', iscount: false, formatter: function (idx, data) {
return '<span>' + data.note + '</span><a style="margin-left:3px;" href="javascript:;" onclick="shownotemodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.note + '\');">编辑</a>';
}
},
{ field: 'amount_end', title: '预收账款', width: '130', iscount: true }
......@@ -132,7 +137,12 @@
{ field: 'amount_refund', title: '退款(已发货)', width: '130', iscount: true },
{
field: 'amount_other', title: '其他金额', width: '110', iscount: true, formatter: function (idx, data) {
return '<span>' + data.amount_other + '</span><a style="margin-left:3px;" href="javascript:;" onclick="showmodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.amount_other + '\');">编辑</a><a style="margin-left:3px;" href="javascript:;" onclick="shownotemodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.note +'\');">备注</a>';
return '<span>' + data.amount_other + '</span><a style="margin-left:3px;" href="javascript:;" onclick="showmodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.amount_other + '\');">编辑</a>';
}
},
{
field: 'amount_end', title: '备注', width: '130', iscount: false, formatter: function (idx, data) {
return '<span>' + data.note + '</span><a style="margin-left:3px;" href="javascript:;" onclick="shownotemodel(' + data.id + ',\'' + data.day + '\',\'' + data.platform + '\',\'' + data.note + '\');">编辑</a>';
}
},
{ field: 'amount_end', title: '期末应收账款', width: '130', iscount: true }
......
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