From 96785ebcfe1bc9210f3d9d4056f4ec29fb60d810 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期四, 02 四月 2026 10:58:22 +0800
Subject: [PATCH] 1
---
WebTM/views/模治具管理/器具报表/Sc_MouldRepairWorkBillReport.html | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html"
index 04f1855..0b91a70 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html"
@@ -496,19 +496,11 @@
set_InitGrid();
//鍔犺浇鏁版嵁鍒扮綉鏍�
get_FastQuery();
- //DisPlay_HideColumn();
set_Graphics();
}
//鍒濆鍖栬〃鏍�
- function set_InitGrid() {
- //option = {
- // elem: '#mainTable'
- // , toolbar: '#toolbarDemo'
- // , cellMinWidth: 120
- // , limit: Number.MAX_VALUE // 鏁版嵁琛ㄦ牸榛樿鍏ㄩ儴鏄剧ず
- // , height: 'full-70'
- //};
+ function set_InitGrid() {
option = {
elem: '#mainTable'
, toolbar: '#toolbarDemo'
@@ -554,7 +546,7 @@
}
col.push({ type: 'checkbox', fixed: 'left', totalRowText: '姹囨��' });
//鍒ゆ柇鏄惁鏄函鑻辨枃
- var patrn = new RegExp("[\u4E00-\u9FA5]+");
+ var patrn = new RegExp("[\u4E00-\u9FA50-9]+");
for (var i = 0; i < data.length; i++) {
if (!patrn.test(data[i].name)) {
col.push({ field: data[i].name, title: data[i].name, hide: true }); //闅愯棌鍒�
@@ -569,7 +561,7 @@
case 'Int64':
case 'double':
case 'Decimal':
- col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true });
+ col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true });
break;
default:
col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, totalRow: true , width: 120 });
--
Gitblit v1.9.1