|
|
@ -468,7 +468,8 @@ |
|
|
$(window).on("resize", function () { |
|
|
$(window).on("resize", function () { |
|
|
layer.full(index); |
|
|
layer.full(index); |
|
|
}); |
|
|
}); |
|
|
} else if (obj.event === 'delete') { // 监听删除操作 |
|
|
} |
|
|
|
|
|
else if (obj.event === 'delete') { // 监听删除操作 |
|
|
var checkStatus = table.checkStatus('currentTableId') |
|
|
var checkStatus = table.checkStatus('currentTableId') |
|
|
, data = checkStatus.data; |
|
|
, data = checkStatus.data; |
|
|
var req = {}; |
|
|
var req = {}; |
|
|
@ -513,7 +514,8 @@ |
|
|
layer.msg("未选中记录,请确认!"); |
|
|
layer.msg("未选中记录,请确认!"); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
} else if (obj.event === 'applicationIn') { |
|
|
} |
|
|
|
|
|
else if (obj.event === 'applicationIn') { |
|
|
// 入库申请 |
|
|
// 入库申请 |
|
|
var checkStatus = table.checkStatus('currentTableId') |
|
|
var checkStatus = table.checkStatus('currentTableId') |
|
|
, data = checkStatus.data; |
|
|
, data = checkStatus.data; |
|
|
@ -554,9 +556,13 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
} else if (obj.event === 'downloadFile') { |
|
|
} |
|
|
|
|
|
else if (obj.event === 'downloadFile') { |
|
|
window.open("/download/materialImportDownload", "_self"); |
|
|
window.open("/download/materialImportDownload", "_self"); |
|
|
} |
|
|
} |
|
|
|
|
|
else if(obj.event === 'import'){ |
|
|
|
|
|
bindTableToolbarFunction() |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|