From bcd583668d6dc95993075354a8e7b0935e92eefd Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 22 三月 2021 11:07:26 +0800 Subject: [PATCH] # --- src/main/webapp/views/custOrder/custOrder.html | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/views/custOrder/custOrder.html b/src/main/webapp/views/custOrder/custOrder.html index abb0e85..4b5d3ae 100644 --- a/src/main/webapp/views/custOrder/custOrder.html +++ b/src/main/webapp/views/custOrder/custOrder.html @@ -68,7 +68,7 @@ <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stockOut" style="font-size: 16px"><span style="display: none">{{d.number}}</span>鎷h揣鍗�</a> {{# } }} {{#if (d.status == 2 || d.status == 4){ }} - <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="print" style="font-size: 16px">鎵撳嵃</a> + <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="print" style="font-size: 16px"><span style="display: none">{{d.number}}</span>鎵撳嵃</a> {{# } }} </script> @@ -86,6 +86,15 @@ >{{d.status$}}</span> </script> +<script type="text/html" id="typeTpl"> + <span name="type" + {{# if( d.type === 1){ }} + class="layui-badge layui-badge-blue" ><span style="display: none">{{d.number}}</span>骞充粨</span> + {{# } else if(d.type === 2){ }} + class="layui-badge layui-badge-red" ><span style="display: none">{{d.number}}</span>绔嬪簱</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