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/pages/modular/pm/salesOrder/salesOrder.html | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/guns-vip-main/src/main/webapp/pages/modular/pm/salesOrder/salesOrder.html b/guns-vip-main/src/main/webapp/pages/modular/pm/salesOrder/salesOrder.html index 2d13773..093fef1 100644 --- a/guns-vip-main/src/main/webapp/pages/modular/pm/salesOrder/salesOrder.html +++ b/guns-vip-main/src/main/webapp/pages/modular/pm/salesOrder/salesOrder.html @@ -84,8 +84,21 @@ </div> </div> +<!--<script type="text/html" id="tableBar">--> +<!-- <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">淇敼</a>--> +<!-- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">鍒犻櫎</a>--> +<!--</script>--> <script type="text/html" id="tableBar"> - <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">淇敼</a> - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">鍒犻櫎</a> + {{# if(d.state == 1){ }} + <button class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">淇敼</button> + <button class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">鍒犻櫎</button> + {{# } else { }} + <button class="layui-btn layui-btn-primary layui-btn-xs" disabled="true" lay-event="edit">淇敼</button> + <button class="layui-btn layui-btn-danger layui-btn-xs" disabled="true" lay-event="delete">鍒犻櫎</button> + {{# } }} +</script> + +<script type="text/html" id="scoreTpl"> + <div lay-event="clickScore" style="color: #01AAED;">{{ d.salesOrderCode }}</div> </script> @} \ No newline at end of file -- Gitblit v1.9.3