|
|
@ -109,7 +109,7 @@ |
|
|
|
columns: [ |
|
|
|
{checkbox: true}, |
|
|
|
{title: '采购报价索引id',field: 'purchaseQuoteId',visible: false}, |
|
|
|
{title: '审核状态',field: 'auditStatus', |
|
|
|
{title: '审核状态',field: 'auditStatus',visible: false, |
|
|
|
formatter: function (value, row, index) {return $.table.selectDictLabel(auditStatusDatas, value);} |
|
|
|
}, |
|
|
|
{title: '流程实例ID',field: 'instanceId',visible: false}, |
|
|
@ -118,29 +118,39 @@ |
|
|
|
{title: '流程恢复实例ID',field: 'restoreInstanceId', visible: false}, |
|
|
|
{ title: '流程实例类型', field: 'instanceTypeName',visible: false}, |
|
|
|
{title: '申请人ID',field: 'applyUser', 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: '申请时间' |
|
|
|
}, |
|
|
|
{title: '当前任务ID',field: 'taskId',visible: false}, |
|
|
|
{ title: '待办用户ID',field: 'todoUserId', visible: false}, |
|
|
|
{ title: '当前任务名称',field: 'taskName', |
|
|
|
{ title: '当前任务名称',field: 'taskName', visible: false, |
|
|
|
align: 'center', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>'; |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '采购员',field: 'purchaseBuyer',}, |
|
|
|
{title: '当前状态',field: 'taskStatus', |
|
|
|
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: 'purchaseQuoteCode',}, |
|
|
|
{title: '供应商ID',field: 'supplierQuoteCode',}, |
|
|
|
{title: '供应商名称',field: 'supplierName',}, |
|
|
|
{title: '物料合计',field: 'materialAmount',}, |
|
|
|
{title: '定价时间',field: 'pricingDate',}, |
|
|
|
{field: 'applyTime',title: '申请时间' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'applyUserName', |
|
|
|
title: '<span style="color: red;">申请人</span>', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return '<span style="color: red;">' + (value ? value : "-") + '</span>'; |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '采购员',field: 'purchaseBuyer',}, |
|
|
|
{title: '录入时间',field: 'createTime',}, |
|
|
|
{title: '更新人',field: 'updateBy',}, |
|
|
|
{title: '上次更新时间',field: 'updateTime',}, |
|
|
|