打印报表

function printForm(RECID, sREP_ID) {
    var selectedList = $('#selectedList').val();
    if (selectedList > '') {
        var param = {
            id: '#SID#',
            SCCSTMP: '#SCurrent_SCC_STMP#',
            t: (new Date()).getTime(),
            SelectRECID: RECID,
            SelectREPID: sREP_ID,
            PrintAction: 'PrintSelected'
        }
        window.open("../../dynamicpdf.max?" + $.param(param));
    } else {
        alert('Please select forms to print.');
    }
}

posted @ 2017-03-13 13:24  CooMark  阅读(142)  评论(0)    收藏  举报