|
@ -91,17 +91,19 @@ |
|
|
{title: '领料状态',field: 'requisitieStatus', |
|
|
{title: '领料状态',field: 'requisitieStatus', |
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(requisitieStatusDatas, value);} |
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(requisitieStatusDatas, value);} |
|
|
}, |
|
|
}, |
|
|
{title: '领料单编号',field: 'requisitieCode',}, |
|
|
{title: '领料单号',field: 'requisitieCode',}, |
|
|
{title: '领料人',field: 'createBy',}, |
|
|
{title: '领料员',field: 'createBy',}, |
|
|
{title: '关联销售订单号',field: 'correlationCode',}, |
|
|
{title: '关联订单号',field: 'correlationCode',}, |
|
|
{title: '物料合计',field: 'materialAmount', }, |
|
|
{title: '物料合计',field: 'materialAmount', }, |
|
|
{title: '数量总计',field: 'materialSum',}, |
|
|
{title: '数量总计',field: 'materialSum',}, |
|
|
{title: '不含税总价(RMB)',field: 'noRmbSum',}, |
|
|
{title: '不含税总价(RMB)',field: 'noRmbSum',visible: false}, |
|
|
{title: '含税总价(RMB)',field: 'rmbSum',}, |
|
|
{title: '含税总价(RMB)',field: 'rmbSum',visible: false}, |
|
|
{title: '申请人',field: 'applyUser',visible: false}, |
|
|
{title: '申请人',field: 'applyUser',visible: false}, |
|
|
{title: '录入时间',field: 'createTime',}, |
|
|
{title: '录入时间',field: 'createTime',}, |
|
|
|
|
|
{title: '更新人',field: 'updateBy',}, |
|
|
|
|
|
{title: '上次更新时间',field: 'updateTime',}, |
|
|
{title: '备注',field: 'remark'}, |
|
|
{title: '备注',field: 'remark'}, |
|
|
{title: '使用状态',field: 'useStatus', |
|
|
{title: '使用状态',field: 'useStatus',visible: false, |
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(useStatusDatas, value);} |
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(useStatusDatas, value);} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -124,14 +126,8 @@ |
|
|
// 进度查看 |
|
|
// 进度查看 |
|
|
actions.push('<a class="btn btn-info btn-xs" href="javascript:void(0)" onclick="showProcessImgDialog(\'' + row.instanceId + '\')"><i class="fa fa-image"></i> 进度查看</a> '); |
|
|
actions.push('<a class="btn btn-info btn-xs" href="javascript:void(0)" onclick="showProcessImgDialog(\'' + row.instanceId + '\')"><i class="fa fa-image"></i> 进度查看</a> '); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.requisiteId + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.requisiteId + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
|
actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.requisiteId + '\')"><i class="fa fa-deatil"></i>详情</a> '); |
|
|
actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.requisiteId + '\')"><i class="fa fa-deatil"></i>详情</a> '); |
|
|
if(row.delFlag == '0'){ |
|
|
|
|
|
actions.push('<a class="btn btn-danger btn-xs ' + cancelFlag + '" href="javascript:void(0)" onclick="$.operate.cancel(\'' + row.id + '\')"><i class="fa fa-remove"></i>作废</a> '); |
|
|
|
|
|
}else{ |
|
|
|
|
|
actions.push('<a class="btn btn-success btn-xs ' + restoreFlag + '" href="javascript:void(0)" onclick="$.operate.restore(\'' + row.id + '\')"><i class="fa fa-window-restore"></i>恢复</a> '); |
|
|
|
|
|
} |
|
|
|
|
|
return actions.join(''); |
|
|
return actions.join(''); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|