From d41e8cb3cce459dc77651682f069b9465b0dda16 Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期五, 21 一月 2022 11:13:53 +0800
Subject: [PATCH] 雅琪诺报工台停工单、完工单、开工单列表显示修改

---
 WebTM/views/生产管理/报工台工序/开工/Sc_MESBeginStepWorkBillList.html |   68 +++++++++++++++++++++++++++++++++-
 1 files changed, 66 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\274\200\345\267\245/Sc_MESBeginStepWorkBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\274\200\345\267\245/Sc_MESBeginStepWorkBillList.html"
index 1de5b21..04c53cf 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\274\200\345\267\245/Sc_MESBeginStepWorkBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\345\274\200\345\267\245/Sc_MESBeginStepWorkBillList.html"
@@ -259,8 +259,72 @@
                         , { field: 'hmainid', title: '鍗曟嵁ID', hide: true }
                         , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 }
-                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160 }
-                        , { field: 'HBillStatus', title: '鍗曟嵁鐘舵��', width: 160 }
+                        , {
+                            field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, templet: function (d) {
+                                if (d.鍗曟嵁绫诲瀷 == "3787") {
+                                    return "寮�鐝崟";
+                                }
+                            }
+                        }
+                        , {
+                            field: 'HBillStatus', title: '鍗曟嵁鐘舵��', width: 160, templet: function (d) {
+                                switch (d.HBillStatus) {
+                                    case 0:
+                                        return "鍒涘缓"
+                                        break;
+                                    case 1:
+                                        return "鏈"
+                                        break;
+                                    case 2:
+                                        return "宸插"
+                                        break;
+                                    case 3:
+                                        return "鍏抽棴"
+                                        break;
+                                    case 4:
+                                        return "浣滃簾"
+                                        break;
+                                    case 5:
+                                        return "瀹℃牳閫�鍥�"
+                                        break;
+                                    case 6:
+                                        return "瀹℃牳涓�"
+                                        break;
+                                    case 7:
+                                        return "宸查槄"
+                                        break;
+                                    case 8:
+                                        return "宸插洖澶�"
+                                        break;
+                                    case 9:
+                                        return "缁撴"
+                                        break;
+                                    case 10:
+                                        return "楠岃瘉"
+                                        break;
+                                    case 11:
+                                        return "涓嬭揪"
+                                        break;
+                                    case 12:
+                                        return "寮�宸�"
+                                        break;
+                                    case 13:
+                                        return "鐢宠瀹℃壒"
+                                        break;
+                                    case 15:
+                                        return "鐢宠妫�楠�"
+                                        break;
+                                    case 16:
+                                        return "鍒ゅ畾鍚堟牸"
+                                        break;
+                                    case 17:
+                                        return "鍒ゅ畾涓嶅悎鏍�"
+                                        break;
+                                    default:
+                                        return d.HBillStatus
+                                }
+                            }
+                        }
                         , { field: '浜у搧浠g爜', title: '浜у搧浠g爜', width: 160 }
                         , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', width: 160 }
                         , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 160 }

--
Gitblit v1.9.1