From dcd7fcf596005d0c7cf66558bee97edf6c3b03a0 Mon Sep 17 00:00:00 2001 From: wang..123 <brook_w@163.com> Date: 星期四, 10 三月 2022 18:12:09 +0800 Subject: [PATCH] #物料状态维护 --- src/main/webapp/views/locNormal/locNormal.html | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/locNormal/locNormal.html b/src/main/webapp/views/locNormal/locNormal.html index 02f4dfd..9e8002f 100644 --- a/src/main/webapp/views/locNormal/locNormal.html +++ b/src/main/webapp/views/locNormal/locNormal.html @@ -122,6 +122,7 @@ </button> <button id="reset" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="reset">閲嶇疆 </button> + <button id="updateMatStatus" class="layui-btn layui-btn-normal" lay-submit onclick="showMatStatus1()">鐗╂枡鐘舵�佺淮鎶�</button> </div> </div> @@ -178,6 +179,17 @@ <button class="layui-btn layui-btn-xs layui-btn-danger btn-remove" lay-event="removeLocNormal">绉婚櫎</button> </script> + <script type="text/html" id="matStatus"> + {{# if(d.matStatus === '1'){ }} + <span style="color: green">鑹搧</span> + {{# } else if(d.matStatus === '2'){ }} + <span style="color: red">涓嶈壇鍝�</span> + {{# } else if(d.matStatus === '3'){ }} + <span style="color: blue">鐭</span> + {{# } else { }} + {{# } }} + </script> + </div> <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> -- Gitblit v1.9.1