Authored by 姜敏

界面bug优化

... ... @@ -33,7 +33,7 @@ var g = new common.grid({
display: "最后上传时间", name: "lastAddTime",
render: function (item) {
var t = new Date(item.lastAddTime * 1000);
var formatted = common.util.__dateFormat(t, "yyyy-MM-dd hh/mm/ss");
var formatted = common.util.__dateFormat(t, "yyyy-MM-dd hh:mm:ss");
return "<p>" + formatted + "</p>";
}
},
... ... @@ -70,7 +70,7 @@ var Bll = {
//重新渲染图片列表
rendBoList: function (pictureBoList) {
$(".image-list").html('');
$("#addPic").append(common.util.__template2($("#template2").html(),
$("#addPic").prepend(common.util.__template2($("#template2").html(),
{
pictureBoList: pictureBoList
}
... ...
... ... @@ -31,16 +31,16 @@ var g = new common.grid({
}
},
{
display: "状态", name: "status", render: function (item) {
if (item.status == 1) {
return "可用"
}
else {
return "不可用"
}
}
},
//{
// display: "状态", name: "status", render: function (item) {
// if (item.status == 1) {
// return "可用"
// }
// else {
// return "不可用"
// }
//}
//},
{
display: "操作", name: "", render: function (item) {
var arr = [];
... ...
... ... @@ -32,15 +32,15 @@
placeholder="结束时间" value="">
</div>
<div class="panel-col">
<input type="text" value="" name="productSkn" id="content-filter1" placeholder="skn"
<input type="text" value="" name="productSkn" id="content-filter1" placeholder="SKN"
class="form-control">
</div>
<div class="panel-col">
<input type="text" value="" name="productSkc" id="content-filter2" placeholder="skc"
<input type="text" value="" name="productSkc" id="content-filter2" placeholder="SKC"
class="form-control">
</div>
<div class="panel-col">
<input type="text" value="" name="productSku" id="content-filter3" placeholder="sku"
<input type="text" value="" name="productSku" id="content-filter3" placeholder="SKU"
class="form-control">
</div>
<div class="panel-col2">
... ...