From e0865f9c091fcbc94742d2250a98c0c375e6067f Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 12 三月 2021 09:55:51 +0800 Subject: [PATCH] # --- src/main/webapp/views/custOrder/custOrder.html | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/custOrder/custOrder.html b/src/main/webapp/views/custOrder/custOrder.html index e92177a..08e3988 100644 --- a/src/main/webapp/views/custOrder/custOrder.html +++ b/src/main/webapp/views/custOrder/custOrder.html @@ -63,6 +63,18 @@ {{# } }} </script> +<script type="text/html" id="statusTpl"> + <span name="status" + {{# if( d.status === 1){ }} + class="layui-badge layui-badge-blue" + {{# } else if(d.status === 2){ }} + class="layui-badge layui-badge-green" + {{# } else if(d.status === 3){ }} + class="layui-badge layui-badge-red" + {{# } }} + >{{d.status$}}</span> +</script> + <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="../../static/js/jquery/jQuery.print.js"></script> <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script> -- Gitblit v1.9.1