Pu Zhibing
2024-11-15 dedfc9f1a3fb311874a360324447e717f3034c4a
ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/sysCouponActivity/tUser.js
@@ -20,7 +20,7 @@
 */
TUser.initColumn = function () {
    return [
        {field: 'selectItem', radio: true},
        {field: 'selectItem', radio: false},
        {title: '注册时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle',width:'10%',
            formatter: function (value, row) {
                var btn = "";
@@ -111,11 +111,11 @@
                return btn;
            }
        },
        {title: '历史消费', field: 'consumption', visible: true, align: 'center', valign: 'middle',
        {title: '历史消费', field: 'consumptionNum', visible: true, align: 'center', valign: 'middle',
            formatter: function (value, row) {
                var btn = "";
                if(row.consumption != '' && row.consumption != null) {
                    btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="¥' + row.consumption + '" onfocus="TUser.tooltip()">¥' + row.consumption + '</p>']
                if(row.consumptionNum != '' && row.consumptionNum != null) {
                    btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="¥' + row.consumptionNum + '" onfocus="TUser.tooltip()">¥' + row.consumptionNum + '</p>']
                }else {
                    btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="¥0" onfocus="TUser.tooltip()">¥0</p>']
                }
@@ -191,17 +191,7 @@
        Feng.info("请先选中表格中的某一记录!");
        return false;
    }
    var id = selected[0].id;
    var companyName = selected[0].companyName;
    if(companyName==undefined)companyName="";
    var nickName = selected[0].nickName;
    var phone = selected[0].phone;
    if ("" == id || null == id || undefined == id){
        Feng.info("请先选中表格中的某一记录!");
        return ;
    }
    var obj = $("#obj").val();
    window.parent.SysCouponActivityInfoDlg.selecUserOpt(id,companyName,nickName,phone);
    window.parent.SysCouponActivityInfoDlg.selecUserOpt(selected);
    TUser.close();
}
/**