From e7227b130e91c65679aee6ebc55f996e0017b892 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期五, 24 五月 2024 09:06:19 +0800
Subject: [PATCH] 司机,车辆,分公司,加盟商新增接送机,发票,系统配置

---
 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