From 1c4e40639d73faae3ba87156e0e4478c50b8ee33 Mon Sep 17 00:00:00 2001
From: Administrator <hbal>
Date: 星期五, 10 三月 2023 17:18:07 +0800
Subject: [PATCH] 车辆任务增加备注和删除备注

---
 WebContent/basic/vehicleBindMaterials.xhtml |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/WebContent/basic/vehicleBindMaterials.xhtml b/WebContent/basic/vehicleBindMaterials.xhtml
index 55501d0..70898e1 100644
--- a/WebContent/basic/vehicleBindMaterials.xhtml
+++ b/WebContent/basic/vehicleBindMaterials.xhtml
@@ -69,10 +69,13 @@
                     鏂拌繍杈撳叕鍙�
                 </button>
             </div> -->
-            <div class="col-xs-11">
+            <div class="col-xs-10">
                 <h3 style="margin: 0"><span data-bind="text: decodeURI('#{param.numberplates}')"></span>鐨勫凡閰嶈溅鐗╄祫锛屾�绘暟閲忥細<span data-bind="text: list().length"></span>锛屾�绘瘺閲嶏細<span data-bind="text: totalMZ"></span>锛屾�诲噣閲嶏細<span data-bind="text: totalJZ"></span>锛岃浇閲嶏細<span data-bind="text: vehicleLoadweight"></span>锛岃秴閲嶏細<span data-bind="text: (totalMZ() - vehicleLoadweight()) > 0 ? (totalMZ() - vehicleLoadweight()) : 0"></span>銆�</h3>
             </div>
-            <div class="col-xs-1" style="text-align: right;">
+            <div class="col-xs-2" style="text-align: right;">
+                <button class="btn btn-sm btn-info" type="button" id="remark" data-bind="click:addRemark">
+                    澶囨敞
+                </button>
                 <button class="btn btn-sm btn-info" type="button" id="printBtn">
                     <i class="ace-icon fa fa-print bigger-110"></i>
                     鎵撳嵃
@@ -135,6 +138,27 @@
                     </tbody>
                 </table>
             </div>
+            <div class="col-xs-12" style="margin-top: 2px;">
+               澶囨敞锛� <div data-bind="text: remark"></div>
+            </div>
+        </div>
+
+        <div class="modal fade" id="modal">
+            <div class="modal-dialog">
+                <div class="modal-content">
+                    <div class="modal-header">
+                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
+                        <h4 class="modal-title">娣诲姞澶囨敞</h4>
+                    </div>
+                    <div class="modal-body" style="overflow: hidden">
+                       澶囨敞锛�<textarea style="width:100%; resize:none;" rows="8" data-bind="value: remark"></textarea>
+                    </div>
+                    <div class="modal-footer">
+                        <button type="button" class="btn btn-default btn-sm" ddata-dismiss="modal" id="clearSortBtn">鍙栨秷</button>
+                        <button type="button" class="btn btn-primary btn-sm" data-dismiss="modal" id="confirmBtn" >纭畾</button>
+                    </div>
+                </div>
+            </div>
         </div>
         <div id="dialog-confirm" class="hide">
             <div class="alert alert-info bigger-110" id="modalContent">
@@ -142,7 +166,7 @@
         </div>
     </ui:define>
     <ui:define name="myscript">
-        <script src="js/vehicleBindMaterials.js?v=#{sessionScope.login_page_vesion}"></script>
+        <script src="js/vehicleBindMaterials.js?v=11222222321"></script>
     </ui:define>
 </ui:composition>
 </html>
\ No newline at end of file

--
Gitblit v1.9.3