# app_template

id: 617cc6bb99328c3820c0b3a5
pid: 617cc6bb99328c3820c0b3a3
name: rightcheckpoint
code: 617cc6bb99328c3820c0b3a5
namepath: /凭证影像化/凭证影像统计/凭证影像统计
codepath: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3
fullname: /凭证影像化/凭证影像统计/凭证影像统计/rightcheckpoint
fullcode: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3.617cc6bb99328c3820c0b3a5
nodetype: column
createdate: 2021.10.30 12:15:27.000
lastmodifieddate: 2024.09.18 14:40:59.535
value:
{"8835fcb873427ed867b458c066d4e70d":{"name":"filter","buttonClick":[{"name":"cb_retrieve","title":" 检索"},{"name":"cb_export1","title":" 导出Excel"},{"name":"cb_recalc","title":"重新核算"}]},"522d8fae5585de12a0fe0f15e432daa9":{"name":"mx","buttonClick":[{"name":"cb_retrieve","title":" 检索"},{"name":"cb_export2","title":" 导出Excel"},{"name":"cb_return","title":" 返回"}]}}


id: 617cc6bb99328c3820c0b3a6
pid: 617cc6bb99328c3820c0b3a3
name: db
code: 617cc6bb99328c3820c0b3a6
namepath: /凭证影像化/凭证影像统计/凭证影像统计
codepath: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3
fullname: /凭证影像化/凭证影像统计/凭证影像统计/db
fullcode: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3.617cc6bb99328c3820c0b3a6
nodetype: column
createdate: 2021.10.30 12:15:27.000
lastmodifieddate: 2024.09.18 14:40:59.535
value:
[{"name":"q_hz","label":"","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"","sql":"select\n  corpid,\n  ym,\n  sum(pzsl_dj) as pzsl_dj,\n  sum(\n    case when pzsl_dj = 1\n    and pzsl_pic = 1 then 1 else 0 end\n  ) as pzsl_dj_pic,\n  sum(\n    case when pzsl_dj = 1\n    and pzsl_pic = 0 then 1 else 0 end\n  ) as pzsl_dj_wpic,\n  sum(\n    case when pzsl_dj = 0\n    and pzsl_pic = 1 then 1 else 0 end\n  ) as pzsl_pic_wdj,\n  sum(\n    case when pzsl_dj = 1 then pic_pz + pic_fj else 0 end\n  ) as pic_sl_dj,\n  sum(\n    case when pzsl_dj = 0 then pic_pz + pic_fj else 0 end\n  ) as pic_sl_wdj\nfrom(\n    select\n      distinct b.corpid,\n      b.y * 100 + b.m as ym,\n      b.pzh,\n      b.pzrq,\n      1 as pzsl_dj,\n      case when pic_pz>0 then 1 else 0 end  as pzsl_pic,\n      pic_pz,\n      pic_fj\n    from\n       pzdjex b  \n    where b.y= :st_y{2020}\n  \n    union all\n    select\n      corpid,\n      ym,\n      pzh,\n      null as pzrq,\n      0 as pzsl_dj,\n      1 as pzsl_pic,\n      c.pz as pic_fj,\n      ifnull(c.fj, 0) as pic_fj\n    from\n      dzpz_pz c\n    where   left( c.ym ,4)=':st_y{2020}' and \n       pzdj_exist =0 \n  ) x\ngroup by\n  corpid,\n  ym\norder by\n  corpid asc,\n  ym desc","dynamicwhere":"","dynamicwhere2":"\"corpid='\"+st_corpid+\"'\"\n\"left(ym,4)='\"+st_y+\"'\"\n\"right(ym,2)='\"+st_m+\"'\"","dynamicwheredata2":"st_corpid:filter!st_corpid\nst_y:filter!st_y\nst_m:filter!st_m","primarykey":"","autoretrieve":true,"table_query_id":"617cc89c99328c3820c0b67f","column":[{"name":"pzsl_dj","label":"已登记凭证数","description":"","type":"decimal(41,0)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzsl_dj_pic","label":"已导入凭证的已影像化凭证数量","description":"","type":"decimal(23,0)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzsl_dj_wpic","label":"已导入凭证的未影像化凭证数量","description":"","type":"decimal(23,0)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzsl_pic_wdj","label":"未导入凭证的影像化凭证数量","description":"","type":"decimal(23,0)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套","description":"","type":"varchar(32)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"记账期","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_sl_dj","label":"已导入凭证的影像化数量","description":"","type":"decimal(42,0)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_sl_wdj","label":"未导入的凭证影像化数量","description":"","type":"decimal(42,0)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""}]},{"name":"q_mx","label":"","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"","sql":"select\n  *,\n  pzsl_dj - pzsl_pic as status\nfrom(\n    select\n     distinct b.corpid,\n      b.y * 100 + b.m as ym,\n      dzpz_id ,\n      b.pzh,\n      b.zdr,\n      b.pzrq,\n      1 as pzsl_dj,\n      case when pic_pz>0 then 1 else 0 end  as pzsl_pic,\n        pic_pz,\n      pic_fj,\n      pic_pz + pic_fj  as pic_hj\n    from\n       pzdjex b   \n    union all\n    select\n     distinct corpid,\n      ym,\n      id,\n      pzh,\n      '' as zdr,\n      null as pzrq,\n      0 as pzsl_dj,\n      1 as pzsl_pic,\n      c.pz as pic_fj,\n      ifnull(c.fj, 0) as pic_fj,\n      ifnull(c.pz, 0) + ifnull(c.fj, 0) as pic_hj\n    from\n      dzpz_pz c \n    where\n      pzdj_exist=0 \n  ) x\norder by\n  corpid,\n  ym,\n  pzh","dynamicwhere":"","dynamicwhere2":"\"corpid='\"+st_corpid+\"'\"\n\"left(ym,4)='\"+st_y+\"'\"\n\"right(ym,2)='\"+st_m+\"'\"\n\"pzsl_dj - pzsl_pic=\"+st_status","dynamicwheredata2":"st_corpid:mx!st_corpid\nst_y:mx!st_y\nst_m:mx!st_m\nst_status:mx!st_status","primarykey":"","autoretrieve":false,"table_query_id":"617cc6df99328c3820c0b3ca","column":[{"name":"dzpz_id","label":"dzpz_id","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套编号","description":"","type":"varchar(32)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_fj","label":"附件图片张数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_hj","label":"pic_hj","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_pz","label":"凭证封面张数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzrq","label":"凭证日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzsl_dj","label":"pzsl_dj","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzsl_pic","label":"pzsl_pic","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"status","label":"影像状态（1：未采集 0：已采集 -1：凭证号不存在","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"记账期","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"zdr","label":"zdr","description":"","type":"varchar(30)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""}]}]


id: 617cc6bb99328c3820c0b3a7
pid: 617cc6bb99328c3820c0b3a3
name: script
code: 617cc6bb99328c3820c0b3a7
namepath: /凭证影像化/凭证影像统计/凭证影像统计
codepath: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3
fullname: /凭证影像化/凭证影像统计/凭证影像统计/script
fullcode: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3.617cc6bb99328c3820c0b3a7
nodetype: column
createdate: 2021.10.30 12:15:27.000
lastmodifieddate: 2024.09.18 14:40:59.535
value:
/**
 * 表单初始化完成后，执行此事件
 */
//@comment (group=表单事件,caption=表单初始化完成)
function formOpen() {
    book.showTabOnWhere = 'none';
    // 追加一些CSS类 ，用于凭证号标记
    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:12px;text-align:center;}
                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; 
                                    vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
                    `);

//把凭证信息表中的corpid同步一下，2022.10月前，明细中的corpid是null 
     corpid_sync( function(){});

}

/**
 * 单元格单击事件。仅当点击处有一个有效单元格时才触发本事件。当在有效行列之外点击时， 不触发本事件。
 * 当在有效行列之内但该坐标处并没有创建单元格时，也不会触发。
 * 注：当通过row,col定位到一个单元格时，如果在模板设计时并没有对该单元格做任何属性设置，那么此坐标处是空的，并不存在单元格对象，这种情况很少见
 * @param sheet
 * @param cell
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行被点击
 * @param event 事件对象
 */
//@comment (group=单元格事件,caption=单元格点击)
function cellOnClick(sheet, cell, innerRow, event) {


    //通过数据库绑定情况来判断
    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'q_hz') {
        let sheet_mx = book.getWorkSheet("mx");
        sheet_mx.cells("st_corpid").setValue($q_hz_ds.getString(innerRow, "corpid"));
        let ym = $q_hz_ds.getString(innerRow, "ym");
        sheet_mx.cells("st_y").setValue(ym.substring(0, 4));
        sheet_mx.cells("st_m").setValue(ym.substring(4, 6));
        //book.getWorkSheet("mx").cells("st_corpid").setValue("001");
    }
    let value = cell.getValueDouble(innerRow);
    if (bind != null && bind.dataSource == 'q_hz' && bind.DBCol == 'pzsl_dj_wpic' && value > 0) cell_pzsl_dj_wpic_onClick(sheet, cell, innerRow, event);//未影像化凭证列表
    if (bind != null && bind.dataSource == 'q_hz' && bind.DBCol == 'pzsl_pic_wdj' && value > 0) cell_pzsl_pic_wdj_onClick(sheet, cell, innerRow, event);//未登记凭证列表

}

//@comment (group=,caption=已登记未影像化的凭证列表,needRightControl=false)
function cell_pzsl_dj_wpic_onClick(sheet, cell, innerRow, event) {
    book.getWorkSheet("mx").cells("st_status").setValue(1);
    // book.getWorkSheet("mx").float('fa fa-cog', "凭证列表",
    //     {
    //         my: 'right-center',
    //         at: 'right-center',
    //         autoposition: 'down',
    //         offsetX: -5,
    //         offsetY: 5
    //     }, { width: 700, height: "90%" });
    smartRetrieve(book.getWorkSheet("mx_list"), "q_mx");
    book.setActiveSheet("mx");
}
//@comment (group=,caption=未登记凭证列表,needRightControl=false)
function cell_pzsl_pic_wdj_onClick(sheet, cell, innerRow, event) {
    book.getWorkSheet("mx").cells("st_status").setValue(-1);
    book.setActiveSheet("mx");
    // book.getWorkSheet("mx").float('fa fa-cog', "凭证列表",
    //     {
    //         my: 'right-center',
    //         at: 'right-center',
    //         autoposition: 'down',
    //         offsetX: -5,
    //         offsetY: 5
    //     }, { width: 700, height: "90%" });
    smartRetrieve(book.getWorkSheet("mx_list"), "q_mx");

}

/**
 * 多行结果集当前焦点行发生变化
 * @param dsname  结果集名称
 * @param row  行号
 */
function currentBindRowChanged(dsname, row) {
    if (dsname == 'q_mx') {
        //重新加载凭证图片列表

        let id = $q_mx_ds.getString(row, "dzpz_id");
        let pzh = $q_mx_ds.getString(row, "pzh");
        loadPZ(pzh, id);

    }
}


function loadPZ(pzh, id) {
    let data = getPZFJ(id); //得到凭证的所有图片
    let FJ = book.getWorkSheet("mx_img").getBrick('FJ');
    FJ.buildGridly(data, function () {

        //加载图片完成后， 如果是凭证，那么加上凭证号信息
        for (let i = 0; i < data.length; i++) {
            if (data[i].groupname == '凭证') {
                setPZH(data[i].id, pzh, false);
            }
        }

    });
    book.getWorkSheet("mx").yOffset = 0; //垂直卷滚条归位
}


//@comment (group=凭证号,caption=设置图片的凭证号,needRightControl=false)
function setPZH(id, pzh, needDeleteButton) {
    if (needDeleteButton == undefined) needDeleteButton = true
    find_pzh(id, true, needDeleteButton).find('.no').text(pzh);
}


//@comment (group=凭证号,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists, needDeleteButton) {

    if (needDeleteButton == undefined) needDeleteButton = true;

    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" >
                        <div class="no"></div>
                        <div class="delete_pzh"  ${needDeleteButton ? "" : " style='display:none' "} ><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div>
                      </div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
function cb_return_onClick(sheet, cell, button) {
    book.setActiveSheet("main");

}


function cb_export1_onClick()
{
    form.export_excel2( book.sheet2);

}

function cb_export2_onClick()
{
    form.export_excel2( book.sheet4);
    
}

function  cb_recalc_onClick()
{

    let y= book.sheet1.cells("st_y").getValueInt();
    let m= book.sheet1.cells("st_m").getValueInt();
    if( y==0 || m==0)
    {
        $.alert("请选择年度和月份后再进行重新核算");
        return;
    }

    $confirm("提示","确信要对 "+ y+"年"+ m+"月的凭证数据重新统计吗? ",function()
    {
        showInfoPane( "*正在计算...") ;
    runTask("updateForReport",{ y:y, m:m } ,function(ret)
    {
        hideInfoPane();
        toastr.info("核算完成 ，请重新检索");
    })
    });
}


id: 617ce4b6b9909fd0d4ddbe38
pid: 60fa608c9932563b7c99bba5
name: pagesetup-5d763d3513933acd714fa53945e7f522
code: 617ce4b6b9909fd0d4ddbe38
namepath: /凭证影像化/凭证调阅/凭证调阅列表
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5
fullname: /凭证影像化/凭证调阅/凭证调阅列表/pagesetup-5d763d3513933acd714fa53945e7f522
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5.617ce4b6b9909fd0d4ddbe38
nodetype: column
createdate: 2021.10.30 23:17:07.000
lastmodifieddate: 2024.09.18 14:40:59.535
value:
{"pageWidth":"210","pageHeight":"297","leftMargin":"20","topMargin":"20","rightMargin":"20","bottomMargin":"20","paper":"210*297","printDir":1,"pageHeaderConfig":{"define":"","height":"20"},"pageFooterConfig":{"define":"=\"第 \"+pageIndex()+\" 页，共 \"+pageCount()+\" 页\"","height":"20"},"printScale":"67","printerDeviceName":"PDF生成器"}


id: 6183205499328c3820c0c8dd
pid: 6183205499328c3820c0c8d9
name: csp_script_src
code: 60c5615f5db2e8eff0d867f720211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/csp_script_src
nodetype: column
createdate: 2021.06.13 09:37:58.000
lastmodifieddate: 2024.09.18 14:40:59.535
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c5615f5db2e8eff0d867f720211104075044


id: 6183205499328c3820c0c8e1
pid: 6183205499328c3820c0c8d9
name: db
code: 60c4bd735db2478f9c5a111b20211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/db
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.535
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c4bd735db2478f9c5a111b20211104075044

value:
[{"name":"dzpz_pz","label":"凭证","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"dzpz_pz","sql":"select\n  dzpz_pz.*,\n  0 as selected,\n  '' as tipinfo,\n  case when verifierid is null then '校对' else '' end as c_sh1,\n  case when verifierid is null then '' else '取消校对' end as c_sh2\nfrom\n  dzpz_pz\nwhere\n  ifnull(deleteflag, 0) = 0\norder by\n  ym,\n  pzh","dynamicwhere":"","dynamicwhere2":"\"corpid='\"+ st_corpid+\"' \"\niif( shzt==1, \" verifierid is not null\" , iif ( shzt==2, \"verifierid is null \", \"\"))\n\"username='\"+st_username +\"' \"\n\" verifiername='\"+ st_verifiername+\"' \"\n\"pzh  like  '%\"+st_pzh+\"%' \"\n\"left(ym,4)='\"+st_y+\"'\"\n\"right(ym,2)='\"+st_m+\"'\"\nbeWhere_code(st_code)","dynamicwheredata2":"st_corpid:filter!st_corpid\nst_y:filter!st_y\nst_m:filter!st_m\nst_username:filter!st_username\nst_verifiername:filter!st_verifiername\nst_pzh:filter!st_pzh\nst_code:filter!st_code","primarykey":"id","autoretrieve":true,"table_query_id":"6183205499328c3820c0c907","column":[{"name":"lastmodifieddate","label":"数据最后修改日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"记帐期","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"xm","label":"项目","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"url_thumbnail","label":"缩略图","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"url_img","label":"凭证图片地址","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"tipinfo","label":"tipinfo","description":"","type":"varchar(0)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"selected","label":"selected","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"false","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pz","label":"凭证的图片数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"imgid","label":"凭证图片记录ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"fj","label":"附件的图片数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"filenameprefix","label":"文件名前缀","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"帐套ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(32)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"c_sh2","label":"c_sh2","description":"","type":"varchar(4)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"c_sh1","label":"c_sh1","description":"","type":"varchar(2)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"bm","label":"部门","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_xh","label":"","expression":"thisrow()+1","description":"","fillback":""}]}]


id: 6183205499328c3820c0c8e5
pid: 6183205499328c3820c0c8d9
name: description
code: 60c4bd735db2478f9c5a111d20211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/description
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.535
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c4bd735db2478f9c5a111d20211104075044


id: 6183205499328c3820c0c8e9
pid: 6183205499328c3820c0c8d9
name: functionGroup
code: 60c5615f5db2e8eff0d867f620211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/functionGroup
nodetype: column
createdate: 2021.06.13 09:37:58.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c5615f5db2e8eff0d867f620211104075044


id: 6183205499328c3820c0c8ed
pid: 6183205499328c3820c0c8d9
name: rightcheckpoint
code: 60c4bd735db2478f9c5a111a20211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/rightcheckpoint
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c4bd735db2478f9c5a111a20211104075044

value:
{"b83a18372d1e0c552da51ecc990e916a":{"name":"filter","buttonClick":[{"name":"cb_retrieve","title":" 检索"}]}}


id: 6183205499328c3820c0c8f1
pid: 6183205499328c3820c0c8d9
name: script
code: 60c4bd735db2478f9c5a111c20211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/script
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c4bd735db2478f9c5a111c20211104075044

value:
var pzh_prefix;
var pzh_length;

var fullScreenDiv = null;



function formOpen() {
    book.showTabOnWhere = 'none';
    //加载帐套信息及年月
    var corpid = book.getWorkSheet("filter").cells("corpid").getValueString();
    runTask("当前记帐期", { corpid: corpid }, function (ym) {
        if (ym == null || ym == 'null') return;
        //得到年月后，获取凭证号相关设置
        pzh_len = getPZHLen(corpid);

        book.getWorkSheet("filter").cells("ym").setValue(ym);

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.getWorkSheet("filter").cells("pzh_prefix").setValue(pzh_prefix);


    });

    // 追加一些CSS类 ，用于凭证号标记
    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:12px;text-align:center;}
                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; 
                                    vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          

                          .weui-photo-browser-modal .photo-container img { margin-top:0 !important;}


                        </style>
                    `);


}



/**
 * 多行结果集当前焦点行发生变化
 * @param dsname  结果集名称
 * @param row  行号
 */
function currentBindRowChanged(dsname, row) {
    if (dsname == 'dzpz_pz') {
        //重新加载凭证图片列表

        let id = $dzpz_pz_ds.getString(row, "id");
        let pzh = $dzpz_pz_ds.getString(row, "pzh");
        loadPZ(pzh, id);

    }
}

/**
 * 单元格的值发生了改变
 * @param sheet  所在的工作表
 * @param cell  单元格对象
 * @param oldValue  原先的值
 * @param newValue 变化后的值
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChanged(sheet, cell, oldValue, newValue, innerRow) {

    //如果是绑定了数据库的，强烈不建议使用本事件，换用结果集变化事件 itemChanged

    //通过别名来判断
    if (cell.alias == 'ym') {
        var corpid = book.getWorkSheet("filter").cells("corpid").getValueString();
        var ym = book.getWorkSheet("filter").cells("ym").getValue();

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.getWorkSheet("filter").cells("pzh_prefix").setValue(pzh_prefix);
    }




}

function loadPZ(pzh, id) {
    let data = getPZFJ(id); //得到凭证的所有图片
    let FJ = book.getWorkSheet("凭证详情").getBrick('FJ');
    FJ.buildGridly(data, function () {
        let shortPZH = pzh;//.substring(pzh_prefix.length);
        //加载图片完成后， 如果是凭证，那么加上凭证号信息
        for (let i = 0; i < data.length; i++) {
            if (data[i].groupname == '凭证') {
                setPZH(data[i].id, shortPZH, false);
            }
        }

    });
    book.getWorkSheet("凭证详情").yOffset = 0; //垂直卷滚条归位
}


//@comment (group=凭证号,caption=设置图片的凭证号,needRightControl=false)
function setPZH(id, pzh, needDeleteButton) {
    if (needDeleteButton == undefined) needDeleteButton = true
    find_pzh(id, true, needDeleteButton).find('.no').text(pzh);
}

//@comment (group=凭证号,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists, needDeleteButton) {

    if (needDeleteButton == undefined) needDeleteButton = true;

    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" >
                        <div class="no"></div>
                        <div class="delete_pzh"  ${needDeleteButton ? "" : " style='display:none' "} ><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div>
                      </div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}



/**
 * 单元格单击事件
 * @param sheet
 * @param cell
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行被点击
 * @param event 事件对象
 */
//@comment (group=单元格事件,caption=单元格点击)
function cellOnClick(sheet, cell, innerRow, event) {

    //通过别名来判断
    if (cell.alias == 'XXX') {

    }

    //通过数据库绑定情况来判断
    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'dzpz_pz') {

    }

}

//@comment (group=工具函数,caption=全选或取消全选)
function seletOrUnSelectAll() {
    //让selection单元格失去编辑焦点，不然再点击，它不会触发单元格的点击事件，因为此时点击的编辑框对象，不会触发单元格的点击
    book.getWorkSheet("list").View.forceCurrentEditControlGiveUpFocus();

    var v = book.getWorkSheet("list").cells('selection').getValueInt();

    book.getWorkSheet("list").paintPermit = false;
    $dzpz_pz_ds.setValueWithTrigger = false;
    for (var i = 0; i < $dzpz_pz_ds.rowCount; i++) {
        $dzpz_pz_ds.setValue(i, "selected", v);
    }
    $dzpz_pz_ds.setValueWithTrigger = true;
    book.getWorkSheet("list").paintPermit = true;
}




/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet, name, data) {


    if (name == "FJ") {
        let brick = sheet.getBrick(name);
        brick.addToolButton(1  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-print",   // 字符图标
            "打印图片",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数
                imagePrint(brick, id);

            }
        );


    }
}


function imagePrint(brick, id) {

    if ( ! isRoleGrantedToUser( currentUserId(), "凭证影像打印") ) 
    {
        toastr.error('抱歉，您无此权限');
        return;
    }
    //把数据中的图片替换，
    for (let i = 0; i < brick.data.length; i++) {
        if (brick.data[i].id == id) {
            //属性从新的属性中替换 
            let url = brick.data[i].url_img;
            printThisWindow(url);
            break;
        }
    }

}

function printThisWindow(imgSrc) {
    let iframe = document.createElement('IFRAME')
    let doc = null
    iframe.setAttribute('class', 'print-iframe')
    iframe.setAttribute('style', 'position:absolute;width:0px;height:0px;left:-500px;top:-500px;')
    document.body.appendChild(iframe)
    doc = iframe.contentWindow.document
    // 取一个不重复的方法名称，可以随机字符串
    doc.___imageLoad___ = function () {
        iframe.contentWindow.print()
        if (navigator.userAgent.indexOf('MSIE') > 0) {
            document.body.removeChild(iframe)
        }
    }
    doc.write('<div style="height: 100%;width: 100%;">' + `<img src="${imgSrc}" style="max-height:100%;max-width: 100%;" onload="___imageLoad___()"/>` + '</div>')
    doc.close()
    iframe.contentWindow.focus()
}

/**
 * 图片控件中显示大图时添加水印图片
 * @param sheet   所在Sheet
 * @param name  图片控件的名称

 * @return  返回水印图片的url地址 ，如果返回  '' 则表示不添加水印图片
 */
//@comment (group=图片控件,caption=鼠标在某个图片上释放)
function imageOnPopupWithWatermark(sheet , name ) {

    var info= currentUserShowName( ) +""+ formatDate( new Date() , "yyyy.MM.dd-HH:mm");
    
    return "watermark?watermark="+info;
    
}


id: 6183205499328c3820c0c8f9
pid: 6183205499328c3820c0c8d9
name: ui
code: 60c4bd735db2478f9c5a111920211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/ui
nodetype: column
createdate: 2021.06.12 22:00:47.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c4bd735db2478f9c5a111920211104075044

value:
{"version":"1.0","sheetcount":4,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":13,"columnCount":11,"guid":"08e66c0e81c8327bad541d11a7b5751f","name":"main","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":15,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":120,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":15,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":45,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":9,"height":138,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":10,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":11,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":12,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":3,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":600,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":40,"rowHeightAutoFit":false},{"index":5,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":7,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":9,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":30,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1},{"row":0,"col":2},{"row":0,"col":3},{"row":0,"col":4},{"row":0,"col":5},{"row":0,"col":6},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":1,"col":0},{"row":1,"col":1,"PI":0},{"row":1,"col":2,"define":"凭证影像查询 - 影像化资料","rowSpan":1,"colSpan":3,"PI":1},{"row":1,"col":5},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":3,"col":0,"PI":2},{"row":3,"col":1,"PI":2},{"row":3,"col":2,"PI":2},{"row":3,"col":3,"PI":2},{"row":3,"col":4,"PI":2},{"row":3,"col":5,"PI":2},{"row":3,"col":6,"PI":2},{"row":3,"col":7,"PI":2},{"row":3,"col":8,"PI":2},{"row":3,"col":9,"PI":2},{"row":3,"col":10,"PI":2},{"row":4,"col":0,"PI":2},{"row":4,"col":1,"PI":2},{"row":4,"col":2,"PI":2},{"row":4,"col":3,"rowSpan":1,"colSpan":6,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"b83a18372d1e0c552da51ecc990e916a","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-a357f98bcc50711dc8e12223c303de51"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":4,"col":9,"PI":3},{"row":4,"col":10,"PI":2},{"row":5,"col":0,"PI":2},{"row":5,"col":1,"PI":2},{"row":5,"col":2,"PI":2},{"row":5,"col":3,"PI":2},{"row":5,"col":4,"PI":2},{"row":5,"col":5,"PI":4},{"row":5,"col":6,"PI":4},{"row":5,"col":7,"PI":4},{"row":5,"col":8,"PI":4},{"row":5,"col":9,"PI":2},{"row":5,"col":10,"PI":4},{"row":6,"col":0,"PI":2},{"row":6,"col":1,"PI":2},{"row":6,"col":2,"PI":2},{"row":6,"col":3,"rowSpan":4,"colSpan":2,"PI":5,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"192dd2dd59913157df6b1620fb10e4b5","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-ed16005b1d647a78513f90bce98188b4"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":6,"col":5,"PI":6},{"row":6,"col":6,"cellValueType":3,"PI":7},{"row":6,"col":7,"PI":7},{"row":6,"col":8,"PI":8},{"row":6,"col":9,"PI":9},{"row":6,"col":10,"PI":10},{"row":7,"col":0,"PI":2},{"row":7,"col":1,"PI":2},{"row":7,"col":2,"PI":2},{"row":7,"col":5,"define":"凭证号：","PI":11},{"row":7,"col":6,"cellValueType":3,"rowSpan":1,"colSpan":3,"PI":12,"bind":{"dataSource":"dzpz_pz","DBCol":"pzh","dsType":"4"}},{"row":7,"col":9},{"row":7,"col":10,"PI":2},{"row":8,"col":0,"PI":2},{"row":8,"col":1,"PI":2},{"row":8,"col":2,"PI":2},{"row":8,"col":5,"define":"凭证：","PI":11},{"row":8,"col":6,"suffix":"张","cellValueType":1,"PI":13,"bind":{"dataSource":"dzpz_pz","DBCol":"pz","dsType":"4"}},{"row":8,"col":7,"define":"附件：","PI":11},{"row":8,"col":8,"suffix":"张","cellValueType":1,"PI":14,"bind":{"dataSource":"dzpz_pz","DBCol":"fj","dsType":"4"}},{"row":8,"col":9,"PI":5},{"row":8,"col":10,"PI":15},{"row":9,"col":0,"PI":2},{"row":9,"col":1,"PI":2},{"row":9,"col":2,"PI":2},{"row":9,"col":5,"rowSpan":2,"colSpan":4,"PI":16,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"beed53ada49f7fd9efab3a92ceec68b4","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-e0b4a6013d6524a3c0a8d34599049bdc"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":9,"col":9,"PI":5},{"row":9,"col":10,"PI":17},{"row":10,"col":0,"PI":2},{"row":10,"col":1,"PI":2},{"row":10,"col":2,"PI":2},{"row":10,"col":3,"rowSpan":1,"colSpan":2,"bricks":[{"type":"dbpage","name":"dbnav","config":{"name":"dbnav","caption":"分页导航条","enable":true,"visible":true,"showDBRowCount":true,"x":1,"y":1,"width":-1,"height":-1,"align":"center","onceRetrieveRowCount":"100","countPerPagePermitToChange":true,"dsn":"dzpz_pz","DOMName":"dbnav-0896eb70b14e47bccb8e7ad982ae71a5","html":" \n                   <style>\n                   .workbook_db_tool_button {border-radius: 50%; min-width:24px; width:24px; height:24px; padding:0px;margin-right:5px;}\n                   .workbook_db_tool_noborder { border:0px solid #fff; background-color:transparent;}\n                   </style>     \n                   \n        \n                <div  class=\"   \"  id=\"dbnav-0896eb70b14e47bccb8e7ad982ae71a5\"  \n                       unselectable=\"on\" onselectstart=\"return false;\"\n                       style=\" padding:2px;min-width:24px; padding-right:8px;padding-left:8px;  text-align:center;\">\n                        \n                       <span class=\"group1\" style=\"display:none;\"><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page1 workbook_db_tool_button\" >1</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page2 workbook_db_tool_button\" >2</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page3 workbook_db_tool_button\" >3</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page4 workbook_db_tool_button\" >4</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page5 workbook_db_tool_button\" >5</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page6 workbook_db_tool_button\" >6</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page7 workbook_db_tool_button\" >7</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page8 workbook_db_tool_button\" >8</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page9 workbook_db_tool_button\" >9</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page10 workbook_db_tool_button\" >10</button>\n                       </span><span class=\"group2\">\n                        <button type=\"button\"   class=\"btn   btn-xs btn-default cb_First workbook_db_tool_button\" >\n                        <i class=\"fa fa-step-backward\"></i></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Prior workbook_db_tool_button\" >\n                        <i class=\"fa fa-chevron-left\"></i></button><button type=\"button\"   \n                                class=\"btn btn-alt btn-xs btn-default  workbook_db_tool_noborder \" ><span style=\"display:inline-block\">\n                        <input type=\"tel\"  class=\"pageIndex btn btn-alt btn-xs \" \n                               style=\"width:50px;height:24px; line-height:24px ; border-radius:12px; border:1px dotted #efefef;\"> /\n                        <span class=\"pageCountOfDataSource\"></span></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Next workbook_db_tool_button\" >\n                        <i class=\"fa fa-chevron-right\"></i></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Last workbook_db_tool_button\" >\n                        <i class=\"fa fa-step-forward\"></i></button></span><span \n                         unselectable=\"on\" onselectstart=\"return false;\" style=\"padding-left:10px; display:inline-block\"  \n                               class=\"countPerPageContainer\">每页<input type=\"tel\"   class=\"countPerPage btn btn-alt btn-default\"  \n                                value=\"100\" \n                                style=\"width:65px;height:24px; line-height:24px;border-radius: 12px; \"\n                                 \n                                >行</span>\n                        </span>\n                        <span class=\"dbRowCountContainer\" >&nbsp;&nbsp;共<span class=\"dbrowcount\"></span>行\n                </div>\n            \n            "},"x":0,"y":0,"width":0,"height":0}]},{"row":10,"col":9,"PI":3},{"row":10,"col":10,"PI":18},{"row":11,"col":0,"PI":2},{"row":11,"col":1,"PI":2},{"row":11,"col":2,"PI":2},{"row":11,"col":3},{"row":11,"col":4},{"row":11,"col":5},{"row":11,"col":6},{"row":11,"col":7},{"row":11,"col":8},{"row":11,"col":9},{"row":11,"col":10,"PI":2},{"row":12,"col":0,"PI":2},{"row":12,"col":1,"PI":2},{"row":12,"col":2,"PI":2},{"row":12,"col":3,"PI":2},{"row":12,"col":4,"PI":2},{"row":12,"col":5,"PI":2},{"row":12,"col":6,"PI":2},{"row":12,"col":7,"PI":2},{"row":12,"col":8,"PI":2},{"row":12,"col":9,"PI":2},{"row":12,"col":10,"PI":2}]},{"index":1,"rowCount":7,"columnCount":17,"guid":"b83a18372d1e0c552da51ecc990e916a","name":"filter","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":5,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":5,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":5,"isColumnScrollEnabled":true,"stretchHeight":10}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":55,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":55,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":45,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":75,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":90,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":90,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":13,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":14,"width":83,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":15,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":16,"width":1,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1},{"row":0,"col":2},{"row":0,"col":3},{"row":0,"col":4},{"row":0,"col":5},{"row":0,"col":6},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":0,"col":11},{"row":0,"col":12},{"row":0,"col":13},{"row":0,"col":14,"PI":19},{"row":0,"col":15},{"row":0,"col":16},{"row":1,"col":0},{"row":1,"col":1,"define":"筛选条件","rowSpan":1,"colSpan":2,"PI":20},{"row":1,"col":3},{"row":1,"col":4},{"row":1,"col":5},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9,"cellValueType":3},{"row":1,"col":10,"cellValueType":3},{"row":1,"col":11},{"row":1,"col":12},{"row":1,"col":13,"PI":5},{"row":1,"col":14,"cellValueType":3,"PI":21},{"row":1,"col":15,"PI":22},{"row":1,"col":16},{"row":2,"col":0},{"row":2,"col":1},{"row":2,"col":2},{"row":2,"col":3},{"row":2,"col":4},{"row":2,"col":5},{"row":2,"col":6},{"row":2,"col":7},{"row":2,"col":8},{"row":2,"col":9},{"row":2,"col":10},{"row":2,"col":11},{"row":2,"col":12,"PI":23},{"row":2,"col":13},{"row":2,"col":14,"PI":24},{"row":2,"col":15},{"row":2,"col":16},{"row":3,"col":0,"PI":5},{"row":3,"col":1,"define":"* 帐  套：","PI":25},{"row":3,"col":2,"define":"00","editable":true,"rowSpan":1,"colSpan":5,"alias":"st_corpid","PI":26,"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":7,"define":"影像采集人：","PI":27},{"row":3,"col":8,"editable":true,"appData":{"valueChangedToAutoCompleteType":"sql","valueChangedToAutoCompleteDBPool":"default","valueChangedToAutoCompleteQuery":"select distinct username from dzpz_pz order by username","valueChangedToAutoCompleteContext":"$$$:$$$","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WOMSXW4LTEGETLP242NIAOTXT6OGGWWA6L7STCQ5JOZR2MBQ3LBC6PZIWMPXZ255KM"},"alias":"st_username","PI":26,"editstyle":{"editType":0,"inputAttribute":""}},{"row":3,"col":9,"define":"影像校对人：","cellValueType":3,"PI":27},{"row":3,"col":10,"editable":true,"appData":{"valueChangedToAutoCompleteType":"sql","valueChangedToAutoCompleteDBPool":"default","valueChangedToAutoCompleteQuery":"select distinct username from dzpz_pz order by username","valueChangedToAutoCompleteContext":"$$$:$$$","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WOMSXW4LTEGETLP242NIAOTXT6OGGWWA6L7STCQ5JOZR2MBQ3LBC6PZIWMPXZ255KM"},"cellValueType":3,"alias":"st_verifiername","PI":26,"editstyle":{"editType":0,"inputAttribute":""}},{"row":3,"col":11,"define":"核算单位编号：","PI":28},{"row":3,"col":12,"editable":true,"alias":"st_code","PI":29},{"row":3,"col":13,"PI":30},{"row":3,"col":14,"cellValueType":3,"rowSpan":3,"colSpan":1,"PI":3,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","x":10,"y":-30,"width":60,"height":30,"buttonStyle":"default","buttonColorStyle":"info","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"dzpz_pz","moreDataSource":"","cachefirst":true,"DOMName":"cb_retrieve-4b1c8511846bc17f047df73f36aa2804","html":" \n                <button class=\"btn  btn-info btn-xs\" \n                        id=\"cb_retrieve-4b1c8511846bc17f047df73f36aa2804\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":10,"y":-30,"width":60,"height":30}]},{"row":3,"col":15},{"row":3,"col":16,"PI":22},{"row":4,"col":0,"PI":19},{"row":4,"col":1,"PI":3},{"row":4,"col":2,"PI":31},{"row":4,"col":3,"PI":3},{"row":4,"col":4,"PI":31},{"row":4,"col":5},{"row":4,"col":6},{"row":4,"col":7,"PI":24},{"row":4,"col":8,"PI":3},{"row":4,"col":9,"PI":24},{"row":4,"col":10},{"row":4,"col":11},{"row":4,"col":12,"PI":31},{"row":4,"col":13},{"row":4,"col":15},{"row":4,"col":16,"PI":3},{"row":5,"col":0,"PI":21},{"row":5,"col":1,"define":"年度：","PI":32},{"row":5,"col":2,"editable":true,"appData":{"valueChangedToAutoCompleteType":"sql","valueChangedToAutoCompleteDBPool":"default","valueChangedToAutoCompleteQuery":"select distinct y\nfrom(\nselect distinct y from pzdjex \nunion\nselect distinct left(ym,4) as y from dzpz_pz\n) x\norder by y","valueChangedToAutoCompleteContext":"","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WPQTOYNHN2JM655OUKAU7ZADCWGJPC5FTSFSSOVTLQ4SLNZ5JGR7GQQJHDDFVCXYODNLMBTOSDQEM6DXZKTO2QXBCL3FLM4ZQ7DFMRNEP5CPN3IQHUTFO7MRNO5NBHREGMI4G6PNJQDO7F3AEDWMUVP6W4C2KWUPXWLOV5PI5YSRY6CXAC7XY"},"cellValueType":3,"alias":"st_y","PI":13},{"row":5,"col":3,"define":"月份：","cellValueType":3,"PI":33},{"row":5,"col":4,"editable":true,"cellValueType":3,"alias":"st_m","PI":13,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12\n13","showRealData":false,"columnCount":null}},{"row":5,"col":5,"define":"凭证号：","cellValueType":3,"PI":25},{"row":5,"col":6,"editable":true,"appData":{},"cellValueType":3,"alias":"st_pzh","placeholderOnlyViewWhenEditing":false,"PI":26},{"row":5,"col":7,"define":"校对状态：","cellValueType":3,"PI":27},{"row":5,"col":8,"define":"1","editable":true,"cellValueType":3,"rowSpan":1,"colSpan":3,"alias":"shzt","PI":34,"editstyle":{"editType":6,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"3;全部\n1;已校对\n2;未校对","showRealData":false,"columnCount":3}},{"row":5,"col":11},{"row":5,"col":12},{"row":5,"col":13},{"row":5,"col":15},{"row":5,"col":16,"PI":3},{"row":6,"col":0,"PI":24},{"row":6,"col":1,"rowSpan":1,"colSpan":14,"PI":3},{"row":6,"col":15},{"row":6,"col":16,"PI":3}]},{"index":2,"rowCount":7,"columnCount":13,"guid":"192dd2dd59913157df6b1620fb10e4b5","name":"list","gridLineVisible":false,"freezedRow":5,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":27,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":3,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":280,"width2":-1,"stretchWidth":40,"rowHeightAutoFit":false},{"index":4,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":5,"width":140,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":6,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":7,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":8,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":10,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":11,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":1,"col":0},{"row":1,"col":1,"PI":35},{"row":1,"col":2,"define":"数据列表","rowSpan":1,"colSpan":2,"PI":20},{"row":1,"col":4},{"row":1,"col":5},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":1,"col":11},{"row":1,"col":12},{"row":3,"col":0},{"row":3,"col":1},{"row":3,"col":2,"define":"序号","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":3,"define":"账套","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":4,"define":"年月","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":5,"define":"凭证号","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":6,"define":"图片数量","rowSpan":1,"colSpan":3,"PI":37},{"row":3,"col":9,"define":"影像采集","rowSpan":2,"colSpan":1,"PI":37},{"row":3,"col":10,"define":"影像校对","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":11,"define":"全选","PI":38},{"row":3,"col":12,"rowSpan":2,"colSpan":1,"PI":30},{"row":4,"col":0},{"row":4,"col":1},{"row":4,"col":6,"define":"凭证","PI":37},{"row":4,"col":7,"define":"附件","PI":37},{"row":4,"col":8,"define":"合计","PI":37},{"row":4,"col":11,"define":"选中","editable":true,"cursorName":"hand","clickJumpTo":"=seletOrUnSelectAll()","clickJumpToWhere":"javascript","alias":"selection","PI":39,"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":""}},{"row":5,"col":0},{"row":5,"col":1},{"row":5,"col":2,"PI":34,"bind":{"dataSource":"dzpz_pz","DBCol":"c_xh","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":5,"col":3,"cellValueType":3,"PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":5,"col":4,"cellValueType":1,"PI":34,"bind":{"dataSource":"dzpz_pz","DBCol":"ym","dsType":2}},{"row":5,"col":5,"cellValueType":3,"PI":34,"bind":{"dataSource":"dzpz_pz","DBCol":"pzh","dsType":2}},{"row":5,"col":6,"cellValueType":1,"PI":41,"bind":{"dataSource":"dzpz_pz","DBCol":"pz","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":7,"cellValueType":1,"PI":41,"bind":{"dataSource":"dzpz_pz","DBCol":"fj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":8,"cellValueType":1,"alias":"attachmentcount","PI":41,"bind":{"dataSource":"dzpz_pz","DBCol":"attachmentcount","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":9,"cellValueType":3,"PI":34,"bind":{"dataSource":"dzpz_pz","DBCol":"username","dsType":2}},{"row":5,"col":10,"cellValueType":3,"PI":34,"bind":{"dataSource":"dzpz_pz","DBCol":"verifiername","dsType":2}},{"row":5,"col":11,"editable":true,"cellValueType":1,"PI":42,"bind":{"dataSource":"dzpz_pz","DBCol":"selected","dsType":2},"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":""}},{"row":5,"col":12},{"row":6,"col":0},{"row":6,"col":1},{"row":6,"col":2},{"row":6,"col":3},{"row":6,"col":4},{"row":6,"col":5},{"row":6,"col":6},{"row":6,"col":7},{"row":6,"col":8,"define":"=sum(attachmentcount)"},{"row":6,"col":9},{"row":6,"col":10},{"row":6,"col":11},{"row":6,"col":12}]},{"index":3,"rowCount":2,"columnCount":2,"guid":"beed53ada49f7fd9efab3a92ceec68b4","name":"凭证详情","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":286,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":300,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":1,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":43,"bricks":[{"type":"uploadImage","name":"FJ","config":{"name":"FJ","action":"view","serverIndex":"1","serverIndexExpression":"=currentBillServerIndex()","dbpool":"default","logTable":"app_fileupload","blockSize":256,"imgMaxSize":1920,"cropWidth":0,"cropHeight":0,"columns":1,"maxCount":5,"groupName":"附件","tableName":"--","gguid":"--","path":"=currentMasterTableName()","showImageLabel":false,"showImageIndexNo":true,"autoLoad":false,"autoLoadFunction":"-","caption":"图片上传","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"FJ-d3959a16d06f197645b5b9ec5944053d","gutter":10,"homeURL":"","maxThumbnailSize":256,"rightMouseDownToViewLargeImage":true,"html":"<div><div id='FJ-d3959a16d06f197645b5b9ec5944053d80d18165b743a7abe5df5a4c0dafe8fd' style='width:100%;height:100%;background-color: transparent; pointer-events:none; '></div></div>"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":0,"col":1,"PI":9},{"row":1,"col":0,"PI":24},{"row":1,"col":1,"PI":5}]}],"propertyCache":{"b3f11927403750ad41af93752148e509":{"background-color":"rgb(40, 116, 166)"},"854bc2c21bbbb631ed9056ba9ef218db":{"font-family":"黑体","font-size":"16"},"3e824c86b66344de0d8b546937f4cbf2":{"background-color":"#ebedef"},"99914b932bd37a50b983c5e7c90ae93b":{},"be64caef07159566df8795b22e17d845":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"d40439625fae1006a802f59daeb608c1":{"border-right-width":2,"border-right-color":[128,128,128,1]},"9e88079a54ad188cac6846f15c2fc42d":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"7207fd81a5f61d7975bce68c6cd3d6d9":{"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"c6b833700f21dfb69360b9d75ad8c619":{"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"7f973ca9852913d1d137e4bafe0bf62c":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1]},"a6827ea44c8f901a1e03738c37b4bd1b":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"ee5723836a4b5b5bf5ee0b0cfc22918c":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","text-align":1},"f59dcabe69ca3218ba0d1a06ddfbb4b3":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(33, 97, 140)"},"b3de616a54b5cf0c276e9db14a7998b2":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(33, 97, 140)","text-align":2},"c849c7ff626b2927d73c2ccc724a4cca":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(40, 116, 166)","text-align":2},"324e25b70f30a3a35e0a91a80b8e8b64":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"e4fcb63c7108732c010118148924f1ca":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"0404736ef7e731007c1bf60e4236a94c":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"12c8f64b3cd0683238278aac5a38a662":{"border-top-width":2,"border-top-color":[128,128,128,1],"background-color":"#ebedef"},"3736221b6320a5ed99534cefdf10ef9b":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"d9b7e78fd60149a6ba819365564c46b8":{"font-family":"黑体"},"3c7d0af7ca5f205a2cb63cda86ace448":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"3749828a2f4e560e94e519058d334bd0":{"border-left-width":2,"border-left-color":[128,128,128,1]},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"5e4df84994cee3dc53009c98b95703cf":{"border-top-width":2,"border-top-color":[128,128,128,1]},"e337025cbd00a114725be81004634326":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"1662c5b4a5db1a205a4a9d704d38634d":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12"},"bb012c33ecb2845ece585994c0e3564d":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"750ea2a3aabcb7e9bc364ad4445ac677":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"font-size":12},"652a9bb10ae74098666f8b721be66a0e":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":12},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"3d443b00663becf58198a5d1a8509b21":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"48c15333cdfb8c2ede62c6ee26cdecdd":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"0067d6ecee987d1282b3c4d5f421b3c0":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","text-align":2},"c2ccd111c68253e305603e4b64d48d28":{"background-color":"rgb(46, 134, 193)"},"83bb42f26e5bef7d1f678b741e88f6dc":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-size":"12","text-align":2},"78bfda07e360a36e01e49e66d6a5c877":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"#f2f4f4","font-size":"12","text-align":2},"05a790468a56042443cc662cafa0e634":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-color":[128,128,128,1],"background-color":"#f2f4f4","font-size":"12","text-align":2,"vertical-align":1},"c2dd216fd468ffe314c0a257253c8809":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-size":"12","color":"rgb(25, 111, 61)","text-align":2},"5d784b6ccfe3fa37bff715c149b76091":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","word-wrap":true,"text-align":0},"b39c6f133af40e52c7ebe4cdac23bbaf":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-family":"黑体","font-size":"12","text-align":2},"0afca7f426f7d10ab3f197e7e1c6f1aa":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(25, 111, 61)","text-align":2},"806fea0805342d08ba024387ba473468":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"text-align":2}},"propertyIdList":["b3f11927403750ad41af93752148e509","854bc2c21bbbb631ed9056ba9ef218db","3e824c86b66344de0d8b546937f4cbf2","99914b932bd37a50b983c5e7c90ae93b","be64caef07159566df8795b22e17d845","d40439625fae1006a802f59daeb608c1","9e88079a54ad188cac6846f15c2fc42d","7207fd81a5f61d7975bce68c6cd3d6d9","c6b833700f21dfb69360b9d75ad8c619","7f973ca9852913d1d137e4bafe0bf62c","a6827ea44c8f901a1e03738c37b4bd1b","ee5723836a4b5b5bf5ee0b0cfc22918c","f59dcabe69ca3218ba0d1a06ddfbb4b3","b3de616a54b5cf0c276e9db14a7998b2","c849c7ff626b2927d73c2ccc724a4cca","324e25b70f30a3a35e0a91a80b8e8b64","e4fcb63c7108732c010118148924f1ca","0404736ef7e731007c1bf60e4236a94c","12c8f64b3cd0683238278aac5a38a662","3736221b6320a5ed99534cefdf10ef9b","d9b7e78fd60149a6ba819365564c46b8","3c7d0af7ca5f205a2cb63cda86ace448","3749828a2f4e560e94e519058d334bd0","125018f3eef635c9d10037c06e4a0236","5e4df84994cee3dc53009c98b95703cf","e337025cbd00a114725be81004634326","1662c5b4a5db1a205a4a9d704d38634d","bb012c33ecb2845ece585994c0e3564d","750ea2a3aabcb7e9bc364ad4445ac677","652a9bb10ae74098666f8b721be66a0e","20118c09fa9c7e8fb2753e163d4f4c03","fc406aa51250ead084dba7e6ed9e7117","3d443b00663becf58198a5d1a8509b21","48c15333cdfb8c2ede62c6ee26cdecdd","0067d6ecee987d1282b3c4d5f421b3c0","c2ccd111c68253e305603e4b64d48d28","83bb42f26e5bef7d1f678b741e88f6dc","78bfda07e360a36e01e49e66d6a5c877","05a790468a56042443cc662cafa0e634","c2dd216fd468ffe314c0a257253c8809","5d784b6ccfe3fa37bff715c149b76091","b39c6f133af40e52c7ebe4cdac23bbaf","0afca7f426f7d10ab3f197e7e1c6f1aa","806fea0805342d08ba024387ba473468"]}


id: 6183205499328c3820c0c8fd
pid: 6183205499328c3820c0c8d9
name: uniqueindexinfo
code: 60c5615f5db2e8eff0d867f520211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/uniqueindexinfo
nodetype: column
createdate: 2021.06.13 09:37:57.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c5615f5db2e8eff0d867f520211104075044


id: 6183205499328c3820c0c901
pid: 6183205499328c3820c0c8d9
name: updatedisabledcolumns
code: 60c5615f5db2e8eff0d867e320211104075044
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044/updatedisabledcolumns
nodetype: column
value: ["dzpz_pz.selected"]
createdate: 2021.06.13 09:37:40.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a111820211104075044.60c5615f5db2e8eff0d867e320211104075044


id: 618464b6993236a4844f9f62
pid: 618464b6993236a4844f9f61
name: ui
code: 618464b6993236a4844f9f62
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/ui
nodetype: column
createdate: 2021.11.05 06:54:47.000
lastmodifieddate: 2024.09.18 14:40:59.536
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b6993236a4844f9f62

value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":9,"columnCount":9,"guid":"fa05f5ab8291c1304cf02c67c8362c99","name":"Sheet1","gridLineVisible":true,"freezedRow":-1,"freezedCol":-1,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":36,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":1,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":40,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":40,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":40,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":6,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"define":"凭证调阅申请","rowSpan":1,"colSpan":8,"PI":0},{"row":0,"col":8},{"row":1,"col":0},{"row":1,"col":1},{"row":1,"col":2,"define":"=\"【凭证调阅申请】- \"+dzpz_dy.reader+\" - \"+dzpz_dy.billno","cellValueType":3,"rowSpan":1,"colSpan":6,"PI":1,"bind":{"dataSource":"dzpz_dy","DBCol":"flow_instance_subject","dsType":1}},{"row":1,"col":8},{"row":2,"col":0,"PI":2},{"row":2,"col":1,"PI":2},{"row":2,"col":2,"PI":2},{"row":2,"col":3,"PI":2},{"row":2,"col":4,"PI":2},{"row":2,"col":5,"PI":2},{"row":2,"col":6,"PI":2},{"row":2,"col":7,"PI":2},{"row":2,"col":8},{"row":3,"col":0,"PI":3},{"row":3,"col":1,"PI":3},{"row":3,"col":2,"PI":4},{"row":3,"col":3,"cellValueType":3,"PI":3},{"row":3,"col":4,"PI":2},{"row":3,"col":5,"PI":2},{"row":3,"col":6,"PI":2},{"row":3,"col":7,"PI":2},{"row":3,"col":8},{"row":4,"col":0,"define":"起草日期","PI":5},{"row":4,"col":1,"cellValueType":4,"PI":6,"bind":{"dataSource":"dzpz_dy","DBCol":"billdate","dsType":1},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":4,"col":2,"define":"起草人","PI":5},{"row":4,"col":3,"cellValueType":3,"PI":6,"bind":{"dataSource":"dzpz_dy","DBCol":"username","dsType":1}},{"row":4,"col":4,"define":"*调 阅 人","PI":7},{"row":4,"col":5,"appData":{},"cellValueType":3,"placeholder":"XX课题组/XX老师","PI":8,"bind":{"dataSource":"dzpz_dy","DBCol":"reader","dsType":1}},{"row":4,"col":6,"define":"*审批人","PI":7},{"row":4,"col":7,"appData":{},"cellValueType":1,"placeholder":"请选择审批人","PI":9,"bind":{"dataSource":"dzpz_dy","DBCol":"leaderid","dsType":1},"editstyle":{"editType":4,"ddlbName":"userid2usershowname","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":4,"col":8},{"row":5,"col":0,"define":"账套名称","PI":5},{"row":5,"col":1,"define":"00","cellValueType":3,"rowSpan":1,"colSpan":3,"PI":10,"bind":{"dataSource":"dzpz_dy","DBCol":"corpid","dsType":1},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":5,"col":4,"define":"*调阅理由","PI":7},{"row":5,"col":5,"appData":{},"cellValueType":3,"rowSpan":1,"colSpan":3,"placeholderOnlyViewWhenEditing":false,"PI":11,"bind":{"dataSource":"dzpz_dy","DBCol":"summary","dsType":1},"editstyle":{"editType":2}},{"row":5,"col":8},{"row":6,"col":0,"define":"水印内容","PI":5},{"row":6,"col":1,"define":"=reader+ formatDate( billdate , 'yyyy.MM.dd')+\"调阅\"","cellValueType":3,"rowSpan":1,"colSpan":7,"PI":12,"bind":{"dataSource":"dzpz_dy","DBCol":"watermark","dsType":1},"editstyle":{"editType":0,"inputAttribute":""}},{"row":6,"col":8}]}],"propertyCache":{"d1f8d61c58b8fbc49280ee0564534953":{"font-size":"20","text-align":2},"14c9439c29188eb5bc7e4e644319d342":{"text-align":1,"vertical-align":1},"99914b932bd37a50b983c5e7c90ae93b":{},"b37698a1acc4061ae4f1071e7fde1805":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1]},"013e7405ab2b1be142a61e6b56a40377":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"text-align":1},"d1d5cd74bd7d72ad09cd32010273c27c":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"text-align":2},"d6f414bb25fa94135b34f300aab16a14":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"color":"#1a00ff","text-align":2},"80bae8d703a82e8360d9ad6381cafef5":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"color":"#ff0000","text-align":2},"3c10942cfb2a8ac6ed086a72ef296591":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"color":"#1a00ff"},"2663668aac9d2fe0a723843a735158b9":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"color":"#0f00ff","text-align":2},"ba9dd63377c5516282532b0c2c33e4d7":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"color":"#0f00ff"},"40e13fb6199a2567277a9ec60533a463":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"word-wrap":true,"color":"#0f00ff"},"cf527a19dd5826bdd59d5a1daeeb9ae6":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"color":"#0f00ff"}},"propertyIdList":["d1f8d61c58b8fbc49280ee0564534953","14c9439c29188eb5bc7e4e644319d342","99914b932bd37a50b983c5e7c90ae93b","b37698a1acc4061ae4f1071e7fde1805","013e7405ab2b1be142a61e6b56a40377","d1d5cd74bd7d72ad09cd32010273c27c","d6f414bb25fa94135b34f300aab16a14","80bae8d703a82e8360d9ad6381cafef5","3c10942cfb2a8ac6ed086a72ef296591","2663668aac9d2fe0a723843a735158b9","ba9dd63377c5516282532b0c2c33e4d7","40e13fb6199a2567277a9ec60533a463","cf527a19dd5826bdd59d5a1daeeb9ae6"]}


id: 618464b6993236a4844f9f63
pid: 618464b6993236a4844f9f61
name: rightcheckpoint
code: 618464b6993236a4844f9f63
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/rightcheckpoint
nodetype: column
value: {}
createdate: 2021.11.05 06:54:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b6993236a4844f9f63


id: 618464b6993236a4844f9f64
pid: 618464b6993236a4844f9f61
name: db
code: 618464b6993236a4844f9f64
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/db
nodetype: column
createdate: 2021.11.05 06:54:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b6993236a4844f9f64

value:
[{"name":"dzpz_dy","label":"凭证调阅","type":"query","dbpool":"default","description":"","multirow":false,"updatedtable":"","sql":"select * from dzpz_dy","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","primarykey":"","autoretrieve":false,"table_query_id":"618464b6993236a4844f9f71","column":[{"name":"attachmentcount","label":"附件个数","description":"上传的附件个数","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"制单日期","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"单据打印次数","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(32)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":""},{"name":"flow_assignee_list","label":"流程参与人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_endtime","label":"流程实例结束时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_id","label":"流程实例ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_starttime","label":"流程实例开始时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_state","label":"流程实例执行状态:0执行中1结束","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_status","label":"流程实例执行状态描述","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_subject","label":"流程主题(用于提醒信息)","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id","label":"当前流程定义ID","description":"流程起草后，可能会升级，本字段记录当前执行的流程的版本ID","type":"varchar(80)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id_0","label":"起草时的流程定义ID","description":"记录起草时的流程ID","type":"varchar(80)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"ID","type":"varchar(40)","nullable":false,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"leaderid","label":"审批人","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"needwatermark","label":"需要打水印吗","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"单据打开使用的地址","type":"varchar(300)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"reader","label":"调阅人","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"调阅原因","description":"备注","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"制单人ID","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"制单人","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"审核日期","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"审核人ID","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"审核人","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"watermark","label":"水印","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"zipresult","label":"打包结果","description":"","type":"varchar(715827882)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ziptaskid","label":" 压缩任务的ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[]}]


id: 618464b6993236a4844f9f65
pid: 618464b6993236a4844f9f61
name: script
code: 618464b6993236a4844f9f65
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/script
nodetype: column
createdate: 2021.11.05 06:54:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b6993236a4844f9f65


id: 618464b6993236a4844f9f66
pid: 618464b6993236a4844f9f61
name: description
code: 618464b6993236a4844f9f66
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/description
nodetype: column
createdate: 2021.11.05 06:54:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b6993236a4844f9f66


id: 618464b6993236a4844f9f67
pid: 618464b6993236a4844f9f61
name: dbdescription
code: 618464b6993236a4844f9f67
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/dbdescription
nodetype: column
createdate: 2021.11.05 06:54:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b6993236a4844f9f67


id: 618464b8993236a4844fa0b1
pid: 618464b6993236a4844f9f61
name: updatedisabledcolumns
code: 618464b8993236a4844fa0b1
namepath: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单
codepath: 618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61
fullname: /打印格式/影像调阅查询/凭证影像调阅/调阅申请单/updatedisabledcolumns
nodetype: column
value: []
createdate: 2021.11.05 06:54:49.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
618464b6993236a4844f9f5e.618464b6993236a4844f9f5f.618464b6993236a4844f9f60.618464b6993236a4844f9f61.618464b8993236a4844fa0b1


id: 619a5454993208680e522973
pid: 60c4bd735db2478f9c5a1117
name: 凭证审核clone20211104075044clone20211121221444
code: 60c4bd735db2478f9c5a11182021110407504420211121221444
namepath: /凭证影像化/凭证审核
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
nodetype: leaf
createdate: 2021.06.12 22:00:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444


id: 619a5454993208680e522977
pid: 619a5454993208680e522973
name: csp_script_src
code: 60c5615f5db2e8eff0d867f72021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/csp_script_src
nodetype: column
createdate: 2021.06.13 09:37:58.000
lastmodifieddate: 2024.09.18 14:40:59.537
codepath:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444

fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c5615f5db2e8eff0d867f72021110407504420211121221444


id: 619a5454993208680e52297b
pid: 619a5454993208680e522973
name: db
code: 60c4bd735db2478f9c5a111b2021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/db
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.537
codepath:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444

fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c4bd735db2478f9c5a111b2021110407504420211121221444

value:
[{"name":"dzpz_pz","label":"凭证","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"dzpz_pz","sql":"select\n  a.corpid,\n  b.*,\n  c.id as img_id,\n  c.pz,\n  c.fj,\n  ifnull(c.pz, 0) + ifnull(c.fj, 0) as img_sl,\n  case when c.verifierid is not null then 1 else 0 end as is_verified\nfrom\n  pzdj a\n  inner join pzdjex b on a.gguid = b.gguid\n  left join dzpz_pz c on a.corpid = c.corpid\n  and b.pzh = c.pzh\norder by\n  a.corpid asc,\n  b.y asc,\n  b.m asc,\n  b.pzh asc","dynamicwhere":"","dynamicwhere2":"\"a.corpid='\"+ st_corpid+\"' \"\n\"b.y='\"+st_y+\"'\"\n\"b.m='\"+st_m+\"'\"\n\"b.code='\"+st_code+\"'\"\n\"b.pzh like '%\"+st_pzh+\"%'\"\niif( shzt==1, \" c.verifierid is not null\" , iif ( shzt==2, \"c.verifierid is null \", \"\"))\n\"b.\"+st_key1+\" like '%\"+st_value1+\"%'\"\n\"b.\"+st_key2+\" like '%\"+st_value2+\"%'\"\n\"b.pzrq >='\"+st_date1+\"'\"\n\"b.pzrq <'\"+date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+\"'\"","dynamicwheredata2":"st_corpid:filter!st_corpid\nst_y:filter!st_y\nst_m:filter!st_m\nst_code:filter!st_code\nst_pzh:filter!st_pzh\nshzt:filter!shzt\nst_key1:filter!st_key1\nst_value1:filter!st_value1\nst_key2:filter!st_key2\nst_value2:filter!st_value2\nst_date1:date2yyyymmdd(filter!st_date1)\nst_date2:date2yyyymmdd(filter!st_date2)","primarykey":"id","autoretrieve":true,"table_query_id":"619a5454993208680e5229a1","column":[{"name":"kmdm","label":"科目代码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"zdr","label":"制单人","description":"","type":"varchar(30)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ykzcmxmc","label":"预会支出明细名称","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ykzcmxdm","label":"预会支出明细编码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"y","label":"年度","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"rkdh","label":"入库单号","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzrq","label":"凭证日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(20)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzdjex_corpid","label":"帐套ID","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pz","label":"凭证的图片数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"posted","label":"是否已过账（是/否）","description":"","type":"varchar(4)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"m","label":"月份","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"kmmc","label":"科目名称","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"bz","label":"备注","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"is_verified","label":"is_verified","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"inner_xh","label":"序号","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"img_sl","label":"影像数量","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"img_id","label":"ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"fj","label":"附件的图片数","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"帐套ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"code","label":"核算账号编码","description":"","type":"varchar(20)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ckzcmxmc","label":"财会支出明细名称","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ckzcmxdm","label":"财会支出明细编码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_xh","label":"","expression":"thisrow()+1","description":"","fillback":""}]}]


id: 619a5454993208680e52297f
pid: 619a5454993208680e522973
name: description
code: 60c4bd735db2478f9c5a111d2021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/description
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c4bd735db2478f9c5a111d2021110407504420211121221444


id: 619a5454993208680e522983
pid: 619a5454993208680e522973
name: functionGroup
code: 60c5615f5db2e8eff0d867f62021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/functionGroup
nodetype: column
createdate: 2021.06.13 09:37:58.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c5615f5db2e8eff0d867f62021110407504420211121221444


id: 619a5454993208680e522987
pid: 619a5454993208680e522973
name: rightcheckpoint
code: 60c4bd735db2478f9c5a111a2021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/rightcheckpoint
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c4bd735db2478f9c5a111a2021110407504420211121221444

value:
{"b83a18372d1e0c552da51ecc990e916a":{"name":"filter","buttonClick":[{"name":"cb_retrieve","title":" 检索"}]}}


id: 619a5454993208680e52298b
pid: 619a5454993208680e522973
name: script
code: 60c4bd735db2478f9c5a111c2021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/script
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c4bd735db2478f9c5a111c2021110407504420211121221444

value:
var pzh_prefix;
var pzh_length;

var fullScreenDiv = null;



function formOpen() {
    book.showTabOnWhere = 'none';
    //加载帐套信息及年月
    var corpid = book.getWorkSheet("filter").cells("corpid").getValueString();
    runTask("当前记帐期", { corpid: corpid }, function (ym) {
        if (ym == null || ym == 'null') return;
        //得到年月后，获取凭证号相关设置
        pzh_len = getPZHLen(corpid);

        book.getWorkSheet("filter").cells("ym").setValue(ym);

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.getWorkSheet("filter").cells("pzh_prefix").setValue(pzh_prefix);


    });

    // 追加一些CSS类 ，用于凭证号标记
    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:12px;text-align:center;}
                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; 
                                    vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
                    `);


}



/**
 * 多行结果集当前焦点行发生变化
 * @param dsname  结果集名称
 * @param row  行号
 */
function currentBindRowChanged(dsname, row) {
    if (dsname == 'dzpz_pz') {
        //重新加载凭证图片列表

        let id = $dzpz_pz_ds.getString(row, "img_id");
        let pzh = $dzpz_pz_ds.getString(row, "pzh");
        loadPZ(pzh, id);

    }
}

/**
 * 单元格的值发生了改变
 * @param sheet  所在的工作表
 * @param cell  单元格对象
 * @param oldValue  原先的值
 * @param newValue 变化后的值
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChanged(sheet, cell, oldValue, newValue, innerRow) {

    //如果是绑定了数据库的，强烈不建议使用本事件，换用结果集变化事件 itemChanged

    //通过别名来判断
    if (cell.alias == 'ym') {
        var corpid = book.getWorkSheet("filter").cells("corpid").getValueString();
        var ym = book.getWorkSheet("filter").cells("ym").getValue();

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.getWorkSheet("filter").cells("pzh_prefix").setValue(pzh_prefix);
    }




}

function loadPZ(pzh, id) {
    let data = getPZFJ(id); //得到凭证的所有图片
    let FJ = book.getWorkSheet("凭证详情").getBrick('FJ');
    FJ.buildGridly(data, function () {
        let shortPZH = pzh;//.substring(pzh_prefix.length);
        //加载图片完成后， 如果是凭证，那么加上凭证号信息
        for (let i = 0; i < data.length; i++) {
            if (data[i].groupname == '凭证') {
                setPZH(data[i].id, shortPZH, false);
            }
        }

    });
    book.getWorkSheet("凭证详情").yOffset = 0; //垂直卷滚条归位
}


//@comment (group=凭证号,caption=设置图片的凭证号,needRightControl=false)
function setPZH(id, pzh, needDeleteButton) {
    if (needDeleteButton == undefined) needDeleteButton = true
    find_pzh(id, true, needDeleteButton).find('.no').text(pzh);
}

//@comment (group=凭证号,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists, needDeleteButton) {

    if (needDeleteButton == undefined) needDeleteButton = true;

    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" >
                        <div class="no"></div>
                        <div class="delete_pzh"  ${needDeleteButton ? "" : " style='display:none' "} ><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div>
                      </div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}



/**
 * 单元格单击事件
 * @param sheet
 * @param cell
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行被点击
 * @param event 事件对象
 */
//@comment (group=单元格事件,caption=单元格点击)
function cellOnClick(sheet, cell, innerRow, event) {

    //通过别名来判断
    if (cell.alias == 'XXX') {

    }

    //通过数据库绑定情况来判断
    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'dzpz_pz') {

    }

}

//@comment (group=工具函数,caption=全选或取消全选)
function seletOrUnSelectAll() {
    //让selection单元格失去编辑焦点，不然再点击，它不会触发单元格的点击事件，因为此时点击的编辑框对象，不会触发单元格的点击
    book.getWorkSheet("list").View.forceCurrentEditControlGiveUpFocus();

    var v = book.getWorkSheet("list").cells('selection').getValueInt();

    book.getWorkSheet("list").paintPermit = false;
    $dzpz_pz_ds.setValueWithTrigger = false;
    for (var i = 0; i < $dzpz_pz_ds.rowCount; i++) {
        $dzpz_pz_ds.setValue(i, "selected", v);
    }
    $dzpz_pz_ds.setValueWithTrigger = true;
    book.getWorkSheet("list").paintPermit = true;
}





/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet, name, data) {


    if (name == "FJ") {
        
        let brick = sheet.getBrick(name);
        brick.addToolButton(1  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-print",   // 字符图标
            "打印图片",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数
                imagePrint(brick, id);

            }
        );


    }
}


function imagePrint(brick, id) {

    if ( ! isRoleGrantedToUser( currentUserId(), "凭证影像打印") ) 
    {
        toastr.error('抱歉，您无此权限');
        return;
    }

    //把数据中的图片替换，
    for (let i = 0; i < brick.data.length; i++) {
        if (brick.data[i].id == id) {
            //属性从新的属性中替换 
            let url = brick.data[i].url_img;
            printThisWindow(url);
            break;
        }
    }

}

function printThisWindow(imgSrc) {
    let iframe = document.createElement('IFRAME')
    let doc = null
    iframe.setAttribute('class', 'print-iframe')
    iframe.setAttribute('style', 'position:absolute;width:0px;height:0px;left:-500px;top:-500px;')
    document.body.appendChild(iframe)
    doc = iframe.contentWindow.document
    // 取一个不重复的方法名称，可以随机字符串
    doc.___imageLoad___ = function () {
        iframe.contentWindow.print()
        if (navigator.userAgent.indexOf('MSIE') > 0) {
            document.body.removeChild(iframe)
        }
    }
    doc.write('<div style="height: 100%;width: 100%;">' + `<img src="${imgSrc}" style="max-height:100%;max-width: 100%;" onload="___imageLoad___()"/>` + '</div>')
    doc.close()
    iframe.contentWindow.focus()
}

/**
 * 图片控件中显示大图时添加水印图片
 * @param sheet   所在Sheet
 * @param name  图片控件的名称

 * @return  返回水印图片的url地址 ，如果返回  '' 则表示不添加水印图片
 */
//@comment (group=图片控件,caption=鼠标在某个图片上释放)
function imageOnPopupWithWatermark(sheet, name) {

    var info = currentUserShowName() + "" + formatDate(new Date(), "yyyy.MM.dd-HH:mm");

    return "watermark?watermark=" + info;

}


id: 619a5454993208680e522993
pid: 619a5454993208680e522973
name: ui
code: 60c4bd735db2478f9c5a11192021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/ui
nodetype: column
createdate: 2021.06.12 22:00:47.000
lastmodifieddate: 2024.09.18 14:40:59.537
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c4bd735db2478f9c5a11192021110407504420211121221444

value:
{"version":"1.0","sheetcount":4,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":13,"columnCount":11,"guid":"08e66c0e81c8327bad541d11a7b5751f","name":"main","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":22,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":100,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":45,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":9,"height":138,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":10,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":11,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":12,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":3,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":600,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":80,"rowHeightAutoFit":false},{"index":5,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":7,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":9,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1},{"row":0,"col":2},{"row":0,"col":3},{"row":0,"col":4},{"row":0,"col":5},{"row":0,"col":6},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":1,"col":0},{"row":1,"col":1,"PI":0},{"row":1,"col":2,"define":"凭证影像查询 - 凭证资料库","rowSpan":1,"colSpan":3,"PI":1},{"row":1,"col":5},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":3,"col":0,"PI":2},{"row":3,"col":1,"PI":2},{"row":3,"col":2,"PI":2},{"row":3,"col":3,"PI":2},{"row":3,"col":4,"PI":2},{"row":3,"col":5,"PI":2},{"row":3,"col":6,"PI":2},{"row":3,"col":7,"PI":2},{"row":3,"col":8,"PI":2},{"row":3,"col":9,"PI":2},{"row":3,"col":10,"PI":2},{"row":4,"col":0,"PI":2},{"row":4,"col":1,"PI":2},{"row":4,"col":2,"PI":2},{"row":4,"col":3,"rowSpan":1,"colSpan":6,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"b83a18372d1e0c552da51ecc990e916a","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-ac09ae11db92798fb2c35875b835acc9"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":4,"col":9,"PI":3},{"row":4,"col":10,"PI":2},{"row":5,"col":0,"PI":2},{"row":5,"col":1,"PI":2},{"row":5,"col":2,"PI":2},{"row":5,"col":3,"PI":2},{"row":5,"col":4,"PI":2},{"row":5,"col":5,"PI":4},{"row":5,"col":6,"PI":4},{"row":5,"col":7,"PI":4},{"row":5,"col":8,"PI":4},{"row":5,"col":9,"PI":2},{"row":5,"col":10,"PI":4},{"row":6,"col":0,"PI":2},{"row":6,"col":1,"PI":2},{"row":6,"col":2,"PI":2},{"row":6,"col":3,"rowSpan":4,"colSpan":2,"PI":5,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"192dd2dd59913157df6b1620fb10e4b5","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-8d6246bfa534954576c43166719e33ad"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":6,"col":5,"PI":6},{"row":6,"col":6,"cellValueType":3,"PI":7},{"row":6,"col":7,"PI":7},{"row":6,"col":8,"PI":8},{"row":6,"col":9,"PI":9},{"row":6,"col":10,"PI":10},{"row":7,"col":0,"PI":2},{"row":7,"col":1,"PI":2},{"row":7,"col":2,"PI":2},{"row":7,"col":5,"define":"凭证号：","PI":11},{"row":7,"col":6,"cellValueType":3,"rowSpan":1,"colSpan":3,"PI":12,"bind":{"dataSource":"dzpz_pz","DBCol":"pzh","dsType":"4"}},{"row":7,"col":9},{"row":7,"col":10,"PI":2},{"row":8,"col":0,"PI":2},{"row":8,"col":1,"PI":2},{"row":8,"col":2,"PI":2},{"row":8,"col":5,"define":"凭证：","PI":11},{"row":8,"col":6,"suffix":"张","cellValueType":1,"PI":13,"bind":{"dataSource":"dzpz_pz","DBCol":"pz","dsType":"4"}},{"row":8,"col":7,"define":"附件：","PI":11},{"row":8,"col":8,"suffix":"张","cellValueType":1,"PI":14,"bind":{"dataSource":"dzpz_pz","DBCol":"fj","dsType":"4"}},{"row":8,"col":9,"PI":5},{"row":8,"col":10,"PI":15},{"row":9,"col":0,"PI":2},{"row":9,"col":1,"PI":2},{"row":9,"col":2,"PI":2},{"row":9,"col":5,"rowSpan":2,"colSpan":4,"PI":16,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"beed53ada49f7fd9efab3a92ceec68b4","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-dddfcb82f42872a14256e95bb3b35a68"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":9,"col":9,"PI":5},{"row":9,"col":10,"PI":17},{"row":10,"col":0,"PI":2},{"row":10,"col":1,"PI":2},{"row":10,"col":2,"PI":2},{"row":10,"col":3,"rowSpan":1,"colSpan":2,"bricks":[{"type":"dbpage","name":"dbnav","config":{"name":"dbnav","caption":"分页导航条","enable":true,"visible":true,"showDBRowCount":true,"x":1,"y":1,"width":-1,"height":-1,"align":"center","onceRetrieveRowCount":"100","countPerPagePermitToChange":true,"dsn":"dzpz_pz","DOMName":"dbnav-ec7169d9104c99e37d520445b46b3e4d","html":" \n                   <style>\n                   .workbook_db_tool_button {border-radius: 50%; min-width:24px; width:24px; height:24px; padding:0px;margin-right:5px;}\n                   .workbook_db_tool_noborder { border:0px solid #fff; background-color:transparent;}\n                   </style>     \n                   \n        \n                <div  class=\"   \"  id=\"dbnav-ec7169d9104c99e37d520445b46b3e4d\"  \n                       unselectable=\"on\" onselectstart=\"return false;\"\n                       style=\" padding:2px;min-width:24px; padding-right:8px;padding-left:8px;  text-align:center;\">\n                        \n                       <span class=\"group1\" style=\"display:none;\"><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page1 workbook_db_tool_button\" >1</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page2 workbook_db_tool_button\" >2</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page3 workbook_db_tool_button\" >3</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page4 workbook_db_tool_button\" >4</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page5 workbook_db_tool_button\" >5</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page6 workbook_db_tool_button\" >6</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page7 workbook_db_tool_button\" >7</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page8 workbook_db_tool_button\" >8</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page9 workbook_db_tool_button\" >9</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page10 workbook_db_tool_button\" >10</button>\n                       </span><span class=\"group2\">\n                        <button type=\"button\"   class=\"btn   btn-xs btn-default cb_First workbook_db_tool_button\" >\n                        <i class=\"fa fa-step-backward\"></i></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Prior workbook_db_tool_button\" >\n                        <i class=\"fa fa-chevron-left\"></i></button><button type=\"button\"   \n                                class=\"btn btn-alt btn-xs btn-default  workbook_db_tool_noborder \" ><span style=\"display:inline-block\">\n                        <input type=\"tel\"  class=\"pageIndex btn btn-alt btn-xs \" \n                               style=\"width:50px;height:24px; line-height:24px ; border-radius:12px; border:1px dotted #efefef;\"> /\n                        <span class=\"pageCountOfDataSource\"></span></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Next workbook_db_tool_button\" >\n                        <i class=\"fa fa-chevron-right\"></i></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Last workbook_db_tool_button\" >\n                        <i class=\"fa fa-step-forward\"></i></button></span><span \n                         unselectable=\"on\" onselectstart=\"return false;\" style=\"padding-left:10px; display:inline-block\"  \n                               class=\"countPerPageContainer\">每页<input type=\"tel\"   class=\"countPerPage btn btn-alt btn-default\"  \n                                value=\"100\" \n                                style=\"width:65px;height:24px; line-height:24px;border-radius: 12px; \"\n                                 \n                                >行</span>\n                        </span>\n                        <span class=\"dbRowCountContainer\" >&nbsp;&nbsp;共<span class=\"dbrowcount\"></span>行\n                </div>\n            \n            "},"x":0,"y":0,"width":0,"height":0}]},{"row":10,"col":9,"PI":3},{"row":10,"col":10,"PI":18},{"row":11,"col":0,"PI":2},{"row":11,"col":1,"PI":2},{"row":11,"col":2,"PI":2},{"row":11,"col":3},{"row":11,"col":4},{"row":11,"col":5},{"row":11,"col":6},{"row":11,"col":7},{"row":11,"col":8},{"row":11,"col":9},{"row":11,"col":10,"PI":2},{"row":12,"col":0,"PI":2},{"row":12,"col":1,"PI":2},{"row":12,"col":2,"PI":2},{"row":12,"col":3,"PI":2},{"row":12,"col":4,"PI":2},{"row":12,"col":5,"PI":2},{"row":12,"col":6,"PI":2},{"row":12,"col":7,"PI":2},{"row":12,"col":8,"PI":2},{"row":12,"col":9,"PI":2},{"row":12,"col":10,"PI":2}]},{"index":1,"rowCount":7,"columnCount":16,"guid":"b83a18372d1e0c552da51ecc990e916a","name":"filter","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":22,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":5,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":5,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":5,"isColumnScrollEnabled":true,"stretchHeight":10}],"columns":[{"index":0,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":95,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":95,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":45,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":55,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":95,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":87,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":120,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":89,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":13,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":14,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":15,"width":1,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1},{"row":0,"col":2},{"row":0,"col":3},{"row":0,"col":4},{"row":0,"col":5},{"row":0,"col":6},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":0,"col":11},{"row":0,"col":12},{"row":0,"col":13},{"row":0,"col":14},{"row":0,"col":15},{"row":1,"col":0},{"row":1,"col":1,"define":"筛选条件","PI":19},{"row":1,"col":2},{"row":1,"col":3},{"row":1,"col":4},{"row":1,"col":5},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":1,"col":11},{"row":1,"col":12},{"row":1,"col":13},{"row":1,"col":14,"PI":20},{"row":1,"col":15},{"row":2,"col":0},{"row":2,"col":1},{"row":2,"col":2},{"row":2,"col":3},{"row":2,"col":4},{"row":2,"col":5},{"row":2,"col":6},{"row":2,"col":7},{"row":2,"col":8},{"row":2,"col":9},{"row":2,"col":10},{"row":2,"col":11},{"row":2,"col":12},{"row":2,"col":13},{"row":2,"col":14},{"row":2,"col":15},{"row":3,"col":0,"PI":5},{"row":3,"col":1,"define":"* 帐  套：","PI":21},{"row":3,"col":2,"define":"00","editable":true,"rowSpan":1,"colSpan":2,"alias":"st_corpid","PI":22,"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":4,"define":"年度：","PI":23},{"row":3,"col":5,"editable":true,"appData":{"valueChangedToAutoCompleteType":"sql","valueChangedToAutoCompleteDBPool":"default","valueChangedToAutoCompleteQuery":"select distinct y\nfrom(\nselect distinct y from pzdjex \nunion\nselect distinct left(ym,4) as y from dzpz_pz\n) x\norder by y","valueChangedToAutoCompleteContext":"","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WPQTOYNHN2JM655OUKAU7ZADCWGJPC5FTSFSSOVTLQ4SLNZ5JGR7GQQJHDDFVCXYODNLMBTOSDQEM6DXZKTO2QXBCL3FLM4ZQ7DFMRNEP5CPN3IQHUTFO7MRNO5NBHREGMI4G6PNJQDO7F3AEDWMUVP6W4C2KWUPXWLOV5PI5YSRY6CXAC7XY"},"cellValueType":3,"alias":"st_y","PI":13},{"row":3,"col":6,"define":"code","cellValueType":3,"PI":24,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"code;核算单位编号：\npzh;凭证号：\nkmdm;会计科目代码：\nkmmc;会计科目名称：\nckzcmxdm;财会支出明细编码：\nckzcmxmc;财会支出明细名称：\nykzcmxdm;预会支出明细编码：\nykzcmxmc;预会支出明细名称：\nrkdh;入库单号：\nbz;摘要：\nzdr;凭证制单人：","showRealData":false,"columnCount":null}},{"row":3,"col":7,"editable":true,"appData":{"valueChangedToAutoCompleteType":"url","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WOMSXW4LTEGETLP242NIAOTXT6OGGWWA6L7STCQ5JOZR2MBQ3LBC6PZIWMPXZ255KM","valueChangedToAutoCompleteURL":"","valueChangedToAutoCompleteResultFunc":"","valueChangedToAutoCompleteParam":""},"cellValueType":3,"alias":"st_code","PI":22,"editstyle":{"editType":0,"inputAttribute":""}},{"row":3,"col":8,"define":"kmmc","editable":true,"cursorName":"hand","alias":"st_key1","PI":25,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"code;核算单位编号：\npzh;凭证号：\nkmdm;会计科目代码：\nkmmc;会计科目名称：\nckzcmxdm;财会支出明细编码：\nckzcmxmc;财会支出明细名称：\nykzcmxdm;预会支出明细编码：\nykzcmxmc;预会支出明细名称：\nrkdh;入库单号：\nbz;摘要：\nzdr;凭证制单人：","showRealData":false,"columnCount":null}},{"row":3,"col":9,"editable":true,"appData":{"valueChangedToAutoCompleteType":"url","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WOMSXW4LTEGETLP242NIAOTXT6OGGWWA6L7STCQ5JOZR2MBQ3LBC6PZIWMPXZ255KM","valueChangedToAutoCompleteURL":"","valueChangedToAutoCompleteResultFunc":"","valueChangedToAutoCompleteParam":""},"alias":"st_value1","PI":22,"editstyle":{"editType":0,"inputAttribute":""}},{"row":3,"col":10},{"row":3,"col":11,"define":"3","editable":true,"cellValueType":3,"rowSpan":3,"colSpan":1,"alias":"shzt","PI":26,"editstyle":{"editType":6,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"3;全部\n1;已校对\n2;未校对","showRealData":false,"columnCount":1}},{"row":3,"col":12},{"row":3,"col":13,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","x":5,"y":-30,"width":60,"height":30,"buttonStyle":"default","buttonColorStyle":"info","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"dzpz_pz","moreDataSource":"","cachefirst":true,"DOMName":"cb_retrieve-8f16198dee2921889e053b64657b74cf","html":" \n                <button class=\"btn  btn-info btn-xs\" \n                        id=\"cb_retrieve-8f16198dee2921889e053b64657b74cf\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":5,"y":-30,"width":60,"height":30}]},{"row":3,"col":14},{"row":3,"col":15,"PI":20},{"row":4,"col":0,"PI":27},{"row":4,"col":1,"PI":3},{"row":4,"col":2,"PI":28},{"row":4,"col":3,"PI":29},{"row":4,"col":4},{"row":4,"col":5},{"row":4,"col":6},{"row":4,"col":7},{"row":4,"col":8,"PI":30},{"row":4,"col":9,"PI":3},{"row":4,"col":10},{"row":4,"col":12},{"row":4,"col":13},{"row":4,"col":14},{"row":4,"col":15,"PI":3},{"row":5,"col":0,"PI":31},{"row":5,"col":1,"define":"凭证日期：","PI":32},{"row":5,"col":2,"editable":true,"cellValueType":4,"alias":"st_date1","PI":22,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":5,"col":3,"editable":true,"cellValueType":4,"alias":"st_date2","PI":22,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":5,"col":4,"define":"月份：","cellValueType":3,"PI":33},{"row":5,"col":5,"editable":true,"cellValueType":3,"alias":"st_m","PI":13,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12\n13","showRealData":false,"columnCount":null}},{"row":5,"col":6,"define":"凭 证 号：","cellValueType":3,"PI":24,"editstyle":{"editType":0,"inputAttribute":""}},{"row":5,"col":7,"editable":true,"appData":{"valueChangedToAutoCompleteType":"url","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WOMSXW4LTEGETLP242NIAOTXT6OGGWWA6L7STCQ5JOZR2MBQ3LBC6PZIWMPXZ255KM","valueChangedToAutoCompleteURL":"","valueChangedToAutoCompleteResultFunc":"","valueChangedToAutoCompleteParam":""},"cellValueType":3,"alias":"st_pzh","PI":22,"editstyle":{"editType":0,"inputAttribute":""}},{"row":5,"col":8,"define":"zdr","editable":true,"cursorName":"hand","cellValueType":3,"alias":"st_key2","PI":25,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"code;核算单位编号：\npzh;凭证号：\nkmdm;会计科目代码：\nkmmc;会计科目名称：\nckzcmxdm;财会支出明细编码：\nckzcmxmc;财会支出明细名称：\nykzcmxdm;预会支出明细编码：\nykzcmxmc;预会支出明细名称：\nrkdh;入库单号：\nbz;摘要：\nzdr;凭证制单人：","showRealData":false,"columnCount":null}},{"row":5,"col":9,"editable":true,"appData":{"valueChangedToAutoCompleteType":"url","valueChangedToAutoCompleteMaxCount":"20","valueChangedToAutoCompleteMinLen":"0","valueChangedToAutoCompleteCopyMap":"","valueChangedToAutoCompleteRender":"","valueChangedToAutoCompleteQuery_encrypted":"V2RICT7EAMKYZF4LUWOIWKJ2WOMSXW4LTEGETLP242NIAOTXT6OGGWWA6L7STCQ5JOZR2MBQ3LBC6PZIWMPXZ255KM","valueChangedToAutoCompleteURL":"","valueChangedToAutoCompleteResultFunc":"","valueChangedToAutoCompleteParam":""},"cellValueType":3,"alias":"st_value2","PI":22,"editstyle":{"editType":0,"inputAttribute":""}},{"row":5,"col":10},{"row":5,"col":12},{"row":5,"col":13},{"row":5,"col":14},{"row":5,"col":15,"PI":3},{"row":6,"col":0,"PI":30},{"row":6,"col":1,"PI":30},{"row":6,"col":2},{"row":6,"col":3},{"row":6,"col":4},{"row":6,"col":5},{"row":6,"col":6},{"row":6,"col":7},{"row":6,"col":8},{"row":6,"col":9},{"row":6,"col":10},{"row":6,"col":11},{"row":6,"col":12},{"row":6,"col":13},{"row":6,"col":14},{"row":6,"col":15,"PI":3}]},{"index":2,"rowCount":8,"columnCount":18,"guid":"192dd2dd59913157df6b1620fb10e4b5","name":"list","gridLineVisible":false,"freezedRow":5,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":27,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":3,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":4,"width":69,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":7,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":8,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":10,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":11,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":12,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":13,"width":85,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":14,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":15,"width":45,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":16,"width":45,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":17,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":1,"col":0},{"row":1,"col":1,"PI":34},{"row":1,"col":2,"define":"数据列表","rowSpan":1,"colSpan":2,"PI":19},{"row":1,"col":4},{"row":1,"col":5},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":1,"col":11},{"row":1,"col":12},{"row":1,"col":13},{"row":1,"col":14},{"row":1,"col":15},{"row":1,"col":16},{"row":1,"col":17},{"row":2,"col":0},{"row":2,"col":1},{"row":2,"col":2,"PI":29},{"row":2,"col":3,"PI":29},{"row":2,"col":4,"PI":29},{"row":2,"col":5,"PI":29},{"row":2,"col":6,"PI":29},{"row":2,"col":7,"PI":29},{"row":2,"col":8,"PI":29},{"row":2,"col":9,"PI":29},{"row":2,"col":10,"PI":29},{"row":2,"col":11,"PI":29},{"row":2,"col":12,"PI":29},{"row":2,"col":13,"PI":29},{"row":2,"col":14,"PI":29},{"row":2,"col":15,"PI":29},{"row":2,"col":16,"PI":29},{"row":2,"col":17},{"row":3,"col":0},{"row":3,"col":1,"PI":35},{"row":3,"col":2,"define":"序号","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":3,"define":"账套","dblClickSort":"dzpz_pz.corpid","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":4,"define":"凭证日期","dblClickSort":"dzpz_pz.pzrq","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":5,"define":"凭证号","dblClickSort":"dzpz_pz.pzh","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":6,"define":"会计科目名称","dblClickSort":"dzpz_pz.kmmc","rowSpan":2,"colSpan":1,"PI":37},{"row":3,"col":7,"define":"财会支出\\n明细编码","dblClickSort":"dzpz_pz.ckzcmxdm","rowSpan":2,"colSpan":1,"PI":37},{"row":3,"col":8,"define":"财会支出\\n明细名称","dblClickSort":"dzpz_pz.ckzcmxmc","rowSpan":2,"colSpan":1,"PI":37},{"row":3,"col":9,"define":"预会支出\\n明细编码","dblClickSort":"dzpz_pz.ckzcmxdm","rowSpan":2,"colSpan":1,"PI":37},{"row":3,"col":10,"define":"预会支出\\n明细名称","dblClickSort":"dzpz_pz.ykzcmxmc","rowSpan":2,"colSpan":1,"PI":37},{"row":3,"col":11,"define":"核算账号编号","dblClickSort":"dzpz_pz.code","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":12,"define":"入库单号","dblClickSort":"dzpz_pz.rkdh","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":13,"define":"摘要","dblClickSort":"dzpz_pz.bz","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":14,"define":"凭证制单","dblClickSort":"dzpz_pz.zdr","rowSpan":2,"colSpan":1,"PI":36},{"row":3,"col":15,"define":"影像\\n数量","dblClickSort":"dzpz_pz.img_sl","rowSpan":2,"colSpan":1,"PI":38},{"row":3,"col":16,"define":"状态","rowSpan":2,"colSpan":1,"PI":38},{"row":3,"col":17,"rowSpan":2,"colSpan":1,"PI":39},{"row":4,"col":0},{"row":4,"col":1,"PI":35},{"row":5,"col":0},{"row":5,"col":1,"PI":35},{"row":5,"col":2,"PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"c_xh","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":5,"col":3,"cellValueType":3,"PI":41,"bind":{"dataSource":"dzpz_pz","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-简称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":5,"col":4,"cellValueType":4,"PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"pzrq","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":5,"col":5,"cellValueType":3,"alias":"pzh","PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"pzh","dsType":2}},{"row":5,"col":6,"cellValueType":3,"PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"kmmc","dsType":2}},{"row":5,"col":7,"cellValueType":3,"PI":22,"bind":{"dataSource":"dzpz_pz","DBCol":"ckzcmxdm","dsType":2}},{"row":5,"col":8,"cellValueType":3,"PI":22,"bind":{"dataSource":"dzpz_pz","DBCol":"ckzcmxmc","dsType":2}},{"row":5,"col":9,"cellValueType":3,"PI":22,"bind":{"dataSource":"dzpz_pz","DBCol":"ykzcmxdm","dsType":2}},{"row":5,"col":10,"cellValueType":3,"PI":22,"bind":{"dataSource":"dzpz_pz","DBCol":"ykzcmxmc","dsType":2}},{"row":5,"col":11,"cellValueType":3,"PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"code","dsType":2}},{"row":5,"col":12,"cellValueType":3,"alias":"入库单号","PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"rkdh","dsType":2}},{"row":5,"col":13,"popoverContent":"=bz ","cellValueType":3,"alias":"bz","PI":42,"bind":{"dataSource":"dzpz_pz","DBCol":"bz","dsType":2}},{"row":5,"col":14,"cellValueType":3,"PI":40,"bind":{"dataSource":"dzpz_pz","DBCol":"zdr","dsType":2}},{"row":5,"col":15,"cellValueType":1,"alias":"img","PI":43,"bind":{"dataSource":"dzpz_pz","DBCol":"img_sl","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":16,"cellValueType":1,"alias":"is","PI":43,"bind":{"dataSource":"dzpz_pz","DBCol":"is_verified","dsType":2},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"1;已校对\n0;","showRealData":false,"columnCount":null}},{"row":5,"col":17,"PI":39},{"row":6,"col":0},{"row":6,"col":1,"PI":35},{"row":6,"col":2,"define":"合计","PI":44},{"row":6,"col":3,"rowSpan":1,"colSpan":12,"PI":45},{"row":6,"col":15,"define":"=sum(attachmentcount)","PI":44},{"row":6,"col":16,"PI":44},{"row":6,"col":17,"PI":39},{"row":7,"col":0},{"row":7,"col":1},{"row":7,"col":2,"PI":46},{"row":7,"col":3,"PI":46},{"row":7,"col":4,"PI":46},{"row":7,"col":5,"PI":46},{"row":7,"col":6,"PI":46},{"row":7,"col":7,"PI":46},{"row":7,"col":8,"PI":46},{"row":7,"col":9,"PI":46},{"row":7,"col":10,"PI":46},{"row":7,"col":11,"PI":46},{"row":7,"col":12,"PI":46},{"row":7,"col":13,"PI":46},{"row":7,"col":14,"PI":46},{"row":7,"col":15,"PI":46},{"row":7,"col":16,"PI":46},{"row":7,"col":17}]},{"index":3,"rowCount":2,"columnCount":2,"guid":"beed53ada49f7fd9efab3a92ceec68b4","name":"凭证详情","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":286,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":300,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":1,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":47,"bricks":[{"type":"uploadImage","name":"FJ","config":{"name":"FJ","action":"view","serverIndex":"1","serverIndexExpression":"=currentBillServerIndex()","dbpool":"default","logTable":"app_fileupload","blockSize":256,"imgMaxSize":1920,"cropWidth":0,"cropHeight":0,"columns":1,"maxCount":5,"groupName":"附件","tableName":"--","gguid":"--","path":"=currentMasterTableName()","showImageLabel":false,"showImageIndexNo":true,"autoLoad":false,"autoLoadFunction":"-","caption":"图片上传","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"FJ-121ff04018243b9f7c7affc1cd1c16f6","gutter":10,"homeURL":"","maxThumbnailSize":256,"rightMouseDownToViewLargeImage":true,"html":"<div><div id='FJ-121ff04018243b9f7c7affc1cd1c16f67eb49824bc861a6c18ce956477585972' style='width:100%;height:100%;background-color: transparent; pointer-events:none; '></div></div>"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":0,"col":1,"PI":9},{"row":1,"col":0,"PI":30},{"row":1,"col":1,"PI":5}]}],"propertyCache":{"b3f11927403750ad41af93752148e509":{"background-color":"rgb(40, 116, 166)"},"854bc2c21bbbb631ed9056ba9ef218db":{"font-family":"黑体","font-size":"16"},"3e824c86b66344de0d8b546937f4cbf2":{"background-color":"#ebedef"},"99914b932bd37a50b983c5e7c90ae93b":{},"be64caef07159566df8795b22e17d845":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"d40439625fae1006a802f59daeb608c1":{"border-right-width":2,"border-right-color":[128,128,128,1]},"9e88079a54ad188cac6846f15c2fc42d":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"7207fd81a5f61d7975bce68c6cd3d6d9":{"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"c6b833700f21dfb69360b9d75ad8c619":{"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"7f973ca9852913d1d137e4bafe0bf62c":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1]},"a6827ea44c8f901a1e03738c37b4bd1b":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"ee5723836a4b5b5bf5ee0b0cfc22918c":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","text-align":1},"f59dcabe69ca3218ba0d1a06ddfbb4b3":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(33, 97, 140)"},"b3de616a54b5cf0c276e9db14a7998b2":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(33, 97, 140)","text-align":2},"c849c7ff626b2927d73c2ccc724a4cca":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","color":"rgb(40, 116, 166)","text-align":2},"324e25b70f30a3a35e0a91a80b8e8b64":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"e4fcb63c7108732c010118148924f1ca":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"0404736ef7e731007c1bf60e4236a94c":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"background-color":"#ebedef"},"12c8f64b3cd0683238278aac5a38a662":{"border-top-width":2,"border-top-color":[128,128,128,1],"background-color":"#ebedef"},"d9b7e78fd60149a6ba819365564c46b8":{"font-family":"黑体"},"3749828a2f4e560e94e519058d334bd0":{"border-left-width":2,"border-left-color":[128,128,128,1]},"e337025cbd00a114725be81004634326":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"1662c5b4a5db1a205a4a9d704d38634d":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12"},"3d443b00663becf58198a5d1a8509b21":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"6901bda958b911e1d166c4a311a4d37a":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","color":"rgb(40, 55, 71)","text-align":1},"7c0b0dea59fb82c6e269af27ba0d57ee":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","color":"rgb(40, 116, 166)","text-align":2},"f5bcc2c64e56d4e94c28b17de4ebd3c8":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"padding-left":"10","font-size":"12","text-align":0},"3736221b6320a5ed99534cefdf10ef9b":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"0f4ec947c6784488bfe73f5041225ff8":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"5e4df84994cee3dc53009c98b95703cf":{"border-top-width":2,"border-top-color":[128,128,128,1]},"3c7d0af7ca5f205a2cb63cda86ace448":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"51db118cef6079848f7fb8625f08a6eb":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"48c15333cdfb8c2ede62c6ee26cdecdd":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":1},"c2ccd111c68253e305603e4b64d48d28":{"background-color":"rgb(46, 134, 193)"},"47a00a41624c6383ac8392dd4e2d2817":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"83bb42f26e5bef7d1f678b741e88f6dc":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-size":"12","text-align":2},"52ce3267a685d0e7c589310d756638ca":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-size":"12","word-wrap":true,"text-align":2},"6379cd717d5fbb30e9bbcd91ede106d4":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"#f2f4f4","font-size":"12","word-wrap":true,"text-align":2},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"0067d6ecee987d1282b3c4d5f421b3c0":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","text-align":2},"5d784b6ccfe3fa37bff715c149b76091":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","word-wrap":true,"text-align":0},"cddf7f2b2aed4bf2b43057fac1fa6a02":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12","text-align":2,"word-wrap":true},"b39c6f133af40e52c7ebe4cdac23bbaf":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-family":"黑体","font-size":"12","text-align":2},"4b765f7d7f0c811540c20716a8c3372c":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(248, 249, 249)","font-size":"12","text-align":2},"b89c51077dea7a231cf8f1bef67f22ad":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(248, 249, 249)"},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"806fea0805342d08ba024387ba473468":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"text-align":2}},"propertyIdList":["b3f11927403750ad41af93752148e509","854bc2c21bbbb631ed9056ba9ef218db","3e824c86b66344de0d8b546937f4cbf2","99914b932bd37a50b983c5e7c90ae93b","be64caef07159566df8795b22e17d845","d40439625fae1006a802f59daeb608c1","9e88079a54ad188cac6846f15c2fc42d","7207fd81a5f61d7975bce68c6cd3d6d9","c6b833700f21dfb69360b9d75ad8c619","7f973ca9852913d1d137e4bafe0bf62c","a6827ea44c8f901a1e03738c37b4bd1b","ee5723836a4b5b5bf5ee0b0cfc22918c","f59dcabe69ca3218ba0d1a06ddfbb4b3","b3de616a54b5cf0c276e9db14a7998b2","c849c7ff626b2927d73c2ccc724a4cca","324e25b70f30a3a35e0a91a80b8e8b64","e4fcb63c7108732c010118148924f1ca","0404736ef7e731007c1bf60e4236a94c","12c8f64b3cd0683238278aac5a38a662","d9b7e78fd60149a6ba819365564c46b8","3749828a2f4e560e94e519058d334bd0","e337025cbd00a114725be81004634326","1662c5b4a5db1a205a4a9d704d38634d","3d443b00663becf58198a5d1a8509b21","6901bda958b911e1d166c4a311a4d37a","7c0b0dea59fb82c6e269af27ba0d57ee","f5bcc2c64e56d4e94c28b17de4ebd3c8","3736221b6320a5ed99534cefdf10ef9b","0f4ec947c6784488bfe73f5041225ff8","125018f3eef635c9d10037c06e4a0236","5e4df84994cee3dc53009c98b95703cf","3c7d0af7ca5f205a2cb63cda86ace448","51db118cef6079848f7fb8625f08a6eb","48c15333cdfb8c2ede62c6ee26cdecdd","c2ccd111c68253e305603e4b64d48d28","47a00a41624c6383ac8392dd4e2d2817","83bb42f26e5bef7d1f678b741e88f6dc","52ce3267a685d0e7c589310d756638ca","6379cd717d5fbb30e9bbcd91ede106d4","20118c09fa9c7e8fb2753e163d4f4c03","0067d6ecee987d1282b3c4d5f421b3c0","5d784b6ccfe3fa37bff715c149b76091","cddf7f2b2aed4bf2b43057fac1fa6a02","b39c6f133af40e52c7ebe4cdac23bbaf","4b765f7d7f0c811540c20716a8c3372c","b89c51077dea7a231cf8f1bef67f22ad","fc406aa51250ead084dba7e6ed9e7117","806fea0805342d08ba024387ba473468"]}


id: 619a5454993208680e522997
pid: 619a5454993208680e522973
name: uniqueindexinfo
code: 60c5615f5db2e8eff0d867f52021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/uniqueindexinfo
nodetype: column
createdate: 2021.06.13 09:37:57.000
lastmodifieddate: 2024.09.18 14:40:59.915
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c5615f5db2e8eff0d867f52021110407504420211121221444


id: 619a5454993208680e52299b
pid: 619a5454993208680e522973
name: updatedisabledcolumns
code: 60c5615f5db2e8eff0d867e32021110407504420211121221444
namepath: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444
fullname: /凭证影像化/凭证审核/凭证审核clone20211104075044clone20211121221444/updatedisabledcolumns
nodetype: column
value: []
createdate: 2021.06.13 09:37:40.000
lastmodifieddate: 2024.09.18 14:40:59.915
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c5615f5db2e8eff0d867e32021110407504420211121221444


id: 62a069f1993272a2d678c9f8
pid: 60c4bd735db2478f9c5a1118
name: pagesetup-192dd2dd59913157df6b1620fb10e4b5
nodetype: column
createdate: 2022.06.08 17:20:49.000
lastmodifieddate: 2024.09.18 14:40:59.915
value:
{"pageWidth":"210","pageHeight":"297","leftMargin":"20","topMargin":"20","rightMargin":"20","bottomMargin":"20","paper":"210*297","printDir":1,"pageHeaderConfig":{"define":"","height":"20"},"pageFooterConfig":{"define":"=\"第 \"+pageIndex()+\" 页，共 \"+pageCount()+\" 页\"","height":"20"},"printScale":"0","printerDeviceName":"PDF生成器"}


id: 642266db99321de22c2dba09
pid: 60c4bd735db2478f9c5a1118
name: script_h5
nodetype: column
createdate: 2023.04.03 07:17:38.000
lastmodifieddate: 2024.09.18 14:40:59.916
value:
var pzh_prefix;
var pzh_length;

var fullScreenDiv = null;



function formOpen() {
    book.showTabOnWhere = 'none';
    //加载帐套信息及年月
    var corpid = book.sheet0.cells("corpid").getValueString();
    runTask("当前记帐期", { corpid: corpid }, function (ym) {
        if (ym == null || ym == 'null') return;
        //得到年月后，获取凭证号相关设置
        pzh_len = getPZHLen(corpid);

        book.sheet0.cells("ym").setValue(ym);

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.sheet0.cells("pzh_prefix").setValue(pzh_prefix);


    });

    book.sheet2.getBrick('FJ').selectionMode = 'multi'; //图片设置成多选模式


    // 追加一些CSS类 ，用于凭证号标记
    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:12px;text-align:center;}
                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; 
                                    vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
                    `);


}

function cb_check_onClick() {
    smartRetrieve(book.sheet0, "pzh_check", true, false, function () { //检索完后回调
        if ($pzh_check_ds.rowCount == 0) {
            toastr.success("凭证号检测通过");

        } else {
            book.sheet3.popup('fa fa-cog', '缺失的凭证', 250, 350, true, true, {});
        }
    });
}


/**
 * 多行结果集当前焦点行发生变化
 * @param dsname  结果集名称
 * @param row  行号
 */
function currentBindRowChanged(dsname, row) {
    if (dsname == 'dzpz_pz') {
        //重新加载凭证图片列表

        let id = $dzpz_pz_ds.getString(row, "id");
        let pzh = $dzpz_pz_ds.getString(row, "pzh");
        loadPZ(pzh, id);

    }
}

function viewPDF( id)
{
    var url=  get_PZ_PDF_URL(id);
    openWindow(url);
}

/**
 * 单元格的值发生了改变
 * @param sheet  所在的工作表
 * @param cell  单元格对象
 * @param oldValue  原先的值
 * @param newValue 变化后的值
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChanged(sheet, cell, oldValue, newValue, innerRow) {

    //如果是绑定了数据库的，强烈不建议使用本事件，换用结果集变化事件 itemChanged

    //通过别名来判断
    if (cell.alias == 'ym') {
        var corpid = book.sheet0.cells("corpid").getValueString();
        var ym = book.sheet0.cells("ym").getValue();

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.sheet0.cells("pzh_prefix").setValue(pzh_prefix);
    }




}

function loadPZ(pzh, id) {
    let data = getPZFJ(id); //得到凭证的所有图片
    let FJ = book.sheet2.getBrick('FJ');
    FJ.buildGridly(data, function () {
        let shortPZH = pzh;//.substring(pzh_prefix.length);
        //加载图片完成后， 如果是凭证，那么加上凭证号信息
        for (let i = 0; i < data.length; i++) {
            if (data[i].groupname == '凭证') {
                setPZH(data[i].id, shortPZH, false);
            }
        }




    });
    g_selectedAll = false; //加载一个凭证的图片后 ，默认是不全选中的
    book.sheet2.yOffset = 0; //垂直卷滚条归位
}


//@comment (group=凭证号,caption=设置图片的凭证号,needRightControl=false)
function setPZH(id, pzh, needDeleteButton) {
    if (needDeleteButton == undefined) needDeleteButton = true
    find_pzh(id, true, needDeleteButton).find('.no').text(pzh);
}

//@comment (group=凭证号,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists, needDeleteButton) {

    if (needDeleteButton == undefined) needDeleteButton = true;

    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" >
                        <div class="no"></div>
                        <div class="delete_pzh"  ${needDeleteButton ? "" : " style='display:none' "} ><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div>
                      </div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}



/**
 * 单元格单击事件
 * @param sheet
 * @param cell
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行被点击
 * @param event 事件对象
 */
//@comment (group=单元格事件,caption=单元格点击)
function cellOnClick(sheet, cell, innerRow, event) {

    //通过别名来判断
    if (cell.alias == 'XXX') {

    }

    //通过数据库绑定情况来判断
    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'dzpz_pz') {
        if (bind.DBCol == 'c_sh1') {
            if ($dzpz_pz_ds.getInt(innerRow, "verifierid") != 0) return; //已审核，不要再审核
            do_sh1(innerRow);
        }
        if (bind.DBCol == 'c_sh2') {
            if ($dzpz_pz_ds.getInt(innerRow, "verifierid") == 0) return; //没有审核，不需要取消审核
            do_sh2(innerRow);
        }
    }

}

function do_sh1(innerRow, callback) {
    let id = $dzpz_pz_ds.getString(innerRow, "id");
    let pzh = $dzpz_pz_ds.getString(innerRow, "pzh");

    do_sh(id,true, function (ret)  //后台执行
    {
        if (ret.success) {
            $dzpz_pz_ds.setValue(innerRow, "verifierid", ret.verifierid);
            $dzpz_pz_ds.setValue(innerRow, "verifiername", ret.verifiername);
            $dzpz_pz_ds.setValue(innerRow, "verifieddate", ret.verifieddate);
            $dzpz_pz_ds.setValue(innerRow, "tipinfo", "审核成功");
            $dzpz_pz_ds.setValue(innerRow, "c_sh1", "");
            $dzpz_pz_ds.setValue(innerRow, "c_sh2", "取消校对");

        } else {
            $dzpz_pz_ds.setValue(innerRow, "tipinfo", ret.message);

        }
        if (callback) callback();
    });
}

function do_sh2(innerRow, callback) {
    let id = $dzpz_pz_ds.getString(innerRow, "id");
    do_sh(id, false, function (ret) //后台执行
    {
        if (ret.success) {
            $dzpz_pz_ds.setValue(innerRow, "verifierid", null);
            $dzpz_pz_ds.setValue(innerRow, "verifiername", null);
            $dzpz_pz_ds.setValue(innerRow, "verifieddate", null);
            $dzpz_pz_ds.setValue(innerRow, "tipinfo", "取消成功");
            $dzpz_pz_ds.setValue(innerRow, "c_sh1", "审核");
            $dzpz_pz_ds.setValue(innerRow, "c_sh2", "");


        } else {
            $dzpz_pz_ds.setValue(innerRow, "tipinfo", ret.message);

        }
        if (callback) callback();
    });
}



//@comment (group=工具函数,caption=全选或取消全选)
function seletOrUnSelectAll() {
    //让selection单元格失去编辑焦点，不然再点击，它不会触发单元格的点击事件，因为此时点击的编辑框对象，不会触发单元格的点击
    book.sheet1.View.forceCurrentEditControlGiveUpFocus();

    var v = book.sheet1.cells('selection').getValueInt();

    book.sheet1.paintPermit = false;
    $dzpz_pz_ds.setValueWithTrigger = false;
    for (var i = 0; i < $dzpz_pz_ds.rowCount; i++) {
        $dzpz_pz_ds.setValue(i, "selected", v);
    }
    $dzpz_pz_ds.setValueWithTrigger = true;
    book.sheet1.paintPermit = true;
}


function cb_verify_onClick() {
    $confirm('', '确信要对选中的凭证做审核确认吗?', function () {
        let rows = [];
        for (let i = 0; i < $dzpz_pz_ds.rowCount; i++) {
            if ($dzpz_pz_ds.getInt(i, "selected") == 0) continue;
            rows.push(i);
        };

        showInfoPane("* 正在审核确认...");
        asyncPool(4, rows, function (i, rows) {
            return new Promise(function (resolve, reject) {
                showInfoPane("* 正在审核确认 " + i  );
                do_sh1(i, function () {
                    resolve(i);
                });
            });
        }).then(function (v) {
            hideInfoPane();
            toastr.info("审核完成");
        });

    });
}



function cb_unverify_onClick() {

    $confirm('', '确信要对选中的凭证做取消审核吗?', function () {
        var rows = [];
        for (let i = 0; i < $dzpz_pz_ds.rowCount; i++) {
            if ($dzpz_pz_ds.getInt(i, "selected") == 0) continue;
            rows.push(i);
        };

        showInfoPane("* 正在取消确认...");
        asyncPool(4, rows, function (i, rows) {
            return new Promise(function (resolve, reject) {
                showInfoPane("* 正在取消确认"+i);
                do_sh2(i, function () {
                    resolve(i);
                });
            });
        }).then(function (v) {
            hideInfoPane();
            toastr.info("取消确认完成");
        });

    });


}


function cb_package_onClick() {

    let ids = [];
    for (let i = 0; i < $dzpz_pz_ds.rowCount; i++) {
        if ($dzpz_pz_ds.getInt(i, "selected") == 0) continue;
        ids.push($dzpz_pz_ds.getString(i, "id"));
    }

    if (ids.length == 0) {
        toastr.info("至少选中一张凭证");
        return;
    }

    $confirm('', '确信要将选中的凭证打包下载吗?', function () {
        showInfoPane("*正在压缩打包...");
        runTask("打包下载", { fileName: formatDate(newDate(), "yyyyMMddHHmm") + ".zip", ids: ids },
            function (ret) {
                ret = JSON.parse(ret);
                hideInfoPane();
                if (ret.success) {
                    openWindow(ret.url);
                } else {
                    toastr.error(ret.message);
                }
            });

    });
}

function isVerified() {
    var row = book.getDataSource('dzpz_pz').currentBindRow;
    var verifiername = $dzpz_pz_ds.getString(row, "verifiername");

    if (verifiername != '') {
        toastr.error("已经校对的凭证不允许执行此操作");
        return true;
    }
    return false;
}


/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet, name, data) {


    if (name == "FJ") {
        //图片都初始化后， 定制右上角的工具栏，最多可加5个工具按 钮
        let brick = sheet.getBrick(name);

        brick.addToolButton(1  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-repeat",   // 字符图标
            "旋转图片",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数
                g_turningCount = 0;
                g_turnedCount = 0;
                g_turnNeedCount = 1;
                if (isVerified()) return;  //校对过的不允许再旋转

                rotateImg(sheet, id, '90' ,function(){hideInfoPane();});

            }
        );


        brick.addToolButton(2  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-eye",   // 字符图标
            "浏览大图",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数
                brick.popupShow(id);

            }
        );


        brick.addToolButton(3  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-rotate-left",   // 字符图标
            "旋转图片",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数
                g_turningCount = 0;
                g_turnedCount = 0;
                g_turnNeedCount = 1;
                if (isVerified()) return;  //校对过的不允许再旋转

                rotateImg(sheet, id, '270',function(){hideInfoPane();});

            }
        );



    }
}


function rotateImg(sheet, id, degree, callback) {



    let brick = sheet.getBrick('FJ');
    setTimeout(function () {
        //toastr.info(id);  // id 是当前操作的图片对应数据的ID

        do_imageRotate(id, degree, function (ret) {


            if (ret.success) {

                g_turningCount++;
                showInfoPane('*正在旋转图片' + g_turningCount + "/" + g_turnNeedCount + ' ...');


                //把数据中的图片替换，
                for (let i = 0; i < brick.data.length; i++) {
                    if (brick.data[i].id == id) {
                        //属性从新的属性中替换 
                        for (let prop in brick.data[i]) {
                            brick.data[i][prop] = ret.data[prop];
                        }
                        break;
                    }
                }
                //把缩略图的图片地址替换 ， 

                let img = $('#' + id).find('.image');
                img.attr("src", ret.data.url_thumbnail);
                img.attr('largeimage', ret.data.url_img);
                //把大图预览的地址替换掉
                //book.sheet0.cells("imgPreview").setValue(ret.data.url_img);

            }
            if (callback) callback();



        });
    }, 100);

}


/**
 * 图片控件中的图片控件顺序发生变化
 * @param sheet   所在Sheet
 * @param name  图片控件的名称
 *@param  ids  当前顺序下的图片的ID数组
 *
 *
 *
 */
//@comment (group=图片控件,caption=图片顺序被改变)
function imageOrderChanged(sheet, name, ids) {

    if (isVerified()) return;  //校对过的不允许再调整顺序

    reOrderImage(ids, function (ret) { }); //放一个空的回调函数让它异步执行，不卡界面

}


var g_selectedAll = false;
function cb_selectallimg_onClick() { g_selectedAll = !g_selectedAll; doSelect(g_selectedAll); }


function doSelect(b) {
    var imgPool = book.sheet2.getBrick('FJ');
    if (b) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_turnLeft_onClick() {
    turnSelection('270');

}

function cb_turnRight_onClick() {

    turnSelection('90');
}

var g_turningCount = 0;
var g_turnedCount = 0;

function turnSelection(degree) {

    if (isVerified()) return;  //校对过的不允许再旋转

    var sheet = book.sheet2;
    var imgPool = sheet.getBrick('FJ');
    // 当前选中的
    var selection = imgPool.getSelectedImageList();
    if (selection.length == 0) {
        toastr.error("至少选中一张图片");
        return;
    }


    $confirm("提示", "确信要对选中的" + selection.length + "张图片做旋转吗?", function () {

        g_turningCount = 0;
        g_turnedCount = 0;
        g_turnNeedCount = selection.length;
        /*
                setTimeout(function () {
                    for (var i = 0; i < selection.length; i++) {
                        rotateImg(sheet, selection[i].id, degree, i * 1000);
                    }
                }, 10);
                */

        asyncPool(4 , selection, function (item, array) {
            return new Promise(function (resolve, reject) {

                console.dir(item);
                rotateImg(sheet, item.id, degree,
                    function () { //注意，在旋转完成后，再设置resolve 表示本任务已完成，而不是直接就resolve ,不然最后的 then 执行时机不对，这么处理，就会在全部旋转完成后，再执行then中的脚本，而不是旋转任务全部发起后就执行 then 
                        resolve(item)
                    });

            });
        }).then(function () {

            setTimeout(function () {

                hideInfoPane();
                toastr.info("旋转完成");
            }, 500);
        });

    });

}


 

function test1() {


    asyncPool(3, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], function (item, array) {
        return new Promise(function (resolve, reject) {
            setTimeout(function () {
                console.info(item + "   "+ new Date());
                resolve(item)
            }, 1000);

        });
    }).then(function () {
        console.info("over");
    });

}


id: 643e612499321de22c2dbb57
pid: 60a321f05db27838e0c014bf
name: script_h5
nodetype: column
createdate: 2023.04.19 10:57:09.000
lastmodifieddate: 2024.09.18 14:40:59.916
value:
var pathToMonit = "";//当前监控的目录
var electron = null;
var pzh_prefix = ""; // 凭证号前缀
var pzh_len = 0; //凭证号长度
var lastPZH = "";
var fullScreenDiv = null;

/*
$(document).ready(function () {
    var script = $(`<script src="ui/imageEditor/filerobot-image-editor.min.js">
    
    </script>`);
    $(document.body).append(script);
});
*/

function formOpen() {

    book.sheet4.visible = false;

    book.showTabOnWhere = "none";
    newImgCommingTipVisible(false);

    book.sheet3.getBrick('cb_delete_pz').visible = false;

    //加载帐套信息及年月
    var corpid = book.sheet2.cells("corpid").getValueString();
    var ym = book.sheet2.cells("ym").getValue();
    //得到年月后，获取凭证号相关设置
    pzh_len = getPZHLen(corpid);
    pzh_prefix = getPZHPrefix(corpid, ym);

    getLastPZH(corpid, ym, function (v) {
        if (v == '') v = pzh_prefix + '00000001'.substring(8 - pzh_len, 8);
        lastPZH = v;
    });

    // smartRetrieve(book.sheet2, "dzpz_pz"); //刷新凭证列表
    // });

    book.getWorkSheet('凭证清单').cells("yue").setValue(getMonth(newDate()));

    book.sheet3.getBrick('FJ').config.promptInfoOnDelete = "确信要将图片从当前凭证中移除，并放回到图片池中吗?";
    book.sheet1.getBrick('imgPool').config.promptInfoOnDelete = "确信要将图片放入回收站吗?";

    //收到来自服务器推送的消息
    onPushMessage("electronPushMessage", function (msg) {
        msg = JSON.parse(msg);
        if (msg.cmd == "newFileUploaded") newImgCommingTipVisible(true); //通知有新文件上传了
        if (msg.cmd == "notifyNeedUploadFileCount") notifyNeedUploadFileCount(msg.fileCount); //通知还有多少个文件等待上传
    });

    //获取当前的electron接口对象
    electron = getElectron(); //getElectron是系统全局功能函数

    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    // 追加一些CSS类 ，用于凭证号标记
    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:30px; line-height:30px;width:100%; 
                                background-color:#af4040e0; 
                                color:white;font-weight:bold;font-size:20px;text-align:left;}
                        .delete_pzh { position:absolute; right:0; width:40px; height:44px; top:0; text-align:right; 
                                    vertical-align:top; font-size:24px; color:#ffa0a0;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
                    `);


    //注册调整缩略图大小的事件
    $('#blockSize').on('input', resetImgPoolBlockSize);


    setTimeout(function () {
        //调取缩略图大小

        var imgPool = book.sheet1.getBrick('imgPool');
        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

    //调取图片目录设置，注意适当延时
    setTimeout(function () {
        if (electron != null) {
            var hostName = electron.getHostName();
            pathToMonit = getMonitePath(hostName);

            //开启监控
            if (pathToMonit == '') pathToMonit = "c:\\凭证影像采集目录";

            moniteStart(pathToMonit);
            $.alert('请将扫描仪的图片目录指向：' + pathToMonit);
        }

        //显示总共图片数
        getTotalImageCount(function (ret) { book.sheet0.cells('imageCountTotal').setValue('共' + ret + '张') });

    }, 500);



    $(document).on('keydown', function (e) {
        console.info(" kkkkk down");
        if (e.ctrlKey) {
           // fullScreenViewImageOpen();
        }
    });


    $(document).on('keyup', function (e) {
        console.info(" kkkkk up");
        if (!e.ctrlKey) {

           // fullScreenViewImageClose();

        }
    });

}


// 先保存当前选中状态及设置的凭证号信息

var g_selection;
var g_pzMap;
//@comment (group=图片清单刷新,caption=保存选中状态及凭证标记信息,needRightControl=false)
function saveSelectionAndPZInfo() {

    var imgPool = book.sheet1.getBrick('imgPool');

    // 保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    // 保存设置的凭证号信息
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }
    g_selection = selection;
    g_pzMap = pzhMap;
}




//@comment (group=图片清单刷新,caption=还原选中及凭证标记,needRightControl=false)
function restoreSelectionAndPZInfo() {
    var selection = g_selection;
    var pzhMap = g_pzMap;
    var imgPool = book.sheet1.getBrick('imgPool');

    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

}

//@comment (group=图片控件,caption=重设小图大小,needRightControl=false)
function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    saveSelectionAndPZInfo();

    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();

    //恢复选中状态
    restoreSelectionAndPZInfo();

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

function resetImageCountInfo() {

    setTimeout(function () {
        book.sheet0.cells("imageCount").setValue("前 " + book.sheet1.getBrick("imgPool").imageCount + " 张");
    }, 300);
}

/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet, name, data) {


    if (name == "imgPool") {
        resetImageCountInfo()
        //图片都初始化后， 定制右上角的工具栏，最多可加5个工具按 钮
        let brick = sheet.getBrick(name);

        book.sheet0.cells("imageCount").setValue(brick.imageCout + "张图片");


        brick.addToolButton(2  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-repeat",   // 字符图标
            "旋转图片",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数

                showInfoPane('*正在旋转图片...');
                setTimeout(function () {
                    //toastr.info(id);  // id 是当前操作的图片对应数据的ID
                    var ret = do_imageRotate(id, "90");
                    if (ret.success) {
                        //把数据中的图片替换，
                        for (let i = 0; i < brick.data.length; i++) {
                            if (brick.data[i].id == id) {
                                //属性从新的属性中替换 
                                for (let prop in brick.data[i]) {
                                    brick.data[i][prop] = ret.data[prop];
                                }
                                break;
                            }
                        }
                        //把缩略图的图片地址替换 ， 

                        let img = $('#' + id).find('.image');
                        img.attr("src", ret.data.url_thumbnail);
                        img.attr('largeimage', ret.data.url_img);
                        //把大图预览的地址替换掉
                        book.sheet0.cells("imgPreview").setValue(ret.data.url_img);
                        hideInfoPane();

                    }
                }, 10);
            }
        );


        brick.addToolButton(3  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-plus",   // 字符图标
            "选中此前",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {
                let  selected= $('#' + id).parent().find('.brickSelected').length>0; // 可以用 imgPool.isImageSelected( id) 替换，但此时本函数还没有提供，以后可以换成此函数
                
                let imgPool = book.sheet1.getBrick("imgPool");
                let imgs = imgPool.getCurrentSortedImageList();//得到当前排序后的图片清单
                let found = false;
                for (let i = 0; i < imgs.length; i++) {
                    imgPool.setImageSelected(imgs[i].id, !selected);
                    if (imgs[i].id == id) return;

                }


            });


    }
}


/**
 * 图片控件中图片上的删除按钮被点击
 * @param sheet   所在Sheet
 * @param name  图片控件的名称
 * @param data  图片的信息
 *
 * @returns  {object}    返回一个对象 ， 其中  success= boolean 表示继续执行删除操作，否则表示终止删除操作
 *    如果需要显示一个提示信息，则在 属性 message 中指定
 */
//@comment (group=图片控件,caption=图片上的删除按钮被点击)
function imageOnDelete(sheet, name, data) {

    if (name == 'FJ') {
        if (data.groupname == '凭证') {
            return { success: false, message: "这是凭证，不允许这样移除，请点击“删除凭证”" };
        } else {
            var ret = putImageBackToPool(data.id);
            if (ret.success) {
                smartRetrieve(book.sheet3, "one");
                cb_refresh_onClick();
            } else {
                return ret;
            }

        }
    }

    if (name == 'imgPool') {
        moveImageToRecycle(data.id);
        resetImageCountInfo();
    }
    return { success: true };
}
/**
 * 图片控件中上传按钮被点击
 * @param sheet   所在Sheet
 * @param name  图片控件的名称
 *
 @returns  {object}    返回一个对象 ， 其中  success= boolean 表示继续执行上传操作，否则表示终止上传操作
 *    如果需要显示一个提示信息，则在 属性 message 中指定
 */
//@comment (group=图片控件,caption=图片上传按钮被点击)
function imageOnNewUpload(sheet, name) {


    if (name == 'imgPool') {
        toastr.info("请连接扫描仪，或将图片复制到监控的目录下，图片自动上传");
    }

    if (name == 'FJ') {
        var imgPool = book.sheet1.getBrick('imgPool');
        // 保存当前选中状态及设置的凭证号信息
        var selection = imgPool.getSelectedImageList();
        if (selection.length == 0) {
            toastr.error("至少选中一张图片");
            return { success: false }; // 此返回，阻止了默认的上传操作
        }


        var lastPZ = null;
        for (let i = 0; i < selection.length; i++) {
            var one = selection[i];
            var pzh = getPZH(one.id);
            if (pzh != '') {
                toastr.error("选中的图片中有标记为凭证的，禁止将凭证图片添加到当前凭证中");
                return { success: false }; // 此返回，阻止了默认的上传操作
            }
        }

        var ret = addImageToPZ($one_ds.getString(0, "id"), selection);
        if (ret.success) {
            //刷新图片区
            cb_refresh_onClick();
            //刷新凭证
            loadPZ($one_ds.getString(0, "id"), $one_ds.getString(0, "pzh"), $one_ds.getString(0, "verifiername") != "" ? 1 : 0);
        }

    }


    return { success: false }; // 此返回，阻止了默认的上传操作
}

//先定位 Id的序号， 然后返回它左边的图片的ID
function findLeftImageId(id) {
    let imgPool = book.sheet1.getBrick("imgPool");
    let imgs = imgPool.getCurrentSortedImageList();//得到当前排序后的图片清单
    //找到自已的索引号
    let index = 0;
    for (let i = 0; i < imgs.length; i++) {
        if (imgs[i].id == id) {
            index = i;
            break;
        }
    }

    if (index > 0) return imgs[index - 1].id;
    return "";
}


//找到左边最近的一张凭证号
//如果该凭证与自已相临，那么就同号，因为可能是同一个凭证的不同分页
//否则在那个号上加1做为自已的凭证号
function incLeftNearestPZH(id) {
    let imgPool = book.sheet1.getBrick("imgPool");
    let imgs = imgPool.getCurrentSortedImageList();//得到当前排序后的图片清单
    //找到自已的索引号
    let index = 0;
    for (let i = 0; i < imgs.length; i++) {
        if (imgs[i].id == id) {
            index = i;
            break;
        }
    }

    //再从index往左边查到第一张凭证
    for (let i = index - 1; i >= 0; i--) {
        let tid = imgs[i].id;
        let pzh = getPZH(tid);
        if (pzh == '') continue;
        if (i == index - 1) {
            return pzh; // 左边最近的一张凭证号就在自已的左边，那么就意味着自已与左边那张凭证号可能就是一张凭证的不同分页，所以直接返回凭证号
        } else {
            return stringInc(pzh);
        }

    }
    //到这里，都没有找到凭证号，那么直接返回凭证号前缀
    return stringInc(lastPZH);
}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data, event) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
//@comment (group=图片控件,caption=鼠标从图片移开,needRightControl=false)
function imageOnMouseOut(sheet, name, data, event) {

    // book.sheet0.cells("imgPreview").setValue("");
}

/**
 * 图片控件中图片顺序变化了
 * @param sheet   所在Sheet
 * @param config  图片控件的配置信息
 *@param ids  调整顺序后的id清单
 *
 */
//@comment (group=图片控件,caption=顺序调整后)
function attachmentOrderChanged(sheet, config, ids) {


    let imgs = imgPool.getCurrentSortedImageList();//得到当前排序后的图片清单
    reorderImageFileIndex(imgs);

}

/**
 * 图片控件中某个图片被单击
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 * @param event  事件对象
 *
 *
 */
//@comment (group=图片控件,caption=图片被单击)
function imageOnClick(sheet, name, data, event) {

    if (name == 'imgPool') {
        if (book.sheet0.cells("clickAction").getValue() == 2) imageOnDBLClick(sheet, name, data, event, false);
    }
}


var g_lastPZH = "";
/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data, event, showDlg) {

    if (showDlg == undefined) showDlg = true;

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = "";
    if (pzh == '') {

        //找到左边最近的一张凭证号
        //如果该凭证与自已相临，那么就同号，因为可能是同一个凭证的不同分页
        //否则在那个号上加1做为自已的凭证号
        pzh = incLeftNearestPZH(data.id);
        if (pzh > lastPZH) lastPZH = pzh;


    }

    let $setpzh = function (val) {
        if (val == '') {

            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
            return true;
        } else {
            if (val.length - pzh_prefix.length != pzh_len) {
                toastr.error("凭证号(不含前缀)长度必须是" + pzh_len + "位");
                return false;

            }
            g_lastPZH = val; //记下来
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
            return true;
        }
    }

    if (!showDlg) {
        $setpzh(pzh);
        return;
    }

    let dlg = inputBox("标记为凭证", "", pzh, "输入凭证号码",

        function (val) { //确认后的回调

            return $setpzh(val);

        }, false,/*不允许为空*/
        //下面是一些事件的切入
        {
            //输入面板初始化完成后
            onContentReady: function () {

                let input = dlg.$content.find('.name');
                input.on('keyup', function () {
                    if (input.val().indexOf(pzh_prefix) != 0) {
                        input.val(pzh_prefix);
                    }
                });
            }
        }
    );




}


function setLoadImagePoolDataOnceCount()
{
    let onceCount = book.sheet0.cells("onceCount").getValueInt();
    if( onceCount<0) onceCount=100;
    if( onceCount>2000) onceCount = 2000;
    setTimeout( function(){ 
        book.sheet0.cells("onceCount").setValue( onceCount);
        book.sheet1.getBrick("imgPool").config.onceCount= onceCount; 
        cb_refresh_onClick();
    },1);

}

//@comment (group=凭证号,caption=得到图片的凭证号如果有的话,needRightControl=false)
function getPZH(id) {
    let obj = find_pzh(id, false);
    if (obj == null) return;
    let s = obj.text();
    s = s.replace(/\s/g, '');
    return s;
}

//@comment (group=凭证号,caption=设置图片的凭证号,needRightControl=false)
function setPZH(id, pzh, needDeleteButton) {
    if (needDeleteButton == undefined) needDeleteButton = true
    find_pzh(id, true, needDeleteButton).find('.no').text(pzh);
}

//@comment (group=凭证号,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists, needDeleteButton) {

    if (needDeleteButton == undefined) needDeleteButton = true;

    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" >
                        <div class="no"></div>
                        <div class="delete_pzh"  ${needDeleteButton ? "" : " style='display:none' "} ><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div>
                      </div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

//@comment (group=图片控件,caption=移除图片看的凭证号标记,needRightControl=false)
function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() { doSelect(true); }
function cb_selectnull_onClick() { doSelect(false); }

function doSelect(b) {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (b) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick() {
    if (electron == null) {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path = electron.showOpenDialogSync('');
    if (path == '') return;
    if (!path.endsWith('凭证影像采集目录')) {

        $.alert("目录名必须是：“凭证影像采集目录”，盘符及上级目录随意。");
        return;
    }
    var hostName = electron.getHostName();
    setMonitePath(hostName, path);

    moniteStart(path);


}

//@comment (group=上传相关,caption=开始文件变化监控,needRightControl=false)
function moniteStart(path) {
    pathToMonit = path;
    book.sheet0.cells('stateBar').setValue("图片目录 " + pathToMonit);

    if (electron == null) {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    book.sheet0.cells('stateBar').setValue("图片目录 " + pathToMonit + " 监控中...");
    electron.ipcSendMessage({ cmd: "moniteStart", path: path });
}

function cb_refresh_onClick() {
    newImgCommingTipVisible(false);

    // 先保存当前选中状态及设置的凭证号信息
    saveSelectionAndPZInfo();

    var imgPool = book.sheet1.getBrick('imgPool');
    imgPool.reInit(restoreSelectionAndPZInfo); //重新初始化 ,并在初始化完成后， 恢复选中状态

    toastr.info("重新加载完成");



}

//@comment (group=上传相关,caption=上传好一个文件后，通知有新文件,needRightControl=false)
//@comment (group=上传相关,caption=上传好一个文件后通知有新文件,needRightControl=false)
function newImgCommingTipVisible(v) {
    book.sheet0.getBrick('shineText').visible = v;

}

//@comment (group=上传相关,caption=刷新当前还有多少文件要上传的提示,needRightControl=false)
function notifyNeedUploadFileCount(fc) {
    var info = fc == 0 ? "" : "【" + fc + "】个文件正准备上传";
    book.sheet0.cells("stateInfo2").setValue(info);
}


//@comment (group=归档,caption=凭证归档,needRightControl=false)
function cb_auto_onClick() {

    var imgPool = book.sheet1.getBrick('imgPool');
    // 保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    if (selection.length == 0) {
        toastr.error("至少选中一张图片");
        return;
    }

    let imgs = imgPool.getCurrentSortedImageList();//得到当前排序后的图片清单
    let nn = imgs.length - selection.length;
    if (nn > 0) {
        $confirm("提示", "有" + nn + "张图片没有选中，确信要继续吗?", function () {
            do_pack(selection);
        });
    } else {
        do_pack(selection);
    }
}

var pzGroup = [];

//@comment (group=归档,caption=归档操作,needRightControl=false)
function do_pack(selection) {
    pzGroup = [];
    let pzh2Config = {}; //凭证号对应的配置信息 ， 辅助数据
    let lastPZ = null;
    for (let i = 0; i < selection.length; i++) {
        let one = selection[i];
        let pzh = getPZH(one.id);
        if (pzh == '') {
            if (lastPZ != null) {
                lastPZ.fj.push(one.id);
            }
        } else {
            //新的凭证号
            if (pzh2Config[pzh] == null) {
                lastPZ = {};
                lastPZ.pzh = pzh;
                lastPZ.fj = []; //附件图片
                lastPZ.pz = []; //凭证图片
                pzh2Config[pzh] = lastPZ; //记下凭证号与配置对象的对应关系
                pzGroup.push(lastPZ); //加入到总配置中
            } else {
                //已经存在配置，说明它是该凭证号的更多的分页图片
                //需要检测，它的左边是不是也是同一个号的凭证
                lastPZ = pzh2Config[pzh];

                let leftID = findLeftImageId(one.id); //找到它左边那张图片的ID
                if (leftID == '') {
                    toastr.error("不可能出现的情况");
                    return;
                }
                let leftPZH = getPZH(leftID);
                if (leftPZH != pzh) {
                    $.alert(pzh + '有多张图片，请将它们移动到相邻位置，即同一张凭证的多个分页必须连续相邻，它们之间不要穿插附件图片或其它凭证号图片');
                    return;
                }

            }
            lastPZ.pz.push(one.id); //凭证图片，同一个凭证可能有多个图片 
        }
    }

    if (pzGroup.length == 0) {
        toastr.error("凭证归档操作，至少需要标记一张凭证，并选中它");
        return;
    }

    console.dir();


    do_pzgdqr();



}

//@comment (group=归档,caption=归档确认,needRightControl=false)
function do_pzgdqr() {

    // 整理归档配置信息用于显示
    book.sheet4.paintPermit = false;

    $gd_ds.reset();
    for (let i = 0; i < pzGroup.length; i++) {
        let one = pzGroup[i];
        let row = $gd_ds.insertRow(9999);
        $gd_ds.setValue(row, { pzh: one.pzh, pzs: one.pz.length, fjs: one.fj.length, hj: one.pz.length + one.fj.length });
    }
    book.sheet4.paintPermit = true;

    book.sheet4.popup('fa fa-cog', '归档确认', 450, 450, true, true, {
        action1: {
            text: '确认',
            btnClass: 'btn-green',
            action: function () {
                do_pzgd();
                return true;    //表示关闭弹窗
            }
        },
        cancel: {
            text: '关闭',
            btnClass: 'btn-red',
            action: function () {

                return true;
            }
        }

    });

}
//@comment (group=归档,caption=归档,needRightControl=false)
function do_pzgd() {
    showInfoPane('*正在归档...');
    setButtonsStatus(false); //禁用一些按钮点击
    //alert(JSON.stringify(pzGroup));
    runTask("归档",
        {
            corpid: book.sheet4.cells("corpid").getValueString(),
            ym: book.sheet4.cells("ym").getValueString(),
            pzGroup: pzGroup
        }, function (ret) {
            hideInfoPane();
            ret = JSON.parse(ret);

            if (ret.success) {

                setButtonsStatus(true); //启用一些按钮点击
                smartRetrieve(book.sheet2, "dzpz_pz"); //刷新凭证列表
                //重新检索图片区
                cb_refresh_onClick();
            } else {
                $.alert(ret.message);
            }

        });
}

function setButtonsStatus(b) {

    book.sheet0.getBrick('cb_auto').enabled = b;
}

//@comment (group=,caption=调取某个凭证,needRightControl=false)
function loadPZ(id, pzh, verified) {
    book.sheet3.cells("id").setValue(id);
    smartRetrieve(book.sheet3, "one");
    //附件图片清单
    //不能从 $one_ds中取数，因为上面的smartRetrieve 是异步的
    let action = (verified == 0) ? "edit" : "view";
    book.sheet3.getBrick('cb_delete_pz').visible = verified == 0;
    var FJ = book.sheet3.getBrick('FJ');
    FJ.config.action = action; //控制是否显示删除和新增按钮
    let data = getPZFJ(id); //得到凭证的所有图片
    FJ.buildGridly(data, function () {
        let shortPZH = pzh.substring(pzh_prefix.length);
        //加载图片完成后， 如果是凭证，那么加上凭证号信息
        for (let i = 0; i < data.length; i++) {
            if (data[i].groupname == '凭证') {
                setPZH(data[i].id, shortPZH, false);
            }
        }

    });
    book.sheet3.yOffset = 0; //垂直卷滚条归位
}


//@comment (group=,caption=删除凭证，并把图片回归到池中,needRightControl=false)
function cb_delete_pz_onClick() {
    $confirm("提示", "确信删除本凭证，并将图片全部回归到待归档状态吗?", function () {
        book.sheet3.getBrick('cb_delete_pz').visible = false;
        var id = $one_ds.getString(0, "id");
        var ret = deletePZAndPutBackToPool(id);
        if (ret.success) {
            $one_ds.reset();
            reload_pzh_info(); //可能删除的就是最后一张凭证，所以要重新取一下
            var FJ = book.sheet3.getBrick('FJ');
            FJ.config.action = 'view';
            FJ.buildGridly([]);
            cb_refresh_onClick();//刷新池中图片

        } else {
            toastr.error(ret.message);
        }
    });

}



function cb_trash_onClick() {
    var url = runTask("urlForTrash", {});
    openInMainFrame(url, false, 'fa-trash', '图片回收站');

}

function cb_deleteSelection_onClick() {
    let imgPool = book.sheet1.getBrick('imgPool');
    // 保存当前选中状态及设置的凭证号信息
    let selection = imgPool.getSelectedImageList();
    if (selection.length == 0) {
        toastr.error("至少选中一张图片");
        return;
    }
    let nn = selection.length;
    $confirm("提示", "确信将选中的" + nn + "张图片移入回收站吗?", function () {
        showInfoPane('*正在移和回收站');
        setTimeout(function () {
            do_trush(selection);
            hideInfoPane();
        }, 100);
    });

}

function do_trush(selection) {

    for (let i = 0; i < selection.length; i++) {
        let one = selection[i];
        moveImageToRecycle(one.id);

    }
    cb_refresh_onClick();

}

function cb_size_onClick() {
    let RPM = book.sheet0.RPM;
    let h = RPM.getRowHeight(1);
    if (h > 1) {
        RPM.setRowStretchHeight(1, 0);//弹性高度取消
        RPM.setRowHeight(1, 1);

        RPM.setRowHeight(2, 0);
        book.sheet0.getBrick('dbnav').visible = false;

    } else {

        RPM.setRowStretchHeight(1, 40);//弹性高度取消
        RPM.setRowHeight(1, 300);

        RPM.setRowHeight(2, 30);
        book.sheet0.getBrick('dbnav').visible = true;
    }
}


/**
 * 单元格的值发生了改变
 * @param sheet  所在的工作表
 * @param cell  单元格对象
 * @param oldValue  原先的值
 * @param newValue 变化后的值
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChanged(sheet, cell, oldValue, newValue, innerRow) {

    //通过别名来判断
    if (sheet.name == '凭证清单') {
        if (cell.alias == 'nian' || cell.alias == 'yue') {
            reload_pzh_info();
        };
    }

  

}

/**
 * 单元格因为被编辑而改变。当用户通过编辑单元的值而让单元格发生值改变时本事件被触发。
 * 注意，当使用脚本 sheet.cells(row,col).setValue ( value) 来改变单元格的值时，本事件并不触发
 * @param sheet
 * @param cell
 * @param newValue
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChangedByEdit(sheet, cell, newValue, innerRow) {

     if( cell.alias=='onceCount')  
    {
        setLoadImagePoolDataOnceCount();
     
    }


}



function reload_pzh_info() {
    var sheet = book.getWorkSheet('凭证清单');
    //加载帐套信息及年月
    var corpid = sheet.cells("corpid").getValueString();

    var nian = sheet.cells("nian").getValueString();
    var yue = sheet.cells("yue").getValueString();
    var ym = nian + right("00" + yue, 2);

    //得到年月后，获取凭证号相关设置
    pzh_len = getPZHLen(corpid);
    pzh_prefix = getPZHPrefix(corpid, ym);
    getLastPZH(corpid, ym, function (v) {
        if (v == '') v = pzh_prefix + '00000000'.substring(8 - pzh_len, 8);
        lastPZH = v;

    });

    smartRetrieve(sheet, "dzpz_pz"); //刷新凭证列表
}


id: 643f591d99321de22c2dbbef
pid: 60d095db993254220bd8519f
name: script_h5
nodetype: column
createdate: 2023.04.19 11:00:14.000
lastmodifieddate: 2024.09.18 14:40:59.916
value:
/**
 * 表单初始化完成后，执行此事件
 */
//@comment (group=表单事件,caption=表单初始化完成)
function formOpen() {
    book.showTabOnWhere = 'none';
    onPushMessage("dr_info", function (info) {
        if (info == 'over') {
            hideInfoPane();
        } else {
            showInfoPane(info);
        };

    })

}

//导入excel文件
function cb_importXLS_onClick(sheet, cell, button) {

    book.readXLS(function (data) {
        // alert(JSON.stringify(data));
        showInfoPane("*正在导入");
        backend_importExcelData(data[Object.keys(data)[0]], function (ret) {
            //console.dir(ret);
            hideInfoPane();
            if (ret.success) {
                toastr.info('导入成功');
                smartRetrieve(book.getWorkSheet("main"), "pzdj");
                smartRetrieve(book.getWorkSheet("detail"), "pzdjex");
                
            } else {
                toastr.warning(ret.message);
            }
        });
    });
}

/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
function cb_downloadTemplateFile_onClick(sheet, cell, button) {
    var title = "年度\t调整期间\t凭证号\t凭证日期\t会计科目代码\t会计科目名称\t财会支出明细编码\t财会支出明细名称\t预会支出明细编码\t预会支出明细名称\t核算账号编码\t入库单号\t是否已过账\t摘要\t制单人";
    var data = [];
    data.push(title);
    data.push("2021\t6\t210600001\t2021.06.01\t5501\t营业费用\t\t\t\t\tY71JY21201\tRK0001\t否\t这是凭证摘要\t张三");


    var f = $('#form_toexcel')[0];
    f.filename.value = "凭证资料导入模板.xlsx";
    f.data.value = JSON.stringify(data);
    f.submit();

}


id: 643f591d99321de22c2dbc27
pid: 60fa608c9932563b7c99bba5
name: script_h5
nodetype: column
createdate: 2023.04.19 11:01:40.000
lastmodifieddate: 2024.09.18 14:40:59.917
value:
/**
 * 当对某笔单据数据做修改后，列表模板中需要刷新这笔单据的数据，当是修改数据时，
 * 列表中的被修改的行单独执行刷新检索操作。如果是新增单据保存，列表则追加检索出这新增的单据
 *
 *  注意：本函数仅在单据列表模板中使用，当编辑界面保存数据后，触发本事件
 * @param id  需要刷新检索的数据的ID
 * @param row   刷新检索的数据在列表中的行号
 * @param append  true表示是追加检索， false表示是刷新检索
 *
 *
 * @returns {void} 无需返回值
 */
function refreshRetrieveEnd( id ,row , append) {
   //alert( id+  "    "+ row+"    "+  append); 

}


id: 643f591d99321de22c2dbc37
pid: 60fa600f9932563b7c99baff
name: script_h5
nodetype: column
createdate: 2023.04.19 11:01:43.000
lastmodifieddate: 2024.09.18 14:40:59.917
value:
var g_currentUserIsOwner = false; //当前人是不是起草人





/**
 * 表单初始化完成后，执行此事件
 */
//@comment (group=表单事件,caption=表单初始化完成)
function formOpen() {
    book.showTabOnWhere = 'none';
    book.getWorkSheet('下载清单').visible = false;



    if ($dzpz_dy_ds.getString(0, "ziptaskid") == '') {
        book.sheet1.getBrick('cb_cancel').visible = false;
    }

    if (currentUserId() == $dzpz_dy_ds.getInt(0, "userid")) {
        g_currentUserIsOwner = true;
    }
    //按gguid分开接收消息，避免多个打包的消息混在一起
    onPushMessage("打包下载" + currentGUID(), function (info) {
        console.info(info);
        var msg = JSON.parse(info);
        if (msg.action == 'info') {
            console.info(msg.info);
            if (g_currentUserIsOwner) showInfoPane(msg.info);
        }

        if (msg.action == 'gameOver') {
            var result = msg.result;
            //$.alert(JSON.stringify(result));


            $dzpz_dy_ds.setValue(0, "ziptaskid", '', false);//清除打包任务id，因为已经ok了，但不要触发保存
            //不需要保存 ，因为打包完成脚本中已经回填了，仅在界面上回填一下， 方便显示下载清单
            $dzpz_dy_ds.setValue(0, "zipresult", JSON.stringify(result.zipFiles), false);

            console.dir(result);

            cb_package_onClick();

            hideInfoPane();
        }
        if (msg.action == 'over') {

            hideInfoPane();
        }

        if (msg.action == 'error') {
            $.alert(msg.info);
            hideInfoPane();
        }
    })

    $('.navbar-fixed-top').css("z-index", 1);

}
/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=下载模板,needRightControl=false)
function cb_downloadTemplateFile_onClick(sheet, cell, button) {
    var title = "序号\t凭证号\t科目代码\t核算账号编号\t摘要";
    var data = [];
    data.push(title);
    data.push("1\t0001\t1001\tRD0001\tABC");
    data.push("2\t0002\t5501\tRD0002\tBBB");

    var f = $('#form_toexcel')[0];
    f.filename.value = "凭证调阅模板.xlsx";
    f.data.value = JSON.stringify(data);
    f.submit();

}

/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=导入模板,needRightControl=false)
function cb_importFromExcelFile_onClick(sheet, cell, button) {
    toastr.info("*自动保存，准备导入");
    form.save(false, function () {
        book.readXLS(function (data) {
            showInfoPane("*正在导入");
            setTimeout(function () {
                importData(data);
            }, 10);
        });
    });

}



function safeValue(sheet, row, col) {
    if (row > sheet.length - 1) return null;
    var dataRow = sheet[row];
    if (dataRow == null) return null;
    if (col > dataRow.length - 1) return null;
    return dataRow[col];

}

//@comment (group=,caption=从Excel导入数据,needRightControl=false)
function importData(excelData) {
    var excelSheet = excelData[Object.keys(excelData)[0]];


    var headRow = 0; //题头在第几行
    var dataStartRow = 1;// 数据行从第几行开始

    var RC = excelSheet.length;

    book.sheet0.paintPermit = false;

    for (let row = dataStartRow; row < RC; row++) {
        let data = {
            pzh: safeValue(excelSheet, row, 1) || '',
            kmdm: safeValue(excelSheet, row, 2) || '',
            code: safeValue(excelSheet, row, 3) || '',
            memo: safeValue(excelSheet, row, 4) || '',
        }
        //alert(JSON.stringify(data));
        if (data.pzh == '') continue;
        let r = $dzpz_dymx_ds.insertRow(99999);
        $dzpz_dymx_ds.setValue(r, data);
    }


    showInfoPane("*正在保存并检测凭证号");
    form.save(false, function () {


        book.sheet0.paintPermit = false;
        toastr.info("导入完成");

    });
}




var dymx_changed = false;
/**
 * dsname结果集保存前，对row进行数据校验 ，
 * @param dsname 结果集名称
 * @param row  第row行
 * @returns {boolean} true表示检验通过， false表示校验不通过，update被终止
 */
function validate(dsname, row) {
    if (dsname == 'dzpz_dymx') dymx_changed = true;
    return true;
}

/**
 * 数据集中的数据发生变化
 * @param dsname 数据集名称
 * @param row   数据行号
 * @param col    字段名
 * @param oldValue   原值
 * @param newValue  新值
 */
function itemChanged(dsname, row, col, oldValue, newValue) {
    if (col == 'corpid') dymx_changed = true;

}



/**
 * 单据保存成功后执行本事件。如果单据不需要保存，或保存失败，则不执行本事件
 * @param GUID 当前单据的GGUID
 * @param action 当前单据正在进行的动作，比如 edit , view
 */
function afterSaveSuccessful(GGUID, action) {
    if (dymx_changed) form.loadBill(GGUID); //如果明细有变化，那么保存成功后，重新加载单据，因为在单据保存后，模板后端脚本中会同时更新  pz_id 及 bz
    dymx_changed = false;
}


//@comment (group=按钮点击事件,caption=取消打包,needRightControl=false)
function cb_redo_pack_onClick() {

    $confirm('', '确信要清除压缩文件吗?', function () {

        book.getWorkSheet('下载清单').popupDispose( ) ; 
        
        setTimeout(function () {
            showInfoPane("*正在删除已打包的文件");
            setTimeout(function () {
                $dzpz_dy_ds.setValue(0, "ziptaskid", '');
                $dzpz_dy_ds.setValue(0, "zipresult", '');
                form.save(false);
                $q_result_ds.reset();
                hideInfoPane();
                toastr.info("打包文件已经删除。当再次点击打包下载时会重新打包");
            }, 200);
        },1000);
    });


}

//@comment (group=按钮点击事件,caption=取消打包,needRightControl=false)
function cb_cancel_onClick() {

    $confirm('', '确信要终止打包吗?', function () {
        showInfoPane("*正在终止打包...");
        runTask("终止打包", {
            id: $dzpz_dy_ds.getString(0, "ziptaskid")
        },
            function (ret) {
                ret = JSON.parse(ret);
                if (ret.success) {
                    $dzpz_dy_ds.setValue(0, "ziptaskid", '');
                    $dzpz_dy_ds.setValue(0, "zipresult", '');

                    form.save(false);
                    hideInfoPane();
                } else {
                    toastr.error(ret.message);
                }
            });

    });
}

//@comment (group=按钮点击事件,caption=打包,needRightControl=false)
function cb_package_onClick() {

    form.save(false, function () {
        var ziptaskid = $dzpz_dy_ds.getString(0, "ziptaskid");
        if (ziptaskid != '') {
            toastr.info("正在压缩中...，请稍候");
            return;
        }

        var zipResult = $dzpz_dy_ds.getString(0, "zipresult");
        if (zipResult == '') {
            toastr.info("正在压缩文件，请稍候");
            do_package(currentGUID(), function (ret) {

                if (ret.success) {
                    $dzpz_dy_ds.setValue(0, "ziptaskid", ret.zipTaskId, false); //后台已经回写了，就里只要界面上更新就ok
                }
            });
            return;
        }

        zipResult = zipResult.replace(/&action=view/g, '&action=download');
        zipResult = JSON.parse(zipResult);
        $q_result_ds.reset();
        for (var i = 0; i < zipResult.length; i++) {
            var one = zipResult[i];
            var row = $q_result_ds.insertRow(999);
            $q_result_ds.setValue(row, one);


        }

        book.getWorkSheet('下载清单').popup("", "下载清单", 600, 300, true, true);
    });
}



function cb_package_onClick___() {

    if (form.isSaveNeeded()) {
        toastr.info("请先保存");
        return;
    }

    let ids = [];
    for (let i = 0; i < $dzpz_dymx_ds.rowCount; i++) {
        if ($dzpz_dymx_ds.getString(i, "pz_id") == '') {
            toastr.error("第" + (i + 1) + "行的凭证号不存在，请核对");
            return;
        }
        ids.push($dzpz_dymx_ds.getString(i, "pz_id"));
    }

    if (ids.length == 0) {
        toastr.info("没有凭证清单");
        return;
    }

    $confirm('', '确信要打包下载吗?', function () {
        showInfoPane("*正在压缩打包...");
        let fileName = formatDate(newDate(), "yyyyMMddHHmm") + ".zip";
        runTask("打包下载", {
            fileName: fileName,
            gguid: currentGUID(),
            ids: ids,
            watermark: $dzpz_dy_ds.getString(0, "billno") + "[" + $dzpz_dy_ds.getString(0, "reader") + "]" +
                formatDate(newDate(), "yyyy.MM.dd HH:mm")
        },
            function (ret) {
                ret = JSON.parse(ret);
                hideInfoPane();
                if (ret.success) {
                    let t = window.location.href;
                    let p = t.indexOf("billedit");
                    t = t.substring(0, p);
                    let url = t + ret.url;
                    $.alert(` <a href="${url}" target="_blank">点击下载${fileName}</a>`, `打包完成`);
                } else {
                    toastr.error(ret.message);
                }
            });

    });

}

/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=调取凭证列表,needRightControl=false)
function cb_pzlist_onClick(sheet, cell, button) {
    // if (form.isSaveNeeded()) {
    //     toastr.info("请先保存");
    //     return;
    // }
    book.getWorkSheet("凭证资料查询").float('fa fa-cog', "凭证资料查询",
        {
            my: 'right-center',
            at: 'right-center',
            autoposition: 'down',
            offsetX: -5,
            offsetY: 5
        }, { width: '70%', height: '90%' });
    smartRetrieve(book.getWorkSheet("凭证资料查询"), "q_pzdjex")
}


/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=选入,needRightControl=false)
function cb_import_onClick(sheet, cell, button) {
    book.getWorkSheet("detail").paintPermit = false;
    let row = book.getDataSource("dzpz_dymx").currentBindRow;

    for (var i = 0; i < $q_pzdjex_ds.getRowCount(); i++) {
        if ($q_pzdjex_ds.getString(i, "selected") == '1') {
            if ($dzpz_dymx_ds.getString(row, "pzh") != '' || row < 0) row = $dzpz_dymx_ds.insertRow(row + 1);
            $dzpz_dymx_ds.setValue(row, {
                pzh: $q_pzdjex_ds.getValue(i, "pzh"),
                kmdm: $q_pzdjex_ds.getValue(i, "kmdm"),
                code: $q_pzdjex_ds.getValue(i, "code"),
                memo: $q_pzdjex_ds.getString(i, "bz")
            });
        }
    }
    book.getDataSource("dzpz_dymx").currentBindRow = row;
    book.getWorkSheet("detail").View.insureSelectionOnScreen(null, false);
    do_removeDuplicated(); //删除重复项

    //********删除行号***********************************
    book.getWorkSheet("凭证资料查询").paintPermit = false;
    for (var i = $q_pzdjex_ds.getRowCount() - 1; i >= 0; i--) {
        if ($q_pzdjex_ds.getString(i, "selected") == '1') $q_pzdjex_ds.deleteRow(i);
    }
    book.getWorkSheet("凭证资料查询").paintPermit = true;
    //**************************************************

    book.getWorkSheet("detail").paintPermit = true;
    book.getWorkSheet("main").paintPermit = true;
}

/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=,needRightControl=false)
function cb_opensheet_dr_onClick(sheet, cell, button) {
    book.getWorkSheet("凭证列表").float('fa fa-cog', "导入凭证列表",
        {
            my: 'right-center',
            at: 'right-center',
            autoposition: 'down',
            offsetX: -5,
            offsetY: 5
        }, { width: 400, height: '80%' });

}

/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=粘贴界面导入,needRightControl=false)
function cb_dr_onClick(sheet, cell, button) {

    book.getWorkSheet("detail").paintPermit = false;
    let row = book.getDataSource("dzpz_dymx").currentBindRow;
    let pzlist = sheet.cells('pzlist').getValueString().split('\n');
    for (let i = 0; i < pzlist.length; i++) {
        if (pzlist[i] !== '') {
            if ($dzpz_dymx_ds.getString(row, "pzh") != '' || row < 0) row = $dzpz_dymx_ds.insertRow(row + 1);

            $dzpz_dymx_ds.setValue(row, {
                pzh: pzlist[i]
            });
        }
    }
    sheet.cells('pzlist').setValue(null);
    sheet.floatPanelClose();

    book.getWorkSheet("detail").paintPermit = true;

}
/**
 * 单元格因为被编辑而改变。当用户通过编辑单元的值而让单元格发生值改变时本事件被触发。
 * 注意，当使用脚本 sheet.cells(row,col).setValue ( value) 来改变单元格的值时，本事件并不触发
 * @param sheet
 * @param cell
 * @param newValue
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChangedByEdit(sheet, cell, newValue, innerRow) {

    //通过数据库绑定情况来判断

    //通过别名来判断
    if (sheet.name == 'detail' && cell.alias == 'st_selectAll') {
        let ds = $dzpz_dymx_ds;
        sheet.paintPermit = false;
        for (var i = 0; i < ds.getRowCount(); i++) {
            ds.setValue(i, "selected", newValue);
        }
        sheet.paintPermit = true;
    }
    if (sheet.name == '凭证资料查询' && cell.alias == 'st_selectAll') {
        let ds = $q_pzdjex_ds;
        sheet.paintPermit = false;
        for (var i = 0; i < ds.getRowCount(); i++) {
            ds.setValue(i, "selected", newValue);
        }
        sheet.paintPermit = true;
    }

    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'dzpz_dymx' && bind.DBCol == 'pzh') {
        showInfoPane('*正在分析凭证号');
        setTimeout(function () {
            do_paste_pzlist(innerRow, newValue) //写入凭证号
        }, 100);
    }
    if (bind != null && bind.dataSource == 'dzpz_dy' && bind.DBCol == 'reader') {
        $dzpz_dy_ds.setValue(0, {
            watermark: '【' + $dzpz_dy_ds.getString(0, "reader") + '】仅用于项目专项审计或检查' 
        })
    }



}

/**
 * 单元格编辑时粘贴内容后触发此事件。
 * @param sheet
 * @param cell
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行被粘贴了内容
 * @param text 当前单元格编辑框中的内容，并不一定是粘贴的内容，是单元格编辑框中原有的内容加上粘贴的内容
 */
//@comment (group=单元格事件,caption=单元格粘贴内容)
function cellOnPaste(sheet, cell, innerRow, text) {

    //通过别名来判断
    if (cell.alias == 'XXX') {

    }

    //通过数据库绑定情况来判断
    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'dzpz_dymx' && bind.DBCol == 'pzh') {
        sheet.View.forceCurrentEditControlGiveUpFocus();
    }

}


/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=do,caption=凭证列表粘贴凭证清单后自动后插并赋值,needRightControl=false)
function do_paste_pzlist(innerRow, newValue) {

    if (newValue == null || newValue == '') return;
    let data = newValue.split(' ');
    book.getWorkSheet("detail").paintPermit = false;
    let row = innerRow;
    for (let i = 0; i < data.length; i++) {
        //row = $dzpz_dymx_ds.insertRow(row + 1);
        if (data[i] != '') {
            $dzpz_dymx_ds.setValue(row, {
                pzh: data[i],
                selected: 1
            });
            if (i < data.length - 1) row = $dzpz_dymx_ds.insertRow(row + 1);
        }
    }
    book.getDataSource("dzpz_dymx").currentBindRow = row;
    book.getWorkSheet("detail").View.insureSelectionOnScreen(null, false);
    do_removeDuplicated(); //删除重复项
    book.getWorkSheet("detail").paintPermit = true;
    book.getWorkSheet("main").paintPermit = true;
    hideInfoPane();
}







//@comment (group=,caption=异步打包,needRightControl=false)
function async_package() {

    if (form.isSaveNeeded()) {
        toastr.info("请先保存");
        return;
    }

    let ids = [];
    for (let i = 0; i < $dzpz_dymx_ds.rowCount; i++) {
        if ($dzpz_dymx_ds.getString(i, "pz_id") == '') {
            toastr.error("第" + (i + 1) + "行的凭证号不存在，请核对");
            return;
        }
        ids.push($dzpz_dymx_ds.getString(i, "pz_id"));
    }

    if (ids.length == 0) {
        toastr.info("没有凭证清单");
        return;
    }

    $confirm('', '确信要重新打包吗?', function () {
        showInfoPane("*正在后台打包...");
        let fileName = $dzpz_dy_ds.getString(0, "reader") +
            formatDate(newDate(), "yyyy.MM.dd HH:mm") + "调阅凭证.zip";
        runTask("后台打包", {
            gguid: currentGUID(),
            fileName: fileName,
            ids: ids,
            watermark: $dzpz_dy_ds.getInt(0, "needwatermark") == 0 ? "" : ($dzpz_dy_ds.getString(0, "reader") + "/" + formatDate($dzpz_dy_ds.getValue(0, "billdate"), "yyyy.MM.dd HH:mm") + "\n" + $dzpz_dy_ds.getString(0, "watermark")),
            mergePDF: $dzpz_dy_ds.getString(0, "filetype") == 'pdf' //是否合并成一个pdf文件
        },
            function (ret) {
                ret = JSON.parse(ret);
                hideInfoPane();
                if (ret.success) {
                    $dzpz_dy_ds.setValue(0, "ziptaskid", ret.zipTaskId);
                    form.save(false);
                    hideInfoPane();

                } else {
                    toastr.error(ret.message);
                }
            });

    });


}

//@comment (group=按钮点击事件,caption=标记重复,needRightControl=false)
function cb_qc_onClick() {
    showInfoPane("*正在检测重复的凭证");
    var map = {};
    for (var i = 0; i < $dzpz_dymx_ds.rowCount; i++) {
        var pzh = $dzpz_dymx_ds.getString(i, "pzh");
        if (pzh == '') continue;
        if (map[pzh] == undefined) map[pzh] = []; //每个凭证号映射到一个数组，记录它所在的行号
        map[pzh].push(i); // 记录下凭证号对应的行号

    }

    book.getWorkSheet('detail').paintPermit = false;
    for (pzh in map) {
        var rows = map[pzh];
        $dzpz_dymx_ds.setValue(rows[0], "bz", "");
        for (var i = 1; i < rows.length; i++) {
            $dzpz_dymx_ds.setValue(rows[i], "bz", "与第" + (rows[0] + 1) + "行重复");
        }
    }
    book.getWorkSheet('detail').paintPermit = true;
    hideInfoPane();
}

//@comment (group=按钮点击事件,caption=删除重复的,needRightControl=false)
function cb_removeDuplicated_onClick() {

    $confirm('', '确信要清除重复的凭证号吗?', function () {

        do_removeDuplicated()

    });

}


//@comment (group=do,caption=执行删除重复的,needRightControl=false)
function do_removeDuplicated() {

    showInfoPane("*正在删除重复的凭证");
    book.getWorkSheet('detail').paintPermit = false;
    var pzhs = []; //凭证号清单
    var rows = [];// 需要删除的行号
    for (var i = 0; i < $dzpz_dymx_ds.rowCount; i++) {
        var pzh = $dzpz_dymx_ds.getString(i, "pzh");
        if (pzhs.contains(pzh)) //此凭证号此前已经出现过
        {
            rows.push(i);//  需要删除
        } else {
            pzhs.push(pzh); //没有出现过，那么加它到凭证号清单中
        }
    }
    //现在反着删除
    for (var i = rows.length - 1; i >= 0; i--) {
        $dzpz_dymx_ds.deleteRow(rows[i]);
    }
    //form.save(false);
    book.getWorkSheet('detail').paintPermit = false;
    hideInfoPane();
}



/**
 * 按钮点击事件
 * 当某个按钮被点击时， 首先触发  {按钮名称}_onClick 事件，然后触发 buttonOnClick事件
 * @param sheet  工作表
 * @param cell   按钮所在的单元格
 * @param button 按钮对象
 */
//@comment (group=按钮点击事件,caption=批量删除已选中记录,needRightControl=false)
function cb_selectedRow_delete_onClick(sheet, cell, button) {
    $confirm("提示", "确定要删除选中的记录吗?", function () {
        book.getWorkSheet('detail').paintPermit = false;
        for (let i = $dzpz_dymx_ds.getRowCount() - 1; i >= 0; i--) {
            if ($dzpz_dymx_ds.getInt(i, "selected") == 1) $dzpz_dymx_ds.deleteRow(i);
        }
        if ($dzpz_dymx_ds.getRowCount() == 0) $dzpz_dymx_ds.insertRow(0);
        book.getWorkSheet('detail').cells("st_selectAll").setValue(0);
        book.getWorkSheet('detail').paintPermit = true;
    }, function () { });



}


id: 646b0638993236a03f8f8a5a
pid: 6183205499328c3820c0c8d9
name: script_h5
nodetype: column
createdate: 2023.05.22 14:05:51.000
lastmodifieddate: 2024.09.18 14:40:59.917
value:
var pzh_prefix;
var pzh_length;

var fullScreenDiv = null;



function formOpen() {
    book.showTabOnWhere = 'none';
    //加载帐套信息及年月
    var corpid = book.getWorkSheet("filter").cells("corpid").getValueString();
    runTask("当前记帐期", { corpid: corpid }, function (ym) {
        if (ym == null || ym == 'null') return;
        //得到年月后，获取凭证号相关设置
        pzh_len = getPZHLen(corpid);

        book.getWorkSheet("filter").cells("ym").setValue(ym);

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.getWorkSheet("filter").cells("pzh_prefix").setValue(pzh_prefix);


    });

    // 追加一些CSS类 ，用于凭证号标记
    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:12px;text-align:center;}
                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; 
                                    vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
                    `);


}



/**
 * 多行结果集当前焦点行发生变化
 * @param dsname  结果集名称
 * @param row  行号
 */
function currentBindRowChanged(dsname, row) {
    if (dsname == 'dzpz_pz') {
        //重新加载凭证图片列表

        let id = $dzpz_pz_ds.getString(row, "id");
        let pzh = $dzpz_pz_ds.getString(row, "pzh");
        loadPZ(pzh, id);

    }
}

/**
 * 单元格的值发生了改变
 * @param sheet  所在的工作表
 * @param cell  单元格对象
 * @param oldValue  原先的值
 * @param newValue 变化后的值
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行发生变化
 */
function cellValueChanged(sheet, cell, oldValue, newValue, innerRow) {

    //如果是绑定了数据库的，强烈不建议使用本事件，换用结果集变化事件 itemChanged

    //通过别名来判断
    if (cell.alias == 'ym') {
        var corpid = book.getWorkSheet("filter").cells("corpid").getValueString();
        var ym = book.getWorkSheet("filter").cells("ym").getValue();

        pzh_prefix = getPZHPrefix(corpid, ym);
        book.getWorkSheet("filter").cells("pzh_prefix").setValue(pzh_prefix);
    }




}

function loadPZ(pzh, id) {
    let data = getPZFJ(id); //得到凭证的所有图片
    let FJ = book.getWorkSheet("凭证详情").getBrick('FJ');
    FJ.buildGridly(data, function () {
        let shortPZH = pzh;//.substring(pzh_prefix.length);
        //加载图片完成后， 如果是凭证，那么加上凭证号信息
        for (let i = 0; i < data.length; i++) {
            if (data[i].groupname == '凭证') {
                setPZH(data[i].id, shortPZH, false);
            }
        }

    });
    book.getWorkSheet("凭证详情").yOffset = 0; //垂直卷滚条归位
}


//@comment (group=凭证号,caption=设置图片的凭证号,needRightControl=false)
function setPZH(id, pzh, needDeleteButton) {
    if (needDeleteButton == undefined) needDeleteButton = true
    find_pzh(id, true, needDeleteButton).find('.no').text(pzh);
}

//@comment (group=凭证号,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists, needDeleteButton) {

    if (needDeleteButton == undefined) needDeleteButton = true;

    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" >
                        <div class="no"></div>
                        <div class="delete_pzh"  ${needDeleteButton ? "" : " style='display:none' "} ><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div>
                      </div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}



/**
 * 单元格单击事件
 * @param sheet
 * @param cell
 * @param innerRow   当单元格没有绑定数据库或绑定到单行数据库时，本参数无意义。如果绑定一个
 * 多行数据库，则表示该单元所绑定的字段的第 innerRow行被点击
 * @param event 事件对象
 */
//@comment (group=单元格事件,caption=单元格点击)
function cellOnClick(sheet, cell, innerRow, event) {

    //通过别名来判断
    if (cell.alias == 'XXX') {

    }

    //通过数据库绑定情况来判断
    let bind = cell.bind;
    if (bind != null && bind.dataSource == 'dzpz_pz') {

    }

}

//@comment (group=工具函数,caption=全选或取消全选)
function seletOrUnSelectAll() {
    //让selection单元格失去编辑焦点，不然再点击，它不会触发单元格的点击事件，因为此时点击的编辑框对象，不会触发单元格的点击
    book.getWorkSheet("list").View.forceCurrentEditControlGiveUpFocus();

    var v = book.getWorkSheet("list").cells('selection').getValueInt();

    book.getWorkSheet("list").paintPermit = false;
    $dzpz_pz_ds.setValueWithTrigger = false;
    for (var i = 0; i < $dzpz_pz_ds.rowCount; i++) {
        $dzpz_pz_ds.setValue(i, "selected", v);
    }
    $dzpz_pz_ds.setValueWithTrigger = true;
    book.getWorkSheet("list").paintPermit = true;
}




/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet, name, data) {


    if (name == "FJ") {
        let brick = sheet.getBrick(name);
        brick.addToolButton(1  //在从右往左数第2个工作栏位置添加一个工具按钮
            , "fa-print",   // 字符图标
            "打印图片",  // 鼠标悬停的提示信息
            "green", //按钮背景色
            function (id) {  //点击后的回调函数
                imagePrint(brick, id);

            }
        );


    }
}


function imagePrint(brick, id) {

    if ( ! isRoleGrantedToUser( currentUserId(), "凭证影像打印") ) 
    {
        toastr.error('抱歉，您无此权限');
        return;
    }
    //把数据中的图片替换，
    for (let i = 0; i < brick.data.length; i++) {
        if (brick.data[i].id == id) {
            //属性从新的属性中替换 
            let url = brick.data[i].url_img;
            printThisWindow(url);
            break;
        }
    }

}

function printThisWindow(imgSrc) {
    let iframe = document.createElement('IFRAME')
    let doc = null
    iframe.setAttribute('class', 'print-iframe')
    iframe.setAttribute('style', 'position:absolute;width:0px;height:0px;left:-500px;top:-500px;')
    document.body.appendChild(iframe)
    doc = iframe.contentWindow.document
    // 取一个不重复的方法名称，可以随机字符串
    doc.___imageLoad___ = function () {
        iframe.contentWindow.print()
        if (navigator.userAgent.indexOf('MSIE') > 0) {
            document.body.removeChild(iframe)
        }
    }
    doc.write('<div style="height: 100%;width: 100%;">' + `<img src="${imgSrc}" style="max-height:100%;max-width: 100%;" onload="___imageLoad___()"/>` + '</div>')
    doc.close()
    iframe.contentWindow.focus()
}

/**
 * 图片控件中显示大图时添加水印图片
 * @param sheet   所在Sheet
 * @param name  图片控件的名称

 * @return  返回水印图片的url地址 ，如果返回  '' 则表示不添加水印图片
 */
//@comment (group=图片控件,caption=鼠标在某个图片上释放)
function imageOnPopupWithWatermark(sheet , name ) {

    var info= currentUserShowName( ) +""+ formatDate( new Date() , "yyyy.MM.dd-HH:mm");
    
    return "watermark?watermark="+info;
    
}


id: 646c5a70993236a03f8f8c66
pid: 60a31c3c5db27838e0c0129e
name: script_h5
nodetype: column
createdate: 2023.05.23 14:17:44.000
lastmodifieddate: 2024.09.18 14:40:59.917
value:
var labelDataInited=false;

/**
 * 表单初始化完成后，执行此事件
 */
//@comment (group=表单事件,caption=表单初始化完成)
function formOpen()
{
    book.showTabOnWhere="top";
    $dzpz_pzbq_ds.reset();
    var s= $dzpz_pz_ds.getString(0,"labeldata");
    if(s=='') s="{}";
    var data= JSON.parse(s);
    if( typeof(data)!='object') data={};
    for( var name in data)
    {
        var value= data[name];
        if( ['凭证号','记帐期'].contains(name)) continue;
        var row= $dzpz_pzbq_ds.insertRow(999);
        $dzpz_pzbq_ds.setValue(row,{name:name, value:value});
    }
    labelDataInited=true;


}

//图片控件初始化之前的处理，注入参数
function imageGridlyBeforeInit(sheet, name, data)
{
    sheet.getBrick(name).config.uploadButtonDisabled  =true;
    sheet.getBrick(name).config.deleteButtonDisabled  =true;
}

/**
 * 数据集中的数据发生变化
 * @param dsname 数据集名称
 * @param row   数据行号
 * @param col    字段名
 * @param oldValue   原值
 * @param newValue  新值
 */
function itemChanged (dsname,row, col, oldValue, newValue)
{
    if( dsname=='dzpz_pzbq')
    {
        rebuildLabel();
    }
}


function rebuildLabel()
{
    if(! labelDataInited) return;
    var label={'凭证号':$dzpz_pz_ds.getString(0,"pzh") , '记帐期':$dzpz_pz_ds.getInt(0,"ym") };
    for( var i=0;i<$dzpz_pzbq_ds.rowCount;i++)
    {
        var name= $dzpz_pzbq_ds.getString(i,"name");
        
     var value= $dzpz_pzbq_ds.getString(i,"value");
     if( name=='') continue;
     label[name]=value; 
    }

    $dzpz_pz_ds.setValue(0,"labeldata", JSON.stringify(label));
        
}


function cb_download_onClick()
{
    packageGo('download');
}


function cb_view_onClick()
{
    packageGo('view');
}

function packageGo( action)
{
    var ret=  JSON.parse(runTask("pz_image2pdf" ,{id: currentGUID(), 
    overwrite:false  //如果已存在，不要重新生成
    }));
    console.dir(ret);
    if( ret.success)
    {
        smartRetrieve( book.sheet0, "app_archive"); 
        let url= ret.data.url_img;
        if( action=='download')  url= url.replace('action=view' , 'action=download');
          url=  safeURL( safeURL(  url) ); //没有其它意思，就是测试一下safeURL的幂等性
        console.info( url); 
        openWindow( url );
    }else{
        $.alert( ret.message);
    }
}


id: 653a2ba49932b5260b04c5de
pid: 60a31c475db27838e0c01344
name: pagesetup-5ecfeb4bf86a555c982f4d1afa01015d
nodetype: column
createdate: 2023.10.26 17:05:16.000
lastmodifieddate: 2024.09.18 14:40:59.918
value:
{"pageWidth":"210","pageHeight":"297","leftMargin":"20","topMargin":"20","rightMargin":"20","bottomMargin":"20","paper":"210*297","printDir":1,"pageHeaderConfig":{"define":"","height":"20"},"pageFooterConfig":{"define":"=\"第 \"+pageIndex()+\" 页，共 \"+pageCount()+\" 页\"","height":"20"},"printScale":"0","printerDeviceName":"HP LaserJet Tank 250x"}


id: 655a1eb99932174d03378092
pid: 655a1eb99932174d03378091
name: ui
nodetype: column
createdate: 2023.11.19 22:42:39.000
lastmodifieddate: 2024.09.18 14:40:59.918
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"runtimeOptions":{},"sheets":[{"index":0,"rowCount":12,"columnCount":13,"guid":"60b2670ecb842f477d57edc3710b9da0","name":"Sheet1","gridLineVisible":false,"freezedRow":7,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":50,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":17,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":9,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":10,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":11,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":9,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":49,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":39,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":114,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":38,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":65,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":103,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":93,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":167,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"define":"= nian*100 + yue ","cellValueType":1,"rowSpan":1,"colSpan":2,"PI":0,"bind":{"dataSource":"uploadpz","DBCol":"ym","dsType":1}},{"row":0,"col":3,"define":"凭证影像PDF批量导入","rowSpan":1,"colSpan":5,"PI":1},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":0,"col":11},{"row":0,"col":12},{"row":2,"col":0},{"row":2,"col":1},{"row":2,"col":2},{"row":2,"col":3},{"row":2,"col":4},{"row":2,"col":5},{"row":2,"col":6},{"row":2,"col":7},{"row":2,"col":8},{"row":2,"col":9,"PI":2},{"row":2,"col":10},{"row":2,"col":11},{"row":2,"col":12},{"row":3,"col":0},{"row":3,"col":1,"define":"*帐  套","rowSpan":1,"colSpan":2,"PI":3},{"row":3,"col":3,"define":"00","editable":true,"cellValueType":3,"rowSpan":1,"colSpan":3,"alias":"corpid","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"corpid","dsType":1},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":6,"define":"*年  份","PI":3},{"row":3,"col":7,"editable":true,"cellValueType":1,"alias":"nian","PI":5,"bind":{"dataSource":"uploadpz","DBCol":"y","dsType":1},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":true,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"2040\n2039\n2038\n2037\n2036\n2035\n2034\n2033\n2032\n2032\n2030\n2029\n2028\n2027\n2026\n2025\n2024\n2023\n2022\n2021\n2020\n2019\n2018\n2017\n2016\n2015\n2014\n2013\n2012\n2011\n2010","showRealData":false,"columnCount":null}},{"row":3,"col":8,"define":"*月  份","PI":6},{"row":3,"col":9,"editable":true,"cellValueType":1,"alias":"yue","PI":7,"bind":{"dataSource":"uploadpz","DBCol":"m","dsType":1},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"1;1月\n2;2月\n3;3月\n4;4月\n5;5月\n6;6月\n7;7月\n8;8月\n9;9月\n10;10月\n11;11月\n12;12月","showRealData":false,"columnCount":null}},{"row":3,"col":10,"PI":8,"bricks":[{"type":"button","name":"cb_upload","config":{"name":"cb_upload","caption":" 上传目录","enable":true,"visible":true,"size":"1","className":"","x":30,"y":1,"width":-1,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"fa-paper-plane","rightIcon":"","DOMName":"cb_upload-75027401f0a6cabb7e6c1b1e84310765","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_upload-75027401f0a6cabb7e6c1b1e84310765\">\n                       <i class='fa fa-paper-plane'></i> 上传目录\n                </button>\n                "},"x":30,"y":1,"width":-1,"height":-1}]},{"row":3,"col":11},{"row":3,"col":12},{"row":4,"col":0,"PI":9},{"row":4,"col":1,"define":" 备  注","rowSpan":1,"colSpan":2,"PI":10},{"row":4,"col":3,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":5,"PI":11,"bind":{"dataSource":"uploadpz","DBCol":"summary","dsType":1}},{"row":4,"col":8,"define":" 凭证份数","PI":10},{"row":4,"col":9,"define":"=count(pzh)","cellValueType":1,"PI":12,"bind":{"dataSource":"uploadpz","DBCol":"pzfs","dsType":1}},{"row":4,"col":10,"PI":8},{"row":4,"col":11},{"row":4,"col":12},{"row":5,"col":0},{"row":5,"col":1,"PI":13},{"row":5,"col":2,"PI":13},{"row":5,"col":3,"PI":13},{"row":5,"col":4,"PI":13},{"row":5,"col":5,"PI":13},{"row":5,"col":6,"PI":13},{"row":5,"col":7,"PI":13},{"row":5,"col":8,"PI":13},{"row":5,"col":9,"PI":13},{"row":5,"col":10,"PI":14},{"row":5,"col":11},{"row":5,"col":12},{"row":6,"col":0,"PI":9},{"row":6,"col":1,"define":"序号","PI":15},{"row":6,"col":2,"define":"凭证号","rowSpan":1,"colSpan":3,"PI":15},{"row":6,"col":5,"define":"上传文件保存地址","rowSpan":1,"colSpan":3,"PI":15},{"row":6,"col":8,"define":"说明","rowSpan":1,"colSpan":3,"PI":15},{"row":6,"col":11,"PI":16},{"row":6,"col":12},{"row":7,"col":0,"PI":9},{"row":7,"col":1,"PI":17,"bind":{"dataSource":"uploadpzmx","DBCol":"c_inner_xh","dsType":2}},{"row":7,"col":2,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"pzh","PI":18,"bind":{"dataSource":"uploadpzmx","DBCol":"pzh","dsType":2}},{"row":7,"col":4,"cellValueType":1,"alias":"state","PI":18,"bind":{"dataSource":"uploadpzmx","DBCol":"state","dsType":2},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"1;√\n0;X","showRealData":false,"columnCount":null}},{"row":7,"col":5,"cellValueType":3,"rowSpan":1,"colSpan":3,"alias":"url","PI":18,"bind":{"dataSource":"uploadpzmx","DBCol":"url","dsType":2}},{"row":7,"col":8,"cellValueType":3,"rowSpan":1,"colSpan":3,"alias":"info","PI":19,"bind":{"dataSource":"uploadpzmx","DBCol":"info","dsType":2}},{"row":7,"col":11,"PI":16},{"row":7,"col":12},{"row":8,"col":0},{"row":8,"col":1,"PI":20},{"row":8,"col":2,"PI":20},{"row":8,"col":3,"PI":20},{"row":8,"col":4,"PI":20},{"row":8,"col":5,"PI":20},{"row":8,"col":6,"PI":20},{"row":8,"col":7,"PI":20},{"row":8,"col":8,"PI":20},{"row":8,"col":9,"PI":20},{"row":8,"col":10,"PI":20},{"row":8,"col":11},{"row":8,"col":12}]}],"propertyCache":{"fa469aad74cdc689d4b3e9bc6bdfe6a2":{"text-align":1,"font-size":22},"f91620f7bf176a48668c6fd1fb5b0f00":{"font-size":22},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"91ed707a7c2e38e5870d57b6728c9526":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","font-size":"12","color":"rgb(40, 55, 71)","text-align":2},"8552f01f1a00567cad1dd2573fa42231":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(248, 249, 249)","font-size":12,"color":"rgb(40, 55, 71)"},"c26a8df6b2a166fff7ed45f30a1e03af":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(255, 255, 255)","font-size":"12","color":"rgb(40, 55, 71)","text-align":2},"717e3cc45184b13560792fe312ef2af4":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-size":"12","color":"rgb(40, 55, 71)","text-align":2},"7bbd7ab2ac3c051354a6dc6b2a664cb4":{"font-size":"12","color":"rgb(40, 55, 71)","text-align":2,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"d26a242ebb6a71305473ca925688d0fe":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"47a00a41624c6383ac8392dd4e2d2817":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"780dd912f5df88d90fb3d1acfeff6b8f":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"text-align":2,"background-color":"rgb(244, 246, 246)"},"80b6b48d38e7a2491335478b2efc48af":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"6b10049395cc9b41066e8ea702153568":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"text-align":2},"0d82eed92c594da113a7fea5f6c1f3eb":{"font-size":12,"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"6d0d36ad07bc633c62da46fe16b2a6ab":{"font-size":12,"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"dc264b867d42731f3587f43c50f8518f":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)"},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"7957a5c8f92f1977ba5ff81fdec5e65e":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"text-align":2},"588be1a97e459c2fa25cf3e7119b9cec":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"c67619febef652ef9e01b8a1125b9d16":{"font-size":12,"word-wrap":true,"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]}},"propertyIdList":["fa469aad74cdc689d4b3e9bc6bdfe6a2","f91620f7bf176a48668c6fd1fb5b0f00","125018f3eef635c9d10037c06e4a0236","91ed707a7c2e38e5870d57b6728c9526","8552f01f1a00567cad1dd2573fa42231","c26a8df6b2a166fff7ed45f30a1e03af","717e3cc45184b13560792fe312ef2af4","7bbd7ab2ac3c051354a6dc6b2a664cb4","d26a242ebb6a71305473ca925688d0fe","47a00a41624c6383ac8392dd4e2d2817","780dd912f5df88d90fb3d1acfeff6b8f","80b6b48d38e7a2491335478b2efc48af","6b10049395cc9b41066e8ea702153568","0d82eed92c594da113a7fea5f6c1f3eb","6d0d36ad07bc633c62da46fe16b2a6ab","dc264b867d42731f3587f43c50f8518f","20118c09fa9c7e8fb2753e163d4f4c03","7957a5c8f92f1977ba5ff81fdec5e65e","588be1a97e459c2fa25cf3e7119b9cec","c67619febef652ef9e01b8a1125b9d16","fc406aa51250ead084dba7e6ed9e7117"]}


id: 655a1eb99932174d03378094
pid: 655a1eb99932174d03378091
name: rightcheckpoint
nodetype: column
createdate: 2023.11.19 22:42:39.000
lastmodifieddate: 2024.09.18 14:40:59.918
value:
{"60b2670ecb842f477d57edc3710b9da0":{"name":"Sheet1","buttonClick":[{"name":"cb_upload","title":" 上传目录"}]}}


id: 655a1eb99932174d03378095
pid: 655a1eb99932174d03378091
name: db
nodetype: column
createdate: 2023.11.19 22:42:39.000
lastmodifieddate: 2024.09.18 14:40:59.918
value:
[{"name":"uploadpz","label":"上传已归档凭证","type":"table","dbpool":"default","description":"","multirow":false,"rowcount":1,"orderby":"billdate desc","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"655a1eb99932174d0337809b","column":[{"name":"id","label":"ID","description":"ID","type":"decimal(20,0)","nullable":false,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"制单日期","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"制单人ID","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"制单人","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"上传的附件个数","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"审核人ID","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"审核人","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"审核日期","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"备注","type":"varchar(200)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"单据打印次数","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"单据打开使用的地址","type":"varchar(300)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzfs","label":"凭证份数","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"年月","description":"","type":"int","nullable":false,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"y","label":"年","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"m","label":"月","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"帐套","description":"","type":"varchar(40)","nullable":false,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[]},{"name":"uploadpzmx","label":"上传凭证清单","type":"table","dbpool":"default","description":"","multirow":true,"rowcount":0,"orderby":"inner_xh asc","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"656599ef9932affff3d38af1","column":[{"name":"id","label":"ID","description":"ID","type":"decimal(20,0)","nullable":false,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"inner_xh","label":"序号","description":"序号","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"url","label":"pdf文件路径","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"state","label":"状态","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"info","label":"提示信息","description":"","type":"text","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":"inner_xh"},{"name":"c_db_insertrowafter","label":"后插","expression":"innerAction('\\uf067 插入','insertRowAfter')","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可在本结果集中后插一行","fillback":""},{"name":"c_db_insertrowbefore","label":"前插","expression":"innerAction('\\uf055 前插','insertRowBefore')","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可在本结果集中后插一行","fillback":""},{"name":"c_db_deleterow","label":"删除","expression":"innerAction('\\uf014 删除','deleteRow')","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可删除当前行","fillback":""}]}]


id: 655a1eb99932174d03378096
pid: 655a1eb99932174d03378091
name: script
nodetype: column
createdate: 2023.11.19 22:42:39.000
lastmodifieddate: 2024.09.18 14:40:59.919
value:
function cb_upload_onClick() {


    form.save(false, function () {
        let corpid = $uploadpz_ds.getString(0, "corpid");
        let ym = $uploadpz_ds.getString(0, "ym");
        if (ym == 0) {
            toastr.error('请选择年，月');
            return;
        }

        do_upload( corpid ,ym);

    });
}


function do_upload( corpid  ,ym) {
    uploadFolder( {
            fileType: "pdf",
            serverIndex: 1,
            logTable: 'app_archive',
            tableName: 'dzpz_pz',
            gguid: '', //
            path: "凭证归档/" + corpid + "/" + ym

        },
        {
            threadCount: 4,

            //一个文件上传成功后，创建相应的凭证记录
            onFileUploaded: function (data, file) {
                console.dir(data);

                let row = $uploadpzmx_ds.insertRow(99999);
                let pzh = data.filename;
                pzh = pzh.substring(pzh.lastIndexOf("/") + 1, pzh.lastIndexOf("."));
                toastr.show(pzh);
                $uploadpzmx_ds.setValue(row, "pzh", pzh);
                $uploadpzmx_ds.setValue(row, "url", data.objectname);

                let state = 0;
                create_pz(corpid, ym, pzh, data.id, function (info) {  //创建凭证记录
                    if (info == '') {
                        state = 1;
                        info = "成功上传";
                    } else {
                        state = 0;
                    }
                    $uploadpzmx_ds.setValue(row, "state", state);
                    $uploadpzmx_ds.setValue(row, "info", info);
                    toastr.hide();
                    form.save(false);
                });

            },
            //上传进度显示 
            onUploadProgress: function (percent, file) {
                toastr.show(file.name + "  " + percent + '%');
            },

            //文件上传前做校验
            onFilter: function (  oneConfig , file ) {
                console.dir(file);
                let name = file.name.toLowerCase();
                if (!name.endsWith('.pdf')) {
                    console.info(name + "不是pdf，无需上传");
                    return false;
                }


                let pzh = name.substring(0, name.lastIndexOf('.'));

                if (pzh_exists(corpid, ym, pzh)) {
                    let row = $uploadpzmx_ds.insertRow(99999);
                    $uploadpzmx_ds.setValue(row, "pzh", pzh);
                    $uploadpzmx_ds.setValue(row, "state", 0);
                    $uploadpzmx_ds.setValue(row, "info", pzh + "已存在，禁止上传。如需覆盖，请先删除该凭证，再上传");
                    return false;
                }
                //指定上传后的文件名，但是注意，如果name 文件已经存在，那么系统会自动加序号
                oneConfig.objectName = name;

                return true;
            },

            onAllFilesUploaded: function () {
                $.alter("全部上传完成");
                toastr.hide();
            }
        }
    );
}


id: 6566caf29932bfa1d16e40ac
pid: 6566caf29932bfa1d16e40ab
name: ui
nodetype: column
createdate: 2023.11.29 13:39:18.000
lastmodifieddate: 2024.09.18 14:40:59.919
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"runtimeOptions":{},"sheets":[{"index":0,"rowCount":6,"columnCount":8,"guid":"43206102ad4c9647bbb2be2f206a02b2","name":"Sheet1","gridLineVisible":false,"freezedRow":2,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":5,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":200,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":88,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":317,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":11,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"PI":0},{"row":0,"col":2,"PI":0},{"row":0,"col":3,"PI":0},{"row":0,"col":4,"PI":0},{"row":0,"col":5,"PI":0},{"row":0,"col":6,"PI":0},{"row":0,"col":7},{"row":1,"col":0,"PI":1},{"row":1,"col":1,"define":"导入日期","alias":"t_uploadpz_billdate","PI":2},{"row":1,"col":2,"define":"导入人","alias":"t_uploadpz_username","PI":2},{"row":1,"col":3,"define":"帐套","alias":"t_uploadpz_corpid","PI":2},{"row":1,"col":4,"define":"年月","alias":"t_uploadpz_ym","PI":2},{"row":1,"col":5,"define":"凭证份数","alias":"t_uploadpz_pzfs","PI":2},{"row":1,"col":6,"define":"备注","alias":"t_uploadpz_summary","PI":2},{"row":1,"col":7,"PI":3},{"row":2,"col":0,"PI":1},{"row":2,"col":1,"cellValueType":4,"alias":"uploadpz_billdate","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"billdate","dsType":2}},{"row":2,"col":2,"cellValueType":3,"alias":"uploadpz_username","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"username","dsType":2}},{"row":2,"col":3,"cellValueType":3,"alias":"uploadpz_corpid","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-简称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":2,"col":4,"cellValueType":1,"alias":"uploadpz_ym","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"ym","dsType":2}},{"row":2,"col":5,"cellValueType":1,"alias":"uploadpz_pzfs","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"pzfs","dsType":2}},{"row":2,"col":6,"cellValueType":3,"alias":"uploadpz_summary","PI":4,"bind":{"dataSource":"uploadpz","DBCol":"summary","dsType":2}},{"row":2,"col":7,"PI":3},{"row":3,"col":0},{"row":3,"col":1,"PI":5},{"row":3,"col":2,"PI":5},{"row":3,"col":3,"PI":5},{"row":3,"col":4,"PI":5},{"row":3,"col":5,"PI":5},{"row":3,"col":6,"PI":5},{"row":3,"col":7}]}],"propertyCache":{"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"47a00a41624c6383ac8392dd4e2d2817":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"b2084b9d6e9818690b2786b69ecaa97b":{"background-color":"rgb(242, 244, 244)","border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"7cbe511896ca066d9eb5f33da6326edd":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]}},"propertyIdList":["125018f3eef635c9d10037c06e4a0236","47a00a41624c6383ac8392dd4e2d2817","b2084b9d6e9818690b2786b69ecaa97b","20118c09fa9c7e8fb2753e163d4f4c03","7cbe511896ca066d9eb5f33da6326edd","fc406aa51250ead084dba7e6ed9e7117"]}


id: 6566caf29932bfa1d16e40af
pid: 6566caf29932bfa1d16e40ab
name: db
nodetype: column
createdate: 2023.11.29 13:39:19.000
lastmodifieddate: 2024.09.18 14:40:59.919
value:
[{"name":"uploadpz","label":"上传已归档凭证","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"uploadpz","sql":"select * from  uploadpz   where ifnull(deleteflag,0)=0\norder by billdate desc","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","primarykey":"id","autoretrieve":true,"needcache":"false","cacheserver":"","cachetimeout":30,"table_query_id":"6566caf29932bfa1d16e40b5","column":[{"name":"id","label":"ID","description":"","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzfs","label":"凭证份数","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"年月","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"y","label":"年","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"m","label":"月","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"帐套","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""},{"name":"c_form_viewbill","label":"查看单据","expression":"innerAction('\\uf06e 查看','viewBill')","description":"单据列表模板中，点击绑定此计算列的单元格可触发查看单据操作","fillback":""},{"name":"c_form_editbill","label":"编辑单据","expression":"innerAction('\\uf044 编辑','editBill')","description":"单据列表模板中，点击绑定此计算列的单元格可触发编辑单据操作","fillback":""},{"name":"c_form_deletebill","label":"删除单据","expression":"innerAction('\\uf1f8 删除','deleteBill')","description":"单据列表模板中，点击绑定此计算列的单元格可触发删除单据操作","fillback":""},{"name":"c_form_verifybill","label":"审核单据","expression":"innerAction(iif( verifierid>0 ,'\\uf02c 取消审核','\\uf02c 审核'),'verifyBill')","description":"单据列表模板中，点击绑定此计算列的单元格可触发审核/取消审核单据操作","fillback":""}]}]


id: 657ffbd799320041501b0972
pid: 657ffbd799320041501b0971
name: ui
nodetype: column
createdate: 2023.12.19 06:34:59.000
lastmodifieddate: 2024.09.18 14:40:59.920
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"runtimeOptions":{"gridFocusRowNeedHighlight":false},"sheets":[{"index":0,"rowCount":9,"columnCount":13,"guid":"3f8a372926e906087708efd8172c06d1","name":"Sheet1","gridLineVisible":false,"freezedRow":5,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":38,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":32,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":49,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":39,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":94,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":249,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":81,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":83,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":302,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":37,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"define":"凭证影像调阅统计","rowSpan":1,"colSpan":9,"PI":0},{"row":0,"col":10},{"row":0,"col":11},{"row":0,"col":12},{"row":1,"col":0},{"row":1,"col":1},{"row":1,"col":2},{"row":1,"col":3},{"row":1,"col":4},{"row":1,"col":5},{"row":1,"col":6,"PI":1},{"row":1,"col":7,"PI":1},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":1,"col":11},{"row":1,"col":12},{"row":2,"col":0},{"row":2,"col":1},{"row":2,"col":2,"define":"调阅日期从："},{"row":2,"col":3,"define":"=createDate(getYear(newDate()) , 1,1)","editable":true,"alias":"rq1","PI":2,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":2,"col":4,"define":"到：","PI":3},{"row":2,"col":5,"define":"=newDate()","editable":true,"alias":"rq2","PI":4,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":2,"col":6,"define":"账套名称：","PI":5},{"row":2,"col":7,"define":"00","editable":true,"cellValueType":3,"alias":"corpid","PI":6,"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":2,"col":8,"PI":7},{"row":2,"col":9,"PI":8,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","className":"","x":1,"y":1,"width":60,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"q1","moreDataSource":"","cachefirst":false,"DOMName":"cb_retrieve-88b9db838d2361353cc60155fa8acd59","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_retrieve-88b9db838d2361353cc60155fa8acd59\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":1,"y":1,"width":60,"height":-1}]},{"row":2,"col":10},{"row":2,"col":11},{"row":2,"col":12},{"row":3,"col":0},{"row":3,"col":1,"PI":2},{"row":3,"col":2,"PI":2},{"row":3,"col":3,"PI":9},{"row":3,"col":4,"PI":2},{"row":3,"col":5,"PI":9},{"row":3,"col":6,"PI":10},{"row":3,"col":7,"PI":11},{"row":3,"col":8,"PI":2},{"row":3,"col":9,"PI":2},{"row":3,"col":10},{"row":3,"col":11},{"row":3,"col":12},{"row":4,"col":0,"PI":12},{"row":4,"col":1,"define":"序号","alias":"t_q1_c_xh","PI":13},{"row":4,"col":2,"define":"申请单号","dblClickSort":"q1.billno","alias":"t_q1_billno","PI":13,"bricks":[{"type":"filterButton","name":"cb_filter_q1_billno","config":{"name":"cb_filter_q1_billno","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"q1","dbcol":"billno","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_q1_billno-04e543cf140e9fc934b92b3f4160a10d","html":" \n                <button   id=\"cb_filter_q1_billno-04e543cf140e9fc934b92b3f4160a10d\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":4,"col":3,"define":"调阅日期","dblClickSort":"q1.billdate","alias":"t_q1_billdate","PI":13},{"row":4,"col":4,"define":"调阅人","dblClickSort":"q1.reader","rowSpan":1,"colSpan":2,"alias":"t_q1_reader","PI":13,"bricks":[{"type":"filterButton","name":"cb_filter_q1_reader","config":{"name":"cb_filter_q1_reader","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"q1","dbcol":"reader","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_q1_reader-8c0dee8fa1a4fffeef1960bfb6df1991","html":" \n                <button   id=\"cb_filter_q1_reader-8c0dee8fa1a4fffeef1960bfb6df1991\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":4,"col":6,"define":"调阅原因","rowSpan":1,"colSpan":2,"alias":"t_q1_summary","PI":13,"bricks":[{"type":"filterButton","name":"cb_filter_q1_summary","config":{"name":"cb_filter_q1_summary","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"q1","dbcol":"summary","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_q1_summary-b19fe6fad7a265e302e85862188d256d","html":" \n                <button   id=\"cb_filter_q1_summary-b19fe6fad7a265e302e85862188d256d\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":4,"col":8,"define":"凭证数","cellValueType":3,"alias":"t_q1_pz_count","PI":13},{"row":4,"col":9,"define":"图片数","alias":"t_q1_pic_count","PI":13},{"row":4,"col":10,"define":"审批意见","alias":"t_q1_summary01","PI":13,"bricks":[{"type":"filterButton","name":"cb_filter_q1_pass","config":{"name":"cb_filter_q1_pass","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","editStyle":{"ddlbInnerItems":"1;同意调阅\n0;拒绝调阅\n","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"dbcol":"pass","dsn":"q1","wherecol":"","DOMName":"cb_filter_q1_pass-273ecedff7e66ec55db37e48d3fff200","html":" \n                <button   id=\"cb_filter_q1_pass-273ecedff7e66ec55db37e48d3fff200\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":1},"x":-21,"y":1,"width":0,"height":20}]},{"row":4,"col":11,"define":"审批状态","alias":"t_q1_summary02","PI":13,"bricks":[{"type":"filterButton","name":"cb_filter_q1_flow_instance_status","config":{"name":"cb_filter_q1_flow_instance_status","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"q1","dbcol":"flow_instance_status","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_q1_flow_instance_status-08b9cc6839ad966c646a42f4d317aad4","html":" \n                <button   id=\"cb_filter_q1_flow_instance_status-08b9cc6839ad966c646a42f4d317aad4\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":4,"col":12},{"row":5,"col":0,"PI":12},{"row":5,"col":1,"alias":"q1_c_xh","PI":14,"bind":{"dataSource":"q1","DBCol":"c_xh","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":5,"col":2,"cellValueType":3,"alias":"q1_billno","PI":14,"bind":{"dataSource":"q1","DBCol":"billno","dsType":2}},{"row":5,"col":3,"cellValueType":4,"alias":"q1_billdate","PI":14,"bind":{"dataSource":"q1","DBCol":"billdate","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":5,"col":4,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"q1_reader","PI":14,"bind":{"dataSource":"q1","DBCol":"reader","dsType":2}},{"row":5,"col":6,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"q1_summary","PI":15,"bind":{"dataSource":"q1","DBCol":"summary","dsType":2}},{"row":5,"col":8,"cellValueType":1,"alias":"q1_pz_count","PI":14,"bind":{"dataSource":"q1","DBCol":"pz_count","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":5,"col":9,"cellValueType":2,"alias":"q1_pic_count","PI":14,"bind":{"dataSource":"q1","DBCol":"pic_count","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":5,"col":10,"cellValueType":1,"alias":"q1_summary01","PI":15,"bind":{"dataSource":"q1","DBCol":"pass","dsType":2},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"1;同意调阅\n0;拒绝调阅\n","showRealData":false,"columnCount":null}},{"row":5,"col":11,"cellValueType":3,"alias":"q1_summary02","PI":15,"bind":{"dataSource":"q1","DBCol":"flow_instance_status","dsType":2}},{"row":5,"col":12},{"row":6,"col":0,"PI":12},{"row":6,"col":1,"define":"合             计","rowSpan":1,"colSpan":7,"PI":16},{"row":6,"col":8,"define":"=sum(q1_pz_count)","PI":17},{"row":6,"col":9,"define":"=sum(q1_pic_count)","cellValueType":2,"PI":17},{"row":6,"col":10,"rowSpan":1,"colSpan":2,"PI":18},{"row":6,"col":12,"PI":19},{"row":7,"col":0},{"row":7,"col":1,"PI":20},{"row":7,"col":2,"PI":20},{"row":7,"col":3,"PI":20},{"row":7,"col":4,"PI":20},{"row":7,"col":5,"PI":20},{"row":7,"col":6,"PI":20},{"row":7,"col":7,"PI":20},{"row":7,"col":8,"PI":20},{"row":7,"col":9,"PI":20},{"row":7,"col":10,"PI":20},{"row":7,"col":11,"PI":20},{"row":7,"col":12},{"row":8,"col":0},{"row":8,"col":1},{"row":8,"col":2},{"row":8,"col":3},{"row":8,"col":4},{"row":8,"col":5},{"row":8,"col":6},{"row":8,"col":7},{"row":8,"col":8},{"row":8,"col":9},{"row":8,"col":10},{"row":8,"col":11},{"row":8,"col":12}]}],"propertyCache":{"370c75b3c4e35ef110a2be00ac46b60d":{"text-align":2,"font-size":24,"font-family":"黑体"},"3736221b6320a5ed99534cefdf10ef9b":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"298b5ef4011af3ba64d3c83b4dddacf1":{"text-align":2},"f51f0f1466968dfdbe908309411abf97":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-width":2,"border-right-color":[128,128,128,1]},"921b29323375f1904518f946396422d1":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"text-align":1},"7ba6d2412d1134837f9b22f0d132b3a8":{"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"color":"rgb(23, 32, 42)"},"b81f72c21f3ff60a9da63f10dfcea61a":{"color":"rgb(23, 32, 42)","border-left-width":2,"border-left-color":[128,128,128,1]},"0ab4f03ab4f16eec3317ab886760e18d":{"color":"rgb(23, 32, 42)"},"0f4ec947c6784488bfe73f5041225ff8":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"582e6ff7dcbc794e847c24ddd7d496b7":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-top-width":2,"border-top-color":[128,128,128,1]},"d7a04dfe47c0d253ef88d19384ab6992":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"47a00a41624c6383ac8392dd4e2d2817":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"e6e9ad1d1bf48a80d90257b52ddbddf0":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","text-align":2},"e0f3c8aad09b68823371fec675cb9c79":{"text-align":2,"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"0e956518586afeb1d32e8fee9de23c62":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"word-wrap":true},"c0ba326c280d709919489668fb41b110":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","text-align":2},"e6e66767483857dbfcab56155d12a556":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","text-align":2,"font-family":"Arial","font-bold":true},"2966d80e85a85d2016375699864b54b4":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)"},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]}},"propertyIdList":["370c75b3c4e35ef110a2be00ac46b60d","3736221b6320a5ed99534cefdf10ef9b","125018f3eef635c9d10037c06e4a0236","298b5ef4011af3ba64d3c83b4dddacf1","f51f0f1466968dfdbe908309411abf97","921b29323375f1904518f946396422d1","7ba6d2412d1134837f9b22f0d132b3a8","b81f72c21f3ff60a9da63f10dfcea61a","0ab4f03ab4f16eec3317ab886760e18d","0f4ec947c6784488bfe73f5041225ff8","582e6ff7dcbc794e847c24ddd7d496b7","d7a04dfe47c0d253ef88d19384ab6992","47a00a41624c6383ac8392dd4e2d2817","e6e9ad1d1bf48a80d90257b52ddbddf0","e0f3c8aad09b68823371fec675cb9c79","0e956518586afeb1d32e8fee9de23c62","c0ba326c280d709919489668fb41b110","e6e66767483857dbfcab56155d12a556","2966d80e85a85d2016375699864b54b4","20118c09fa9c7e8fb2753e163d4f4c03","fc406aa51250ead084dba7e6ed9e7117"]}


id: 657ffbd799320041501b0974
pid: 657ffbd799320041501b0971
name: rightcheckpoint
nodetype: column
createdate: 2023.12.19 06:34:59.000
lastmodifieddate: 2024.09.18 14:40:59.920
value:
{"3f8a372926e906087708efd8172c06d1":{"name":"Sheet1","buttonClick":[{"name":"cb_retrieve","title":" 检索"}]}}


id: 657ffbd799320041501b0975
pid: 657ffbd799320041501b0971
name: db
nodetype: column
createdate: 2023.12.19 06:34:59.000
lastmodifieddate: 2024.09.18 14:40:59.920
value:
[{"name":"q1","label":"","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"","sql":"select\n  a.billno,\n  a.billdate,\n  a.reader,\n  a.summary,\n  a.pass,\n  a.flow_instance_status,\n  count(b.pzh) as pz_count,\n  sum(c.pz + c.fj) as pic_count\nfrom\n  dzpz_dy a,\n  dzpz_dymx b,\n  dzpz_pz c\nwhere\n  a.gguid = b.gguid\n  and a.corpid = c.corpid\n  and b.pzh = c.pzh\ngroup by\n  a.billno,\n  a.billdate,\n  a.reader,\n  a.summary,\n  a.pass,\n  a.flow_instance_status\norder by\n  a.billno desc","dynamicwhere":"","dynamicwhere2":"\" a.billdate>='\"+rq1+\"' \"\n\" a.billdate<='\"+rq2+\" 23:59:59' \"\n\" a.corpid='\"+ corpid+\"' \"","dynamicwheredata2":"rq1: date2yyyymmdd( rq1)\nrq2: date2yyyymmdd( rq2)\ncorpid: corpid","primarykey":"","autoretrieve":false,"needcache":"false","cacheserver":"","cachetimeout":30,"table_query_id":"657ffbd799320041501b09a7","column":[{"name":"pass","label":"审批意见","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_status","label":"流程实例执行状态描述","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"申请单号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"调阅日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"reader","label":"调阅人","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pz_count","label":"pz_count","description":"","type":"int","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_count","label":"图片数","description":"","type":"decimal(33,0)","nullable":true,"smartretrieve":false,"smartretrievecolname":"","dict":"","exportformat":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_xh","label":"序号","expression":"thisrow() + 1","description":"","fillback":""}]}]


id: 662a47869932b5035f32ef5a
pid: 662a47869932b5035f32ef59
name: ui
nodetype: column
createdate: 2024.04.25 20:07:36.000
lastmodifieddate: 2024.09.18 14:41:00.319
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"runtimeOptions":{},"sheets":[{"index":0,"rowCount":6,"columnCount":12,"guid":"2965146260eedd1dc7c08f96ba5b9498","name":"Sheet1","gridLineVisible":false,"freezedRow":2,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"exportExcelWithDDLB":false,"rows":[{"index":0,"height":9,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":2,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":4,"height":32,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0}],"columns":[{"index":0,"width":13,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":57,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":111,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":91,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":328,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":true},{"index":8,"width":71,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":250,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":318,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":true},{"index":11,"width":32,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"PI":0},{"row":0,"col":2,"PI":0},{"row":0,"col":3,"PI":0},{"row":0,"col":4,"PI":0},{"row":0,"col":5,"PI":0},{"row":0,"col":6},{"row":0,"col":7,"PI":0},{"row":0,"col":8,"PI":0},{"row":0,"col":9},{"row":0,"col":10,"PI":0},{"row":0,"col":11},{"row":1,"col":0,"PI":1},{"row":1,"col":1,"define":"序号","PI":2},{"row":1,"col":2,"define":"发起日期","dblClickSort":"pz_yjd.billdate","PI":2,"bricks":[{"type":"filterButton","name":"cb_filter_pz_yjd_billdate","config":{"name":"cb_filter_pz_yjd_billdate","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"pz_yjd","dbcol":"billdate","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_pz_yjd_billdate-a3c685b0365f03f9c29930d91d0c5166","html":" \n                <button   id=\"cb_filter_pz_yjd_billdate-a3c685b0365f03f9c29930d91d0c5166\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":4},"x":-21,"y":1,"width":0,"height":20}]},{"row":1,"col":3,"define":"流水号","dblClickSort":"pz_yjd.billno","PI":2,"bricks":[{"type":"filterButton","name":"cb_filter_pz_yjd_billno","config":{"name":"cb_filter_pz_yjd_billno","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"pz_yjd","dbcol":"billno","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_pz_yjd_billno-e1ea2bbbb9058cb3f985be4d903076c6","html":" \n                <button   id=\"cb_filter_pz_yjd_billno-e1ea2bbbb9058cb3f985be4d903076c6\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":1,"col":4,"define":"交办发起人","dblClickSort":"pz_yjd.username","PI":2,"bricks":[{"type":"filterButton","name":"cb_filter_pz_yjd_username","config":{"name":"cb_filter_pz_yjd_username","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"pz_yjd","dbcol":"username","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_pz_yjd_username-5bafe713eb8c997a461c16ecf4ab1ada","html":" \n                <button   id=\"cb_filter_pz_yjd_username-5bafe713eb8c997a461c16ecf4ab1ada\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":1,"col":5,"define":"交办接收人","dblClickSort":"pz_yjd.touserid","PI":2,"bricks":[{"type":"filterButton","name":"cb_filter_pz_yjd_touserid","config":{"name":"cb_filter_pz_yjd_touserid","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"pz_yjd","dbcol":"touserid","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"userid2usershowname","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_pz_yjd_touserid-8cc2f3815f94f68cb9558a25931932d0","html":" \n                <button   id=\"cb_filter_pz_yjd_touserid-8cc2f3815f94f68cb9558a25931932d0\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":1},"x":-21,"y":1,"width":0,"height":20}]},{"row":1,"col":6,"define":"帐套号","PI":2},{"row":1,"col":7,"define":"交办事务说明","dblClickSort":"pz_yjd.towhere","PI":2,"bricks":[{"type":"filterButton","name":"cb_filter_pz_yjd_towhere","config":{"name":"cb_filter_pz_yjd_towhere","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"pz_yjd","dbcol":"towhere","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_pz_yjd_towhere-a71e4f528fdee9fec41cb642e4931dc6","html":" \n                <button   id=\"cb_filter_pz_yjd_towhere-a71e4f528fdee9fec41cb642e4931dc6\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":1,"col":8,"define":"凭证份数","PI":2},{"row":1,"col":9,"define":"当前进度","PI":2},{"row":1,"col":10,"define":"备注","PI":2,"bricks":[{"type":"filterButton","name":"cb_filter_pz_yjd_summary","config":{"name":"cb_filter_pz_yjd_summary","caption":"过滤","enable":true,"visible":true,"action":"filter","x":-21,"y":1,"width":0,"height":20,"normalColor":"LightSteelBlue","lightColor":"red","dsn":"pz_yjd","dbcol":"summary","wherecol":"","editStyle":{"ddlbInnerItems":"","ddlbName":"","columnCount":1,"ddlbFilterContext":"","ddlbFilterBy":""},"DOMName":"cb_filter_pz_yjd_summary-62e15ba204f3d4528851bb71f5c10f4f","html":" \n                <button   id=\"cb_filter_pz_yjd_summary-62e15ba204f3d4528851bb71f5c10f4f\" \n                    style=\"border:0 ; background-color: transparent; outline: none; width:20px; height:20px; color:LightSteelBlue \"  >\n                    <i class=\"fa fa-filter\"></i></button>\n                ","dataType":3},"x":-21,"y":1,"width":0,"height":20}]},{"row":1,"col":11,"PI":3},{"row":2,"col":0,"PI":1},{"row":2,"col":1,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"c_inner_xh","dsType":2},"editstyle":{"editType":1,"showComma":true,"decimalCount":0,"zeroVisible":true}},{"row":2,"col":2,"cellValueType":4,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"billdate","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":2,"col":3,"cellValueType":3,"PI":5,"bind":{"dataSource":"pz_yjd","DBCol":"billno","dsType":2}},{"row":2,"col":4,"cellValueType":3,"PI":5,"bind":{"dataSource":"pz_yjd","DBCol":"username","dsType":2}},{"row":2,"col":5,"cellValueType":1,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"touserid","dsType":2},"editstyle":{"editType":4,"ddlbName":"userid2usershowname","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":2,"col":6,"cellValueType":3,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-简称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":2,"col":7,"cellValueType":3,"PI":6,"bind":{"dataSource":"pz_yjd","DBCol":"towhere","dsType":2}},{"row":2,"col":8,"cellValueType":1,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"pzs","dsType":2},"editstyle":{"editType":1,"showComma":true,"decimalCount":0,"zeroVisible":true}},{"row":2,"col":9,"cellValueType":3,"PI":6,"bind":{"dataSource":"pz_yjd","DBCol":"flow_instance_status","dsType":2}},{"row":2,"col":10,"cellValueType":3,"PI":6,"bind":{"dataSource":"pz_yjd","DBCol":"summary","dsType":2}},{"row":2,"col":11,"PI":3},{"row":3,"col":0},{"row":3,"col":1,"PI":7},{"row":3,"col":2,"PI":7},{"row":3,"col":3,"PI":7},{"row":3,"col":4,"PI":7},{"row":3,"col":5,"PI":7},{"row":3,"col":6},{"row":3,"col":7,"PI":7},{"row":3,"col":8,"PI":7},{"row":3,"col":9},{"row":3,"col":10,"PI":7},{"row":3,"col":11},{"row":4,"col":0},{"row":4,"col":1,"rowSpan":1,"colSpan":10,"bricks":[{"type":"dbpage","name":"dbnav","config":{"name":"dbnav","caption":"分页导航条","enable":true,"visible":true,"showDBRowCount":true,"x":1,"y":1,"width":-1,"height":-1,"align":"center","onceRetrieveRowCount":"20","countPerPagePermitToChange":true,"dsn":"pz_yjd","DOMName":"dbnav-3b63f1716d60cc2c4c53aa902a82582b","html":" \n                   <style>\n                   .workbook_db_tool_button {border-radius: 50%; min-width:24px; width:24px; height:24px; padding:0px;margin-right:5px;}\n                   .workbook_db_tool_noborder { border:0px solid #fff; background-color:transparent;}\n                   </style>     \n                   \n        \n                <div  class=\"   \"  id=\"dbnav-3b63f1716d60cc2c4c53aa902a82582b\"  \n          \n                       style=\" padding:2px;min-width:24px; padding-right:8px;padding-left:8px; user-select:none; text-align:center;\">\n                        \n                       <span class=\"group1\" style=\"display:none;\"><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page1 workbook_db_tool_button\" >1</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page2 workbook_db_tool_button\" >2</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page3 workbook_db_tool_button\" >3</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page4 workbook_db_tool_button\" >4</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page5 workbook_db_tool_button\" >5</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page6 workbook_db_tool_button\" >6</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page7 workbook_db_tool_button\" >7</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page8 workbook_db_tool_button\" >8</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page9 workbook_db_tool_button\" >9</button><button \n                       type=\"button\"   class=\"btn   btn-xs btn-default cb_page10 workbook_db_tool_button\" >10</button>\n                       </span><span class=\"group2\">\n                        <button type=\"button\"   class=\"btn   btn-xs btn-default cb_First workbook_db_tool_button\" >\n                        <i class=\"fa fa-step-backward\"></i></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Prior workbook_db_tool_button\" >\n                        <i class=\"fa fa-chevron-left\"></i></button><button type=\"button\"   \n                                class=\"btn btn-alt btn-xs btn-default  workbook_db_tool_noborder \" ><span style=\"display:inline-block\">\n                        <input type=\"tel\"  class=\"pageIndex btn btn-alt btn-xs \" \n                               style=\"width:50px;height:24px; line-height:24px ; border-radius:12px; border:1px dotted #efefef;\"> /\n                        <span class=\"pageCountOfDataSource\"></span></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Next workbook_db_tool_button\" >\n                        <i class=\"fa fa-chevron-right\"></i></button><button type=\"button\"   \n                                class=\"btn   btn-xs btn-default cb_Last workbook_db_tool_button\" >\n                        <i class=\"fa fa-step-forward\"></i></button></span><span \n                         style=\"padding-left:10px; display:inline-block user-select:none;\"  \n                               class=\"countPerPageContainer\">每页\n                               <select type=\"tel\"   class=\"countPerPage\"  \n                               style=\"width:65px;height:24px; line-height:24px;border-radius: 12px; padding-top: 0px;padding-bottom:0px;padding-left:10px;padding-right:10px; \"><option  value=\"20\" selected>20</option><option value=\"输入\">输入</option></select>\n                               <input type=\"tel\" class=\"countPerPageInput\" style=\"width:65px;height:24px; line-height:24px;border-radius: 12px; padding-top: 0px;padding-bottom:0px;padding-left:10px;padding-right:10px;display:none; \">\n                              \n                                行</span>\n                        </span>\n                        <span class=\"dbRowCountContainer\"  >&nbsp;&nbsp;共<span class=\"dbrowcount\"></span>行\n                </div>\n            \n            "},"x":0,"y":0,"width":0,"height":0}]},{"row":4,"col":11},{"row":5,"col":0},{"row":5,"col":1},{"row":5,"col":2},{"row":5,"col":3},{"row":5,"col":4},{"row":5,"col":5},{"row":5,"col":6},{"row":5,"col":7},{"row":5,"col":8},{"row":5,"col":9},{"row":5,"col":10},{"row":5,"col":11}]}],"propertyCache":{"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"47a00a41624c6383ac8392dd4e2d2817":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"a1185a5b50eb8c3017a1622a3ac6a623":{"background-color":"#f2f4f4","color":"#34495e","text-align":2,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":12},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"cef87f90f886a52992fe559bc31852ff":{"color":"#34495e","text-align":2,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"745109885f3043de3ba0f0c0034d281b":{"color":"#34495e","border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"2bbf48cc499e90ba73160f14da44cd54":{"color":"#34495e","border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"word-wrap":true,"font-size":12},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]}},"propertyIdList":["125018f3eef635c9d10037c06e4a0236","47a00a41624c6383ac8392dd4e2d2817","a1185a5b50eb8c3017a1622a3ac6a623","20118c09fa9c7e8fb2753e163d4f4c03","cef87f90f886a52992fe559bc31852ff","745109885f3043de3ba0f0c0034d281b","2bbf48cc499e90ba73160f14da44cd54","fc406aa51250ead084dba7e6ed9e7117"]}


id: 662a47869932b5035f32ef5d
pid: 662a47869932b5035f32ef59
name: db
nodetype: column
createdate: 2024.04.25 20:07:36.000
lastmodifieddate: 2024.09.18 14:41:00.319
value:
[{"name":"pz_yjd","label":"会计凭证移交单","type":"query","dbpool":"default","description":"","multirow":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","dynamicwhere2_tokens":"{}","sqlinject":"true","importfromexcelpermit":"false","dbpool_expression":"","updatedtable":"pz_yjd","updatedtable2":"","groupby":"","smartretrieveothers":"","sql":"select * from  pz_yjd   where ifnull(deleteflag,0)=0 and (billtype='交办' or billtype is null )\norder by billno desc","sqldefine":"select * from  pz_yjd   where ifnull(deleteflag,0)=0 and (billtype='交办' or billtype is null )\norder by billno desc","primarykey":"id","autoretrieve":true,"needcache":"false","cacheserver":"","cachetimeout":30,"gguidinject":"false","oncerowcountdefault":"10","oncerowcountlimit":"0","rowcountlimit":"0","rowcountonce":"50000","table_query_id":"662a47869932b5035f32ef63","column":[{"name":"flow_process_definition_id","label":"当前流程定义ID","description":"","type":"varchar(80)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id_0","label":"起草时的流程定义ID","description":"","type":"varchar(80)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_id","label":"流程实例ID","description":"","type":"varchar(64)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_subject","label":"流程主题(用于提醒信息)","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_starttime","label":"流程实例开始时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_endtime","label":"流程实例结束时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_state","label":"流程实例执行状态:0执行中1结束","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_status","label":"流程实例执行状态描述","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_assignee_list","label":"流程参与人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_todo_list","label":"处于待办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_done_list","label":"处于已办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"qsqx","label":"签收期限","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"记帐期","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"移交发起人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"touserid","label":"移交接收人","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"towhere","label":"移交事务说明","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzs","label":"凭证份数","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","aggregatetype":"","description":"","fillback":""},{"name":"c_form_viewbill","label":"查看单据","expression":"innerAction('\\uf06e 查看','viewBill')","aggregatetype":"","description":"单据列表模板中，点击绑定此计算列的单元格可触发查看单据操作","fillback":""},{"name":"c_form_editbill","label":"编辑单据","expression":"innerAction('\\uf044 编辑','editBill')","aggregatetype":"","description":"单据列表模板中，点击绑定此计算列的单元格可触发编辑单据操作","fillback":""},{"name":"c_form_deletebill","label":"删除单据","expression":"innerAction('\\uf1f8 删除','deleteBill')","aggregatetype":"","description":"单据列表模板中，点击绑定此计算列的单元格可触发删除单据操作","fillback":""},{"name":"c_form_verifybill","label":"审核单据","expression":"innerAction(iif( verifierid>0 ,'\\uf02c 取消审核','\\uf02c 审核'),'verifyBill')","aggregatetype":"","description":"单据列表模板中，点击绑定此计算列的单元格可触发审核/取消审核单据操作","fillback":""}]}]


id: 662a47879932b5035f32efac
pid: 662a47879932b5035f32efab
name: ui
nodetype: column
createdate: 2024.04.25 20:07:48.000
lastmodifieddate: 2024.09.18 14:41:00.320
value:
{"version":"1.0","sheetcount":5,"gui":true,"theme":"default","showTabOnBottom":false,"runtimeOptions":{"gridFocusRowNeedHighlight":false,"showTabOnWhere":"none"},"sheets":[{"index":0,"rowCount":12,"columnCount":15,"guid":"13649d83173eb4e887957bdbb847dfaf","name":"main","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"exportExcelWithDDLB":false,"rows":[{"index":0,"height":40,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":1,"height":19,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":2,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":3,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":4,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":5,"height":8,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":6,"height":10,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":7,"height":26,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":8,"height":339,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":10},{"index":9,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":10,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":11,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":44,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":72,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":128,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":39,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":42,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":63,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":61,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":13,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":14,"width":16,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"define":"凭 证 交 办","rowSpan":1,"colSpan":12,"PI":0},{"row":0,"col":13},{"row":0,"col":14},{"row":1,"col":0},{"row":1,"col":1,"PI":1},{"row":1,"col":2},{"row":1,"col":3,"PI":1},{"row":1,"col":4,"PI":1},{"row":1,"col":5,"PI":1},{"row":1,"col":6,"PI":1},{"row":1,"col":7,"define":"交办","visible":false,"cellValueType":3,"alias":"billtype","PI":1,"bind":{"dataSource":"pz_yjd","DBCol":"billtype","dsType":1}},{"row":1,"col":8,"PI":1},{"row":1,"col":9,"cellValueType":4},{"row":1,"col":10,"cellValueType":4,"PI":1,"bind":{"dataSource":"pz_yjd","DBCol":"billdate","dsType":1},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":1,"col":11},{"row":1,"col":12},{"row":1,"col":13},{"row":1,"col":14},{"row":2,"col":0,"PI":2},{"row":2,"col":1,"define":"流  水  号","rowSpan":1,"colSpan":2,"PI":3},{"row":2,"col":3,"cellValueType":3,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"billno","dsType":1}},{"row":2,"col":4,"define":"交办发起人","PI":3},{"row":2,"col":5,"cellValueType":3,"PI":4,"bind":{"dataSource":"pz_yjd","DBCol":"username","dsType":1}},{"row":2,"col":6,"define":"交办接收人","PI":3},{"row":2,"col":7,"editable":true,"cellValueType":1,"PI":5,"bind":{"dataSource":"pz_yjd","DBCol":"touserid","dsType":1},"editstyle":{"editType":4,"ddlbName":"userid2usershowname","dropDownListEditable":true,"valueMustInDDLB":true,"ddlbFilterBy":"\" id <>'\"+currentUserId()+\"'\"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":2,"col":8,"define":"交办","PI":3},{"row":2,"col":9,"define":3,"editable":true,"cellValueType":1,"PI":6,"bind":{"dataSource":"pz_yjd","DBCol":"qsqx","dsType":1},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":2,"col":10,"define":"天后自动确认。      ","PI":7},{"row":2,"col":11,"define":"凭证份数","PI":3},{"row":2,"col":12,"cellValueType":1,"PI":8,"bind":{"dataSource":"pz_yjd","DBCol":"pzs","dsType":1}},{"row":2,"col":13,"PI":9},{"row":2,"col":14},{"row":3,"col":0,"PI":2},{"row":3,"col":1,"define":"帐套号","rowSpan":1,"colSpan":2,"PI":3},{"row":3,"col":3,"editable":true,"cellValueType":3,"PI":10,"bind":{"dataSource":"pz_yjd","DBCol":"corpid","dsType":1},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-简称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":4,"define":"交办事务说明","PI":3},{"row":3,"col":5,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":8,"PI":11,"bind":{"dataSource":"pz_yjd","DBCol":"towhere","dsType":1},"editstyle":{"editType":4,"ddlbName":"{自已的值}","dropDownListEditable":true,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":13,"PI":9},{"row":3,"col":14},{"row":4,"col":0,"PI":2},{"row":4,"col":1,"define":"备      注","rowSpan":1,"colSpan":2,"PI":3},{"row":4,"col":3,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":10,"PI":8,"bind":{"dataSource":"pz_yjd","DBCol":"summary","dsType":1},"editstyle":{"editType":2}},{"row":4,"col":13,"PI":9},{"row":4,"col":14},{"row":5,"col":0},{"row":5,"col":1,"PI":12},{"row":5,"col":2,"PI":13},{"row":5,"col":3,"PI":12},{"row":5,"col":4,"PI":12},{"row":5,"col":5,"PI":12},{"row":5,"col":6,"PI":12},{"row":5,"col":7,"PI":12},{"row":5,"col":8,"PI":12},{"row":5,"col":9,"PI":12},{"row":5,"col":10,"PI":14},{"row":5,"col":11,"PI":13},{"row":5,"col":12,"PI":13},{"row":5,"col":13},{"row":5,"col":14},{"row":6,"col":0,"PI":15},{"row":6,"col":1,"PI":16},{"row":6,"col":2,"PI":17},{"row":6,"col":3,"PI":17},{"row":6,"col":4,"PI":17},{"row":6,"col":5,"PI":17},{"row":6,"col":6,"PI":17},{"row":6,"col":7,"cellValueType":1,"PI":17},{"row":6,"col":8,"cellValueType":3,"PI":17},{"row":6,"col":9,"PI":17},{"row":6,"col":10,"PI":17},{"row":6,"col":11,"PI":17},{"row":6,"col":12,"PI":18},{"row":6,"col":13,"PI":19},{"row":6,"col":14},{"row":7,"col":0},{"row":7,"col":1,"rowSpan":1,"colSpan":12,"PI":20,"bricks":[{"type":"Tab","name":"tab1","config":{"name":"tab1","container":"tabContainer","style":"round","position":"top","skin":"skin-asbestos","caption":"Tab容器","enable":true,"visible":true,"css":"","x":0,"y":0,"width":0,"height":0,"tabs":[{"id":"tab1","title":"凭证号汇总","type":"worksheet","source":"汇总"},{"id":"tab2","title":"凭证号清单","type":"worksheet","source":"清单"}],"DOMName":"tab1-050e4a46ea3f359a49c0858d54779577","html":"<div  style=\"width:100%;height:100%\"><div id='tab_tab1-050e4a46ea3f359a49c0858d54779577' style=\"position:absolute; width:100%; bottom:0px;  \" \n                            class=\"tabbed_top round  skin-asbestos\"  >\n                        <ul  id='ul_tab1-050e4a46ea3f359a49c0858d54779577'><li id=\"tab_tab1-050e4a46ea3f359a49c0858d54779577_tab2\" \n                               tabid=\"tab2\"   >&nbsp;&nbsp凭证号清单&nbsp;&nbsp </li> \n                                \n                            <li id=\"tab_tab1-050e4a46ea3f359a49c0858d54779577_tab1\" \n                               tabid=\"tab1\"   >&nbsp;&nbsp凭证号汇总&nbsp;&nbsp </li> \n                                \n                            </ul> </div></div>"},"x":0,"y":0,"width":0,"height":0}]},{"row":7,"col":13},{"row":7,"col":14},{"row":8,"col":0},{"row":8,"col":1,"rowSpan":1,"colSpan":13,"alias":"tabContainer"},{"row":8,"col":14},{"row":9,"col":0},{"row":9,"col":1,"define":"提示："},{"row":9,"col":2},{"row":9,"col":3},{"row":9,"col":4},{"row":9,"col":5},{"row":9,"col":6},{"row":9,"col":7},{"row":9,"col":8},{"row":9,"col":9},{"row":9,"col":10},{"row":9,"col":11},{"row":9,"col":12},{"row":9,"col":13},{"row":9,"col":14},{"row":10,"col":0},{"row":10,"col":1},{"row":10,"col":2,"define":"凭证交办后，在指定的天数后如果没有确认，则由系统自动确认并结束流程。","rowSpan":1,"colSpan":11},{"row":10,"col":13},{"row":10,"col":14},{"row":11,"col":0},{"row":11,"col":1},{"row":11,"col":2},{"row":11,"col":3},{"row":11,"col":4},{"row":11,"col":5},{"row":11,"col":6},{"row":11,"col":7},{"row":11,"col":8},{"row":11,"col":9},{"row":11,"col":10},{"row":11,"col":11},{"row":11,"col":12},{"row":11,"col":13},{"row":11,"col":14}]},{"index":1,"rowCount":11,"columnCount":11,"guid":"51e9dff5800468a7298c50c3b0f9c96f","name":"汇总","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"exportExcelWithDDLB":false,"rows":[{"index":0,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":1,"height":42,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":2,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":3,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":4,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":6,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":9,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":10,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0}],"columns":[{"index":0,"width":44,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":72,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":128,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":69,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":219,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":21},{"row":0,"col":1},{"row":0,"col":2,"PI":22},{"row":0,"col":3,"PI":22},{"row":0,"col":4,"PI":22},{"row":0,"col":5,"PI":23},{"row":0,"col":6,"PI":24},{"row":0,"col":7,"PI":25},{"row":0,"col":8,"rowSpan":1,"colSpan":3},{"row":1,"col":0,"PI":20},{"row":1,"col":1},{"row":1,"col":2,"PI":20},{"row":1,"col":3,"PI":26,"bricks":[{"type":"button","name":"cb_add_pz","config":{"name":"cb_add_pz","caption":"添加凭证号","enable":true,"visible":true,"size":"1","className":"","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"options","buttonColorStyle":"primary","leftIcon":"fa-plus","rightIcon":"","DOMName":"cb_add_pz-673a03b5aec335dda01db131b64d621a","html":"<span class=\"block-options \"> \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_add_pz-673a03b5aec335dda01db131b64d621a\">\n                       <i class='fa fa-plus'></i>添加凭证号\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":1,"y":1,"width":-1,"height":-1}]},{"row":1,"col":4,"PI":20},{"row":1,"col":5,"PI":20},{"row":1,"col":6},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":2,"col":0,"define":"序号","PI":3},{"row":2,"col":1,"define":"凭证年月","PI":3},{"row":2,"col":2,"define":"起始凭证号","rowSpan":1,"colSpan":2,"PI":3},{"row":2,"col":4,"define":"终止凭证号","rowSpan":1,"colSpan":2,"PI":3},{"row":2,"col":6,"define":"凭证份数","PI":3},{"row":2,"col":7,"define":"备注","rowSpan":1,"colSpan":2,"PI":3},{"row":2,"col":9,"rowSpan":1,"colSpan":2,"PI":3},{"row":3,"col":0,"PI":27,"bind":{"dataSource":"pz_yjdex","DBCol":"c_inner_xh","dsType":2},"editstyle":{"editType":1,"showComma":true,"decimalCount":0,"zeroVisible":true}},{"row":3,"col":1,"cellValueType":4,"PI":28,"bind":{"dataSource":"pz_yjdex","DBCol":"ny","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM"}},{"row":3,"col":2,"cellValueType":3,"rowSpan":1,"colSpan":2,"PI":28,"bind":{"dataSource":"pz_yjdex","DBCol":"pzh1","dsType":2}},{"row":3,"col":4,"cellValueType":3,"rowSpan":1,"colSpan":2,"PI":28,"bind":{"dataSource":"pz_yjdex","DBCol":"pzh2","dsType":2}},{"row":3,"col":6,"cellValueType":1,"alias":"pz_yjdex_pzs","PI":27,"bind":{"dataSource":"pz_yjdex","DBCol":"pzs","dsType":2},"editstyle":{"editType":1,"showComma":true,"decimalCount":0,"zeroVisible":true}},{"row":3,"col":7,"cellValueType":3,"rowSpan":1,"colSpan":2,"PI":28,"bind":{"dataSource":"pz_yjdex","DBCol":"memo","dsType":2}},{"row":3,"col":9,"PI":29,"bind":{"dataSource":"pz_yjdex","DBCol":"c_db_insertrowafter","dsType":2}},{"row":3,"col":10,"PI":30,"bind":{"dataSource":"pz_yjdex","DBCol":"c_db_deleterow","dsType":2}},{"row":4,"col":0,"define":"合       计","rowSpan":1,"colSpan":6,"PI":31},{"row":4,"col":6,"define":"=sum(pz_yjdex_pzs)","cellValueType":1,"PI":32,"bind":{"dataSource":"pz_yjd","DBCol":"pzs","dsType":1}},{"row":4,"col":7,"rowSpan":1,"colSpan":4,"PI":33}]},{"index":2,"rowCount":10,"columnCount":11,"guid":"cdcab3c46fd82166dff4cf6bba427078","name":"清单","gridLineVisible":false,"freezedRow":3,"freezedCol":1,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"exportExcelWithDDLB":false,"rows":[{"index":0,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":1,"height":42,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":2,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":6,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":9,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0}],"columns":[{"index":0,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":98,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":150,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":200,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1},{"row":0,"col":2},{"row":0,"col":3},{"row":0,"col":4},{"row":0,"col":5},{"row":0,"col":6},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":1,"col":0},{"row":1,"col":1},{"row":1,"col":2,"PI":1,"bricks":[{"type":"button","name":"cb_import","config":{"name":"cb_import","caption":"导入凭证号","enable":true,"visible":true,"size":"1","className":"","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"options","buttonColorStyle":"primary","leftIcon":"fa-plus","rightIcon":"","DOMName":"cb_import-360f42d0e27c9a4418a604c1efa4c369","html":"<span class=\"block-options \"> \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_import-360f42d0e27c9a4418a604c1efa4c369\">\n                       <i class='fa fa-plus'></i>导入凭证号\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":1,"y":1,"width":-1,"height":-1}]},{"row":1,"col":3,"rowSpan":1,"colSpan":4,"PI":1,"bricks":[{"type":"button","name":"cb_buildsum","config":{"name":"cb_buildsum","caption":"根据凭证号清单生成凭证号汇总信息","enable":true,"visible":true,"size":"1","className":"","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"options","buttonColorStyle":"primary","leftIcon":"","rightIcon":"","DOMName":"cb_buildsum-8095048465c1856a8a9525ab0ca48464","html":"<span class=\"block-options \"> \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_buildsum-8095048465c1856a8a9525ab0ca48464\">\n                       根据凭证号清单生成凭证号汇总信息\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":1,"y":1,"width":-1,"height":-1}]},{"row":1,"col":7},{"row":1,"col":8},{"row":1,"col":9},{"row":1,"col":10},{"row":2,"col":0},{"row":2,"col":1,"PI":2},{"row":2,"col":2,"define":"序号","PI":34},{"row":2,"col":3,"define":"分组","PI":35},{"row":2,"col":4,"define":"凭证年月","PI":35},{"row":2,"col":5,"define":"凭证号","rowSpan":1,"colSpan":2,"PI":35},{"row":2,"col":7,"define":"延长理由","PI":36},{"row":2,"col":8,"rowSpan":1,"colSpan":3,"PI":35},{"row":3,"col":0},{"row":3,"col":1,"PI":2},{"row":3,"col":2,"PI":37,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"c_inner_xh","dsType":2},"editstyle":{"editType":1,"showComma":true,"decimalCount":0,"zeroVisible":true}},{"row":3,"col":3,"cellValueType":1,"PI":37,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"groupno","dsType":2}},{"row":3,"col":4,"cellValueType":4,"PI":37,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"ny","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM"}},{"row":3,"col":5,"appData":{"contextMenu":{"sameAsUp":false,"menus":[]}},"cellValueType":3,"rowSpan":1,"colSpan":2,"PI":38,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"pzh","dsType":2}},{"row":3,"col":7,"cellValueType":3,"PI":39,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"ycly","dsType":2},"editstyle":{"editType":0,"inputAttribute":""}},{"row":3,"col":8,"cursorName":"hand","appData":{"clickControlEnabled":true,"clickControlTip":"凭证清单删除"},"alias":"c_db_deleterow","PI":40,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"c_db_deleterow","dsType":2}},{"row":3,"col":9,"prefix":"延长","suffix":"天自动确认","appData":{"clickControlEnabled":true,"clickControlTip":"延长确认","contextMenu":{"sameAsUp":false,"menus":[]}},"cellValueType":1,"alias":"qsqx","PI":37,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"qsqx","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":3,"col":10,"cursorName":"hand","appData":{"clickControlEnabled":true,"clickControlTip":"签收确认"},"cellValueType":1,"alias":"state","PI":37,"bind":{"dataSource":"q_pz_yjd_pzh","DBCol":"state","dsType":2},"editstyle":{"editType":6,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"0;待确认\n1;已确认\n-1;退回","showRealData":false,"columnCount":3}},{"row":4,"col":0},{"row":4,"col":1},{"row":4,"col":2,"PI":41},{"row":4,"col":3,"PI":41},{"row":4,"col":4},{"row":4,"col":5,"PI":41},{"row":4,"col":6},{"row":4,"col":7},{"row":4,"col":8},{"row":4,"col":9},{"row":4,"col":10},{"row":5,"col":0},{"row":5,"col":1},{"row":5,"col":2},{"row":5,"col":3},{"row":5,"col":4},{"row":5,"col":5},{"row":5,"col":6},{"row":5,"col":7},{"row":5,"col":8},{"row":5,"col":9},{"row":5,"col":10},{"row":6,"col":0},{"row":6,"col":1},{"row":6,"col":2},{"row":6,"col":3},{"row":6,"col":4},{"row":6,"col":5},{"row":6,"col":6},{"row":6,"col":7},{"row":6,"col":8},{"row":6,"col":9},{"row":6,"col":10}]},{"index":3,"rowCount":10,"columnCount":7,"guid":"fa726faa617d7764dc6d17bbae2b420d","name":"添加凭证号","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"exportExcelWithDDLB":false,"rows":[{"index":0,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":2,"height":36,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":6,"height":30,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":9,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0}],"columns":[{"index":0,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1},{"row":0,"col":2},{"row":0,"col":3},{"row":0,"col":4},{"row":0,"col":5},{"row":0,"col":6},{"row":1,"col":0},{"row":1,"col":1,"define":"凭证年月","PI":3},{"row":1,"col":2,"define":"起始凭证号","rowSpan":1,"colSpan":2,"PI":3},{"row":1,"col":4,"define":"终止凭证号","rowSpan":1,"colSpan":2,"PI":3},{"row":1,"col":6},{"row":2,"col":0},{"row":2,"col":1,"editable":true,"cellValueType":3,"alias":"ny","PI":42,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM"}},{"row":2,"col":2,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"pzh1","PI":42},{"row":2,"col":4,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"pzh2","PI":42},{"row":2,"col":6},{"row":6,"col":0},{"row":6,"col":1},{"row":6,"col":2},{"row":6,"col":3},{"row":6,"col":4,"rowSpan":1,"colSpan":3,"bricks":[{"type":"button","name":"cb_comfirn","config":{"name":"cb_comfirn","caption":"确定","enable":true,"visible":true,"size":"1","className":"","x":-100,"y":1,"width":80,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"","rightIcon":"","DOMName":"cb_comfirn-3a095d02de0945a139df3f387277946e","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_comfirn-3a095d02de0945a139df3f387277946e\">\n                       确定\n                </button>\n                ","align":"center","_MODIFIERS":{}},"x":-100,"y":1,"width":80,"height":-1},{"type":"button","name":"cb_cancel","config":{"name":"cb_cancel","caption":"取消","enable":true,"visible":true,"size":"1","className":"","x":-200,"y":1,"width":80,"height":-1,"buttonStyle":"alt","buttonColorStyle":"primary","leftIcon":"","rightIcon":"","DOMName":"cb_cancel-e106a76b5b28e38d6b41b4113892a9f8","html":" \n                <button class=\"btn btn-alt btn-primary btn-xs\" \n                        id=\"cb_cancel-e106a76b5b28e38d6b41b4113892a9f8\">\n                       取消\n                </button>\n                ","align":"center","_MODIFIERS":{}},"x":-200,"y":1,"width":80,"height":-1}]}]},{"index":4,"rowCount":11,"columnCount":5,"guid":"1f6986f66d5ef34edac79777ccc4487e","name":"导入凭证号","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"bottomFreezedRow":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"exportExcelWithDDLB":false,"rows":[{"index":0,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":1,"height":36,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":2,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":4,"height":36,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":6,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":10},{"index":7,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":8,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":9,"height":36,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0},{"index":10,"height":25,"isColumnScrollEnabled":true,"multiRowDataSourceName_manual":"","isGroupTopArea":false,"isGroupBottomArea":false,"stretchHeight":0}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":200,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":4,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"PI":14},{"row":0,"col":2,"PI":1},{"row":0,"col":3,"PI":1},{"row":0,"col":4},{"row":1,"col":0,"PI":15},{"row":1,"col":1,"define":"凭证年月","PI":43},{"row":1,"col":2,"editable":true,"rowSpan":1,"colSpan":2,"alias":"ny","PI":44,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM"}},{"row":1,"col":4},{"row":2,"col":0},{"row":2,"col":1,"PI":15},{"row":2,"col":2,"PI":45},{"row":2,"col":3,"PI":46},{"row":2,"col":4},{"row":3,"col":0},{"row":3,"col":1,"PI":47},{"row":3,"col":2,"define":"请将凭证号粘贴在此","rowSpan":1,"colSpan":2,"PI":48},{"row":3,"col":4},{"row":4,"col":0,"PI":15},{"row":4,"col":1,"define":"凭证号","PI":43},{"row":4,"col":2,"editable":true,"appData":{},"rowSpan":3,"colSpan":2,"alias":"pzh","placeholder":"请将凭证号粘贴在此","placeholderOnlyViewWhenEditing":false,"PI":49,"editstyle":{"editType":2}},{"row":4,"col":4},{"row":5,"col":0},{"row":5,"col":1,"PI":50},{"row":5,"col":4},{"row":6,"col":0},{"row":6,"col":1,"PI":2},{"row":6,"col":4},{"row":7,"col":0},{"row":7,"col":1},{"row":7,"col":2,"PI":41},{"row":7,"col":3,"PI":41},{"row":7,"col":4},{"row":9,"col":0},{"row":9,"col":1},{"row":9,"col":2},{"row":9,"col":3,"rowSpan":1,"colSpan":2,"bricks":[{"type":"button","name":"cb_cancel2","config":{"name":"cb_cancel2","caption":"取消","enable":true,"visible":true,"size":"1","className":"","x":-200,"y":1,"width":80,"height":-1,"buttonStyle":"alt","buttonColorStyle":"primary","leftIcon":"","rightIcon":"","DOMName":"cb_cancel2-936787f86408a9c3183b3b640ab43705","html":" \n                <button class=\"btn btn-alt btn-primary btn-xs\" \n                        id=\"cb_cancel2-936787f86408a9c3183b3b640ab43705\">\n                       取消\n                </button>\n                "},"x":-200,"y":1,"width":80,"height":-1},{"type":"button","name":"cb_comfirn2","config":{"name":"cb_comfirn2","caption":"确定","enable":true,"visible":true,"size":"1","className":"","x":-100,"y":1,"width":80,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"","rightIcon":"","DOMName":"cb_comfirn2-002478eded2f638aae11a997eeb950ef","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_comfirn2-002478eded2f638aae11a997eeb950ef\">\n                       确定\n                </button>\n                "},"x":-100,"y":1,"width":80,"height":-1}]}]}],"propertyCache":{"74f2bdf621230fb15ab3899dd9d9d674":{"font-size":24,"font-family":"微软雅黑","text-align":2},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"47a00a41624c6383ac8392dd4e2d2817":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1]},"a1185a5b50eb8c3017a1622a3ac6a623":{"background-color":"#f2f4f4","color":"#34495e","text-align":2,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":12},"608fd8c8f9915b1a0fe67a747a0231c3":{"color":"#34495e","border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":12},"f4b86ac0e723a7ae62db425ec2501ddb":{"color":"#34495e","text-align":2,"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"4df23586299f4d3e384810dd3452a763":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-color":[128,128,128,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"text-align":2},"ac0b70e37db80f10483f5a7b9041d037":{"font-size":12,"border-left-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)"},"2bfc00e6706559c7b48ab503f38f93f1":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":12},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"201490bf43e2657653658ce8fc15a88d":{"color":"#34495e","text-align":0,"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"65db2281b66b0f51c3dda0fc11dec250":{"color":"#34495e","border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"1d58ce6e4fcb79477b8f0124d8c593d7":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12,"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"3f7d2667bbbebaf998952dc4155d99c7":{"font-size":12,"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"3736221b6320a5ed99534cefdf10ef9b":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"d40439625fae1006a802f59daeb608c1":{"border-right-width":2,"border-right-color":[128,128,128,1]},"944a3e9ce69b9ea01b4005ce4a062f71":{"border-top-width":2,"border-top-color":[128,128,128,1],"border-left-width":2,"border-left-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-right-color":[128,128,128,1]},"0ce1d809397906f138d88bb0b74e7c5a":{"border-top-width":2,"border-top-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-left-color":[128,128,128,1]},"63195811ce7146164a496732a73d6388":{"border-right-width":2,"border-right-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-left-color":[128,128,128,1]},"3749828a2f4e560e94e519058d334bd0":{"border-left-width":2,"border-left-color":[128,128,128,1]},"5e4df84994cee3dc53009c98b95703cf":{"border-top-width":2,"border-top-color":[128,128,128,1]},"36d996bc3335eb3693f0ed91210de509":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":12,"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1]},"9a883adb2ac3fc004f80d96d546f56de":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":12,"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-color":[128,128,128,1],"border-left-color":[128,128,128,1]},"a8e2666d88860904c145a9b8fa3e21eb":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":12,"border-right-width":2,"border-right-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-left-color":[128,128,128,1]},"3bec917abe054f85b7e0cdee27df13eb":{"font-size":12,"border-left-width":2,"border-left-color":[128,128,128,1]},"19317b025d921368c0b2c42762aa384e":{"font-size":12},"582e6ff7dcbc794e847c24ddd7d496b7":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-top-width":2,"border-top-color":[128,128,128,1]},"cef87f90f886a52992fe559bc31852ff":{"color":"#34495e","text-align":2,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"745109885f3043de3ba0f0c0034d281b":{"color":"#34495e","border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12},"1828e2ca56e03101e75e1c05f33a571b":{"font-family":"FontAwesome","font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"text-align":2,"color":"rgb(24, 160, 255)"},"6012181ae30937a87c306a5400775cb6":{"font-family":"FontAwesome","font-size":12,"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"text-align":2,"color":"rgb(202, 111, 30)"},"c823f66b7998029fe9832eeaff549c75":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","text-align":2,"font-size":12},"6f82cdf59323396b8d6042aad39a9219":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","font-size":12,"text-align":2},"e6ce761213771e6e15f8ac90b609d862":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(244, 246, 246)","font-size":12},"490a3c8ca1aa99f89df84976850fce4e":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","text-align":2,"font-family":"微软雅黑"},"ce829e8789544053353a5ceab1dfcb8c":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-family":"微软雅黑"},"a8c94f5a92fb60fb4aaccbd770c4b074":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"rgb(242, 244, 244)","font-family":"微软雅黑","text-align":0},"cdac3cb5a17f3131fc8d8a7eb9ac78fb":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"text-align":2,"font-family":"微软雅黑"},"bf8a8d50206ddb6b1d52a0cd027e638d":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"font-family":"微软雅黑"},"a48412dbc6fff4ed999efc2dad989a36":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"text-align":0,"font-family":"微软雅黑"},"fd31d0c6976419eac287f1ad7fa1b2d5":{"font-family":"FontAwesome","border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":12,"font-underline":true,"color":"rgb(230, 126, 34)","text-align":2},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"c3f6434a348b14637cfef1380ba3b95e":{"color":"#34495e","border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":12,"font-family":"微软雅黑"},"cba671b449fecd968d5cf1e825eabcd2":{"background-color":"rgb(255, 255, 255)","color":"#34495e","text-align":2,"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":12},"98ea1659d735d986060d2b7a5d55c004":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"d62603227cb6c78a0443a61f4bf2ebf6":{"border-left-width":2,"border-left-color":[128,128,128,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-right-color":[128,128,128,1]},"81137ffe647a2e54500d6829a93cc058":{"border-right-width":2,"border-right-color":[128,128,128,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-left-color":[128,128,128,1]},"cd00525b8f09c5b1f31d172b6a748610":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1]},"334cbfc63b3655d5933101f83719902d":{"border-top-width":2,"border-top-color":[128,128,128,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":11,"vertical-align":1,"color":"rgb(153, 163, 164)"},"21982b8252459308f2f86ae9f8e5826a":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"word-wrap":true,"vertical-align":0,"text-align":0,"padding-left":10,"padding-top":10,"padding-right":10,"padding-bottom":10},"29eba880a8621eaf333aa2ee9d70a596":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"border-top-width":2,"border-top-color":[128,128,128,1]}},"propertyIdList":["74f2bdf621230fb15ab3899dd9d9d674","125018f3eef635c9d10037c06e4a0236","47a00a41624c6383ac8392dd4e2d2817","a1185a5b50eb8c3017a1622a3ac6a623","608fd8c8f9915b1a0fe67a747a0231c3","f4b86ac0e723a7ae62db425ec2501ddb","4df23586299f4d3e384810dd3452a763","ac0b70e37db80f10483f5a7b9041d037","2bfc00e6706559c7b48ab503f38f93f1","20118c09fa9c7e8fb2753e163d4f4c03","201490bf43e2657653658ce8fc15a88d","65db2281b66b0f51c3dda0fc11dec250","1d58ce6e4fcb79477b8f0124d8c593d7","3f7d2667bbbebaf998952dc4155d99c7","3736221b6320a5ed99534cefdf10ef9b","d40439625fae1006a802f59daeb608c1","944a3e9ce69b9ea01b4005ce4a062f71","0ce1d809397906f138d88bb0b74e7c5a","63195811ce7146164a496732a73d6388","3749828a2f4e560e94e519058d334bd0","5e4df84994cee3dc53009c98b95703cf","36d996bc3335eb3693f0ed91210de509","9a883adb2ac3fc004f80d96d546f56de","a8e2666d88860904c145a9b8fa3e21eb","3bec917abe054f85b7e0cdee27df13eb","19317b025d921368c0b2c42762aa384e","582e6ff7dcbc794e847c24ddd7d496b7","cef87f90f886a52992fe559bc31852ff","745109885f3043de3ba0f0c0034d281b","1828e2ca56e03101e75e1c05f33a571b","6012181ae30937a87c306a5400775cb6","c823f66b7998029fe9832eeaff549c75","6f82cdf59323396b8d6042aad39a9219","e6ce761213771e6e15f8ac90b609d862","490a3c8ca1aa99f89df84976850fce4e","ce829e8789544053353a5ceab1dfcb8c","a8c94f5a92fb60fb4aaccbd770c4b074","cdac3cb5a17f3131fc8d8a7eb9ac78fb","bf8a8d50206ddb6b1d52a0cd027e638d","a48412dbc6fff4ed999efc2dad989a36","fd31d0c6976419eac287f1ad7fa1b2d5","fc406aa51250ead084dba7e6ed9e7117","c3f6434a348b14637cfef1380ba3b95e","cba671b449fecd968d5cf1e825eabcd2","98ea1659d735d986060d2b7a5d55c004","d62603227cb6c78a0443a61f4bf2ebf6","81137ffe647a2e54500d6829a93cc058","cd00525b8f09c5b1f31d172b6a748610","334cbfc63b3655d5933101f83719902d","21982b8252459308f2f86ae9f8e5826a","29eba880a8621eaf333aa2ee9d70a596"]}


id: 662a47879932b5035f32efae
pid: 662a47879932b5035f32efab
name: rightcheckpoint
nodetype: column
createdate: 2024.04.25 20:07:48.000
lastmodifieddate: 2024.09.18 14:41:00.320
value:
{"51e9dff5800468a7298c50c3b0f9c96f":{"name":"汇总","buttonClick":[{"name":"cb_add_pz","title":"添加凭证号"}]},"cdcab3c46fd82166dff4cf6bba427078":{"name":"清单","buttonClick":[{"name":"cb_import","title":"导入凭证号"},{"name":"cb_buildsum","title":"根据凭证号清单生成凭证号汇总信息"}],"cellClick":[{"name":"c_db_deleterow","title":"凭证清单删除"},{"name":"qsqx","title":"延长确认"},{"name":"state","title":"签收确认"}]},"fa726faa617d7764dc6d17bbae2b420d":{"name":"添加凭证号","buttonClick":[{"name":"cb_comfirn","title":"确定"},{"name":"cb_cancel","title":"取消"}]},"1f6986f66d5ef34edac79777ccc4487e":{"name":"导入凭证号","buttonClick":[{"name":"cb_cancel2","title":"取消"},{"name":"cb_comfirn2","title":"确定"}]}}


id: 662a47879932b5035f32efaf
pid: 662a47879932b5035f32efab
name: db
nodetype: column
createdate: 2024.04.25 20:07:48.000
lastmodifieddate: 2024.09.18 14:41:00.320
value:
[{"name":"pz_yjd","label":"会计凭证移交单","type":"table","dbpool":"default","description":"","multirow":false,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","dynamicwhere2_tokens":"{}","sqlinject":"true","importfromexcelpermit":"false","rowcount":1,"orderby":"billdate desc","autoretrieve":true,"updatedtable2":"","sql":"","sqldefine":"","table_query_id":"662a47879932b5035f32efb5","column":[{"name":"id","label":"ID","description":"ID","type":"decimal(20,0)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"制单日期","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"制单人ID","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"制单人","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"上传的附件个数","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"审核人ID","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"审核人","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"审核日期","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"备注","type":"varchar(200)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"单据打印次数","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"单据打开使用的地址","type":"varchar(300)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"touserid","label":"移交接收人","description":"","type":"int","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"towhere","label":"移交事务说明","description":"","type":"varchar(1000)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzs","label":"凭证份数","description":"","type":"int","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id","label":"当前流程定义ID","description":"流程起草后，可能会升级，本字段记录当前执行的流程的版本ID","type":"varchar(80)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id_0","label":"起草时的流程定义ID","description":"记录起草时的流程ID","type":"varchar(80)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_id","label":"流程实例ID","description":"","type":"varchar(64)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_subject","label":"流程主题(用于提醒信息)","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_starttime","label":"流程实例开始时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_endtime","label":"流程实例结束时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_state","label":"流程实例执行状态:0执行中1结束","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"flow_instance_status","label":"流程实例执行状态描述","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_assignee_list","label":"流程参与人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_todo_list","label":"处于待办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_done_list","label":"处于已办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"qsqx","label":"签收期限","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"记帐期","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(10)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[]},{"name":"pz_yjd_pzh","label":"凭证号","type":"table","dbpool":"default","description":"","multirow":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","dynamicwhere2_tokens":"{}","sqlinject":"true","importfromexcelpermit":"false","rowcount":1,"orderby":"pzh  asc","autoretrieve":true,"updatedtable2":"","sql":"","sqldefine":"","table_query_id":"665e66f999327550ff10dca8","column":[{"name":"id","label":"ID","description":"ID","type":"decimal(20,0)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"inner_xh","label":"序号","description":"序号","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ny","label":"凭证年月","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"state","label":"签收状态","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"-99","dbdefaultvalue":"-99"},{"name":"qsqx","label":"签收期限","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"ycly","label":"延长理由","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"is_change","label":"是否发生变动","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"0","dbdefaultvalue":"0"}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","aggregatetype":"","description":"","fillback":"inner_xh"},{"name":"c_db_insertrowafter","label":"后插","expression":"innerAction('\\uf067 插入','insertRowAfter')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可在本结果集中后插一行","fillback":""},{"name":"c_db_insertrowbefore","label":"前插","expression":"innerAction('\\uf055 前插','insertRowBefore')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可在本结果集中后插一行","fillback":""},{"name":"c_db_deleterow","label":"删除","expression":"innerAction('\\uf014 删除','deleteRow')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可删除当前行","fillback":""}]},{"name":"pz_yjdex","label":"会计凭证移交清单","type":"table","dbpool":"default","description":"","multirow":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","dynamicwhere2_tokens":"{}","sqlinject":"true","importfromexcelpermit":"false","rowcount":1,"orderby":"inner_xh asc","autoretrieve":true,"updatedtable2":"","sql":"","sqldefine":"","table_query_id":"662a47959932b5035f32f0f3","column":[{"name":"id","label":"ID","description":"ID","type":"decimal(20,0)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":"0"},{"name":"inner_xh","label":"序号","description":"序号","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh1","label":"起始凭证号","description":"","type":"varchar(40)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh2","label":"终止凭证号","description":"","type":"varchar(40)","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzs","label":"凭证份数","description":"","type":"int","nullable":false,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"memo","label":"备注","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ny","label":"凭证年月","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","aggregatetype":"","description":"","fillback":"inner_xh"},{"name":"c_db_insertrowafter","label":"后插","expression":"innerAction('\\uf067 插入','insertRowAfter')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可在本结果集中后插一行","fillback":""},{"name":"c_db_insertrowbefore","label":"前插","expression":"innerAction('\\uf055 前插','insertRowBefore')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可在本结果集中后插一行","fillback":""},{"name":"c_db_deleterow","label":"删除","expression":"innerAction('\\uf014 删除','deleteRow')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可删除当前行","fillback":""}]},{"name":"q_pz_yjd_pzh","label":"","type":"query","dbpool":"default","description":"","multirow":true,"dynamicwhere":"","dynamicwhere2":"\" pz_yjd_pzh.gguid = \"+ currentGUID()","dynamicwheredata2":"","dynamicwhere2_tokens":"{\"\\\" pz_yjd_pzh.gguid = \\\"+ currentGUID()\": \"\"}","sqlinject":"true","importfromexcelpermit":"false","dbpool_expression":"","updatedtable":"pz_yjd_pzh","updatedtable2":"","groupby":"groupno","smartretrieveothers":"","sql":"select\n  pz_yjd_pzh.*,\n  pz_yjdex.inner_xh as groupno\nfrom\n  pz_yjd_pzh\n  left join pz_yjdex on (\n    pz_yjd_pzh.gguid = pz_yjdex.gguid\n   and pz_yjd_pzh.ny = pz_yjdex.ny\n    and pz_yjd_pzh.pzh >= pz_yjdex.pzh1\n    and pz_yjd_pzh.pzh <= pz_yjdex.pzh2\n  )\norder by\n  pz_yjdex.inner_xh asc,\n  pz_yjd_pzh.pzh asc","sqldefine":"select\n  pz_yjd_pzh.*,\n  pz_yjdex.inner_xh as groupno\nfrom\n  pz_yjd_pzh\n  left join pz_yjdex on (\n    pz_yjd_pzh.gguid = pz_yjdex.gguid\n   and pz_yjd_pzh.ny = pz_yjdex.ny\n    and pz_yjd_pzh.pzh >= pz_yjdex.pzh1\n    and pz_yjd_pzh.pzh <= pz_yjdex.pzh2\n  )\norder by\n  pz_yjdex.inner_xh asc,\n  pz_yjd_pzh.pzh asc","primarykey":"id","autoretrieve":true,"needcache":"false","cacheserver":"","cachetimeout":30,"gguidinject":"false","oncerowcountdefault":"10","oncerowcountlimit":"0","rowcountlimit":"0","rowcountonce":"50000","table_query_id":"665ea74799327550ff10de2b","column":[{"name":"id","label":"ID","description":"","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"","type":"decimal(20,0)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"inner_xh","label":"序号","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"groupno","label":"序号","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ny","label":"凭证年月","description":"","type":"datetime","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"state","label":"签收状态","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"qsqx","label":"签收期限","description":"","type":"int","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ycly","label":"延长理由","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"exceltemplateincludeme":true,"smartretrievecolname":"","dict":"","exportformat":"","encryptmode":"","editstyle":"","cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","aggregatetype":"","description":"","fillback":"inner_xh"},{"name":"c_db_deleterow","label":"删除","expression":"innerAction('\\uf014 删除','deleteRow')","aggregatetype":"","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可删除当前行","fillback":""}]}]


