中扬CRM客户关系管理系统
#
luxiaotao1123
2022-09-13 c4a80fcaa18382301638269d664dbb856da64949
src/main/webapp/static/js/cstmr/cstmr.js
@@ -31,7 +31,7 @@
            {type: 'checkbox'}
            // ,{field: 'id', align: 'center',title: 'ID'}
            // ,{field: 'hostId$', align: 'center',title: '所属商户'}
            ,{field: 'name', align: 'left',title: '客户名称'}
            ,{field: 'name', align: 'left',title: '客户名称', style: 'color: #1890ff;cursor:pointer', event: 'more'}
            ,{field: 'uuid', align: 'left',title: '客户代号'}
            ,{field: 'addr', align: 'left',title: '详细地址', templet:function(d){return emptyShow(d.addr)}}
            ,{field: 'tel', align: 'left',title: '电话', templet:function(d){return emptyShow(d.tel)}}
@@ -118,6 +118,18 @@
    table.on('tool(cstmr)', function(obj){
        var data = obj.data;
        switch (obj.event) {
            case 'more':
                top.cstmrByMore = data.id;
                admin.popupRight({
                    type: 1,
                    window: "top",
                    area: "1250px",
                    url: "cstmr_more.html",
                    end: function () {
                        $(".layui-laypage-btn")[0].click();
                    }
                })
                break;
            case 'edit':
                showEditModel(data);
                break;