From 4ad58b3dbd72e7ca266318f24a203210da5b24d7 Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期二, 14 十一月 2023 15:36:39 +0800
Subject: [PATCH] 优化

---
 guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/bulletBox/productListing.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/bulletBox/productListing.js b/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/bulletBox/productListing.js
index bf447f7..1d62bc1 100644
--- a/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/bulletBox/productListing.js
+++ b/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/bulletBox/productListing.js
@@ -31,7 +31,23 @@
             {field: 'id', hide: true, title: '涓婚敭id'},
             {field: 'materialCode', sort: true, title: '浜у搧缂栧彿'},
             {field: 'materialName', sort: true, title: '浜у搧鍚嶇О'},
-            {field: 'typeL', sort: true, title: '绫诲瀷'},
+            {
+                field: 'typeL', align: "center", title: '绫诲瀷', templet: function (d) {
+                    console.log(d.typeL)
+                    switch(d.typeL){
+                        case "PRODUCE" :
+                            return "浜у搧";
+                            break;
+                        case "SEMIFINISHEDPRODUCTS" :
+                            return "鍗婃垚鍝�";
+                            break;
+                        case "COMPONENTSANDPARTS" :
+                            return "闆堕儴浠�";
+                            break;
+                        default :
+                    }
+                }
+            },
         ]];
     };
 

--
Gitblit v1.9.3