From 92e2c34a833c4fd3d446c788a711f177f1c29e2a Mon Sep 17 00:00:00 2001 From: DESKTOP-9BNTV8O <DESKTOP-9BNTV8O@163.com> Date: 星期六, 14 十二月 2024 13:41:11 +0800 Subject: [PATCH] 修改问题 --- HTML/views/StatisticalReport/BoxInfor.html | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/HTML/views/StatisticalReport/BoxInfor.html b/HTML/views/StatisticalReport/BoxInfor.html index b50c733..49f2323 100644 --- a/HTML/views/StatisticalReport/BoxInfor.html +++ b/HTML/views/StatisticalReport/BoxInfor.html @@ -219,6 +219,19 @@ <p>鏀剧疆鏈�</p> {{# } }} </script> + <script type="text/html" id="TempletStatus"> + {{# if(d.Status == '0') { }} + <p>寰呭垎閰�</p> + {{# } else if(d.Status == '1'){ }} + <p>閮ㄥ垎鍒嗛厤</p> + {{# } else if(d.Status == '2'){ }} + <p>宸插垎閰�</p> + {{# } else if(d.Status == '3') { }} + <p>鐩樼偣閿佸畾</p> + {{# } else if(d.Status == '4') { }} + <p>绉诲簱閿佸畾</p> + {{# } }} + </script> <script type="text/html" id="toolbarDemo"> <!-- <button class="layui-btn layuiadmin-btn-list layui-btn-sm addClass" lay-event="add"> @@ -368,6 +381,7 @@ {field: 'LotNo', title: '鎵规鍙�', align: 'center'}, {field: 'LotText', title: '鎵规鎻忚堪', align: 'center'}, //{field: 'SupplierLot', title: '渚涜揣鎵规', align: 'center'}, + {field: 'Status', title: '鍒嗛厤鐘舵��', align: 'center', templet: '#TempletStatus'}, {field: 'Qty', title: '鏁伴噺', align: 'center'}, {field: 'LockQty', title: '閿佸畾鏁伴噺', align: 'center',}, {field: 'FrozenQty', title: '鍐荤粨鏁伴噺', align: 'center'}, -- Gitblit v1.8.0