|
|
@ -107,7 +107,7 @@ |
|
|
|
$(function() { |
|
|
|
var options = { |
|
|
|
id:'bootstrap-sub-table-expense', |
|
|
|
url:prefix + "/getChildList", |
|
|
|
url: ctx + "system/expenseChild/list", |
|
|
|
queryParams: function(params) { |
|
|
|
return { |
|
|
|
quoteId: $("#expenseCode").val() |
|
|
@ -116,6 +116,7 @@ |
|
|
|
pagination: false, |
|
|
|
sidePagination: "client", |
|
|
|
model: "报销单数据", |
|
|
|
editable: true, |
|
|
|
columns: [ |
|
|
|
{checkbox: true}, |
|
|
|
{title: '主键',field: 'index',visible: false, |
|
|
@ -135,12 +136,12 @@ |
|
|
|
return getCostSmallType(value,row,index) |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '用途',field: 'purpose',editable:{type:'text',options:{maxlength:100}}}, |
|
|
|
{title: '金额',field: 'amounts',editable: {type:'text',options:{maxlength:100}}}, |
|
|
|
{title: '报销时间',field: 'expenseTime',editable:{type:'date'}}, |
|
|
|
{title: '出差单号',field: 'evectionCode',}, |
|
|
|
{title: '采购单号',field: 'purcahseCode',}, |
|
|
|
{title: '委外单号',field: 'outsourceCode',}, |
|
|
|
{title: '用途',field: 'purpose',editable:{type:'text',mode:'inline'}}, |
|
|
|
{title: '金额',field: 'amounts',editable: {type:'text',mode:'inline'}}, |
|
|
|
{title: '报销时间',field: 'expenseTime',editable:{type:'date',mode:'inline',}}, |
|
|
|
{title: '出差单号',field: 'evectionCode',editable: {type:'text',mode:'inline'}}, |
|
|
|
{title: '采购单号',field: 'purcahseCode',editable: {type:'text',mode:'inline',}}, |
|
|
|
{title: '委外单号',field: 'outsourceCode',editable: {type:'text',mode:'inline',}}, |
|
|
|
{title: '操作', align: 'center', |
|
|
|
formatter: function (value, row, index) { |
|
|
|
var actions = []; |
|
|
|