|
|
@ -128,8 +128,7 @@ |
|
|
|
return '<span style="color: red;">' + (value ? value : "-") + '</span>'; |
|
|
|
} |
|
|
|
}, |
|
|
|
{field: 'applyTime',title: '申请时间' |
|
|
|
}, |
|
|
|
{field: 'applyTime',title: '申请时间'}, |
|
|
|
{title: '当前任务ID',field: 'taskId',visible: false}, |
|
|
|
{ title: '待办用户ID',field: 'todoUserId', visible: false}, |
|
|
|
{ title: '当前任务名称',field: 'taskName', |
|
|
@ -176,18 +175,21 @@ |
|
|
|
{title: '行业代码',field: 'industryCode'}, |
|
|
|
{title: '跟单员', field: 'merchandiser',visible: false}, |
|
|
|
{title: '跟单电话',field: 'merchandiserTelephone',visible: false}, |
|
|
|
|
|
|
|
{title: '采购员',field: 'purchaseBuyer',}, |
|
|
|
{ |
|
|
|
field: 'confirmTax', |
|
|
|
title: '是否含税', |
|
|
|
{field: 'confirmTax', title: '是否含税', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(confirmTaxDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '税率', field: 'taxRate'}, |
|
|
|
{ |
|
|
|
field: 'firstAddTime', |
|
|
|
title: '录入时间', |
|
|
|
{title: '发货人', field: 'deliverPerson',visible: false}, |
|
|
|
{title: '发货人电话', field: 'deliverPersonPhone',visible: false}, |
|
|
|
{title: '发货人地址', field: 'deliverAddress',visible: false}, |
|
|
|
{title: '收货人', field: 'receivePerson',visible: false}, |
|
|
|
{title: '收货人电话', field: 'receivePersonPhone',visible: false}, |
|
|
|
{title: '收货地址', field: 'receiveAddress',visible: false}, |
|
|
|
{field: 'firstAddTime', title: '录入时间', |
|
|
|
formatter: function (value, row, index) { |
|
|
|
if (value == null) { |
|
|
|
return " "; |
|
|
@ -247,7 +249,15 @@ |
|
|
|
return actions.join(''); |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
], |
|
|
|
rowStyle: function (row, index) { |
|
|
|
if (row.auditStatus=="0") { |
|
|
|
// 如果审核状态为待审核,则设置为红色 |
|
|
|
return {css:{"color":"red"}}; |
|
|
|
} |
|
|
|
// 否则使用默认样式 |
|
|
|
return {}; |
|
|
|
} |
|
|
|
}; |
|
|
|
$.table.init(options); |
|
|
|
}); |
|
|
|