添加单据编号显示
This commit is contained in:
@@ -188,30 +188,32 @@
|
||||
pageList: initPageNum,
|
||||
columns: [[
|
||||
{field: 'id', width: 35, align: "center", checkbox: true},
|
||||
{field: 'depotheadId', hidden: true},
|
||||
{
|
||||
title: '操作', field: 'op', align: "center", width: 60, formatter: function (value, rec) {
|
||||
var str = '';
|
||||
var rowInfo = rec.id + 'AaBb' + rec.materialId + 'AaBb' + rec.materialName + 'AaBb' + rec.serialNumber + 'AaBb' + rec.isSell + 'AaBb' + rec.remark
|
||||
+ 'AaBb' + rec.deleteFlag + 'AaBb' + rec.createTime + 'AaBb' + rec.updateTime + 'AaBb' + rec.creator + 'AaBb' + rec.updater
|
||||
+ 'AaBb' + rec.creatorName + 'AaBb' + rec.updaterName;
|
||||
+ 'AaBb' + rec.creatorName + 'AaBb' + rec.updaterName +'AaBb' + rec.depotheadId+'AaBb' + rec.depotHeadNumber;
|
||||
str += '<img title="编辑" src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSerialNumber(\'' + rowInfo + '\');"/> ';
|
||||
str += '<img title="删除" src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSerialNumber(' + rec.id + ');"/>';
|
||||
return str;
|
||||
}
|
||||
},
|
||||
{title: '商品名称', field: 'materialName', width: 100},
|
||||
{title: '序列号', field: 'serialNumber', width: 200},
|
||||
{title: '已卖出', field: 'isSell', width: 60 , formatter: function (value) {
|
||||
{title: '商品名称', align: "center",field: 'materialName', width: 100},
|
||||
{title: '序列号',align: "center", field: 'serialNumber', width: 200},
|
||||
{title: '单据编号', align: "center", field: 'depotHeadNumber', width: 200},
|
||||
{title: '已卖出', align: "center", field: 'isSell', width: 60 , formatter: function (value) {
|
||||
return value=='1' ? "是" : "否";
|
||||
}
|
||||
},
|
||||
{title: '已删除', field: 'deleteFlag', width: 60, formatter: function (value) {
|
||||
{title: '已删除', align: "center", field: 'deleteFlag', width: 60, formatter: function (value) {
|
||||
return value=='1' ? "是" : "否";
|
||||
}
|
||||
},
|
||||
{title: '创建时间', field: 'createTime', width: 140,formatter: formatDatebox},
|
||||
{title: '更新时间', field: 'updateTime', width: 140,formatter: formatDatebox},
|
||||
{title: '备注', field: 'remark',width: 300}
|
||||
{title: '创建时间',align: "center", field: 'createTime', width: 140,formatter: formatDatebox},
|
||||
{title: '更新时间', align: "center", field: 'updateTime', width: 140,formatter: formatDatebox},
|
||||
{title: '备注',align: "center", field: 'remark',width: 200}
|
||||
]],
|
||||
toolbar: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user