From 2ef92e67e6d0ea80cf893b8d4938f27549192513 Mon Sep 17 00:00:00 2001
From: 18516761980 <56479841@qq.com>
Date: 星期二, 26 七月 2022 16:11:59 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/salesOrder/salsesOrder.js |   40 +++++++++++++++++++++++++++++++++++-----
 1 files changed, 35 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/static/js/salesOrder/salsesOrder.js b/src/main/webapp/static/js/salesOrder/salsesOrder.js
index 2508d00..3618842 100644
--- a/src/main/webapp/static/js/salesOrder/salsesOrder.js
+++ b/src/main/webapp/static/js/salesOrder/salsesOrder.js
@@ -17,10 +17,16 @@
         , {field: 'inQty', align: 'center', title: '鍏ュ簱鏁伴噺', width: 110}
         , {field: 'disQty', align: 'center', title: '閫氱煡鍗�', width: 110}
         , {field: 'outQty', align: 'center', title: '鍑哄簱鏁伴噺', width: 110}
-        , {field: 'invoiceQty', align: 'center', title: '寮�绁ㄦ暟閲�'}
-        , {field: 'unInvoiceQty', align: 'center', title: '鏈紑绁ㄦ暟閲�'}
-        , {field: 'deliveryDate', align: 'center', title: '浜よ揣鏃ユ湡'}
-        , {field: 'personName', align: 'center', title: '涓氬姟鍛�'}
+        , {field: 'invoiceQty', align: 'center', title: '寮�绁ㄦ暟閲�', width: 110}
+        , {field: 'unInvoiceQty', align: 'center', title: '鏈紑绁ㄦ暟閲�', width: 110}
+        , {field: 'deliveryDate', align: 'center', title: '浜よ揣鏃ユ湡', width: 110}
+        , {field: 'personName', align: 'center', title: '涓氬姟鍛�', width: 110}
+        , {field: 'outDate', align: 'center', title: '鍑哄簱鏃ユ湡', width: 110}
+        , {field: 'outPrice', align: 'center', title: '鍑哄簱鍗曚环', width: 110}
+        , {field: 'outAmount', align: 'center', title: '鍑哄簱閲戦', width: 110}
+        , {field: 'invoiceDate', align: 'center', title: '寮�绁ㄦ棩鏈�', width: 110}
+        , {field: 'invoiceAmount', align: 'center', title: '寮�绁ㄩ噾棰�', width: 110}
+        , {field: 'custName', align: 'center', title: '瀹㈡埛鍚嶇О', width: 110}
     );
     return cols;
 }
@@ -88,10 +94,26 @@
 
     // 鏃堕棿閫夋嫨鍣�
     layDate.render({
-        elem: '.layui-laydate-range'
+        elem: '#orderTimeRange'
         ,style: 'width: 150px'
         , range: true
     });
+    layDate.render({
+        elem: '#orderTimeDeliveryRange'
+        ,style: 'width: 150px'
+        , range: true
+    });
+    layDate.render({
+        elem: '#orderTimeOutRange'
+        ,style: 'width: 150px'
+        , range: true
+    });
+
+    // layDate.render({
+    //     elem: '.layui-laydate-range'
+    //     ,style: 'width: 150px'
+    //     , range: true
+    // });
 });
 
 /* 琛ㄦ牸鏁版嵁閲嶈浇 */
@@ -103,6 +125,14 @@
             searchData.startTime = this.value.substring(0, 10);
             searchData.endTime = this.value.substring(13, this.value.length);
         }
+        if (this.name == 'orderTimeDelivery') {
+            searchData.startTimeDelivery = this.value.substring(0, 10);
+            searchData.endTimeDelivery = this.value.substring(13, this.value.length);
+        }
+        if (this.name == 'orderTimeOut') {
+            searchData.startTimeOut = this.value.substring(0, 10);
+            searchData.endTimeOut = this.value.substring(13, this.value.length);
+        }
     });
     (child ? parent.tableIns : tableIns).reload({
         where: searchData,

--
Gitblit v1.9.1