From afa3bc1e2f39f66f59ee9b15d6af16593acdc9a4 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期六, 02 十二月 2023 10:38:27 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/priSales/priSales.html |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/priSales/priSales.html b/src/main/webapp/views/priSales/priSales.html
index 56a7f35..9e567d1 100644
--- a/src/main/webapp/views/priSales/priSales.html
+++ b/src/main/webapp/views/priSales/priSales.html
@@ -9,6 +9,8 @@
   <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
   <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all">
   <link rel="stylesheet" href="../../static/css/cool.css" media="all">
+  <link rel="stylesheet" href="../../static/layui/lay/modules/formDesigner/coolForm.css" />
+  <link rel="stylesheet" href="../../static/css/tree.css" media="all">
   <style>
     .nav-box {
       position: absolute;
@@ -98,9 +100,20 @@
 </script>
 
 <script type="text/html" id="operate">
-  <a class="layui-btn layui-btn-xs btn-edit" lay-event="priOnline">浜у搧璐圭敤鏄庣粏</a>
-  <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
+  {{# if (d.settle == 0) { }}
+  <a class="layui-btn layui-btn-xs btn-edit" lay-event="approval">鎻愪氦</a>
+  {{# } }}
+  {{# if (d.settle == 1) { }}
+  <a class="layui-btn layui-btn-xs btn-edit" lay-event="approval">瀹℃壒</a>
+  {{# } }}
+  {{# if (d.settle == 2) { }}
+  <a class="layui-btn layui-btn-xs btn-edit" lay-event="approval">纭</a>
+  {{# } }}
+  {{# if (d.settle == 0 || d.settle == 1) { }}
   <a class="layui-btn layui-btn-danger layui-btn-xs btn-edit" lay-event="del">鍒犻櫎</a>
+  <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
+  {{# } }}
+  <a class="layui-btn layui-btn-xs btn-edit" lay-event="priOnline">浜у搧璐圭敤鏄庣粏</a>
 </script>
 
 <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>

--
Gitblit v1.9.1