$(document).ready(function() {
setIframeHeight();
});
function setIframeHeight(){
var orderIframe = document.getElementById('orderTable');
var part1 = document.getElementsByClassName('form-box')[0].offsetHeight;
var part2 = document.getElementsByClassName('table-head')[0].offsetHeight;
var wholeHeight = document.body.offsetHeight;
orderIframe.height = wholeHeight-(part1+part2);
}
设置宽高