# app_template

id: 60c4bd735db2478f9c5a111a
pid: 60c4bd735db2478f9c5a1118
name: rightcheckpoint
code: 60c4bd735db2478f9c5a111a
namepath: /凭证影像化/凭证审核/凭证审核
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a1118
fullname: /凭证影像化/凭证审核/凭证审核/rightcheckpoint
fullcode: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a1118.60c4bd735db2478f9c5a111a
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2023.08.03 11:30:07.316
value:
{"b83a18372d1e0c552da51ecc990e916a":{"name":"main","buttonClick":[{"name":"cb_retrieve","title":" 检索"},{"name":"cb_verify","title":"批量校对"},{"name":"cb_unverify","title":" 批量取消校对"}]},"beed53ada49f7fd9efab3a92ceec68b4":{"name":"凭证详情","buttonClick":[{"name":"cb_selectallimg","title":"全选/取消"},{"name":"cb_turnLeft","title":""},{"name":"cb_turnRight","title":""}]}}


id: 60c4bd735db2478f9c5a111b
pid: 60c4bd735db2478f9c5a1118
name: db
code: 60c4bd735db2478f9c5a111b
namepath: /凭证影像化/凭证审核/凭证审核
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a1118
fullname: /凭证影像化/凭证审核/凭证审核/db
fullcode: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a1118.60c4bd735db2478f9c5a111b
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2023.08.03 11:30:07.316
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  isnull(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\"ym=\"+ym\n\"username=\"+st_username\n\"pzh >= '\"+pzh1+\"' \"\n\"pzh <= '\"+pzh2+\"' \"","dynamicwheredata2":"st_corpid:main!st_corpid\nshzt:main!shzt\nym:main!ym\nst_username:main!st_username\npzh1:main!pzh_prefix+main!pzh1\npzh2:main!pzh_prefix+main!pzh2","primarykey":"id","autoretrieve":true,"table_query_id":"60c560a05db2e8eff0d867a8","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":"billtype","label":"单据类型","description":"","type":"varchar(40)","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":"c_sh1","label":"c_sh1","description":"","type":"varchar(2)","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":"corpid","label":"账套ID","description":"","type":"varchar(32)","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":"deleteflag","label":"删除标记","description":"","type":"int","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":"gguid","label":"GGUID","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":"imgid","label":"凭证图片记录ID","description":"","type":"varchar(40)","nullable":true,"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":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","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":"pzh","label":"凭证号","description":"","type":"varchar(40)","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":"summary","label":"备注","description":"","type":"varchar(200)","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":"url_img","label":"凭证图片地址","description":"","type":"varchar(1000)","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":"userid","label":"制单人ID","description":"","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":"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":"verifiername","label":"审核人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"xm","label":"项目","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ym","label":"记帐期","description":"","type":"int","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_xh","label":"","expression":"thisrow()+1","description":"","fillback":""}]},{"name":"pzh_check","label":"","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"","sql":"select\n  a.pzh\nfrom\n  (\n    select\n      concat(\n        ':pzh_prefix{}',\n        right(concat('0000000000', id), :pzh_len { 4 })\n      ) as pzh\n    from\n      app_int  -- 这个表就是一个整数序列表\n    where\n      id <= (\n        select\n          cast(right(max(b.pzh), :pzh_len { 4 }) as decimal) as maxpzh  --取出当月最大的凭证号的后几位去掉前缀\n        from\n          dzpz_pz b\n        where\n          b.ym = :ym { 202106 }\n          and b.corpid = ':corpid{-}'\n      )\n  ) a  --  把从1 到 最大凭证号 构建一个凭证号码完成序列表 \nwhere\n  a.pzh not in (  --  不存在的就是\n    select\n      pzh\n    from\n      dzpz_pz b\n    where\n      b.ym = :ym { 202106 }\n      and b.corpid = ':corpid{-}'\n  )","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"pzh_prefix: main!pzh_prefix \npzh_len: getPZHLen( )\nym:main!ym\ncorpid: corpid","primarykey":"","autoretrieve":false,"table_query_id":"60c9bd189932d177d8ac5e81","column":[{"name":"pzh","label":"pzh","description":"","type":"varchar(4)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[]}]


id: 60c4bd735db2478f9c5a111c
pid: 60c4bd735db2478f9c5a1118
name: script
code: 60c4bd735db2478f9c5a111c
namepath: /凭证影像化/凭证审核/凭证审核
codepath: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a1118
fullname: /凭证影像化/凭证审核/凭证审核/script
fullcode: 60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a1118.60c4bd735db2478f9c5a111c
nodetype: column
createdate: 2021.06.12 22:00:48.000
lastmodifieddate: 2023.08.03 11:30:07.316
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, function () {
                if (innerRow < $dzpz_pz_ds.rowCount - 1) {
                    book.getDataSource('dzpz_pz').currentBindRow = innerRow + 1 ;
                }
            });
        }
        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: 60c8556748741fc1098abbea
pid: 60c8543348741fc1098abbe9
name: ui
code: 60c8556748741fc1098abbea
namepath: /凭证影像化/标签设置/标签设置编辑
codepath: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8543348741fc1098abbe9
fullname: /凭证影像化/标签设置/标签设置编辑/ui
fullcode: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8543348741fc1098abbe9.60c8556748741fc1098abbea
nodetype: column
createdate: 2021.06.15 15:23:19.000
lastmodifieddate: 2023.08.03 11:30:07.316
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":4,"columnCount":4,"guid":"1a39ea29c9b4cf78e09be3bfe08e1884","name":"Sheet1","gridLineVisible":true,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":60,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":89,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":243,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":3,"width":100,"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},{"row":1,"col":0,"PI":1},{"row":1,"col":1,"define":"标签名称：","cellValueType":3,"PI":2},{"row":1,"col":2,"editable":true,"cellValueType":3,"PI":3,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"labelname","dsType":1}},{"row":1,"col":3,"PI":4},{"row":2,"col":0},{"row":2,"col":1,"PI":5},{"row":2,"col":2,"PI":5},{"row":2,"col":3}]}],"propertyCache":{"b37698a1acc4061ae4f1071e7fde1805":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1]},"67857281917c650712a1b9e14d7c1cca":{"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1]},"4264a9cd0868955e2e726baa93b61b0f":{"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],"background-color":"rgb(234, 236, 238)","text-align":1},"a42fb1ac16d6ec50c2ee59e4acb7394a":{"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]},"833daa710d2a78f7e4f425a620c15caa":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1]},"6217ee1e65792a5ee6034ccfff2e4f8d":{"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1]}},"propertyIdList":["b37698a1acc4061ae4f1071e7fde1805","67857281917c650712a1b9e14d7c1cca","4264a9cd0868955e2e726baa93b61b0f","a42fb1ac16d6ec50c2ee59e4acb7394a","833daa710d2a78f7e4f425a620c15caa","6217ee1e65792a5ee6034ccfff2e4f8d"]}


id: 60c8556748741fc1098abbee
pid: 60c8543348741fc1098abbe9
name: db
code: 60c8556748741fc1098abbee
namepath: /凭证影像化/标签设置/标签设置编辑
codepath: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8543348741fc1098abbe9
fullname: /凭证影像化/标签设置/标签设置编辑/db
fullcode: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8543348741fc1098abbe9.60c8556748741fc1098abbee
nodetype: column
createdate: 2021.06.15 15:23:19.000
lastmodifieddate: 2023.08.03 11:30:07.317
value:
[{"name":"dzpz_dm_bq","label":"标签设置","type":"table","dbpool":"default","description":"","multirow":false,"rowcount":1,"orderby":"billdate desc","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"60c8556748741fc1098abbf3","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":"billno","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","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":"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":"labelname","label":"标签名称","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","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":"summary","label":"备注","description":"备注","type":"varchar(200)","nullable":true,"smartretrieve":false,"updatable":"true","datamask":"","usedingroupby":"false","usedinsum":"false","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":""}],"computer":[]}]


id: 60c8556748741fc1098abc39
pid: 60c8556748741fc1098abc37
name: ui
code: 60c8556748741fc1098abc39
namepath: /凭证影像化/标签设置/标签设置列表
codepath: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8556748741fc1098abc37
fullname: /凭证影像化/标签设置/标签设置列表/ui
fullcode: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8556748741fc1098abc37.60c8556748741fc1098abc39
nodetype: column
createdate: 2021.06.15 15:23:26.000
lastmodifieddate: 2023.08.03 11:30:07.317
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":3,"columnCount":8,"guid":"f2aed8c2b814606f2963cbf4bbc8a162","name":"Sheet1","gridLineVisible":true,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":5,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":300,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":300,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":4,"width":65,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":65,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":135,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":0},{"row":0,"col":1,"define":"序号","PI":1},{"row":0,"col":2,"define":"标签名称","PI":1},{"row":0,"col":3,"define":"备注","PI":1},{"row":0,"col":4,"define":"创建人","PI":1},{"row":0,"col":5,"define":"审核人","PI":1},{"row":0,"col":6,"define":"更新时间","PI":1},{"row":0,"col":7},{"row":1,"col":0,"PI":0},{"row":1,"col":1,"PI":2,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"inner_xh","dsType":2}},{"row":1,"col":2,"cellValueType":3,"PI":2,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"labelname","dsType":2}},{"row":1,"col":3,"cellValueType":3,"PI":2,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"summary","dsType":2}},{"row":1,"col":4,"cellValueType":3,"PI":2,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"username","dsType":2}},{"row":1,"col":5,"cellValueType":3,"PI":2,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"verifiername","dsType":2}},{"row":1,"col":6,"cellValueType":4,"PI":2,"bind":{"dataSource":"dzpz_dm_bq","DBCol":"lastmodifieddate","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd HH:mm:ss"}},{"row":1,"col":7},{"row":2,"col":0},{"row":2,"col":1},{"row":2,"col":2,"PI":3},{"row":2,"col":3,"PI":3},{"row":2,"col":4},{"row":2,"col":5},{"row":2,"col":6},{"row":2,"col":7}]}],"propertyCache":{"67857281917c650712a1b9e14d7c1cca":{"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1]},"5cad7c81ba1ff18962257f0b9bb06728":{"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],"background-color":"rgb(33, 47, 60)","font-size":"12","color":"rgb(255, 255, 255)","text-align":2},"c6b94e70dda089fefc19ea0dbce62f95":{"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],"font-size":"12","text-align":0},"6217ee1e65792a5ee6034ccfff2e4f8d":{"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1]}},"propertyIdList":["67857281917c650712a1b9e14d7c1cca","5cad7c81ba1ff18962257f0b9bb06728","c6b94e70dda089fefc19ea0dbce62f95","6217ee1e65792a5ee6034ccfff2e4f8d"]}


id: 60c8556748741fc1098abc3b
pid: 60c8556748741fc1098abc37
name: db
code: 60c8556748741fc1098abc3b
namepath: /凭证影像化/标签设置/标签设置列表
codepath: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8556748741fc1098abc37
fullname: /凭证影像化/标签设置/标签设置列表/db
fullcode: 60c4bd735db2478f9c5a1116.60c8543348741fc1098abbe8.60c8556748741fc1098abc37.60c8556748741fc1098abc3b
nodetype: column
createdate: 2021.06.15 15:23:26.000
lastmodifieddate: 2023.08.03 11:30:07.317
value:
[{"name":"dzpz_dm_bq","label":"标签设置","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"dzpz_\bdm_bq","sql":"select * from  dzpz_dm_bq   where isnull(deleteflag,0)=0","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","primarykey":"id","autoretrieve":true,"table_query_id":"60c8556748741fc1098abc42","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":"billno","description":"","type":"varchar(40)","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":"corporationid","label":"企业ID","description":"","type":"varchar(40)","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":"gguid","label":"GGUID","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":"labelname","label":"标签名称","description":"","type":"varchar(40)","nullable":true,"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":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","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":"","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":"","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":""}],"computer":[{"name":"inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""}]}]


id: 60d095db993254220bd851a0
pid: 60d095db993254220bd8519f
name: ui
code: 60d095db993254220bd851a0
namepath: /凭证影像化/凭证登记/凭证登记编辑
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f
fullname: /凭证影像化/凭证登记/凭证登记编辑/ui
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f.60d095db993254220bd851a0
nodetype: column
createdate: 2021.06.21 21:36:35.000
lastmodifieddate: 2023.08.03 11:30:07.317
value:
{"version":"1.0","sheetcount":2,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":10,"columnCount":10,"guid":"03f9a72c99256986ddae71436c3a6d27","name":"main","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":1,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":200,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":7,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"height":1,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":9,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":5,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"define":"凭证资料导入表","rowSpan":1,"colSpan":4,"PI":0},{"row":0,"col":4,"PI":1},{"row":0,"col":5,"PI":1},{"row":0,"col":6,"PI":1},{"row":0,"col":7,"PI":1},{"row":0,"col":8,"PI":1},{"row":0,"col":9,"PI":1},{"row":1,"col":0,"PI":2},{"row":1,"col":1,"PI":2},{"row":1,"col":2,"PI":2},{"row":1,"col":3,"PI":2},{"row":1,"col":4,"PI":2},{"row":1,"col":5,"PI":2},{"row":1,"col":6,"PI":2},{"row":1,"col":7,"PI":2},{"row":1,"col":8,"PI":2},{"row":1,"col":9,"PI":2},{"row":2,"col":0,"PI":3},{"row":2,"col":1,"PI":3},{"row":2,"col":2,"PI":3},{"row":2,"col":3,"PI":3},{"row":2,"col":4,"PI":3},{"row":2,"col":5,"PI":3},{"row":2,"col":6,"PI":3},{"row":2,"col":7,"PI":3},{"row":2,"col":8},{"row":2,"col":9},{"row":3,"col":0,"define":"帐套名称","PI":4},{"row":3,"col":1,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":3,"PI":5,"bind":{"dataSource":"pzdj","DBCol":"corpid","dsType":1},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":4,"define":"起始记账期","cellValueType":3,"PI":4},{"row":3,"col":5,"cellValueType":3,"PI":6,"bind":{"dataSource":"pzdj","DBCol":"jzq_start","dsType":1}},{"row":3,"col":6,"define":"截止记账期","PI":4},{"row":3,"col":7,"cellValueType":3,"PI":6,"bind":{"dataSource":"pzdj","DBCol":"jzq_end","dsType":1}},{"row":3,"col":8},{"row":3,"col":9,"PI":7},{"row":4,"col":0,"define":"备     注","PI":4},{"row":4,"col":1,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":7,"PI":5,"bind":{"dataSource":"pzdj","DBCol":"summary","dsType":1}},{"row":4,"col":8},{"row":4,"col":9},{"row":5,"col":0,"PI":8},{"row":5,"col":1,"PI":8},{"row":5,"col":2,"PI":8},{"row":5,"col":3,"PI":8},{"row":5,"col":4,"PI":8},{"row":5,"col":5,"PI":8},{"row":5,"col":6,"PI":8},{"row":5,"col":7,"PI":8},{"row":5,"col":8},{"row":5,"col":9,"PI":8},{"row":6,"col":0,"rowSpan":1,"colSpan":9,"PI":9,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"a23dfe2d62b1e5d2eecccdbb033e3a8c","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-68bc094067447dcb1b4ecb98da294deb"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":6,"col":9,"PI":10},{"row":7,"col":0,"rowSpan":1,"colSpan":8,"PI":11,"bricks":[{"type":"dbpage","name":"dbnav","config":{"name":"dbnav","caption":"分页导航条","enable":true,"visible":true,"showDBRowCount":true,"x":1,"y":1,"width":-1,"height":-1,"align":"left","onceRetrieveRowCount":"100","countPerPagePermitToChange":true,"dsn":"pzdjex","DOMName":"dbnav-5decf52b337be42c88c253ece882f29b","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-5decf52b337be42c88c253ece882f29b\"  \n          \n                       style=\" padding:2px;min-width:24px; padding-right:8px;padding-left:8px; user-select:none; text-align:left;\">\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\">每页<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":7,"col":8},{"row":7,"col":9},{"row":8,"col":0,"PI":12},{"row":8,"col":1,"PI":12},{"row":8,"col":2,"PI":12},{"row":8,"col":3,"PI":12},{"row":8,"col":4,"PI":12},{"row":8,"col":5,"PI":12},{"row":8,"col":6,"PI":12},{"row":8,"col":7,"PI":12},{"row":8,"col":8,"PI":12},{"row":8,"col":9,"PI":13},{"row":9,"col":0,"define":"制单：","PI":14},{"row":9,"col":1,"cellValueType":3,"PI":15,"bind":{"dataSource":"pzdj","DBCol":"username","dsType":1}},{"row":9,"col":2,"cellValueType":4,"rowSpan":1,"colSpan":2,"PI":15,"bind":{"dataSource":"pzdj","DBCol":"billdate","dsType":1},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd HH:mm:ss"}},{"row":9,"col":4,"define":"审核：","PI":14},{"row":9,"col":5,"cellValueType":3,"PI":15,"bind":{"dataSource":"pzdj","DBCol":"verifiername","dsType":1}},{"row":9,"col":6,"cellValueType":4,"rowSpan":1,"colSpan":2,"PI":15,"bind":{"dataSource":"pzdj","DBCol":"verifieddate","dsType":1}},{"row":9,"col":8},{"row":9,"col":9,"PI":15}]},{"index":1,"rowCount":4,"columnCount":20,"guid":"a23dfe2d62b1e5d2eecccdbb033e3a8c","name":"detail","gridLineVisible":true,"freezedRow":2,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":40,"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":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":90,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":197,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":65,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":118,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":13,"width":110,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":14,"width":134,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":15,"width":128,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":16,"width":131,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":17,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":18,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":19,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"rowSpan":1,"colSpan":5,"PI":3},{"row":0,"col":5,"PI":3},{"row":0,"col":6},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":0,"col":11,"rowSpan":1,"colSpan":2,"PI":3,"bricks":[{"type":"button","name":"cb_importXLS","config":{"name":"cb_importXLS","caption":" 导入Excel文件","enable":true,"visible":true,"size":"1","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"warning","leftIcon":"fa-level-down","rightIcon":"","DOMName":"cb_importXLS-28d0af9caa5000bcc69c83600b11fae5","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-warning btn-xs\" \n                        id=\"cb_importXLS-28d0af9caa5000bcc69c83600b11fae5\">\n                       <i class='fa fa-level-down'></i> 导入Excel文件\n                </button>\n                </span>"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":0,"col":13,"rowSpan":1,"colSpan":2,"PI":3,"bricks":[{"type":"button","name":"cb_downloadTemplateFile","config":{"name":"cb_downloadTemplateFile","caption":" 下载模板文件","enable":true,"visible":true,"size":"1","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"options","buttonColorStyle":"default","leftIcon":"fa-download","rightIcon":"","DOMName":"cb_downloadTemplateFile-20b22171fd629fa19fb088d767255aa6","html":"<span class=\"block-options \"> \n                <button class=\"btn  btn-default btn-xs\" \n                        id=\"cb_downloadTemplateFile-20b22171fd629fa19fb088d767255aa6\">\n                       <i class='fa fa-download'></i> 下载模板文件\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":1,"y":1,"width":-1,"height":-1}]},{"row":0,"col":15},{"row":0,"col":16},{"row":0,"col":17},{"row":0,"col":18},{"row":0,"col":19},{"row":1,"col":0,"define":"序号","alias":"t_pzdjex_c_inner_xh","PI":4},{"row":1,"col":1,"define":"年度","dblClickSort":"pzdjex.y","alias":"t_pzdjex_y","PI":4},{"row":1,"col":2,"define":"期间","dblClickSort":"pzdjex.m","alias":"t_pzdjex_m","PI":4},{"row":1,"col":3,"define":"凭证日期","dblClickSort":"pzdjex.pzrq","alias":"t_pzrq","PI":4},{"row":1,"col":4,"define":"凭证号","dblClickSort":"pzdjex.pzh","alias":"t_pzh","PI":4},{"row":1,"col":5,"define":"会计科目编码","dblClickSort":"pzdjex.kmdm","PI":16},{"row":1,"col":6,"define":"会计科目名称","dblClickSort":"pzdjex.kmmc","PI":4},{"row":1,"col":7,"define":"摘要","dblClickSort":"pzdjex.bz","PI":4},{"row":1,"col":8,"define":"借方金额","dblClickSort":"pzdjex.kmmc","PI":4},{"row":1,"col":9,"define":"贷方金额","dblClickSort":"pzdjex.kmmc","PI":4},{"row":1,"col":10,"define":"核算账号编码","dblClickSort":"pzdjex.code","alias":"t_code","PI":4},{"row":1,"col":11,"define":"经办人","dblClickSort":"pzdjex.code","PI":4},{"row":1,"col":12,"define":"财会支出明细编码","dblClickSort":"pzdjex.kmdm","PI":17},{"row":1,"col":13,"define":"财会支出明细名称","dblClickSort":"pzdjex.kmdm","PI":17},{"row":1,"col":14,"define":"预会支出明细编码","dblClickSort":"pzdjex.kmdm","PI":17},{"row":1,"col":15,"define":"预会支出明细名称","dblClickSort":"pzdjex.kmdm","PI":17},{"row":1,"col":16,"define":"入库单号","dblClickSort":"pzdjex.code","PI":4},{"row":1,"col":17,"define":"是否\\n已过账","dblClickSort":"pzdjex.posted","alias":"t_posted","PI":17},{"row":1,"col":18,"define":"制单人","dblClickSort":"pzdjex.zdr","PI":4},{"row":1,"col":19,"PI":18},{"row":2,"col":0,"alias":"pzdjex_c_inner_xh","PI":6,"bind":{"dataSource":"pzdjex","DBCol":"c_inner_xh","dsType":2}},{"row":2,"col":1,"cellValueType":1,"alias":"pzdjex_y","PI":6,"bind":{"dataSource":"pzdjex","DBCol":"y","dsType":2}},{"row":2,"col":2,"cellValueType":1,"alias":"m","PI":6,"bind":{"dataSource":"pzdjex","DBCol":"m","dsType":2}},{"row":2,"col":3,"cellValueType":4,"alias":"pzrq","PI":6,"bind":{"dataSource":"pzdjex","DBCol":"pzrq","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":2,"col":4,"cellValueType":3,"alias":"pzh","PI":6,"bind":{"dataSource":"pzdjex","DBCol":"pzh","dsType":2}},{"row":2,"col":5,"cellValueType":3,"alias":"kmdm","PI":19,"bind":{"dataSource":"pzdjex","DBCol":"kmdm","dsType":2}},{"row":2,"col":6,"cellValueType":3,"alias":"kmmc","PI":20,"bind":{"dataSource":"pzdjex","DBCol":"kmmc","dsType":2}},{"row":2,"col":7,"cellValueType":3,"alias":"bz","PI":21,"bind":{"dataSource":"pzdjex","DBCol":"bz","dsType":2}},{"row":2,"col":8,"cellValueType":2,"alias":"jfje","PI":21,"bind":{"dataSource":"pzdjex","DBCol":"jfje","dsType":2}},{"row":2,"col":9,"cellValueType":2,"alias":"dfje","PI":21,"bind":{"dataSource":"pzdjex","DBCol":"dfje","dsType":2}},{"row":2,"col":10,"editable":true,"cellValueType":3,"alias":"code","PI":21,"bind":{"dataSource":"pzdjex","DBCol":"code","dsType":2}},{"row":2,"col":11,"cellValueType":3,"alias":"jbr","PI":21,"bind":{"dataSource":"pzdjex","DBCol":"jbr","dsType":2}},{"row":2,"col":12,"cellValueType":3,"alias":"ckzcmxdm","PI":20,"bind":{"dataSource":"pzdjex","DBCol":"ckzcmxdm","dsType":2}},{"row":2,"col":13,"cellValueType":3,"alias":"ckzcmxmc","PI":20,"bind":{"dataSource":"pzdjex","DBCol":"ckzcmxmc","dsType":2}},{"row":2,"col":14,"cellValueType":3,"alias":"ykzcmxdm","PI":20,"bind":{"dataSource":"pzdjex","DBCol":"ykzcmxdm","dsType":2}},{"row":2,"col":15,"cellValueType":3,"alias":"ykzcmxmc","PI":20,"bind":{"dataSource":"pzdjex","DBCol":"ykzcmxmc","dsType":2}},{"row":2,"col":16,"cellValueType":3,"alias":"rkdh","PI":21,"bind":{"dataSource":"pzdjex","DBCol":"rkdh","dsType":2}},{"row":2,"col":17,"cellValueType":3,"alias":"posted","PI":6,"bind":{"dataSource":"pzdjex","DBCol":"posted","dsType":2}},{"row":2,"col":18,"cellValueType":3,"alias":"zdr","PI":5,"bind":{"dataSource":"pzdjex","DBCol":"zdr","dsType":2}},{"row":2,"col":19,"PI":22}]}],"propertyCache":{"d9381ab4709992e5b9fa8cafabaf7a91":{"background-color":"rgb(235, 237, 239)","font-size":"20"},"e4204338242bbe57472e7aeb9cb21a23":{"background-color":"rgb(235, 237, 239)"},"1785390bb8a4d92df220a5fa09ce1097":{"background-color":"rgb(212, 172, 13)"},"b37698a1acc4061ae4f1071e7fde1805":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1]},"b174a7301533e802b704ede0b1194c86":{"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],"background-color":"rgb(242, 244, 244)","font-size":"12","text-align":2},"706fff6310d3e5a652ab911a1bbc84ea":{"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],"font-size":"12"},"a727d45839d500017dd3d65c4d829371":{"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],"font-size":"12","text-align":2},"a3f1ef4466c78db4412237879a26505c":{"font-size":"12"},"3736221b6320a5ed99534cefdf10ef9b":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"76371a44c40fca3c999e7ea4f96c95ae":{"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-color":[128,128,128,1]},"5a41334458c5d8cb770083a6d9408027":{"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]},"5e4df84994cee3dc53009c98b95703cf":{"border-top-width":2,"border-top-color":[128,128,128,1]},"ad281eb01585fc40ee91d91fc4d27af4":{"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"background-color":"rgb(235, 237, 239)"},"5e94db01c19f634bf4db56ab61eb163b":{"border-top-width":2,"border-top-color":[128,128,128,1],"background-color":"rgb(235, 237, 239)"},"bb80863f64939ce64dde3231c4628c90":{"font-size":"12","color":"rgb(52, 73, 94)","text-align":1},"56a7332f05a5d4aa7c02a7f1f41621bb":{"font-size":"12","color":"rgb(52, 73, 94)"},"c19d8f30edc5f9f05f75269a3f7b3aca":{"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],"background-color":"rgb(242, 244, 244)","font-size":"12","text-align":0},"ae990fda928f3902e111cf4d65371c00":{"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],"background-color":"rgb(242, 244, 244)","font-size":"12","word-wrap":true,"text-align":2},"3a2041c6c4c3d1e7c656c373e3263f7d":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"text-align":2},"c6b94e70dda089fefc19ea0dbce62f95":{"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],"font-size":"12","text-align":0},"e351afe4a21f5478fd186c76419b0e65":{"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],"font-size":"12","word-wrap":true,"text-align":0},"72aa50dbaff2275947fca17446640199":{"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],"font-size":"12","word-wrap":true},"686df365dd6a43e7ae80aa4f3746bf30":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"font-size":"12"}},"propertyIdList":["d9381ab4709992e5b9fa8cafabaf7a91","e4204338242bbe57472e7aeb9cb21a23","1785390bb8a4d92df220a5fa09ce1097","b37698a1acc4061ae4f1071e7fde1805","b174a7301533e802b704ede0b1194c86","706fff6310d3e5a652ab911a1bbc84ea","a727d45839d500017dd3d65c4d829371","a3f1ef4466c78db4412237879a26505c","3736221b6320a5ed99534cefdf10ef9b","76371a44c40fca3c999e7ea4f96c95ae","5a41334458c5d8cb770083a6d9408027","5e4df84994cee3dc53009c98b95703cf","ad281eb01585fc40ee91d91fc4d27af4","5e94db01c19f634bf4db56ab61eb163b","bb80863f64939ce64dde3231c4628c90","56a7332f05a5d4aa7c02a7f1f41621bb","c19d8f30edc5f9f05f75269a3f7b3aca","ae990fda928f3902e111cf4d65371c00","3a2041c6c4c3d1e7c656c373e3263f7d","c6b94e70dda089fefc19ea0dbce62f95","e351afe4a21f5478fd186c76419b0e65","72aa50dbaff2275947fca17446640199","686df365dd6a43e7ae80aa4f3746bf30"]}


id: 60d095db993254220bd851a1
pid: 60d095db993254220bd8519f
name: rightcheckpoint
code: 60d095db993254220bd851a1
namepath: /凭证影像化/凭证登记/凭证登记编辑
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f
fullname: /凭证影像化/凭证登记/凭证登记编辑/rightcheckpoint
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f.60d095db993254220bd851a1
nodetype: column
createdate: 2021.06.21 21:36:35.000
lastmodifieddate: 2023.08.03 11:30:07.317
value:
{"a23dfe2d62b1e5d2eecccdbb033e3a8c":{"name":"detail","buttonClick":[{"name":"cb_importXLS","title":" 导入Excel文件"},{"name":"cb_downloadTemplateFile","title":" 下载模板文件"}]}}


id: 60d095db993254220bd851a2
pid: 60d095db993254220bd8519f
name: db
code: 60d095db993254220bd851a2
namepath: /凭证影像化/凭证登记/凭证登记编辑
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f
fullname: /凭证影像化/凭证登记/凭证登记编辑/db
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f.60d095db993254220bd851a2
nodetype: column
createdate: 2021.06.21 21:36:35.000
lastmodifieddate: 2023.08.03 11:30:07.317
value:
[{"name":"pzdj","label":"凭证登记","type":"table","dbpool":"default","description":"","multirow":false,"rowcount":1,"orderby":"billdate desc","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"60d095db993254220bd851a6","column":[{"name":"corpId","label":"帐套ID","description":"","type":"varchar(10)","nullable":false,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"jzq_start","label":"起始记账期","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"jzq_end","label":"截止记账期","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"审核人","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"审核人ID","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"审核日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"制单人","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"制单人ID","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"备注","type":"varchar(200)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"单据打开使用的地址","type":"varchar(300)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"制单日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"上传的附件个数","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"ID","type":"varchar(40)","nullable":false,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[]},{"name":"pzdjex","label":"凭证清单","type":"table","dbpool":"default","description":"","multirow":true,"rowcount":0,"orderby":"","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"60d09792993254220bd8540f","column":[{"name":"pzsl_pic","label":"pzsl_pic","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_pz","label":"pic_pz","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pic_fj","label":"pic_fj","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"dzpz_id","label":"dzpz_id","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"ID","type":"varchar(40)","nullable":false,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"kmdm","label":"会计科目编码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"kmmc","label":"会计科目名称","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ckzcmxdm","label":"财会支出明细编码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ckzcmxmc","label":"财会支出明细名称","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ykzcmxdm","label":"预会支出明细编码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ykzcmxmc","label":"预会支出明细名称","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"rkdh","label":"入库单号","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"zdr","label":"制单人","description":"","type":"varchar(30)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"y","label":"年度","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"m","label":"月份","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(20)","nullable":false,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzrq","label":"凭证日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"code","label":"核算账号编码","description":"","type":"varchar(20)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"bz","label":"摘要","description":"","type":"varchar(4000)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"corpId","label":"帐套ID","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"posted","label":"是否已过账（是/否）","description":"","type":"varchar(4)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":""},{"name":"inner_xh","label":"序号","description":"序号","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"jbr","label":"经办人","description":"","type":"varchar(30)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"jfje","label":"借方金额","description":"","type":"decimal(20,4)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"dfje","label":"贷方金额","description":"","type":"decimal(20,4)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_db_deleterow","label":"删除","expression":"innerAction('\\uf014 删除','deleteRow')","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可删除当前行","fillback":""},{"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_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":"inner_xh"}]}]


id: 60d095db993254220bd851a3
pid: 60d095db993254220bd8519f
name: script
code: 60d095db993254220bd851a3
namepath: /凭证影像化/凭证登记/凭证登记编辑
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f
fullname: /凭证影像化/凭证登记/凭证登记编辑/script
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095db993254220bd8519f.60d095db993254220bd851a3
nodetype: column
createdate: 2021.06.21 21:36:35.000
lastmodifieddate: 2023.08.03 11:30:07.318
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) {

    form.save(false, function () {
        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是否已过账\t摘要\t制单人\t经办人";
    var data = [];
    data.push(title);
    data.push("2021\t6\t210600001\t2021.06.01\t5501\t营业费用\t500\t500\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: 60d095e3993254220bd85246
pid: 60d095e3993254220bd85245
name: ui
code: 60d095e3993254220bd85246
namepath: /凭证影像化/凭证登记/凭证登记列表
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245
fullname: /凭证影像化/凭证登记/凭证登记列表/ui
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245.60d095e3993254220bd85246
nodetype: column
createdate: 2021.06.21 21:36:39.000
lastmodifieddate: 2023.08.03 11:30:07.318
value:
{"version":"1.0","sheetcount":2,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":15,"columnCount":10,"guid":"88e00d890ac3bdb349f3dfb92e2b5019","name":"main","gridLineVisible":true,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":4,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":5,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":6,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":7,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":9,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":10,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":11,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":12,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":13,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":14,"height":40,"isColumnScrollEnabled":true,"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},{"index":7,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":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,"PI":0},{"row":0,"col":8,"PI":0},{"row":0,"col":9,"PI":0},{"row":1,"col":0,"PI":0},{"row":1,"col":1,"PI":0},{"row":1,"col":2,"PI":0},{"row":1,"col":3,"PI":0},{"row":1,"col":4,"PI":0},{"row":1,"col":5,"PI":0},{"row":1,"col":6,"PI":0},{"row":1,"col":7,"PI":0,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","x":5,"y":1,"width":60,"height":-1,"buttonStyle":"alt","buttonColorStyle":"primary","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"pzdj","moreDataSource":"","cachefirst":true,"DOMName":"cb_retrieve-cc1775db32dfb5fdd60da5493801e111","html":" \n                <button class=\"btn btn-alt btn-primary btn-xs\" \n                        id=\"cb_retrieve-cc1775db32dfb5fdd60da5493801e111\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":5,"y":1,"width":60,"height":-1}]},{"row":1,"col":8,"PI":0},{"row":1,"col":9,"PI":0},{"row":2,"col":0,"PI":0},{"row":2,"col":1,"PI":0},{"row":2,"col":2,"PI":0},{"row":2,"col":3,"PI":0},{"row":2,"col":4,"PI":0},{"row":2,"col":5,"PI":0},{"row":2,"col":6,"PI":0},{"row":2,"col":7,"PI":0},{"row":2,"col":8,"PI":0},{"row":2,"col":9,"PI":0},{"row":3,"col":0,"rowSpan":11,"colSpan":10,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"f9614c7eed7229687761d4604134ffb2","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-89409968a44023a2b04dd364873c5d10"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":14,"col":0,"rowSpan":1,"colSpan":6,"bricks":[{"type":"dbpage","name":"dbnav","config":{"name":"dbnav","caption":"分页导航条","enable":true,"visible":true,"showDBRowCount":true,"x":1,"y":1,"width":-1,"height":-1,"align":"left","onceRetrieveRowCount":"30","countPerPagePermitToChange":true,"dsn":"pzdj","DOMName":"dbnav-5453c781f86bf595f7cbe28a06a2366f","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-5453c781f86bf595f7cbe28a06a2366f\"  \n                       unselectable=\"on\" onselectstart=\"return false;\"\n                       style=\" padding:2px;min-width:24px; padding-right:8px;padding-left:8px;  text-align:left;\">\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=\"30\" \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":14,"col":6},{"row":14,"col":7},{"row":14,"col":8},{"row":14,"col":9}]},{"index":1,"rowCount":3,"columnCount":12,"guid":"f9614c7eed7229687761d4604134ffb2","name":"list","gridLineVisible":true,"freezedRow":1,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":40,"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":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":189,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":65,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":65,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"define":"序号","alias":"t_pzdj_inner_xh","PI":1},{"row":0,"col":1,"define":"单据编号","alias":"t_pzdj_billno","PI":1},{"row":0,"col":2,"define":"编制日期","alias":"t_pzdj_billdate","PI":1},{"row":0,"col":3,"define":"帐套名称","alias":"t_pzdj_corpid","PI":1},{"row":0,"col":4,"define":"起始记账期","alias":"t_pzdj_y","PI":1},{"row":0,"col":5,"define":"截止记账期","alias":"t_pzdj_m","PI":1},{"row":0,"col":6,"define":"备注","alias":"t_pzdj_summary","PI":1},{"row":0,"col":7,"define":"创建人","alias":"t_pzdj_username","PI":1},{"row":0,"col":8,"define":"审核人","alias":"t_pzdj_verifiername","PI":1},{"row":0,"col":9,"define":"审核日期","alias":"t_pzdj_verifieddate","PI":1},{"row":0,"col":10,"define":"更新日期","alias":"t_pzdj_lastmodifieddate","PI":1},{"row":0,"col":11,"PI":2},{"row":1,"col":0,"alias":"pzdj_inner_xh","PI":3,"bind":{"dataSource":"pzdj","DBCol":"inner_xh","dsType":2}},{"row":1,"col":1,"cellValueType":3,"alias":"pzdj_billno","PI":3,"bind":{"dataSource":"pzdj","DBCol":"billno","dsType":2}},{"row":1,"col":2,"cellValueType":4,"alias":"pzdj_billdate","PI":3,"bind":{"dataSource":"pzdj","DBCol":"billdate","dsType":2}},{"row":1,"col":3,"cellValueType":3,"alias":"pzdj_corpid","PI":4,"bind":{"dataSource":"pzdj","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"001;中科院","showRealData":false,"columnCount":null}},{"row":1,"col":4,"cellValueType":3,"alias":"pzdj_y","PI":5,"bind":{"dataSource":"pzdj","DBCol":"jzq_start","dsType":2}},{"row":1,"col":5,"cellValueType":3,"alias":"pzdj_m","PI":5,"bind":{"dataSource":"pzdj","DBCol":"jzq_end","dsType":2}},{"row":1,"col":6,"cellValueType":3,"alias":"pzdj_summary","PI":3,"bind":{"dataSource":"pzdj","DBCol":"summary","dsType":2}},{"row":1,"col":7,"cellValueType":3,"alias":"pzdj_username","PI":3,"bind":{"dataSource":"pzdj","DBCol":"username","dsType":2}},{"row":1,"col":8,"cellValueType":3,"alias":"pzdj_verifiername","PI":3,"bind":{"dataSource":"pzdj","DBCol":"verifiername","dsType":2}},{"row":1,"col":9,"cellValueType":4,"alias":"pzdj_verifieddate","PI":6,"bind":{"dataSource":"pzdj","DBCol":"verifieddate","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd HH:mm:ss"}},{"row":1,"col":10,"cellValueType":4,"alias":"pzdj_lastmodifieddate","PI":6,"bind":{"dataSource":"pzdj","DBCol":"lastmodifieddate","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd HH:mm:ss"}},{"row":1,"col":11,"PI":7},{"row":2,"col":0,"PI":8},{"row":2,"col":1,"PI":8},{"row":2,"col":2,"PI":8},{"row":2,"col":3,"PI":8},{"row":2,"col":4,"PI":8},{"row":2,"col":5,"PI":8},{"row":2,"col":6,"PI":8},{"row":2,"col":7,"PI":8},{"row":2,"col":8,"PI":8},{"row":2,"col":9,"PI":8},{"row":2,"col":10,"PI":8},{"row":2,"col":11}]}],"propertyCache":{"4a3c007afed8f4b1bceef44e2fd40f14":{"background-color":"rgb(234, 236, 238)"},"fec1e948164679b49be5b436f8797c86":{"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],"background-color":"rgb(40, 55, 71)","font-size":"12","color":"rgb(255, 255, 255)","text-align":2},"3a2041c6c4c3d1e7c656c373e3263f7d":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"text-align":2},"706fff6310d3e5a652ab911a1bbc84ea":{"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],"font-size":"12"},"e351afe4a21f5478fd186c76419b0e65":{"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],"font-size":"12","word-wrap":true,"text-align":0},"a727d45839d500017dd3d65c4d829371":{"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],"font-size":"12","text-align":2},"72aa50dbaff2275947fca17446640199":{"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],"font-size":"12","word-wrap":true},"833daa710d2a78f7e4f425a620c15caa":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1]},"b4c5d3cb3aa5820fb50f073f1f7821cc":{"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"font-size":"12"}},"propertyIdList":["4a3c007afed8f4b1bceef44e2fd40f14","fec1e948164679b49be5b436f8797c86","3a2041c6c4c3d1e7c656c373e3263f7d","706fff6310d3e5a652ab911a1bbc84ea","e351afe4a21f5478fd186c76419b0e65","a727d45839d500017dd3d65c4d829371","72aa50dbaff2275947fca17446640199","833daa710d2a78f7e4f425a620c15caa","b4c5d3cb3aa5820fb50f073f1f7821cc"]}


id: 60d095e3993254220bd85247
pid: 60d095e3993254220bd85245
name: rightcheckpoint
code: 60d095e3993254220bd85247
namepath: /凭证影像化/凭证登记/凭证登记列表
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245
fullname: /凭证影像化/凭证登记/凭证登记列表/rightcheckpoint
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245.60d095e3993254220bd85247
nodetype: column
createdate: 2021.06.21 21:36:39.000
lastmodifieddate: 2023.08.03 11:30:07.318
value:
{"88e00d890ac3bdb349f3dfb92e2b5019":{"name":"main","buttonClick":[{"name":"cb_retrieve","title":" 检索"}]}}


id: 60d095e3993254220bd85248
pid: 60d095e3993254220bd85245
name: db
code: 60d095e3993254220bd85248
namepath: /凭证影像化/凭证登记/凭证登记列表
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245
fullname: /凭证影像化/凭证登记/凭证登记列表/db
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245.60d095e3993254220bd85248
nodetype: column
createdate: 2021.06.21 21:36:39.000
lastmodifieddate: 2023.08.03 11:30:07.318
value:
[{"name":"pzdj","label":"凭证登记","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"pzdj","sql":"select\n  *\nfrom\n  pzdj\nwhere\n  isnull(deleteflag, 0) = 0\norder by\n  billdate desc,\n  billno desc","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","primarykey":"id","autoretrieve":true,"table_query_id":"60d095e3993254220bd8524c","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":"billtype","label":"单据类型","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":"corporationid","label":"企业ID","description":"","type":"varchar(40)","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":"gguid","label":"GGUID","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":"jzq_end","label":"截止记账期","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"updatable":"","datamask":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"jzq_start","label":"起始记账期","description":"","type":"varchar(10)","nullable":true,"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":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","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":"","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":"","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":""}],"computer":[{"name":"inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""}]}]


id: 60d095e3993254220bd85249
pid: 60d095e3993254220bd85245
name: script
code: 60d095e3993254220bd85249
namepath: /凭证影像化/凭证登记/凭证登记列表
codepath: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245
fullname: /凭证影像化/凭证登记/凭证登记列表/script
fullcode: 60c4bd735db2478f9c5a1116.60d095db993254220bd8519e.60d095e3993254220bd85245.60d095e3993254220bd85249
nodetype: column
createdate: 2021.06.21 21:36:39.000
lastmodifieddate: 2023.08.03 11:30:07.318
value:
/**
 * 表单初始化完成后，执行此事件
 */
//@comment (group=表单事件,caption=表单初始化完成)
function formOpen() {
    book.showTabOnWhere = 'none';

}


id: 60d586ceebaf7434eb5b0a23
pid: 60aaff095db2f37491f99012
name: uniqueindexinfo
code: 60d586ceebaf7434eb5b0a23
namepath: /凭证/关帐记录/关帐记录编辑
codepath: 609d3cfc5db2b0a331d6bb49.60aaff095db2f37491f99011.60aaff095db2f37491f99012
fullname: /凭证/关帐记录/关帐记录编辑/uniqueindexinfo
fullcode: 609d3cfc5db2b0a331d6bb49.60aaff095db2f37491f99011.60aaff095db2f37491f99012.60d586ceebaf7434eb5b0a23
nodetype: column
createdate: 2021.06.25 15:35:19.000
lastmodifieddate: 2023.08.03 11:30:07.318
value:
[{
    "indexName": "ui_corproationid_ym",
    "errorTip": "",
    "tableName": "dzpz_gz",
    "columns": [
        {
            "name": "corporationid",
            "orderby": "asc"
        },
        {
            "name": "ym",
            "orderby": "asc"
        }
    ]
}]


id: 60fa600f9932563b7c99bb00
pid: 60fa600f9932563b7c99baff
name: ui
code: 60fa600f9932563b7c99bb00
namepath: /凭证影像化/凭证调阅/凭证调阅编辑
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff
fullname: /凭证影像化/凭证调阅/凭证调阅编辑/ui
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff.60fa600f9932563b7c99bb00
nodetype: column
createdate: 2021.07.23 14:24:07.000
lastmodifieddate: 2023.08.03 11:30:07.318
value:
{"version":"1.0","sheetcount":4,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":11,"columnCount":9,"guid":"895d5b0f0e9a33ba58b88c619ea63b38","name":"main","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":1,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":8,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":9,"height":25,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":10,"height":35,"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":10,"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":1,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"define":"凭证调阅申请","rowSpan":1,"colSpan":2,"PI":0},{"row":0,"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":0,"col":8,"PI":2},{"row":1,"col":0,"PI":3},{"row":1,"col":1,"PI":3},{"row":1,"col":2,"PI":3},{"row":1,"col":3,"PI":4},{"row":1,"col":4,"PI":4},{"row":1,"col":5,"PI":4},{"row":1,"col":6,"PI":4},{"row":1,"col":7,"PI":4},{"row":1,"col":8,"PI":4},{"row":2,"col":0,"PI":5},{"row":2,"col":1,"PI":5},{"row":2,"col":2,"PI":6},{"row":2,"col":3,"cellValueType":3,"PI":5},{"row":2,"col":4},{"row":2,"col":5},{"row":2,"col":6},{"row":2,"col":7},{"row":2,"col":8},{"row":3,"col":0,"define":"起草日期","PI":7},{"row":3,"col":1,"cellValueType":4,"PI":8,"bind":{"dataSource":"dzpz_dy","DBCol":"billdate","dsType":1},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":3,"col":2,"define":"起草人","PI":7},{"row":3,"col":3,"cellValueType":3,"PI":8,"bind":{"dataSource":"dzpz_dy","DBCol":"username","dsType":1}},{"row":3,"col":4,"define":"*调 阅 人","PI":9},{"row":3,"col":5,"editable":true,"appData":{},"cellValueType":3,"placeholder":"XX课题组/XX老师","PI":10,"bind":{"dataSource":"dzpz_dy","DBCol":"reader","dsType":1}},{"row":3,"col":6,"define":"*审批人","PI":9},{"row":3,"col":7,"editable":true,"appData":{},"cellValueType":1,"placeholder":"请选择审批人","PI":11,"bind":{"dataSource":"dzpz_dy","DBCol":"leaderid","dsType":1},"editstyle":{"editType":4,"ddlbName":"userid2usershowname","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":8},{"row":4,"col":0,"define":"账套名称","PI":7},{"row":4,"col":1,"define":"00","editable":true,"cellValueType":3,"rowSpan":1,"colSpan":3,"PI":12,"bind":{"dataSource":"dzpz_dy","DBCol":"corpid","dsType":1},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":true,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":4,"col":4,"define":"*调阅理由","PI":9},{"row":4,"col":5,"editable":true,"appData":{},"cellValueType":3,"rowSpan":1,"colSpan":3,"placeholderOnlyViewWhenEditing":false,"PI":13,"bind":{"dataSource":"dzpz_dy","DBCol":"summary","dsType":1},"editstyle":{"editType":2}},{"row":4,"col":8},{"row":5,"col":0,"define":"水印内容","PI":7},{"row":5,"col":1,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":5,"PI":14,"bind":{"dataSource":"dzpz_dy","DBCol":"watermark","dsType":1},"editstyle":{"editType":0,"inputAttribute":""}},{"row":5,"col":6,"editable":true,"cellValueType":1,"rowSpan":1,"colSpan":2,"PI":15,"bind":{"dataSource":"dzpz_dy","DBCol":"needwatermark","dsType":1},"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":"在凭证上打上水印"}},{"row":5,"col":8,"PI":16},{"row":6,"col":0,"define":"文件类型","PI":17},{"row":6,"col":1,"define":"='zip'","editable":true,"cursorName":"hand","cellValueType":3,"rowSpan":1,"colSpan":7,"PI":18,"bind":{"dataSource":"dzpz_dy","DBCol":"filetype","dsType":1},"editstyle":{"editType":6,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"zip;每个凭证一个pdf，压缩成zip文件\npdf;所有凭证合并成一个pdf\n","showRealData":false,"columnCount":2}},{"row":6,"col":8,"PI":16},{"row":7,"col":0,"rowSpan":3,"colSpan":8,"PI":19,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"5e522cb24699a5716cf2edb85bce7ae3","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-ec37f72774128f0502f6a5738bc330e7"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":7,"col":8},{"row":8,"col":8},{"row":9,"col":8},{"row":10,"col":0,"PI":20,"bricks":[{"type":"button","name":"cb_removeDuplicated","config":{"name":"cb_removeDuplicated","caption":" 删除重复记录","enable":false,"visible":false,"size":"1","x":135,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"danger","leftIcon":"fa-trash-o","rightIcon":"","DOMName":"cb_removeDuplicated-d63dcf7a52f0977ad5907ad71d1bb4e2","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-danger btn-xs\" \n                        id=\"cb_removeDuplicated-d63dcf7a52f0977ad5907ad71d1bb4e2\">\n                       <i class='fa fa-trash-o'></i> 删除重复记录\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":135,"y":1,"width":-1,"height":-1},{"type":"button","name":"cb_opensheet_dr","config":{"name":"cb_opensheet_dr","caption":" 粘贴凭证列表","enable":false,"visible":false,"size":"1","x":10,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"success","leftIcon":"fa-database","rightIcon":"","DOMName":"cb_opensheet_dr-58b43d1e184edcab0fc26d9b58357b44","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-success btn-xs\" \n                        id=\"cb_opensheet_dr-58b43d1e184edcab0fc26d9b58357b44\">\n                       <i class='fa fa-database'></i> 粘贴凭证列表\n                </button>\n                </span>"},"x":10,"y":1,"width":-1,"height":-1}]},{"row":10,"col":1,"visible":false,"cellValueType":3,"PI":20,"bind":{"dataSource":"dzpz_dy","DBCol":"ziptaskid","dsType":1},"bricks":[{"type":"button","name":"cb_removeDuplicated","config":{"name":"cb_removeDuplicated","caption":" 删除重复记录","enable":false,"visible":false,"size":"1","x":135,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"danger","leftIcon":"fa-trash-o","rightIcon":"","DOMName":"cb_removeDuplicated-73f004c988a1aabe181cc7d685c797d5","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-danger btn-xs\" \n                        id=\"cb_removeDuplicated-73f004c988a1aabe181cc7d685c797d5\">\n                       <i class='fa fa-trash-o'></i> 删除重复记录\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":135,"y":1,"width":-1,"height":-1},{"type":"button","name":"cb_opensheet_dr","config":{"name":"cb_opensheet_dr","caption":" 粘贴凭证列表","enable":false,"visible":false,"size":"1","x":10,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"success","leftIcon":"fa-database","rightIcon":"","DOMName":"cb_opensheet_dr-776f0135e308e7c91512553eb9319054","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-success btn-xs\" \n                        id=\"cb_opensheet_dr-776f0135e308e7c91512553eb9319054\">\n                       <i class='fa fa-database'></i> 粘贴凭证列表\n                </button>\n                </span>"},"x":10,"y":1,"width":-1,"height":-1}]},{"row":10,"col":2,"visible":false,"cellValueType":3,"rowSpan":1,"colSpan":2,"PI":21,"bind":{"dataSource":"dzpz_dy","DBCol":"zipresult","dsType":1},"bricks":[{"type":"button","name":"cb_removeDuplicated","config":{"name":"cb_removeDuplicated","caption":" 删除重复记录","enable":false,"visible":false,"size":"1","x":135,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"danger","leftIcon":"fa-trash-o","rightIcon":"","DOMName":"cb_removeDuplicated-029b09d9d83334783aadd0efb643fd89","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-danger btn-xs\" \n                        id=\"cb_removeDuplicated-029b09d9d83334783aadd0efb643fd89\">\n                       <i class='fa fa-trash-o'></i> 删除重复记录\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":135,"y":1,"width":-1,"height":-1},{"type":"button","name":"cb_opensheet_dr","config":{"name":"cb_opensheet_dr","caption":" 粘贴凭证列表","enable":false,"visible":false,"size":"1","x":10,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"success","leftIcon":"fa-database","rightIcon":"","DOMName":"cb_opensheet_dr-091a04dbbac653a4fa963a62721e99a9","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-success btn-xs\" \n                        id=\"cb_opensheet_dr-091a04dbbac653a4fa963a62721e99a9\">\n                       <i class='fa fa-database'></i> 粘贴凭证列表\n                </button>\n                </span>"},"x":10,"y":1,"width":-1,"height":-1}]},{"row":10,"col":4,"PI":20,"bricks":[{"type":"button","name":"cb_removeDuplicated","config":{"name":"cb_removeDuplicated","caption":" 删除重复记录","enable":false,"visible":false,"size":"1","x":135,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"danger","leftIcon":"fa-trash-o","rightIcon":"","DOMName":"cb_removeDuplicated-f0650244d1bfd7da7a75adaf211bc26d","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-danger btn-xs\" \n                        id=\"cb_removeDuplicated-f0650244d1bfd7da7a75adaf211bc26d\">\n                       <i class='fa fa-trash-o'></i> 删除重复记录\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":135,"y":1,"width":-1,"height":-1},{"type":"button","name":"cb_opensheet_dr","config":{"name":"cb_opensheet_dr","caption":" 粘贴凭证列表","enable":false,"visible":false,"size":"1","x":10,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"success","leftIcon":"fa-database","rightIcon":"","DOMName":"cb_opensheet_dr-84e886f2be10eb95f4fe9642126a7b9e","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-success btn-xs\" \n                        id=\"cb_opensheet_dr-84e886f2be10eb95f4fe9642126a7b9e\">\n                       <i class='fa fa-database'></i> 粘贴凭证列表\n                </button>\n                </span>"},"x":10,"y":1,"width":-1,"height":-1}]},{"row":10,"col":5,"rowSpan":1,"colSpan":3,"PI":20,"bricks":[{"type":"dbpage","name":"dbnav","config":{"name":"dbnav","caption":"分页导航条","enable":true,"visible":false,"showDBRowCount":true,"x":1,"y":1,"width":-1,"height":-1,"align":"center","onceRetrieveRowCount":"1000","countPerPagePermitToChange":true,"dsn":"dzpz_dymx","DOMName":"dbnav-77f777da670b3133d8cee4cd2fd0da37","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-77f777da670b3133d8cee4cd2fd0da37\"  \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\">每页<input type=\"tel\"   class=\"countPerPage btn btn-alt btn-default\"  \n                                value=\"1000\" \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},{"type":"button","name":"cb_importFromExcelFile","config":{"name":"cb_importFromExcelFile","caption":" Excel模板导入","enable":true,"visible":true,"size":"1","x":-120,"y":1,"width":110,"height":-1,"buttonStyle":"options","buttonColorStyle":"info","leftIcon":"fa-sign-in","rightIcon":"","DOMName":"cb_importFromExcelFile-86e084ad7755331be565a964dd432849","html":"<span class=\"block-options \"> \n                <button class=\"btn  btn-info btn-xs\" \n                        id=\"cb_importFromExcelFile-86e084ad7755331be565a964dd432849\">\n                       <i class='fa fa-sign-in'></i> Excel模板导入\n                </button>\n                </span>"},"x":-120,"y":1,"width":110,"height":-1},{"type":"button","name":"cb_downloadTemplateFile","config":{"name":"cb_downloadTemplateFile","caption":" 下载模板","enable":true,"visible":true,"size":"1","x":-220,"y":1,"width":80,"height":-1,"buttonStyle":"options","buttonColorStyle":"default","leftIcon":"fa-cloud-download","rightIcon":"","DOMName":"cb_downloadTemplateFile-090b77055e50eee628254e9951bbdaab","html":"<span class=\"block-options \"> \n                <button class=\"btn  btn-default btn-xs\" \n                        id=\"cb_downloadTemplateFile-090b77055e50eee628254e9951bbdaab\">\n                       <i class='fa fa-cloud-download'></i> 下载模板\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":-220,"y":1,"width":80,"height":-1}]},{"row":10,"col":8}]},{"index":1,"rowCount":6,"columnCount":13,"guid":"5e522cb24699a5716cf2edb85bce7ae3","name":"detail","gridLineVisible":false,"freezedRow":3,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":38,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":9,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":38,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":0,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":120,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":119,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":6,"width":122,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":7,"width":114,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":102,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":10,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":16,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":22},{"row":0,"col":1,"rowSpan":1,"colSpan":11,"PI":23,"bricks":[{"type":"button","name":"cb_cancel","config":{"name":"cb_cancel","caption":" 终止压缩","enable":true,"visible":true,"size":"1","x":-240,"y":1,"width":0,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"warning","leftIcon":"fa-chain-broken","rightIcon":"","DOMName":"cb_cancel-26b090a3e14ac087b2bde2c28556a1ae","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-warning btn-xs\" \n                        id=\"cb_cancel-26b090a3e14ac087b2bde2c28556a1ae\">\n                       <i class='fa fa-chain-broken'></i> 终止压缩\n                </button>\n                </span>"},"x":-240,"y":1,"width":0,"height":-1},{"type":"button","name":"cb_package","config":{"name":"cb_package","caption":" 凭证影像打包下载","enable":true,"visible":true,"size":"1","x":-150,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"warning","leftIcon":"fa-cloud-download","rightIcon":"","DOMName":"cb_package-eb0a07605986802d61135da97061fc44","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-warning btn-xs\" \n                        id=\"cb_package-eb0a07605986802d61135da97061fc44\">\n                       <i class='fa fa-cloud-download'></i> 凭证影像打包下载\n                </button>\n                </span>","align":"center","_MODIFIERS":{}},"x":-150,"y":1,"width":-1,"height":-1},{"type":"button","name":"cb_selectedRow_delete","config":{"name":"cb_selectedRow_delete","caption":" 删除选中记录","enable":true,"visible":true,"size":"1","x":1,"y":1,"width":130,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"danger","leftIcon":"fa-trash","rightIcon":"","DOMName":"cb_selectedRow_delete-d451e353ee5fa5fa0b6d525d5ffc22b9","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-danger btn-xs\" \n                        id=\"cb_selectedRow_delete-d451e353ee5fa5fa0b6d525d5ffc22b9\">\n                       <i class='fa fa-trash'></i> 删除选中记录\n                </button>\n                </span>"},"x":1,"y":1,"width":130,"height":-1},{"type":"button","name":"cb_pzlist","config":{"name":"cb_pzlist","caption":" 从凭证资料库调取","enable":true,"visible":true,"size":"1","x":120,"y":1,"width":135,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"info","leftIcon":"fa-hand-lizard-o","rightIcon":"","DOMName":"cb_pzlist-57d97aafaa912bf0ccab2ebe510c7706","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-info btn-xs\" \n                        id=\"cb_pzlist-57d97aafaa912bf0ccab2ebe510c7706\">\n                       <i class='fa fa-hand-lizard-o'></i> 从凭证资料库调取\n                </button>\n                </span>"},"x":120,"y":1,"width":135,"height":-1}]},{"row":0,"col":12,"PI":23},{"row":1,"col":0,"PI":24},{"row":1,"col":1,"define":"序号","rowSpan":2,"colSpan":1,"PI":25},{"row":1,"col":2,"define":"选择","PI":25},{"row":1,"col":3,"define":"调阅凭证号","dblClickSort":"dzpz_dymx.pzh","rowSpan":2,"colSpan":1,"PI":25},{"row":1,"col":4,"define":"文件名","rowSpan":2,"colSpan":1,"PI":26},{"row":1,"col":5,"define":"提示信息","rowSpan":2,"colSpan":1,"PI":26},{"row":1,"col":6,"define":"科目代码","dblClickSort":"dzpz_dymx.memo","rowSpan":2,"colSpan":1,"PI":27},{"row":1,"col":7,"define":"核算账号编号","dblClickSort":"dzpz_dymx.memo","rowSpan":2,"colSpan":1,"PI":27},{"row":1,"col":8,"define":"摘要","dblClickSort":"dzpz_dymx.memo","rowSpan":2,"colSpan":2,"PI":27},{"row":1,"col":10,"define":"操作","rowSpan":2,"colSpan":2,"PI":27},{"row":1,"col":12,"PI":28},{"row":2,"col":0},{"row":2,"col":2,"editable":true,"appData":{"clickControlEnabled":true,"clickControlTip":"凭证调阅明细-全选"},"alias":"st_selectAll","PI":25,"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":""}},{"row":2,"col":12},{"row":3,"col":0,"PI":29},{"row":3,"col":1,"cellValueType":1,"alias":"inner_xh","PI":27,"bind":{"dataSource":"dzpz_dymx","DBCol":"inner_xh","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":true}},{"row":3,"col":2,"editable":true,"cellValueType":1,"alias":"selected","PI":15,"bind":{"dataSource":"dzpz_dymx","DBCol":"selected","dsType":2},"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":""}},{"row":3,"col":3,"editable":true,"appData":{},"cellValueType":3,"alias":"pzh","placeholder":"支持粘贴凭证列表","PI":18,"bind":{"dataSource":"dzpz_dymx","DBCol":"pzh","dsType":2},"editstyle":{"editType":0,"inputAttribute":""}},{"row":3,"col":4,"editable":true,"cellValueType":3,"alias":"filenameprefix","PI":30,"bind":{"dataSource":"dzpz_dymx","DBCol":"filenameprefix","dsType":2}},{"row":3,"col":5,"cellValueType":3,"alias":"bz","PI":30,"bind":{"dataSource":"dzpz_dymx","DBCol":"bz","dsType":2}},{"row":3,"col":6,"cellValueType":3,"alias":"kmdm","PI":18,"bind":{"dataSource":"dzpz_dymx","DBCol":"kmdm","dsType":2}},{"row":3,"col":7,"cellValueType":3,"alias":"code","PI":18,"bind":{"dataSource":"dzpz_dymx","DBCol":"code","dsType":2}},{"row":3,"col":8,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"memo","PI":18,"bind":{"dataSource":"dzpz_dymx","DBCol":"memo","dsType":2}},{"row":3,"col":10,"cursorName":"hand","appData":{"clickControlEnabled":true,"clickControlTip":"调阅列表-插入"},"PI":31,"bind":{"dataSource":"dzpz_dymx","DBCol":"c_db_insertrowafter","dsType":2}},{"row":3,"col":11,"cursorName":"hand","appData":{"clickControlEnabled":true,"clickControlTip":"调阅列表-删除"},"PI":32,"bind":{"dataSource":"dzpz_dymx","DBCol":"c_db_deleterow","dsType":2}},{"row":3,"col":12,"cellValueType":3,"PI":16},{"row":4,"col":0},{"row":4,"col":1,"PI":33},{"row":4,"col":2,"PI":19},{"row":4,"col":3,"PI":33},{"row":4,"col":4,"PI":34},{"row":4,"col":5,"PI":34},{"row":4,"col":6},{"row":4,"col":7},{"row":4,"col":8,"PI":34},{"row":4,"col":9,"PI":34},{"row":4,"col":10,"PI":34},{"row":4,"col":11,"PI":34},{"row":4,"col":12,"PI":35},{"row":5,"col":0,"PI":22},{"row":5,"col":1,"rowSpan":1,"colSpan":11,"PI":36,"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_dymx","DOMName":"dbnav-205af1b07b126a1830bad33b795aaeb3","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-205af1b07b126a1830bad33b795aaeb3\"  \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\">每页<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            ","buttonStyle":"default","buttonColorStyle":"default","size":1,"_MODIFIERS":{}},"x":0,"y":0,"width":0,"height":0}]},{"row":5,"col":12,"PI":37}]},{"index":2,"rowCount":8,"columnCount":10,"guid":"f3ccb0d8317d420f39945491cf86b280","name":"凭证资料查询","gridLineVisible":false,"freezedRow":5,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":35,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":35,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":183,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":16,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":38},{"row":0,"col":1,"PI":38},{"row":0,"col":2,"PI":39},{"row":0,"col":3,"PI":39},{"row":0,"col":4,"PI":38},{"row":0,"col":5,"PI":2},{"row":0,"col":6,"PI":39},{"row":0,"col":7,"PI":40},{"row":0,"col":8,"PI":2},{"row":0,"col":9,"PI":41},{"row":1,"col":0,"define":"凭证日期","rowSpan":1,"colSpan":2,"PI":42},{"row":1,"col":2,"editable":true,"cellValueType":4,"alias":"st_date1","PI":43,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":1,"col":3,"editable":true,"cellValueType":4,"alias":"st_date2","PI":43,"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":1,"col":4,"define":"code","editable":true,"rowSpan":1,"colSpan":2,"alias":"st_key1","PI":44,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"pzh;凭证号：\nkmdm;科目代码：\ncode;核算账号编号：\nbz;摘要：","showRealData":false,"columnCount":null}},{"row":1,"col":6,"editable":true,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"st_value1","PI":45},{"row":1,"col":8,"PI":46,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","x":5,"y":1,"width":55,"height":-1,"buttonStyle":"alt","buttonColorStyle":"primary","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"q_pzdjex","moreDataSource":"","cachefirst":true,"DOMName":"cb_retrieve-1068e1339ca2c26600a20c3b4834513d","html":" \n                <button class=\"btn btn-alt btn-primary btn-xs\" \n                        id=\"cb_retrieve-1068e1339ca2c26600a20c3b4834513d\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":5,"y":1,"width":55,"height":-1},{"type":"button","name":"cb_import","config":{"name":"cb_import","caption":" 选入","enable":true,"visible":true,"size":"1","x":-80,"y":1,"width":70,"height":-1,"buttonStyle":"default","buttonColorStyle":"info","leftIcon":"fa-check","rightIcon":"","DOMName":"cb_import-784093c7b01d896c5c3ea5a5ab6ad558","html":" \n                <button class=\"btn  btn-info btn-xs\" \n                        id=\"cb_import-784093c7b01d896c5c3ea5a5ab6ad558\">\n                       <i class='fa fa-check'></i> 选入\n                </button>\n                "},"x":-80,"y":1,"width":70,"height":-1}]},{"row":1,"col":9,"PI":47},{"row":2,"col":0,"PI":48},{"row":2,"col":1,"PI":49},{"row":2,"col":2,"PI":50},{"row":2,"col":3,"PI":50},{"row":2,"col":4,"PI":49},{"row":2,"col":5,"PI":2},{"row":2,"col":6,"PI":51},{"row":2,"col":7,"PI":40},{"row":2,"col":8,"PI":2},{"row":2,"col":9,"PI":41},{"row":3,"col":0,"PI":5},{"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},{"row":3,"col":6,"PI":5},{"row":3,"col":7},{"row":3,"col":8,"PI":52},{"row":3,"col":9},{"row":4,"col":0,"define":"序号","alias":"t_q_pzdjex_c_inner_xh","PI":53},{"row":4,"col":1,"editable":true,"alias":"st_selectAll","PI":53,"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":""}},{"row":4,"col":2,"define":"凭证号","dblClickSort":"q_pzdjex.pzh","alias":"t_pzh","PI":7},{"row":4,"col":3,"define":"凭证日期","dblClickSort":"q_pzdjex.pzrq","alias":"t_pzrq","PI":7},{"row":4,"col":4,"define":"科目代码","dblClickSort":"q_pzdjex.kmdm","PI":7},{"row":4,"col":5,"define":"核算账号编码","dblClickSort":"q_pzdjex.code","alias":"t_code","PI":7},{"row":4,"col":6,"define":"是否过账","dblClickSort":"q_pzdjex.posted","alias":"t_posted","PI":7},{"row":4,"col":7,"define":"凭证影像","dblClickSort":"q_pzdjex.status","PI":17},{"row":4,"col":8,"define":"摘要","dblClickSort":"q_pzdjex.bz","alias":"t_bz","PI":54},{"row":4,"col":9,"PI":55},{"row":5,"col":0,"alias":"q_pzdjex_c_inner_xh","PI":56,"bind":{"dataSource":"q_pzdjex","DBCol":"c_inner_xh","dsType":2}},{"row":5,"col":1,"editable":true,"cellValueType":1,"alias":"selected","PI":56,"bind":{"dataSource":"q_pzdjex","DBCol":"selected","dsType":2},"editstyle":{"editType":5,"checkOnValue":"1","checkOffValue":"0","checkCaption":""}},{"row":5,"col":2,"cellValueType":3,"alias":"pzh","PI":57,"bind":{"dataSource":"q_pzdjex","DBCol":"pzh","dsType":2}},{"row":5,"col":3,"cellValueType":4,"alias":"pzrq","PI":56,"bind":{"dataSource":"q_pzdjex","DBCol":"pzrq","dsType":2}},{"row":5,"col":4,"cellValueType":3,"alias":"kmdm","PI":57,"bind":{"dataSource":"q_pzdjex","DBCol":"kmdm","dsType":2}},{"row":5,"col":5,"cellValueType":3,"alias":"code","PI":57,"bind":{"dataSource":"q_pzdjex","DBCol":"code","dsType":2}},{"row":5,"col":6,"cellValueType":3,"alias":"posted","PI":56,"bind":{"dataSource":"q_pzdjex","DBCol":"posted","dsType":2},"editstyle":{"editType":0,"inputAttribute":""}},{"row":5,"col":7,"appData":{},"cellValueType":1,"alias":"status","PI":58,"bind":{"dataSource":"q_pzdjex","DBCol":"status","dsType":2},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbMultiSelect":false,"ddlbFilterContext":"","ddlbInnerItems":"1;√已采集\n0;","showRealData":false,"columnCount":null}},{"row":5,"col":8,"cellValueType":3,"alias":"bz","PI":18,"bind":{"dataSource":"q_pzdjex","DBCol":"bz","dsType":2}},{"row":5,"col":9,"PI":59},{"row":6,"col":0,"rowSpan":1,"colSpan":9,"PI":19,"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":"q_pzdjex","DOMName":"dbnav-e5c36729f72208ecf7d9aaa714d95c94","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-e5c36729f72208ecf7d9aaa714d95c94\"  \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\">每页<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":6,"col":9},{"row":7,"col":0},{"row":7,"col":1},{"row":7,"col":2},{"row":7,"col":3},{"row":7,"col":4},{"row":7,"col":5},{"row":7,"col":6},{"row":7,"col":7},{"row":7,"col":8},{"row":7,"col":9}]},{"index":3,"rowCount":6,"columnCount":11,"guid":"ab392e86cfff78e465098cef7971c603","name":"下载清单","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","canSetColumnVisible":false,"rows":[{"index":0,"height":6,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":23,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":11,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":13,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":12,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":42,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":28,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":73,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":44,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":194,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":41,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":117,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":57,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":117,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":12,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0},{"row":0,"col":1,"PI":34},{"row":0,"col":2,"PI":34},{"row":0,"col":3},{"row":0,"col":4,"PI":52},{"row":0,"col":5},{"row":0,"col":6,"PI":52},{"row":0,"col":7},{"row":0,"col":8},{"row":0,"col":9,"PI":34},{"row":0,"col":10},{"row":1,"col":0,"PI":60},{"row":1,"col":1,"define":"分享设置：","rowSpan":1,"colSpan":2,"PI":61},{"row":1,"col":3,"define":"自分享日起","PI":62},{"row":1,"col":4,"define":"7","editable":true,"alias":"days","PI":63},{"row":1,"col":5,"define":"天内链接有效，且下载次数限制为：","PI":64},{"row":1,"col":6,"define":"3","editable":true,"alias":"times","PI":63},{"row":1,"col":7,"define":"次(-1表示不限次数）","PI":65},{"row":1,"col":8,"PI":66},{"row":1,"col":9,"PI":67,"bricks":[{"type":"button","name":"cb_redo_pack","config":{"name":"cb_redo_pack","caption":" 清除压缩文件","enable":true,"visible":true,"size":"1","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"options-alt","buttonColorStyle":"warning","leftIcon":"fa-trash-o","rightIcon":"","DOMName":"cb_redo_pack-2e991c9397b9e1c50424a2a4357a26ee","html":"<span class=\"block-options \"> \n                <button class=\"btn btn-alt btn-warning btn-xs\" \n                        id=\"cb_redo_pack-2e991c9397b9e1c50424a2a4357a26ee\">\n                       <i class='fa fa-trash-o'></i> 清除压缩文件\n                </button>\n                </span>"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":1,"col":10,"PI":37},{"row":2,"col":0},{"row":2,"col":1,"PI":68},{"row":2,"col":2,"PI":68},{"row":2,"col":3},{"row":2,"col":4,"PI":19},{"row":2,"col":5},{"row":2,"col":6,"PI":19},{"row":2,"col":7},{"row":2,"col":8},{"row":2,"col":9,"PI":68},{"row":2,"col":10},{"row":3,"col":0,"PI":60},{"row":3,"col":1,"define":"序号","alias":"t_q_result_c_xh","PI":69},{"row":3,"col":2,"define":"文件名","rowSpan":1,"colSpan":7,"alias":"t_filename","PI":70},{"row":3,"col":9,"define":"文件大小","alias":"t_filesize","PI":71},{"row":3,"col":10,"PI":37},{"row":4,"col":0,"PI":60},{"row":4,"col":1,"alias":"q_result_c_xh","PI":72,"bind":{"dataSource":"q_result","DBCol":"c_xh","dsType":2}},{"row":4,"col":2,"cursorName":"hand","clickJumpTo":"=q_result.url","cellValueType":3,"rowSpan":1,"colSpan":6,"alias":"filename","PI":73,"bind":{"dataSource":"q_result","DBCol":"filename","dsType":2}},{"row":4,"col":8,"cursorName":"hand","clickJumpTo":"= copyURL( q_result.url)","clickJumpToWhere":"javascript","alias":"c_copy","PI":74,"bind":{"dataSource":"q_result","DBCol":"c_copy","dsType":2}},{"row":4,"col":9,"cellValueType":3,"alias":"filesize","PI":75,"bind":{"dataSource":"q_result","DBCol":"filesize","dsType":2}},{"row":4,"col":10,"PI":37},{"row":5,"col":0},{"row":5,"col":1,"PI":68},{"row":5,"col":2,"PI":68},{"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,"PI":68},{"row":5,"col":10}]}],"propertyCache":{"5bf22d87a716caf2facfb09623295364":{"background-color":"#eaecee","font-size":"20"},"01f37c92003c66d97df6f6e093786ee1":{"background-color":"#eaecee","font-size":"12","text-align":1,"vertical-align":1},"ef3431c23563d30ef0c195ecf55dddb4":{"background-color":"#eaecee"},"cafa14fcc55fc62aad6ad457280812ab":{"background-color":"rgb(185, 119, 14)"},"d91a20d6b5076fd455ed25735569c19a":{"background-color":"#b9770e"},"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},"b174a7301533e802b704ede0b1194c86":{"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],"background-color":"rgb(242, 244, 244)","font-size":"12","text-align":2},"108efb3d5368523926146588ced7a38e":{"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],"font-size":"12","color":"#1a00ff","text-align":2},"21b85c51d11d1f95904eef4340250619":{"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],"background-color":"rgb(242, 244, 244)","font-size":"12","color":"#ff0000","text-align":2},"c5ea0d83df561d296e8d610e68de07ec":{"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],"font-size":"12","color":"#1a00ff","text-align":0},"80e2c6f25725870147aa4c92ba920283":{"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],"font-size":"12","color":"#0f00ff","text-align":2},"2b9f453ab1423c37838402961eaf8e35":{"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],"font-size":"12","color":"#0f00ff","text-align":0},"c999fa3a0063ee3cb5da6b5e3b8c237f":{"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],"font-size":"12","word-wrap":true,"color":"#0f00ff"},"39136e624548ae49f8392c9d11f6e4f9":{"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],"font-size":"12","color":"#0f00ff"},"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},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"b0257b0cf24525b1f5f95c4c2428b44d":{"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],"background-color":"rgb(242, 244, 244)","font-size":"12","text-align":2},"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"},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"3c0dcd6893f3122e9639ea00c8f13c23":{"background-color":"rgb(248, 249, 249)"},"0096fa46b046de828690b4c1706beae5":{"background-color":"rgb(248, 249, 249)","word-wrap":true},"c71c8c4c8e017c9c201ec163fe42c891":{"border-right-width":2,"border-right-color":[128,128,128,1],"background-color":"#eaecee"},"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]},"05a2b14c9cef56e70cce6cac3f0496f5":{"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"background-color":"#eaecee"},"a15c99da90106552a4381ca96141848d":{"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":"#eaecee","font-size":"12","text-align":2},"e8b7cbad10318ee6c96630fb9e37fc57":{"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],"background-color":"#eaecee","font-size":"12","text-align":2},"010ce922ad447148d03e37e0368b844f":{"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":"#eaecee","font-size":"12","text-align":2},"f552bfd832767569b03db2b84d67eed9":{"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],"background-color":"#eaecee"},"8b17ac742350fdc27879b0cddd9a6b87":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"#eaecee"},"3960c38f3af8bafed8daad952a55e781":{"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":[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],"font-size":"12"},"5c66ab9162bb70c3d61e3217944949fa":{"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-color":[128,128,128,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-family":"FontAwesome","font-size":"12","color":"rgb(33, 97, 140)","text-align":2},"9b2a3b0c9308f38cc74ac14daa3c1861":{"border-left-color":[128,128,128,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":"FontAwesome","font-size":"12","color":"#fd0000","text-align":2},"bf74a6d9ba6f033a0211b2ec6c902b4c":{"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]},"3736221b6320a5ed99534cefdf10ef9b":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"99914b932bd37a50b983c5e7c90ae93b":{},"6282358652881a01fb6d49c6890165c1":{"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],"font-size":"12","vertical-align":0},"3749828a2f4e560e94e519058d334bd0":{"border-left-width":2,"border-left-color":[128,128,128,1]},"517424cd01f9817773fc896f41f61724":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"background-color":"#eaecee"},"d0972afccb725af80b0cbb6474ccf111":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"background-color":"#eaecee"},"4906cc1f2ea73844f9fbcdabc9a454fe":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[214,219,223,1],"background-color":"rgb(234, 236, 238)"},"4a3c007afed8f4b1bceef44e2fd40f14":{"background-color":"rgb(234, 236, 238)"},"3759ce0e049998b9d3c68603ead1b81c":{"border-right-style":1,"border-right-width":1,"border-right-color":[214,219,223,1],"background-color":"#eaecee","font-size":"12","text-align":2},"706fff6310d3e5a652ab911a1bbc84ea":{"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],"font-size":"12"},"5bdf21e53a9923296e793a94991b7b8a":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,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],"background-color":"rgb(234, 236, 238)","font-size":"12","color":"rgb(33, 97, 140)","text-align":2},"d5afaa11781a3b1254b33a1da2ba2583":{"border-left-width":2,"border-left-color":[128,128,128,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],"background-color":"rgb(255, 255, 255)","font-size":"12"},"b931f6111209a4b8d46d09a3209c9fb6":{"border-left-style":1,"border-left-width":1,"border-left-color":[214,219,223,1],"background-color":"#eaecee"},"3281d9352d7af562ba33cf94574f71c9":{"background-color":"rgb(234, 236, 238)","font-size":"12"},"3cdd26a069bc13dfc100b51f1bd539a7":{"border-top-width":2,"border-top-color":[128,128,128,1],"background-color":"rgb(234, 236, 238)"},"d7b79c7aec6062d53eefe00deaf8bbab":{"border-top-width":2,"border-top-color":[128,128,128,1],"background-color":"#eaecee"},"f9f7c02ae74d178a86fc59068e4d6bbe":{"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"background-color":"#eaecee"},"b6d5239984e51637ceadc05d0fea0b3e":{"border-top-style":1,"border-top-width":1,"border-top-color":[214,219,223,1],"background-color":"rgb(234, 236, 238)"},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"95dedbb84e89c8f4ffac90863d5bf0fe":{"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],"background-color":"#f2f4f4","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},"06f2f52e065436605c13942f77013111":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"font-size":"12","text-align":2},"a727d45839d500017dd3d65c4d829371":{"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],"font-size":"12","text-align":2},"72aa50dbaff2275947fca17446640199":{"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],"font-size":"12","word-wrap":true},"427d1d1a1d51036b428d48601ceddb58":{"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],"font-size":"12","color-expression":"=iif(status==\"0\",\"red\",null)","text-align":2},"824ffb5d44e094ee0eee77eb6bb4cdc5":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"font-size":"12"},"d40439625fae1006a802f59daeb608c1":{"border-right-width":2,"border-right-color":[128,128,128,1]},"13758fa5373c51d27b3e6c52c04d30e0":{"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-right-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1],"color":"rgb(35, 155, 86)"},"d1b97c588c297c6f85bf58a8880ad934":{"font-size":12,"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],"color":"rgb(35, 155, 86)"},"b1fa711a68aae47712a9c0415b1dcc84":{"font-size":12,"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],"color":"rgb(185, 119, 14)","text-align":2},"f427d021198418858451f1d11f453cc1":{"font-size":12,"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],"color":"rgb(35, 155, 86)"},"2727c13e0ff0729054274afd721a52ad":{"font-size":12,"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"color":"rgb(35, 155, 86)"},"d23f9dc144f3a150c8a5acfe767057bc":{"border-right-width":2,"border-right-color":[128,128,128,1],"color":"rgb(35, 155, 86)"},"b649c16e4f5d152918c239131f70cbaa":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"border-left-width":2,"border-left-color":[128,128,128,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1]},"5e4df84994cee3dc53009c98b95703cf":{"border-top-width":2,"border-top-color":[128,128,128,1]},"ff8161fcb55d91157d99f7250d631713":{"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-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},"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},"a910390095b2e1c418c33cfafa2fcdd3":{"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-width":2,"border-right-color":[128,128,128,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},"3c77f62b56e052d3ca495a56ad70fa7a":{"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-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","text-align":2},"af7ea1e02e4bd4f4684587f6644565ab":{"border-left-color":[128,128,128,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12","font-underline":true,"color":"#0000ff"},"65cc15b8904228f7efbef6ab0383cb42":{"font-underline":true,"text-align":2,"color":"#0000ff","font-size":12},"f0e766eb8505e46584df66fbd8da4f33":{"border-left-color":[128,128,128,1],"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"border-right-width":2,"border-right-color":[128,128,128,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12"}},"propertyIdList":["5bf22d87a716caf2facfb09623295364","01f37c92003c66d97df6f6e093786ee1","ef3431c23563d30ef0c195ecf55dddb4","cafa14fcc55fc62aad6ad457280812ab","d91a20d6b5076fd455ed25735569c19a","b37698a1acc4061ae4f1071e7fde1805","013e7405ab2b1be142a61e6b56a40377","b174a7301533e802b704ede0b1194c86","108efb3d5368523926146588ced7a38e","21b85c51d11d1f95904eef4340250619","c5ea0d83df561d296e8d610e68de07ec","80e2c6f25725870147aa4c92ba920283","2b9f453ab1423c37838402961eaf8e35","c999fa3a0063ee3cb5da6b5e3b8c237f","39136e624548ae49f8392c9d11f6e4f9","0067d6ecee987d1282b3c4d5f421b3c0","20118c09fa9c7e8fb2753e163d4f4c03","b0257b0cf24525b1f5f95c4c2428b44d","1662c5b4a5db1a205a4a9d704d38634d","fc406aa51250ead084dba7e6ed9e7117","3c0dcd6893f3122e9639ea00c8f13c23","0096fa46b046de828690b4c1706beae5","c71c8c4c8e017c9c201ec163fe42c891","3c7d0af7ca5f205a2cb63cda86ace448","05a2b14c9cef56e70cce6cac3f0496f5","a15c99da90106552a4381ca96141848d","e8b7cbad10318ee6c96630fb9e37fc57","010ce922ad447148d03e37e0368b844f","f552bfd832767569b03db2b84d67eed9","8b17ac742350fdc27879b0cddd9a6b87","3960c38f3af8bafed8daad952a55e781","5c66ab9162bb70c3d61e3217944949fa","9b2a3b0c9308f38cc74ac14daa3c1861","bf74a6d9ba6f033a0211b2ec6c902b4c","3736221b6320a5ed99534cefdf10ef9b","99914b932bd37a50b983c5e7c90ae93b","6282358652881a01fb6d49c6890165c1","3749828a2f4e560e94e519058d334bd0","517424cd01f9817773fc896f41f61724","d0972afccb725af80b0cbb6474ccf111","4906cc1f2ea73844f9fbcdabc9a454fe","4a3c007afed8f4b1bceef44e2fd40f14","3759ce0e049998b9d3c68603ead1b81c","706fff6310d3e5a652ab911a1bbc84ea","5bdf21e53a9923296e793a94991b7b8a","d5afaa11781a3b1254b33a1da2ba2583","b931f6111209a4b8d46d09a3209c9fb6","3281d9352d7af562ba33cf94574f71c9","3cdd26a069bc13dfc100b51f1bd539a7","d7b79c7aec6062d53eefe00deaf8bbab","f9f7c02ae74d178a86fc59068e4d6bbe","b6d5239984e51637ceadc05d0fea0b3e","125018f3eef635c9d10037c06e4a0236","95dedbb84e89c8f4ffac90863d5bf0fe","78bfda07e360a36e01e49e66d6a5c877","06f2f52e065436605c13942f77013111","a727d45839d500017dd3d65c4d829371","72aa50dbaff2275947fca17446640199","427d1d1a1d51036b428d48601ceddb58","824ffb5d44e094ee0eee77eb6bb4cdc5","d40439625fae1006a802f59daeb608c1","13758fa5373c51d27b3e6c52c04d30e0","d1b97c588c297c6f85bf58a8880ad934","b1fa711a68aae47712a9c0415b1dcc84","f427d021198418858451f1d11f453cc1","2727c13e0ff0729054274afd721a52ad","d23f9dc144f3a150c8a5acfe767057bc","b649c16e4f5d152918c239131f70cbaa","5e4df84994cee3dc53009c98b95703cf","ff8161fcb55d91157d99f7250d631713","83bb42f26e5bef7d1f678b741e88f6dc","a910390095b2e1c418c33cfafa2fcdd3","3c77f62b56e052d3ca495a56ad70fa7a","af7ea1e02e4bd4f4684587f6644565ab","65cc15b8904228f7efbef6ab0383cb42","f0e766eb8505e46584df66fbd8da4f33"]}


id: 60fa600f9932563b7c99bb01
pid: 60fa600f9932563b7c99baff
name: rightcheckpoint
code: 60fa600f9932563b7c99bb01
namepath: /凭证影像化/凭证调阅/凭证调阅编辑
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff
fullname: /凭证影像化/凭证调阅/凭证调阅编辑/rightcheckpoint
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff.60fa600f9932563b7c99bb01
nodetype: column
createdate: 2021.07.23 14:24:07.000
lastmodifieddate: 2023.08.03 11:30:07.319
value:
{"895d5b0f0e9a33ba58b88c619ea63b38":{"name":"main","buttonClick":[{"name":"cb_removeDuplicated","title":" 删除重复记录"},{"name":"cb_opensheet_dr","title":" 粘贴凭证列表"},{"name":"cb_removeDuplicated","title":" 删除重复记录"},{"name":"cb_opensheet_dr","title":" 粘贴凭证列表"},{"name":"cb_removeDuplicated","title":" 删除重复记录"},{"name":"cb_opensheet_dr","title":" 粘贴凭证列表"},{"name":"cb_removeDuplicated","title":" 删除重复记录"},{"name":"cb_opensheet_dr","title":" 粘贴凭证列表"},{"name":"cb_importFromExcelFile","title":" Excel模板导入"},{"name":"cb_downloadTemplateFile","title":" 下载模板"}]},"5e522cb24699a5716cf2edb85bce7ae3":{"name":"detail","buttonClick":[{"name":"cb_cancel","title":" 终止压缩"},{"name":"cb_package","title":" 凭证影像打包下载"},{"name":"cb_selectedRow_delete","title":" 删除选中记录"},{"name":"cb_pzlist","title":" 从凭证资料库调取"}],"cellClick":[{"name":"st_selectAll","title":"凭证调阅明细-全选"},{"name":"K4","title":"调阅列表-插入"},{"name":"L4","title":"调阅列表-删除"}]},"f3ccb0d8317d420f39945491cf86b280":{"name":"凭证资料查询","buttonClick":[{"name":"cb_retrieve","title":" 检索"},{"name":"cb_import","title":" 选入"}]},"ab392e86cfff78e465098cef7971c603":{"name":"下载清单","buttonClick":[{"name":"cb_redo_pack","title":" 清除压缩文件"}]}}


id: 60fa600f9932563b7c99bb02
pid: 60fa600f9932563b7c99baff
name: db
code: 60fa600f9932563b7c99bb02
namepath: /凭证影像化/凭证调阅/凭证调阅编辑
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff
fullname: /凭证影像化/凭证调阅/凭证调阅编辑/db
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff.60fa600f9932563b7c99bb02
nodetype: column
createdate: 2021.07.23 14:24:07.000
lastmodifieddate: 2023.08.03 11:30:07.319
value:
[{"name":"dzpz_dy","label":"凭证调阅","type":"table","dbpool":"default","description":"","multirow":false,"rowcount":1,"orderby":"billdate desc","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"60fa600f9932563b7c99bb06","column":[{"name":"reader","label":"调阅人","description":"","type":"varchar(100)","nullable":true,"smartretrieve":true,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"leaderid","label":"审批人","description":"","type":"int","nullable":true,"smartretrieve":true,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(32)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"ziptaskid","label":" 压缩任务的ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"zipresult","label":"打包结果","description":"","type":"text","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"watermark","label":"水印","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"needwatermark","label":"需要打水印吗","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"1","dbdefaultvalue":""},{"name":"filetype","label":"文件类型","description":"","type":"varchar(5)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"email","label":"邮箱","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"moredata","label":"更多扩展的内容","description":"","type":"text","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"action_after_pack","label":"打包完成后的动作","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"false","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id","label":"当前流程定义ID","description":"流程起草后，可能会升级，本字段记录当前执行的流程的版本ID","type":"varchar(80)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"ID","type":"varchar(40)","nullable":false,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"单据打开使用的地址","type":"varchar(300)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"调阅原因","description":"备注","type":"varchar(200)","nullable":true,"smartretrieve":true,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"制单人ID","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"制单人","type":"varchar(40)","nullable":true,"smartretrieve":true,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"审核日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"审核人ID","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"审核人","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_done_list","label":"处于已办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"上传的附件个数","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"制单日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":true,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"单据打印次数","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"0","dbdefaultvalue":""},{"name":"flow_assignee_list","label":"流程参与人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_todo_list","label":"处于待办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_endtime","label":"流程实例结束时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_id","label":"流程实例ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_starttime","label":"流程实例开始时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_state","label":"流程实例执行状态:0执行中1结束","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_status","label":"流程实例执行状态描述","description":"","type":"varchar(500)","nullable":true,"smartretrieve":true,"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,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id_0","label":"起草时的流程定义ID","description":"记录起草时的流程ID","type":"varchar(80)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[]},{"name":"dzpz_dymx","label":"调阅凭证明细","type":"table","dbpool":"default","description":"","multirow":true,"rowcount":1,"orderby":"inner_xh asc","autoretrieve":true,"dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","table_query_id":"60fa63479932563b7c99bd0a","column":[{"name":"bz","label":"提示信息","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"code","label":"核算账号编码","description":"","type":"varchar(20)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"企业ID","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"删除标记，1表示删除","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"0","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"gguid","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"ID","type":"varchar(40)","nullable":false,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"inner_xh","label":"序号","description":"序号","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"kmdm","label":"科目代码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"数据最后修改日期","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"memo","label":"摘要","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pz_id","label":"凭证的ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"selected","label":"选择","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"false","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"0","dbdefaultvalue":""},{"name":"filenameprefix","label":"文件名前缀","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":"inner_xh"},{"name":"c_db_deleterow","label":"删除","expression":"innerAction('\\uf014 删除','deleteRow')","description":"将本计算列绑定到单元格，字体设置成FontAwesome，点击此单元格即可删除当前行","fillback":""},{"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_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":"inner_xh"}]},{"name":"q_pzdjex","label":"","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"","sql":"select\n  distinct 0 as selected,\n  a.corpid,\n  a.pzrq,\n  a.y,\n  a.m,\n  a.pzh,\n  a.kmdm,\n  a.code,\n  a.posted,\n  a.bz,\n  dzpz_id as doc_id,\n  pzsl_pic as status \nfrom\n  pzdjex a\n \norder by\n  a.y asc,\n  a.m asc,\n  a.pzh asc,\n  a.code asc","dynamicwhere":"","dynamicwhere2":"\"a.pzrq >= '\"+st_date1+\"' \"\n\"a.pzrq < '\"+date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+\"' \"\n\"a.\"+st_key1+\" like '%\"+st_value1+\"%'\"","dynamicwheredata2":"st_date1:  date2yyyymmdd(凭证资料查询!st_date1)\nst_date2: date2yyyymmdd(凭证资料查询!st_date2)\nst_key1:凭证资料查询!st_key1\nst_value1:凭证资料查询!st_value1","primarykey":"","autoretrieve":false,"needcache":"false","cacheserver":"","cachetimeout":30,"table_query_id":"6114a5109932563b7c99cc64","column":[{"name":"bz","label":"备注","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"code","label":"核算账号编码","description":"","type":"varchar(20)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"帐套ID","description":"","type":"varchar(10)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"doc_id","label":"ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"kmdm","label":"科目代码","description":"","type":"varchar(50)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"m","label":"月份","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"posted","label":"是否已过账（是/否）","description":"","type":"varchar(4)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzh","label":"凭证号","description":"","type":"varchar(20)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"pzrq","label":"凭证日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"selected","label":"selected","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"status","label":"status","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"y","label":"年度","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""}]},{"name":"q_result","label":"下载清单","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"","sql":"select\n  ' ' as url,\n  ' ' as filename,\n  ' ' as filesize\nfrom\n  dual","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","primarykey":"","autoretrieve":false,"needcache":"false","cacheserver":"","cachetimeout":30,"table_query_id":"6182322bb99039290d429079","column":[{"name":"filename","label":"filename","description":"","type":"varchar(1)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"filesize","label":"filesize","description":"","type":"varchar(1)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"url","label":"url","description":"","type":"varchar(1)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_xh","label":"xh","expression":"thisrow()+ 1","description":"","fillback":""},{"name":"c_copy","label":"复制","expression":"\"地址分享\"","description":"","fillback":""}]}]


id: 60fa600f9932563b7c99bb03
pid: 60fa600f9932563b7c99baff
name: script
code: 60fa600f9932563b7c99bb03
namepath: /凭证影像化/凭证调阅/凭证调阅编辑
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff
fullname: /凭证影像化/凭证调阅/凭证调阅编辑/script
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff.60fa600f9932563b7c99bb03
nodetype: column
createdate: 2021.07.23 14:24:07.000
lastmodifieddate: 2023.08.03 11:30:07.320
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("", "下载清单", 800, 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 () { });



}

function copyURL(url)
{

    let s = getServiceHomeURL( 'app')+  url;
    let d= book.sheet3.cells("days").getValueInt();
    let t =book.sheet3.cells("times").getValueInt();
    s=  back_urlShare(s, d , t);
     $setClipboard( s); 
    toastr.info("分享地址已经复制到剪贴板");
}


id: 60fa608c9932563b7c99bba6
pid: 60fa608c9932563b7c99bba5
name: ui
code: 60fa608c9932563b7c99bba6
namepath: /凭证影像化/凭证调阅/凭证调阅列表
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5
fullname: /凭证影像化/凭证调阅/凭证调阅列表/ui
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5.60fa608c9932563b7c99bba6
nodetype: column
createdate: 2021.07.23 14:24:22.000
lastmodifieddate: 2023.08.03 11:30:07.320
value:
{"version":"1.0","sheetcount":1,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":5,"columnCount":10,"guid":"5d763d3513933acd714fa53945e7f522","name":"Sheet1","gridLineVisible":false,"freezedRow":1,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":37,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":5,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":40,"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":75,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":334,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":7,"width":280,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":53,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":0},{"row":0,"col":1,"define":"序号","PI":1},{"row":0,"col":2,"define":"单据编号","PI":1},{"row":0,"col":3,"define":"申请日期","PI":1},{"row":0,"col":4,"define":"申请人","PI":1},{"row":0,"col":5,"define":"调阅人","PI":1},{"row":0,"col":6,"define":"调阅原因","PI":1},{"row":0,"col":7,"define":"审批状态","rowSpan":1,"colSpan":2,"PI":2},{"row":0,"col":9,"PI":3},{"row":1,"col":0,"PI":4},{"row":1,"col":1,"PI":5,"bind":{"dataSource":"dzpz_dy","DBCol":"inner_xh","dsType":2}},{"row":1,"col":2,"cellValueType":3,"PI":6,"bind":{"dataSource":"dzpz_dy","DBCol":"billno","dsType":2}},{"row":1,"col":3,"cellValueType":4,"PI":6,"bind":{"dataSource":"dzpz_dy","DBCol":"billdate","dsType":2},"editstyle":{"editType":3,"datetimeFormat":"yyyy.MM.dd"}},{"row":1,"col":4,"cellValueType":3,"PI":6,"bind":{"dataSource":"dzpz_dy","DBCol":"username","dsType":2}},{"row":1,"col":5,"cellValueType":3,"PI":6,"bind":{"dataSource":"dzpz_dy","DBCol":"reader","dsType":2}},{"row":1,"col":6,"cellValueType":3,"PI":7,"bind":{"dataSource":"dzpz_dy","DBCol":"summary","dsType":2}},{"row":1,"col":7,"cellValueType":3,"PI":8,"bind":{"dataSource":"dzpz_dy","DBCol":"flow_instance_status","dsType":2}},{"row":1,"col":8,"cursorName":"hand","clickJumpTo":"=\"flowProcessHistory?id=dy&gguid=\"+dzpz_dy.id","clickJumpToWhere":"popupIframe","clickPopupDialogTitle":"审批详情","PI":9,"bind":{"dataSource":"dzpz_dy","DBCol":"c_detail","dsType":2}},{"row":1,"col":9,"PI":10},{"row":2,"col":0},{"row":2,"col":1,"PI":11},{"row":2,"col":2,"PI":11},{"row":2,"col":3},{"row":2,"col":4,"PI":11},{"row":2,"col":5,"PI":11},{"row":2,"col":6,"PI":11},{"row":2,"col":7,"PI":12},{"row":2,"col":8,"PI":12},{"row":2,"col":9},{"row":3,"col":0},{"row":3,"col":1,"rowSpan":1,"colSpan":7,"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":"dzpz_dy","DOMName":"dbnav-18f7cbd2daf404880a19ffaeae6afaac","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-18f7cbd2daf404880a19ffaeae6afaac\"  \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=\"20\" \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":3,"col":8},{"row":3,"col":9}]}],"propertyCache":{"c10374c8c47e32f9e075cb08ff5e7b3c":{"border-right-style":1,"border-right-width":1,"border-right-color":[179,182,183,1],"text-align":2},"cc80af60a26c49660b767daa2500969f":{"border-left-style":1,"border-left-width":1,"border-left-color":[179,182,183,1],"border-top-style":1,"border-top-width":1,"border-top-color":[179,182,183,1],"border-right-style":1,"border-right-width":1,"border-right-color":[179,182,183,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[179,182,183,1],"background-color":"rgb(33, 47, 60)","font-size":"12","color":"rgb(255, 255, 255)","text-align":2},"e0f6f601298a6c62091714121b398cb7":{"border-left-style":1,"border-left-width":1,"border-left-color":[179,182,183,1],"border-top-style":1,"border-top-width":1,"border-top-color":[179,182,183,1],"border-right-style":1,"border-right-width":1,"border-right-color":[179,182,183,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(33, 47, 60)","font-size":"12","color":"rgb(255, 255, 255)","text-align":2},"fd7676041271408c760d0e87a258dc96":{"border-left-style":1,"border-left-width":1,"border-left-color":[179,182,183,1],"text-align":2},"8e4503bc13ae96d8b9c99b5a90ea4ec4":{"border-right-style":1,"border-right-width":1,"border-right-color":[179,182,183,1]},"fe0cfaafbb65a39bf229be21bd268004":{"border-left-style":1,"border-left-width":1,"border-left-color":[179,182,183,1],"border-top-style":1,"border-top-width":1,"border-top-color":[179,182,183,1],"border-right-style":1,"border-right-width":1,"border-right-color":[179,182,183,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[179,182,183,1],"font-size":"12","text-align":2},"8504ef63525908332bc18d53f3f644c6":{"border-left-style":1,"border-left-width":1,"border-left-color":[179,182,183,1],"border-top-style":1,"border-top-width":1,"border-top-color":[179,182,183,1],"border-right-style":1,"border-right-width":1,"border-right-color":[179,182,183,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[179,182,183,1],"font-size":"12"},"28b098c71eab3b646b67461154ce7dc6":{"border-left-style":1,"border-left-width":1,"border-left-color":[179,182,183,1],"border-top-style":1,"border-top-width":1,"border-top-color":[179,182,183,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":[179,182,183,1],"font-size":"12"},"a349aca4ab34dfcc8949271c91658bf5":{"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-color":[128,128,128,1],"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"font-size":"12"},"0d13627e047945cec5eb5617ce19f700":{"border-left-color":[128,128,128,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","font-bold":true,"color":"#0000ff","text-align":2},"20118c09fa9c7e8fb2753e163d4f4c03":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1]},"1681c532a818d61a15f232f1a2f2e91c":{"border-top-style":1,"border-top-width":1,"border-top-color":[179,182,183,1]},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]}},"propertyIdList":["c10374c8c47e32f9e075cb08ff5e7b3c","cc80af60a26c49660b767daa2500969f","e0f6f601298a6c62091714121b398cb7","fd7676041271408c760d0e87a258dc96","8e4503bc13ae96d8b9c99b5a90ea4ec4","fe0cfaafbb65a39bf229be21bd268004","8504ef63525908332bc18d53f3f644c6","28b098c71eab3b646b67461154ce7dc6","a349aca4ab34dfcc8949271c91658bf5","0d13627e047945cec5eb5617ce19f700","20118c09fa9c7e8fb2753e163d4f4c03","1681c532a818d61a15f232f1a2f2e91c","fc406aa51250ead084dba7e6ed9e7117"]}


id: 60fa608c9932563b7c99bba8
pid: 60fa608c9932563b7c99bba5
name: db
code: 60fa608c9932563b7c99bba8
namepath: /凭证影像化/凭证调阅/凭证调阅列表
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5
fullname: /凭证影像化/凭证调阅/凭证调阅列表/db
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5.60fa608c9932563b7c99bba8
nodetype: column
createdate: 2021.07.23 14:24:22.000
lastmodifieddate: 2023.08.03 11:30:07.320
value:
[{"name":"dzpz_dy","label":"凭证调阅","type":"query","dbpool":"default","description":"","multirow":true,"updatedtable":"dzpz_dy","sql":"select\n  *\nfrom\n  dzpz_dy\nwhere\n  isnull(deleteflag, 0) = 0\n  and ( userid=:currentUserId(){0} or  1=:currentUserId(){-1} or \n        leaderid=:currentUserId(){0} )\n        \n        order by billno desc","dynamicwhere":"","dynamicwhere2":"","dynamicwheredata2":"","primarykey":"id","autoretrieve":true,"needcache":"false","cacheserver":"","cachetimeout":30,"table_query_id":"60fa608c9932563b7c99bbac","column":[{"name":"flow_done_list","label":"处于已办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_todo_list","label":"处于待办状态的人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"email","label":"邮箱","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"moredata","label":"更多扩展的内容","description":"","type":"varchar(715827882)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"action_after_pack","label":"打包完成后的动作","description":"","type":"varchar(1000)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"reader","label":"调阅人","description":"","type":"varchar(100)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"gguid","label":"GGUID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"id","label":"ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"lastmodifieddate","label":"数据最后修改日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"leaderid","label":"审批人","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"needwatermark","label":"需要打水印吗","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"open_bill_with_url","label":"单据打开使用的地址","description":"","type":"varchar(300)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_process_definition_id","label":"当前流程定义ID","description":"","type":"varchar(80)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"summary","label":"备注","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"true","datamask":"","modifylog":"","usedingroupby":"false","usedinsum":"false","defaultvalue":"","dbdefaultvalue":""},{"name":"userid","label":"制单人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"username","label":"制单人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifieddate","label":"审核日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifierid","label":"审核人ID","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"verifiername","label":"审核人","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"watermark","label":"水印","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"zipresult","label":"打包结果","description":"","type":"varchar(715827882)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"ziptaskid","label":" 压缩任务的ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"filetype","label":"文件类型","description":"","type":"varchar(5)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"attachmentcount","label":"附件个数","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billdate","label":"制单日期","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billno","label":"单据号","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billprinttimes","label":"单据打印次数","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"billtype","label":"单据类型","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corpid","label":"账套ID","description":"","type":"varchar(32)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"corporationid","label":"企业ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"deleteflag","label":"删除标记","description":"","type":"int","nullable":true,"smartretrieve":false,"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,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_assignee_list","label":"流程参与人员ID清单","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_endtime","label":"流程实例结束时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_id","label":"流程实例ID","description":"","type":"varchar(40)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_starttime","label":"流程实例开始时间","description":"","type":"datetime","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_state","label":"流程实例执行状态:0执行中1结束","description":"","type":"int","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_status","label":"流程实例执行状态描述","description":"","type":"varchar(500)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""},{"name":"flow_instance_subject","label":"流程主题(用于提醒信息)","description":"","type":"varchar(200)","nullable":true,"smartretrieve":false,"cloneable":false,"updatable":"","datamask":"","modifylog":"","usedingroupby":"","usedinsum":"","defaultvalue":"","dbdefaultvalue":""}],"computer":[{"name":"c_detail","label":"","expression":"\"...\"","description":"","fillback":""},{"name":"inner_xh","label":"序号","expression":"thisrow()+1","description":"","fillback":""}]}]


id: 60fa608c9932563b7c99bba9
pid: 60fa608c9932563b7c99bba5
name: script
code: 60fa608c9932563b7c99bba9
namepath: /凭证影像化/凭证调阅/凭证调阅列表
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5
fullname: /凭证影像化/凭证调阅/凭证调阅列表/script
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa608c9932563b7c99bba5.60fa608c9932563b7c99bba9
nodetype: column
createdate: 2021.07.23 14:24:22.000
lastmodifieddate: 2023.08.03 11:30:07.320
value:
/**
 * 当对某笔单据数据做修改后，列表模板中需要刷新这笔单据的数据，当是修改数据时，
 * 列表中的被修改的行单独执行刷新检索操作。如果是新增单据保存，列表则追加检索出这新增的单据
 *
 *  注意：本函数仅在单据列表模板中使用，当编辑界面保存数据后，触发本事件
 * @param id  需要刷新检索的数据的ID
 * @param row   刷新检索的数据在列表中的行号
 * @param append  true表示是追加检索， false表示是刷新检索
 *
 *
 * @returns {void} 无需返回值
 */
function refreshRetrieveEnd( id ,row , append) {
   //alert( id+  "    "+ row+"    "+  append); 

}


id: 60fe0633993266ed51a9093f
pid: 60fa600f9932563b7c99baff
name: uniqueindexinfo
code: 60fe0633993266ed51a9093f
namepath: /凭证影像化/凭证调阅/凭证调阅编辑
codepath: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff
fullname: /凭证影像化/凭证调阅/凭证调阅编辑/uniqueindexinfo
fullcode: 60c4bd735db2478f9c5a1116.60fa600f9932563b7c99bafe.60fa600f9932563b7c99baff.60fe0633993266ed51a9093f
nodetype: column
createdate: 2021.07.26 08:56:25.000
lastmodifieddate: 2023.08.03 11:30:07.320
value:
[{
    "indexName": "dzpz_dy_billno",
    "errorTip": "单据号禁止重复",
    "tableName": "dzpz_dy",
    "columns": [{
        "name": "billno",
        "orderby": "asc"
    }]
}]


id: 617cc6bb99328c3820c0b3a4
pid: 617cc6bb99328c3820c0b3a3
name: ui
code: 617cc6bb99328c3820c0b3a4
namepath: /凭证影像化/凭证影像统计/凭证影像统计
codepath: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3
fullname: /凭证影像化/凭证影像统计/凭证影像统计/ui
fullcode: 60c4bd735db2478f9c5a1116.617cc6bb99328c3820c0b3a2.617cc6bb99328c3820c0b3a3.617cc6bb99328c3820c0b3a4
nodetype: column
createdate: 2021.10.30 12:15:27.000
lastmodifieddate: 2023.08.03 11:30:07.320
value:
{"version":"1.0","sheetcount":6,"gui":true,"theme":"default","showTabOnBottom":false,"sheets":[{"index":0,"rowCount":9,"columnCount":6,"guid":"5d61f38afaaa6f46a4eaf7bcf6626daf","name":"main","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":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":90,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":200,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":7,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":8,"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":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":3,"width":800,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":100,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":5,"width":100,"width2":-1,"stretchWidth":20,"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":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":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":4,"col":0,"PI":2},{"row":4,"col":1,"PI":2},{"row":4,"col":2,"PI":2},{"row":4,"col":3,"rowSpan":1,"colSpan":2,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"8835fcb873427ed867b458c066d4e70d","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-316eb147ae0b89261c6ab0afae403f1c"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":4,"col":5,"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":2},{"row":6,"col":0,"PI":2},{"row":6,"col":1,"PI":2},{"row":6,"col":2,"PI":2},{"row":6,"col":3,"rowSpan":1,"colSpan":2,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"3e11797e25d706c34c35931ccef112dd","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-bf014d391946f9526d6469b2b8fc43cc"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":6,"col":5,"PI":2},{"row":7,"col":0,"PI":2},{"row":7,"col":1,"PI":2},{"row":7,"col":2,"PI":2},{"row":7,"col":3,"rowSpan":1,"colSpan":2,"PI":3,"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":"12","countPerPagePermitToChange":true,"dsn":"q_hz","DOMName":"dbnav-4233fa9154889cd61462ff3ff168e537","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-4233fa9154889cd61462ff3ff168e537\"  \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=\"12\" \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":7,"col":5,"PI":2},{"row":8,"col":0,"PI":2},{"row":8,"col":1,"PI":2},{"row":8,"col":2,"PI":2},{"row":8,"col":3,"PI":2},{"row":8,"col":4,"PI":2},{"row":8,"col":5,"PI":2}]},{"index":1,"rowCount":5,"columnCount":12,"guid":"8835fcb873427ed867b458c066d4e70d","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":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":15,"isColumnScrollEnabled":true,"stretchHeight":10}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":55,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":55,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":89,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"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":0,"col":7},{"row":0,"col":8},{"row":0,"col":9},{"row":0,"col":10},{"row":0,"col":11},{"row":1,"col":0},{"row":1,"col":1,"define":"筛选条件","PI":1},{"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":2,"col":0},{"row":2,"col":1,"PI":3},{"row":2,"col":2,"PI":4},{"row":2,"col":3,"PI":4},{"row":2,"col":4,"PI":3},{"row":2,"col":5,"PI":4},{"row":2,"col":6,"PI":3},{"row":2,"col":7,"PI":4},{"row":2,"col":8},{"row":2,"col":9,"rowSpan":2,"colSpan":1,"PI":5,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","className":"","x":5,"y":-30,"width":70,"height":0,"buttonStyle":"default","buttonColorStyle":"info","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"q_hz","moreDataSource":"","cachefirst":false,"DOMName":"cb_retrieve-4b3e9e36c85b48ddb45f905cf3cadd0a","html":" \n                <button class=\"btn  btn-info btn-xs\" \n                        id=\"cb_retrieve-4b3e9e36c85b48ddb45f905cf3cadd0a\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":5,"y":-30,"width":70,"height":0}]},{"row":2,"col":10,"PI":3},{"row":2,"col":11},{"row":3,"col":0},{"row":3,"col":1,"define":"账套名称：","PI":6},{"row":3,"col":2,"define":"00","editable":true,"rowSpan":1,"colSpan":2,"alias":"st_corpid","PI":7,"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-简称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":4,"define":"年度：","PI":8},{"row":3,"col":5,"define":"=getYear( newDate())","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"},"alias":"st_y","PI":9},{"row":3,"col":6,"define":"月份：","PI":8},{"row":3,"col":7,"editable":true,"alias":"st_m","PI":9,"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":3,"col":8,"PI":10},{"row":3,"col":10,"PI":5,"bricks":[{"type":"button","name":"cb_export1","config":{"name":"cb_export1","caption":" 导出Excel","enable":true,"visible":true,"size":"1","className":"","x":1,"y":1,"width":-1,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"fa-file-excel-o","rightIcon":"","DOMName":"cb_export1-1e440295587ce0b9dc82084573eeb007","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_export1-1e440295587ce0b9dc82084573eeb007\">\n                       <i class='fa fa-file-excel-o'></i> 导出Excel\n                </button>\n                ","align":"center","_MODIFIERS":{}},"x":1,"y":1,"width":-1,"height":-1}]},{"row":3,"col":11,"bricks":[{"type":"button","name":"cb_recalc","config":{"name":"cb_recalc","caption":"重新核算","enable":true,"visible":true,"size":"1","className":"","x":5,"y":1,"width":-1,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"fa-history","rightIcon":"","DOMName":"cb_recalc-6d2c167f4bbe66467f3dbd6f04143733","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_recalc-6d2c167f4bbe66467f3dbd6f04143733\">\n                       <i class='fa fa-history'></i>重新核算\n                </button>\n                "},"x":5,"y":1,"width":-1,"height":-1}]},{"row":4,"col":0,"PI":11},{"row":4,"col":1,"PI":12},{"row":4,"col":2,"PI":13},{"row":4,"col":3,"PI":14},{"row":4,"col":4,"PI":14},{"row":4,"col":5,"PI":14},{"row":4,"col":6,"PI":14},{"row":4,"col":7,"PI":14},{"row":4,"col":8,"PI":14},{"row":4,"col":9,"PI":14},{"row":4,"col":10,"PI":15},{"row":4,"col":11}]},{"index":2,"rowCount":8,"columnCount":13,"guid":"3e11797e25d706c34c35931ccef112dd","name":"list","gridLineVisible":false,"freezedRow":5,"freezedCol":1,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":33,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":7,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":3,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":3,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":4,"width":120,"width2":-1,"stretchWidth":40,"rowHeightAutoFit":false},{"index":5,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":6,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":7,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":8,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":9,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":10,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":11,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":12,"width":16,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":1,"col":0},{"row":1,"col":1},{"row":1,"col":2,"PI":0},{"row":1,"col":3,"define":"凭证影像化执行统计报表","rowSpan":1,"colSpan":4,"PI":16},{"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},{"row":3,"col":3,"define":"序号","rowSpan":2,"colSpan":1,"alias":"t_q_hz_c_inner_xh","PI":17},{"row":3,"col":4,"define":"账套名称","dblClickSort":"q_hz.corpid","rowSpan":2,"colSpan":1,"alias":"t_q_hz_corpid","PI":17},{"row":3,"col":5,"define":"记账期","dblClickSort":"q_hz.ym","rowSpan":2,"colSpan":1,"alias":"t_q_hz_ym","PI":17},{"row":3,"col":6,"define":"已导入的凭证列表","rowSpan":1,"colSpan":4,"PI":17},{"row":3,"col":10,"define":"未导入的凭证列表","dblClickSort":"q_hz.pzsl_pic_wdj","rowSpan":1,"colSpan":2,"alias":"t_q_hz_pzsl_pic_wdj","PI":18},{"row":3,"col":12,"PI":19},{"row":4,"col":0},{"row":4,"col":1},{"row":4,"col":2},{"row":4,"col":6,"define":"总数量","dblClickSort":"q_hz.pzsl_dj","alias":"t_q_hz_pzsl_dj","PI":17},{"row":4,"col":7,"define":"已影像化","dblClickSort":"q_hz.pzsl_dj_pic","alias":"t_q_hz_pzsl_dj_pic","PI":17},{"row":4,"col":8,"define":"未影像化","dblClickSort":"q_hz.pzsl_dj_wpic","alias":"t_q_hz_pzsl_dj_wpic","PI":17},{"row":4,"col":9,"define":"影像数量","PI":20},{"row":4,"col":10,"define":"已影像化","dblClickSort":"q_hz.pzsl_pic_wdj","PI":21},{"row":4,"col":11,"define":"影像数量","PI":18},{"row":4,"col":12,"PI":19},{"row":5,"col":0},{"row":5,"col":1},{"row":5,"col":2},{"row":5,"col":3,"alias":"q_hz_c_inner_xh","PI":22,"bind":{"dataSource":"q_hz","DBCol":"c_inner_xh","dsType":2}},{"row":5,"col":4,"cellValueType":3,"alias":"q_hz_corpid","PI":23,"bind":{"dataSource":"q_hz","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":5,"col":5,"cellValueType":1,"alias":"q_hz_ym","PI":22,"bind":{"dataSource":"q_hz","DBCol":"ym","dsType":2}},{"row":5,"col":6,"cellValueType":2,"alias":"q_hz_pzsl_dj","PI":22,"bind":{"dataSource":"q_hz","DBCol":"pzsl_dj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":7,"cellValueType":2,"alias":"q_hz_pzsl_dj_pic","PI":22,"bind":{"dataSource":"q_hz","DBCol":"pzsl_dj_pic","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":8,"cursorName":"hand","cellValueType":2,"alias":"q_hz_pzsl_dj_wpic","PI":24,"bind":{"dataSource":"q_hz","DBCol":"pzsl_dj_wpic","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":9,"cellValueType":2,"alias":"pic_sl_dj","PI":25,"bind":{"dataSource":"q_hz","DBCol":"pic_sl_dj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":10,"cursorName":"hand","cellValueType":2,"alias":"q_hz_pzsl_pic_wdj","PI":24,"bind":{"dataSource":"q_hz","DBCol":"pzsl_pic_wdj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":11,"cellValueType":2,"alias":"pic_sl_wdj","PI":25,"bind":{"dataSource":"q_hz","DBCol":"pic_sl_wdj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":5,"col":12,"cellValueType":1,"PI":26},{"row":6,"col":0},{"row":6,"col":1},{"row":6,"col":2},{"row":6,"col":3,"define":"合计","PI":27},{"row":6,"col":4,"rowSpan":1,"colSpan":2,"PI":28},{"row":6,"col":6,"define":"=sum(q_hz_pzsl_dj)","PI":29,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":6,"col":7,"define":"=sum(q_hz_pzsl_dj_pic)","PI":29,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":6,"col":8,"define":"=sum(q_hz_pzsl_dj_wpic)","PI":29,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":6,"col":9,"define":"=sum(pic_sl_dj)","PI":29,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":6,"col":10,"define":"=sum(q_hz_pzsl_pic_wdj)","PI":29,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":6,"col":11,"define":"=sum(pic_sl_wdj)","PI":29,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":6,"col":12,"PI":26},{"row":7,"col":0},{"row":7,"col":1},{"row":7,"col":2},{"row":7,"col":3,"PI":30},{"row":7,"col":4,"PI":30},{"row":7,"col":5,"PI":30},{"row":7,"col":6,"PI":30},{"row":7,"col":7,"PI":30},{"row":7,"col":8,"PI":31},{"row":7,"col":9},{"row":7,"col":10},{"row":7,"col":11},{"row":7,"col":12,"PI":32}]},{"index":3,"rowCount":7,"columnCount":13,"guid":"522d8fae5585de12a0fe0f15e432daa9","name":"mx","gridLineVisible":false,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":138,"isColumnScrollEnabled":true,"stretchHeight":10},{"index":4,"height":35,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":1,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":6,"height":5,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":100,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":100,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":4,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":5,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":6,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":7,"width":60,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":120,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":296,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":11,"width":80,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":20,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"PI":2},{"row":0,"col":1,"PI":33},{"row":0,"col":2,"PI":33},{"row":0,"col":3,"PI":33},{"row":0,"col":4,"PI":33},{"row":0,"col":5,"PI":33},{"row":0,"col":6,"PI":2},{"row":0,"col":7,"PI":2},{"row":0,"col":8,"PI":2},{"row":0,"col":9,"PI":2},{"row":0,"col":10,"PI":33},{"row":0,"col":11,"PI":33},{"row":0,"col":12,"PI":2},{"row":1,"col":0,"PI":2},{"row":1,"col":1,"define":"账套名称：","PI":34},{"row":1,"col":2,"editable":true,"rowSpan":1,"colSpan":2,"alias":"st_corpid","PI":35,"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":1,"col":4,"define":"年度：","PI":36},{"row":1,"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"},"alias":"st_y","PI":37},{"row":1,"col":6,"define":"月份：","PI":36},{"row":1,"col":7,"editable":true,"alias":"st_m","PI":37,"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":1,"col":8,"define":"影像状态：","PI":36},{"row":1,"col":9,"editable":true,"alias":"st_status","PI":37,"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"0;影像已采集\n1;影像未采集\n-1;凭证号不存在","showRealData":false,"columnCount":null}},{"row":1,"col":10,"PI":38,"bricks":[{"type":"button","name":"cb_retrieve","config":{"name":"cb_retrieve","caption":" 检索","enable":true,"visible":true,"size":"1","x":5,"y":1,"width":60,"height":-1,"buttonStyle":"alt","buttonColorStyle":"primary","leftIcon":"fa-search","rightIcon":"","action":"retrieve","dsn":"q_mx","moreDataSource":"","cachefirst":true,"DOMName":"cb_retrieve-56bc01dce045cc7855e1c453ef5c4a86","html":" \n                <button class=\"btn btn-alt btn-primary btn-xs\" \n                        id=\"cb_retrieve-56bc01dce045cc7855e1c453ef5c4a86\">\n                       <i class='fa fa-search'></i> 检索\n                </button>\n                "},"x":5,"y":1,"width":60,"height":-1},{"type":"button","name":"cb_export2","config":{"name":"cb_export2","caption":" 导出Excel","enable":true,"visible":true,"size":"1","className":"","x":80,"y":1,"width":90,"height":-1,"buttonStyle":"alt","buttonColorStyle":"primary","leftIcon":"fa-file-excel-o","rightIcon":"","DOMName":"cb_export2-7d4e7c8a41f19126f70b01d1cc66d89d","html":" \n                <button class=\"btn btn-alt btn-primary btn-xs\" \n                        id=\"cb_export2-7d4e7c8a41f19126f70b01d1cc66d89d\">\n                       <i class='fa fa-file-excel-o'></i> 导出Excel\n                </button>\n                "},"x":80,"y":1,"width":90,"height":-1},{"type":"button","name":"cb_return","config":{"name":"cb_return","caption":" 返回","enable":true,"visible":true,"size":"1","className":"","x":200,"y":1,"width":70,"height":-1,"buttonStyle":"default","buttonColorStyle":"primary","leftIcon":"fa-mail-reply","rightIcon":"","DOMName":"cb_return-40d9d86be500cd26d25f6cf0b0356f93","html":" \n                <button class=\"btn  btn-primary btn-xs\" \n                        id=\"cb_return-40d9d86be500cd26d25f6cf0b0356f93\">\n                       <i class='fa fa-mail-reply'></i> 返回\n                </button>\n                "},"x":200,"y":1,"width":70,"height":-1}]},{"row":1,"col":11,"PI":38},{"row":1,"col":12,"PI":2},{"row":2,"col":0,"PI":2},{"row":2,"col":1,"PI":39},{"row":2,"col":2,"PI":39},{"row":2,"col":3,"PI":39},{"row":2,"col":4,"PI":39},{"row":2,"col":5,"PI":39},{"row":2,"col":6,"PI":39},{"row":2,"col":7,"PI":39},{"row":2,"col":8,"PI":40},{"row":2,"col":9,"PI":40},{"row":2,"col":10,"PI":39},{"row":2,"col":11,"PI":39},{"row":2,"col":12,"PI":2},{"row":3,"col":0,"PI":41},{"row":3,"col":1,"rowSpan":1,"colSpan":9,"PI":42,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"ec8072ea3fa6d0dc0bfdb5d87a684dd7","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-ded1d1663502145d4a693339336adf9d"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":3,"col":10,"rowSpan":2,"colSpan":2,"PI":43,"bricks":[{"type":"SheetContainer","name":"sheetContainer1","config":{"name":"sheetContainer1","sheetGUID":"2ad6525a2a85b248d58bd96592440c84","caption":"嵌入sheet","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"sheetContainer1-b76edb2cebf8ea7ec607613ef317ceee"},"x":1,"y":1,"width":-1,"height":-1}]},{"row":3,"col":12,"PI":44},{"row":4,"col":0,"PI":41},{"row":4,"col":1,"rowSpan":1,"colSpan":9,"PI":45,"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":"q_mx","DOMName":"dbnav-df6f417738299b85f20aea6147450861","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-df6f417738299b85f20aea6147450861\"  \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":4,"col":12,"PI":44},{"row":5,"col":0,"PI":2},{"row":5,"col":1,"PI":46},{"row":5,"col":2,"PI":46},{"row":5,"col":3,"PI":46},{"row":5,"col":4,"PI":46},{"row":5,"col":5,"PI":46},{"row":5,"col":6,"PI":46},{"row":5,"col":7,"PI":46},{"row":5,"col":8,"PI":46},{"row":5,"col":9,"PI":46},{"row":5,"col":10,"PI":46},{"row":5,"col":11,"PI":47},{"row":5,"col":12,"PI":2},{"row":6,"col":0,"PI":2},{"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},{"row":6,"col":11},{"row":6,"col":12,"PI":2}]},{"index":4,"rowCount":6,"columnCount":13,"guid":"ec8072ea3fa6d0dc0bfdb5d87a684dd7","name":"mx_list","gridLineVisible":true,"freezedRow":3,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":1,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":2,"height":20,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":3,"height":30,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":4,"height":25,"isColumnScrollEnabled":true,"stretchHeight":0},{"index":5,"height":10,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":10,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":1,"width":40,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":2,"width":70,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":3,"width":60,"width2":-1,"stretchWidth":20,"rowHeightAutoFit":false},{"index":4,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":5,"width":70,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":6,"width":80,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false},{"index":7,"width":78,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":8,"width":90,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":9,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":10,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":11,"width":50,"width2":-1,"stretchWidth":0,"rowHeightAutoFit":false},{"index":12,"width":20,"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":1,"col":0},{"row":1,"col":1,"define":"序号","rowSpan":2,"colSpan":1,"alias":"t_q_mx_c_inner_xh","PI":48},{"row":1,"col":2,"define":"账套名称","dblClickSort":"q_mx.corpid","rowSpan":2,"colSpan":2,"alias":"t_q_mx_corpid","PI":48},{"row":1,"col":4,"define":"记账期","dblClickSort":"q_mx.ym","rowSpan":2,"colSpan":1,"alias":"t_q_mx_ym","PI":48},{"row":1,"col":5,"define":"凭证号","dblClickSort":"q_mx.pzh","rowSpan":2,"colSpan":1,"alias":"t_q_mx_pzh","PI":48},{"row":1,"col":6,"define":"凭证日期","dblClickSort":"q_mx.pzrq","rowSpan":2,"colSpan":1,"alias":"t_q_mx_pzrq","PI":48},{"row":1,"col":7,"define":"制单人","dblClickSort":"q_mx.username","rowSpan":2,"colSpan":1,"PI":48},{"row":1,"col":8,"define":"影像状态","dblClickSort":"q_mx.status","rowSpan":2,"colSpan":1,"alias":"t_q_mx_status","PI":48},{"row":1,"col":9,"define":"影像图片采集量","rowSpan":1,"colSpan":3,"PI":48},{"row":1,"col":12,"PI":19},{"row":2,"col":0},{"row":2,"col":9,"define":"封面","alias":"t_q_mx_pic_pz","PI":48},{"row":2,"col":10,"define":"附件","alias":"t_q_mx_pic_fj","PI":48},{"row":2,"col":11,"define":"合计","PI":48},{"row":2,"col":12,"PI":19},{"row":3,"col":0},{"row":3,"col":1,"alias":"q_mx_c_inner_xh","PI":49,"bind":{"dataSource":"q_mx","DBCol":"c_inner_xh","dsType":2}},{"row":3,"col":2,"cellValueType":3,"rowSpan":1,"colSpan":2,"alias":"q_mx_corpid","PI":50,"bind":{"dataSource":"q_mx","DBCol":"corpid","dsType":2},"editstyle":{"editType":4,"ddlbName":"basic_账套列表(code2name)-全称","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"","showRealData":false,"columnCount":null}},{"row":3,"col":4,"cellValueType":1,"alias":"q_mx_ym","PI":49,"bind":{"dataSource":"q_mx","DBCol":"ym","dsType":2}},{"row":3,"col":5,"cellValueType":3,"alias":"q_mx_pzh","PI":49,"bind":{"dataSource":"q_mx","DBCol":"pzh","dsType":2}},{"row":3,"col":6,"cellValueType":4,"alias":"q_mx_pzrq","PI":49,"bind":{"dataSource":"q_mx","DBCol":"pzrq","dsType":2}},{"row":3,"col":7,"cellValueType":3,"alias":"zdr","PI":49,"bind":{"dataSource":"q_mx","DBCol":"zdr","dsType":2},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"0;[√]影像已采集\n1;[×]影像未采集\n-1;凭证号不存在","showRealData":false,"columnCount":null}},{"row":3,"col":8,"cellValueType":1,"alias":"q_mx_status","PI":49,"bind":{"dataSource":"q_mx","DBCol":"status","dsType":2},"editstyle":{"editType":4,"ddlbName":"","dropDownListEditable":false,"valueMustInDDLB":false,"ddlbFilterBy":"","ddlbFilterContext":"","ddlbInnerItems":"0;[√]影像已采集\n1;[×]影像未采集\n-1;凭证号不存在","showRealData":false,"columnCount":null}},{"row":3,"col":9,"cellValueType":1,"alias":"q_mx_pic_pz","PI":49,"bind":{"dataSource":"q_mx","DBCol":"pic_pz","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":3,"col":10,"cellValueType":1,"alias":"q_mx_pic_fj","PI":49,"bind":{"dataSource":"q_mx","DBCol":"pic_fj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":3,"col":11,"cellValueType":1,"alias":"pic_hj","PI":49,"bind":{"dataSource":"q_mx","DBCol":"pic_hj","dsType":2},"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":3,"col":12,"PI":26},{"row":4,"col":0},{"row":4,"col":1,"define":"合计","PI":51},{"row":4,"col":2,"rowSpan":1,"colSpan":7,"PI":52},{"row":4,"col":9,"define":"=sum(q_mx_pic_pz)","PI":53,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":4,"col":10,"define":"=sum(q_mx_pic_fj)","PI":53,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":4,"col":11,"define":"=sum(pic_hj)","PI":53,"editstyle":{"editType":1,"showComma":false,"decimalCount":0,"zeroVisible":false}},{"row":4,"col":12,"PI":26},{"row":5,"col":0},{"row":5,"col":1,"PI":47},{"row":5,"col":2,"PI":47},{"row":5,"col":3},{"row":5,"col":4,"PI":47},{"row":5,"col":5,"PI":47},{"row":5,"col":6,"PI":47},{"row":5,"col":7},{"row":5,"col":8,"PI":47},{"row":5,"col":9,"PI":47},{"row":5,"col":10,"PI":47},{"row":5,"col":11},{"row":5,"col":12}]},{"index":5,"rowCount":1,"columnCount":1,"guid":"2ad6525a2a85b248d58bd96592440c84","name":"mx_img","gridLineVisible":true,"freezedRow":0,"freezedCol":0,"ignoreBeforeRowWhenPrinting":0,"forDevice":"all","rows":[{"index":0,"height":158,"isColumnScrollEnabled":true,"stretchHeight":0}],"columns":[{"index":0,"width":200,"width2":-1,"stretchWidth":10,"rowHeightAutoFit":false}],"focusRange":[],"cells":[{"row":0,"col":0,"bricks":[{"type":"uploadImage","name":"FJ","config":{"name":"FJ","action":"=currentAction()","serverIndex":"1","serverIndexExpression":"=currentBillServerIndex()","dbpool":"default","logTable":"app_fileupload","blockSize":128,"imgMaxSize":1920,"columns":1,"maxCount":5,"groupName":"附件","tableName":"--","gguid":"--","path":"=currentMasterTableName()","autoLoad":false,"autoLoadFunction":"getImageListWithConfig","caption":"图片上传","enable":true,"visible":true,"x":1,"y":1,"width":-1,"height":-1,"DOMName":"FJ-4206942467c49ed819d62307ec662e87","gutter":10,"homeURL":"","maxThumbnailSize":256,"showImageIndexNo":true,"rightMouseDownToViewLargeImage":true,"html":"<div><div id='FJ-4206942467c49ed819d62307ec662e87ce330ca5663073d8a0ec513d636c9710' style='width:100%;height:100%;background-color: transparent; pointer-events:none; '></div></div>","cropWidth":0,"cropHeight":0,"showImageLabel":false},"x":1,"y":1,"width":-1,"height":-1}]}]}],"propertyCache":{"b3f11927403750ad41af93752148e509":{"background-color":"rgb(40, 116, 166)"},"d9b7e78fd60149a6ba819365564c46b8":{"font-family":"黑体"},"3e824c86b66344de0d8b546937f4cbf2":{"background-color":"#ebedef"},"99914b932bd37a50b983c5e7c90ae93b":{},"125018f3eef635c9d10037c06e4a0236":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"c1c5517fe7e8c365f98fd7ffd9d603f9":{"border-bottom-width":2,"border-bottom-color":[128,128,128,1],"font-size":"12"},"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},"a44a0ca5397cb75a704529985d2ae683":{"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":0},"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},"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},"a9c69ac2b85afa2436072584b75aa44e":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"border-bottom-width":2,"border-bottom-color":[128,128,128,1]},"d40439625fae1006a802f59daeb608c1":{"border-right-width":2,"border-right-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]},"46e8108dd4be7b248518964da8239abd":{"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]},"152651d4719831760caefc4ceb85c555":{"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]},"fd8b7a5408df91023d943ce876163be3":{"border-left-color":[128,128,128,1],"border-top-width":2,"border-top-color":[128,128,128,1]},"fd1b4b6ba951f778ed0ca064b3f4d724":{"font-family":"黑体","color":"rgb(21, 67, 96)","text-align":0},"c4778a9f4c4db1462c4d0b41c47cc1e4":{"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(235, 237, 239)","font-family":"微软雅黑","font-size":"12","color":"rgb(33, 47, 60)","text-align":2},"4b26828b447db9148cea09eb0993a901":{"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(235, 237, 239)","font-family":"微软雅黑","font-size":"12","word-wrap":true,"color":"rgb(148, 49, 38)","text-align":2},"06f2f52e065436605c13942f77013111":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"font-size":"12","text-align":2},"3983f6c1c85cf40d4e993ee9330c9310":{"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(235, 237, 239)","font-family":"微软雅黑","font-size":"12","word-wrap":true,"color":"rgb(33, 47, 60)","text-align":2},"f1346a6cc50b273ff8174b025c8fe368":{"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(235, 237, 239)","font-family":"微软雅黑","font-size":"12","color":"rgb(148, 49, 38)","text-align":2},"66a8f6e08f43080f22edf3e8332309b1":{"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, 47, 60)","text-align":2},"f44e0ef842e947b8eb280d1131220f9d":{"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,"color":"rgb(33, 47, 60)"},"95b51d89f79a8238f67fbf43ca76bbb1":{"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","font-underline":true,"color":"#ff0000","text-align":2},"d50ba5a4e16db2333df88762beede36a":{"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":"#eafaf1","font-size":"12","color":"rgb(33, 47, 60)","text-align":2},"824ffb5d44e094ee0eee77eb6bb4cdc5":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"font-size":"12"},"ede4e85d31c7d3709f9c9c5d936a54b4":{"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(235, 237, 239)","font-size":"12","color":"rgb(33, 47, 60)","text-align":2},"6bf9fcc16df576e3398e30561f90eeb3":{"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(235, 237, 239)","font-size":"12"},"84a39429f9c534d2c2e2231c7ff5b7d1":{"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(235, 237, 239)","font-size":"12","color":"#0400ff","text-align":2},"dcb930f35a85505cf6a2a1dd66bf1caf":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":"12"},"18af17d92c89ce2f7d4fd84d89c6346c":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"font-size":"12","text-align":2},"a3f1ef4466c78db4412237879a26505c":{"font-size":"12"},"e4204338242bbe57472e7aeb9cb21a23":{"background-color":"rgb(235, 237, 239)"},"a4aaef45432f934b90d4db4632afdaad":{"background-color":"#ebedef","font-size":"12","text-align":1},"adbc7a64eaa0ca8bb97ebcf6796c1c37":{"font-size":"12","color":"rgb(33, 97, 140)"},"e6a83e62d12cf535261b02fd1626b206":{"background-color":"rgb(235, 237, 239)","font-size":"12","text-align":1},"64d6d7a2dd8e11edf37555a9462388ff":{"font-size":"12","color":"rgb(33, 97, 140)","text-align":2},"8b35f29ef8dc46c37198d36acb56007b":{"background-color":"rgb(235, 237, 239)","font-size":"12"},"2395676abfa326c7974d60b949387bb7":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"rgb(235, 237, 239)"},"6152ce142798941e99684e5d2846f126":{"border-bottom-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1],"background-color":"#ebedef"},"6ed063a22d5403cffb90afb53949a783":{"border-right-style":1,"border-right-width":1,"border-right-color":[211,211,211,1],"background-color":"#ebedef"},"84de140566d3fcb60554764bb13c9849":{"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],"padding-left":"10","padding-top":"10","padding-right":"10","padding-bottom":"5"},"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]},"0a44ed4752f9fbee070fa1c74221171e":{"border-left-style":1,"border-left-width":1,"border-left-color":[211,211,211,1],"background-color":"#ebedef"},"9b1ac6808c866baade30a1d990137d40":{"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-style":1,"border-bottom-width":1,"border-bottom-color":[211,211,211,1]},"5286ad2badaaadf76f3ad65748ced761":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1],"background-color":"rgb(234, 236, 238)"},"fc406aa51250ead084dba7e6ed9e7117":{"border-top-style":1,"border-top-width":1,"border-top-color":[211,211,211,1]},"cdffbcbb9eee783d654028e636da26e4":{"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)","font-size":"12","text-align":2},"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},"153490513a11bb1e0c8cf2f61b90f18f":{"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},"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},"4693620b7f2243cde7936f5b5da83bf1":{"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"},"c888c5d336b6da43dbdd23b1db969549":{"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","color":"#0400ff","text-align":2}},"propertyIdList":["b3f11927403750ad41af93752148e509","d9b7e78fd60149a6ba819365564c46b8","3e824c86b66344de0d8b546937f4cbf2","99914b932bd37a50b983c5e7c90ae93b","125018f3eef635c9d10037c06e4a0236","c1c5517fe7e8c365f98fd7ffd9d603f9","51db118cef6079848f7fb8625f08a6eb","a44a0ca5397cb75a704529985d2ae683","48c15333cdfb8c2ede62c6ee26cdecdd","b3de616a54b5cf0c276e9db14a7998b2","a9c69ac2b85afa2436072584b75aa44e","d40439625fae1006a802f59daeb608c1","3c7d0af7ca5f205a2cb63cda86ace448","46e8108dd4be7b248518964da8239abd","152651d4719831760caefc4ceb85c555","fd8b7a5408df91023d943ce876163be3","fd1b4b6ba951f778ed0ca064b3f4d724","c4778a9f4c4db1462c4d0b41c47cc1e4","4b26828b447db9148cea09eb0993a901","06f2f52e065436605c13942f77013111","3983f6c1c85cf40d4e993ee9330c9310","f1346a6cc50b273ff8174b025c8fe368","66a8f6e08f43080f22edf3e8332309b1","f44e0ef842e947b8eb280d1131220f9d","95b51d89f79a8238f67fbf43ca76bbb1","d50ba5a4e16db2333df88762beede36a","824ffb5d44e094ee0eee77eb6bb4cdc5","ede4e85d31c7d3709f9c9c5d936a54b4","6bf9fcc16df576e3398e30561f90eeb3","84a39429f9c534d2c2e2231c7ff5b7d1","dcb930f35a85505cf6a2a1dd66bf1caf","18af17d92c89ce2f7d4fd84d89c6346c","a3f1ef4466c78db4412237879a26505c","e4204338242bbe57472e7aeb9cb21a23","a4aaef45432f934b90d4db4632afdaad","adbc7a64eaa0ca8bb97ebcf6796c1c37","e6a83e62d12cf535261b02fd1626b206","64d6d7a2dd8e11edf37555a9462388ff","8b35f29ef8dc46c37198d36acb56007b","2395676abfa326c7974d60b949387bb7","6152ce142798941e99684e5d2846f126","6ed063a22d5403cffb90afb53949a783","84de140566d3fcb60554764bb13c9849","e4fcb63c7108732c010118148924f1ca","0a44ed4752f9fbee070fa1c74221171e","9b1ac6808c866baade30a1d990137d40","5286ad2badaaadf76f3ad65748ced761","fc406aa51250ead084dba7e6ed9e7117","cdffbcbb9eee783d654028e636da26e4","0067d6ecee987d1282b3c4d5f421b3c0","153490513a11bb1e0c8cf2f61b90f18f","83bb42f26e5bef7d1f678b741e88f6dc","4693620b7f2243cde7936f5b5da83bf1","c888c5d336b6da43dbdd23b1db969549"]}


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: 2023.08.03 11:30:07.321
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: 2023.08.03 11:30:07.321
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: 2023.08.03 11:30:07.321
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: 2023.08.03 11:30:07.321
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: 2023.08.03 11:30:07.321
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: 2023.08.03 11:30:07.321
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.322
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
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: 2023.08.03 11:30:07.323
fullcode:
60c4bd735db2478f9c5a1116.60c4bd735db2478f9c5a1117.60c4bd735db2478f9c5a11182021110407504420211121221444.60c4bd735db2478f9c5a111a2021110407504420211121221444

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


