|
|
@@ -91,8 +91,20 @@ var bootstrap = function ($, learun) { |
|
|
|
{ label: "书籍作者", name: "Author", width: 100, align: "left" }, |
|
|
|
{ label: "书籍出版社", name: "Publisher", width: 100, align: "left" }, |
|
|
|
{ label: "书籍编号", name: "BookCode", width: 100, align: "left" }, |
|
|
|
{ label: "出版时间", name: "PublishTime", width: 100, align: "left" }, |
|
|
|
{ label: "入库时间", name: "AddTime", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "出版时间", name: "PublishTime", width: 100, align: "left", formatter: function (cellvalue) { |
|
|
|
if (cellvalue != null && cellvalue!=undefined && cellvalue!="") { |
|
|
|
return cellvalue.slice(0, 10); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "入库时间", name: "AddTime", width: 100, align: "left", formatter: function (cellvalue) { |
|
|
|
if (cellvalue != null && cellvalue != undefined && cellvalue != "") { |
|
|
|
return cellvalue.slice(0, 10); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "书籍价格", name: "Price", width: 100, align: "left" }, |
|
|
|
{ label: "数量", name: "Amount", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|