From 73b750200f25df08aa64124da49e7461f9de6653 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期五, 13 十二月 2024 15:09:49 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/NTTravel --- ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tInvoice/tInvoice.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tInvoice/tInvoice.js b/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tInvoice/tInvoice.js index 269c576..bca7775 100644 --- a/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tInvoice/tInvoice.js +++ b/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tInvoice/tInvoice.js @@ -25,6 +25,19 @@ return btn; } }, + {title: '发票类型', field: 'invoiceType', visible: true, align: 'center', valign: 'middle', + formatter: function (value, row) { + var btn = ""; + if(row.invoiceType != '' && row.invoiceType != null) { + if (row.invoiceType == 1){ + btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="个人发票" onfocus="TUser.tooltip()">普票</p>'] + } else if (row.invoiceType == 2){ + btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="单位发票" onfocus="TUser.tooltip()">专票</p>'] + } + } + return btn; + } + }, {title: '抬头类型', field: 'type', visible: true, align: 'center', valign: 'middle', formatter: function (value, row) { var btn = ""; -- Gitblit v1.7.1