From 8777854ea96323469513c99a0b62d4fa45043464 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期四, 11 十一月 2021 13:38:59 +0800
Subject: [PATCH] nothing
---
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html | 73 +++++++++++++++++++-----------------
1 files changed, 38 insertions(+), 35 deletions(-)
diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
index 3911995..83d8f45 100644
--- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
+++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
@@ -68,8 +68,8 @@
<label class="layui-form-label">鍏抽棴鐘舵��</label>
<div class="layui-input-block">
<select id="HClStatus" name="HClStatus" lay-filter="">
- <option value="">鍏ㄩ儴</option>
- <option value="鏈叧闂�" selected="">鏈叧闂�</option>
+ <option value="" selected>鍏ㄩ儴</option>
+ <option value="鏈叧闂�">鏈叧闂�</option>
<option value="宸插叧闂�">宸插叧闂�</option>
</select>
</div>
@@ -90,6 +90,7 @@
<label class="layui-form-label">浜よ揣鏃堕棿</label>
<div class="layui-input-block">
<select id="Time" name="Time" lay-filter="">
+ <option value="0" selected>鍏ㄩ儴</option>
<option value="1">涓�鍛ㄥ唴浜よ揣</option>
<option value="2">浜屽懆鍐呬氦璐�</option>
<option value="3">涓�鏈堝唴浜よ揣</option>
@@ -97,7 +98,7 @@
<option value="5">涓夋湀鍐呬氦璐�</option>
<option value="6">鍗婂勾鍐呬氦璐�</option>
<option value="7">涓�骞村唴浜よ揣</option>
- <option value="8" selected="">闀挎湡浜よ揣</option>
+ <option value="8">闀挎湡浜よ揣</option>
</select>
</div>
</div>
@@ -105,8 +106,7 @@
<label class="layui-form-label">閲囪喘缁勭粐</label>
<div class="layui-input-block">
<select id="HPURCHASEORGID" name="HPURCHASEORGID" lay-filter="">
- <option value="">缁勭粐1</option>
- <option value="">缁勭粐2</option>
+ <option value="">瀹夌憺</option>
</select>
</div>
</div>
@@ -114,9 +114,9 @@
<label class="layui-form-label">鏄惁宸蹭笅鎺ㄩ�佽揣鍗�</label>
<div class="layui-input-block">
<select id="HISGenerate" name="HISGenerate" lay-filter="">
- <option value="鍏ㄩ儴">鍏ㄩ儴</option>
+ <option value="鍏ㄩ儴" selected>鍏ㄩ儴</option>
<option value="鏄�">鏄�</option>
- <option value="鍚�" selected="">鍚�</option>
+ <option value="鍚�">鍚�</option>
</select>
</div>
</div>
@@ -242,9 +242,10 @@
, { field: 'hsubid', title: 'hsubid', sort: true, fixed: true, hide: true }
, { field: '鐘舵��', title: '鐘舵��', sort: true, fixed: true }
, { field: '鍙嶉鐘舵��', title: '鍙嶉鐘舵��', width: 100, fixed: true }
+ , { field: '浼樺厛绾�', title: '浼樺厛绾�', width: 100, fixed: true }
, { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 180, sort: true, fixed: 'left' }
, { field: '鏃ユ湡', title: '鏃ユ湡', width: 180, sort: true, fixed: 'left' }
- , { field: 'HSupID', title: 'HSupID', width: 180, hide: true}
+ , { field: 'HSupID', title: 'HSupID', width: 180, hide: true }
, { field: '渚涘簲鍟�', title: '渚涘簲鍟�', width: 180, sort: true, fixed: 'left' }
, { field: '璁″垝璺熻釜鍗曞彿', title: '璁″垝璺熻釜鍗曞彿', sort: true, hide: true }
, { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 180, sort: true }
@@ -608,33 +609,35 @@
var Time = $("#Time").val();
- var dd = new Date();
- var dt;
- switch (Time) {
- case 1: dd = new Date(dd.setDate(dd.getDate() + 7));
- case 2: dd = new Date(dd.setDate(dd.getDate() + 14));
- case 3: dd = new Date(dd.setMonth(dd.getMonth() + 1));
- case 4: dd = new Date(dd.setMonth(dd.getMonth() + 2));
- case 5: dd = new Date(dd.setMonth(dd.getMonth() + 3));
- case 6: dd = new Date(dd.setMonth(dd.getMonth() + 6));
- case 7: dd = new Date(dd.setMonth(dd.getMonth() + 12));
- default: dd = new Date(dd.setDate(dd.getDate()));
- }
- dt = dd.getFullYear().toString();
- if (dd.getMonth() + 1 < 10) {
- dt = dt + "-0" + (dd.getMonth() + 1).toString();
- }
- else {
- dt = dt + "-0" + (dd.getMonth() + 1).toString();
- }
- if (dd.getDate() < 10) {
- dt = dt + "-0" + dd.getDate().toString();
- }
- else {
- dt = dt + "-" + dd.getDate().toString();
- }
- if (Time != 8) {
- sqlWhere += " and 浜よ揣鏃ユ湡 <= ^^" + dt + "^^";
+ if (Time > 0) {
+ var dd = new Date();
+ var dt;
+ switch (Time) {
+ case 1: dd = new Date(dd.setDate(dd.getDate() + 7));
+ case 2: dd = new Date(dd.setDate(dd.getDate() + 14));
+ case 3: dd = new Date(dd.setMonth(dd.getMonth() + 1));
+ case 4: dd = new Date(dd.setMonth(dd.getMonth() + 2));
+ case 5: dd = new Date(dd.setMonth(dd.getMonth() + 3));
+ case 6: dd = new Date(dd.setMonth(dd.getMonth() + 6));
+ case 7: dd = new Date(dd.setMonth(dd.getMonth() + 12));
+ default: dd = new Date(dd.setDate(dd.getDate()));
+ }
+ dt = dd.getFullYear().toString();
+ if (dd.getMonth() + 1 < 10) {
+ dt = dt + "-0" + (dd.getMonth() + 1).toString();
+ }
+ else {
+ dt = dt + "-0" + (dd.getMonth() + 1).toString();
+ }
+ if (dd.getDate() < 10) {
+ dt = dt + "-0" + dd.getDate().toString();
+ }
+ else {
+ dt = dt + "-" + dd.getDate().toString();
+ }
+ if (Time != 8) {
+ sqlWhere += " and 浜よ揣鏃ユ湡 <= ^^" + dt + "^^";
+ }
}
sql = sqlWhere;
//浠庣涓�椤靛紑濮�
--
Gitblit v1.9.1