From 761c0fd8ea4bac8c6f3ae3076a9ef2e8aba0689b Mon Sep 17 00:00:00 2001
From: jhz <jinghz@oceic.com>
Date: 星期四, 11 八月 2022 19:50:04 +0800
Subject: [PATCH] 测试列宽

---
 WebTM/views/生产管理/提料计划/JIT_LiftMaterPlanBillEdit.html |    8 +++-----
 WebTM/views/车间管理/工序流转卡/Sc_ProcessExchangeBill.html   |    6 ++----
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html"
index a6faca9..9231133 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html"
@@ -804,12 +804,10 @@
                                     option.cols[0][i + 1]["style"] = "font-size:" + data1.data[0].HFontSize + "px;";
                                 } else {
                                     option.cols[0][i + 1]["style"] = "font-size:100%";
-                                }
+                                } 
                                 //璁剧疆鍒楀
-                                if (data1.data[0].HColumnWidth != 0) {
-                                    option.cols[0][i + 1]["width"] = data1.data[0].HColumnWidth + "px;";
-                                } else {
-                                    option.cols[0][i + 1]["width"] = "";
+                                if (dataCols[3] > 0) {
+                                    option.cols[0][i + 1]["width"] = dataCols[3];
                                 }
                                 //鏄剧ず鍒�
                                 if (dataCols[1] == 0 && $.inArray(option.cols[0][i + 1]["title"], titleData) == -1) {
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html"
index 40b274f..2e498fc 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html"
@@ -1554,10 +1554,8 @@
                                     option.cols[0][i + 1]["style"] = "font-size:100%";
                                 }
                                 //璁剧疆鍒楀
-                                if (data1.data[0].HColumnWidth != 0) {
-                                    option.cols[0][i + 1]["width"] = data1.data[0].HColumnWidth + "px;";
-                                } else {
-                                    option.cols[0][i + 1]["width"] = "";
+                                if (dataCols[3] > 0) {
+                                    option.cols[0][i + 1]["width"] = dataCols[3];
                                 }
                                 //鏄剧ず鍒�
                                 if (dataCols[1] == 0 && $.inArray(option.cols[0][i + 1]["title"], titleData) == -1) {

--
Gitblit v1.9.1