|
|
@ -61,7 +61,7 @@ |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="bootstrap-table"></table> |
|
|
|
<table id="bootstrap-table" style="white-space:nowrap"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -132,17 +132,6 @@ |
|
|
|
title: '申请人ID', |
|
|
|
visible: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'applyUserName', |
|
|
|
title: '<span style="color: red;">申请人</span>', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return '<span style="color: red;">' + (value ? value : "-") + '</span>'; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'applyTime', |
|
|
|
title: '申请时间' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'taskId', |
|
|
|
title: '当前任务ID', |
|
|
@ -157,6 +146,7 @@ |
|
|
|
field: 'taskName', |
|
|
|
title: '当前任务名称', |
|
|
|
align: 'center', |
|
|
|
visible: false, |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>'; |
|
|
|
} |
|
|
@ -164,10 +154,54 @@ |
|
|
|
{ |
|
|
|
title: '审核状态', |
|
|
|
field: 'auditStatus', |
|
|
|
visible: false, |
|
|
|
formatter: function (value, row, index) { |
|
|
|
return $.table.selectDictLabel(auditStatusDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{title: '当前状态',field: 'taskStatus',align: 'center', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
if(row.auditStatus!="1"&&value != "未启动"){ |
|
|
|
return '<span class="badge badge-danger">' + value + '</span>'; |
|
|
|
} |
|
|
|
if(value === "未启动"){ |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>'; |
|
|
|
} |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>';} |
|
|
|
}, |
|
|
|
{title: '开发修改单号',field: 'developOrderCode',}, |
|
|
|
{title: '料号',field: 'materialNo',}, |
|
|
|
{title: '图片',field: 'materialPhotoUrl',}, |
|
|
|
{title: '物料名称',field: 'materialName',}, |
|
|
|
{title: '物料类型',field: 'materialType', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectCategoryLabel(materialTypeDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '单位',field: 'materialUnit',}, |
|
|
|
{title: '品牌',field: 'materialBrand',}, |
|
|
|
{title: '描述',field: 'materialDescribe',}, |
|
|
|
{title: '加工方式', |
|
|
|
field: 'materialProcessMethod', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(processMethodDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
field: 'applyUserName', |
|
|
|
title: '<span style="color: red;">申请人</span>', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return '<span style="color: red;">' + (value ? value : "-") + '</span>'; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'applyTime', |
|
|
|
title: '申请时间' |
|
|
|
}, |
|
|
|
|
|
|
|
{title: '完成状态',field: 'finshStatus', |
|
|
|
formatter: function (value, row, index) { |
|
|
|
return $.table.selectDictLabel(finshStatusDatas, value); |
|
|
@ -178,7 +212,6 @@ |
|
|
|
return $.table.selectDictLabel(completeStatusDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '开发修改单号',field: 'developOrderCode',}, |
|
|
|
{title: '采购入库状态',field: 'purchaseStorageStatus', |
|
|
|
formatter: function (value, row, index) { |
|
|
|
return $.table.selectDictLabel(purchaseStorageStatusDatas, value); |
|
|
@ -190,23 +223,6 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '工程员',field: 'userName',}, |
|
|
|
{title: '料号',field: 'materialNo',}, |
|
|
|
{title: '图片',field: 'materialPhotoUrl',}, |
|
|
|
{title: '物料名称',field: 'materialName',}, |
|
|
|
{title: '物料类型',field: 'materialType', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectCategoryLabel(materialTypeDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '单位',field: 'materialUnit',}, |
|
|
|
{title: '品牌',field: 'materialBrand',}, |
|
|
|
{title: '描述',field: 'materialDescribe',}, |
|
|
|
{title: '加工方式', |
|
|
|
field: 'materialProcessMethod', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(processMethodDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '录入时间',field: 'createTime',}, |
|
|
|
{title: '更新人',field: 'updateBy',}, |
|
|
|
{title: '上次更新时间',field: 'updateTime',}, |
|
|
|