|
@ -157,25 +157,20 @@ |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'makeNo', |
|
|
field: 'makeNo', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
title: 'SN号', |
|
|
|
|
|
align: 'center', |
|
|
|
|
|
field: 'snCode', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
title: '料号', |
|
|
title: '料号', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'materialNo', |
|
|
field: 'materialNo', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '物料名称', |
|
|
title: '图片', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'materialName', |
|
|
field: 'materialPhotourl', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '图片', |
|
|
title: '物料名称', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'materialPhotourl', |
|
|
field: 'materialName', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '物料类型', |
|
|
title: '物料类型', |
|
@ -186,14 +181,14 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '型号', |
|
|
title: '设备型号', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'materialModelCode', |
|
|
field: 'deviceModelCode', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '单位', |
|
|
title: '描述', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'materialUnit', |
|
|
field: 'materialDescribe', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '品牌', |
|
|
title: '品牌', |
|
@ -201,14 +196,20 @@ |
|
|
field: 'materialBrand', |
|
|
field: 'materialBrand', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '描述', |
|
|
title: '单位', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'materialDescribe', |
|
|
field: 'materialUnit', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '设备型号', |
|
|
title: '物料型号', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'deviceModelCode', |
|
|
field: 'materialModelCode', |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
title: 'SN号', |
|
|
|
|
|
align: 'center', |
|
|
|
|
|
field: 'snCode', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '追踪码', |
|
|
title: '追踪码', |
|
@ -225,22 +226,16 @@ |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'endMakeTime', |
|
|
field: 'endMakeTime', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
title: '生产图片', |
|
|
|
|
|
align: 'center', |
|
|
|
|
|
field: 'makePhotourl', |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
title: '售后图片', |
|
|
|
|
|
align: 'center', |
|
|
|
|
|
field: 'aftersalesPhotourl', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
title: '出厂日期', |
|
|
title: '出厂日期', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
field: 'factoryDate', |
|
|
field: 'factoryDate', |
|
|
}, |
|
|
}, |
|
|
|
|
|
// { |
|
|
|
|
|
// title: '软件版本', |
|
|
|
|
|
// align: 'center', |
|
|
|
|
|
// field: 'factoryDate', |
|
|
|
|
|
// }, |
|
|
{ |
|
|
{ |
|
|
title: '保修期', |
|
|
title: '保修期', |
|
|
align: 'center', |
|
|
align: 'center', |
|
@ -341,9 +336,10 @@ |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
formatter: function(value, row, index) { |
|
|
formatter: function(value, row, index) { |
|
|
var actions = []; |
|
|
var actions = []; |
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.shippingDeviceCode + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
|
actions.push('<a class="' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.shippingDeviceCode + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
|
actions.push('<a class="btn btn-success btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="detail(\'' + row.shippingDeviceCode + '\')"><i class="fa fa-edit"></i>详情</a> '); |
|
|
actions.push('<a class="' + detailFlag + '" href="javascript:void(0)" onclick="detail(\'' + row.shippingDeviceCode + '\')"><i class="fa fa-edit"></i>详情</a> '); |
|
|
return actions.join(''); |
|
|
var actionLinks = actions.join(''); |
|
|
|
|
|
return $.table.dropdownToggle(actionLinks); |
|
|
} |
|
|
} |
|
|
}] |
|
|
}] |
|
|
}; |
|
|
}; |
|
|