// tradeConfirmBookListByClient.js var valuedate = page.valuedate; const colModelGrid = (new function () { // 定义列模型 this.colModels = [ { name: '', label: '操作', width: 450, align: 'left', formatter: showToolName }, { name: 'ClientId', hidden: true, optionHide: true }, { name:"id", label: 'id', width: 100, hidden: true, optionHide: true, key: true, },{ label: '合约编号', name: 'ContractCode', width: 240, }, { label: '客户名称', name: 'ClientName', width: 150 }, { label: '交易日期', name: 'TradeDate', width: 100, align: 'center' ,formatter: 'date' }, { label: '多空头', name: 'PositionType', width: 80, align: 'center', formatter: function (cellValue, options, rowObject) { return cellValue == 1 ? "多头" : "空头"; } }, { label: '用印状态', name: 'StampStatus', width: 80, align: 'center' }, // 根据实际需要调整宽度和对齐 { label: '邮件发送结果', name: 'EmailResult', width: 100, align: 'center', formatter: function (cellValue, options, rowObject) { var html = ""; html += "