lvhao hai 5 horas
pai
achega
83a206a984

+ 2 - 2
core/CoreApp/controllers/Workshopshow.php

@@ -110,7 +110,7 @@ class Workshopshow extends Start_Controller
     }
     //已超时
     private function _tjycs(){
-        $month_one = date("Y-m-d", strtotime("-1 month"));
+        $month_one = date("Y-m-d", strtotime("-14 days"));;
         $this->db->where("time >",strtotime($month_one));
         $this->db->where("type",1);
         $this->db->where("ycrk_type",0);
@@ -122,7 +122,7 @@ class Workshopshow extends Start_Controller
     }
     //下道工序及未及时入库
     private function _xdgxwjs(){
-        $month_one = date("Y-m-d", strtotime("-1 month"));
+        $month_one = date("Y-m-d", strtotime("-14 days"));;
         $this->db->where("time >",strtotime($month_one));
         $this->db->where_in('extra_status',[1,2]);
         $this->db->where("ycrk_type",0);

+ 1 - 1
template/erp/workshopshow_xdgxwjsrkshow.html

@@ -5,7 +5,7 @@
 <ul class="search" >
 
 <li>
-    <input id="timetk"  value="{date('Y-m-d', strtotime('-1 month'))} 00:00" name="timetkk" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
+    <input id="timetk"  value="{date('Y-m-d', strtotime('-14 days'))} 00:00" name="timetkk" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
         至&nbsp;&nbsp;&nbsp;&nbsp; 
     <input id="timetj" value="{date('Y-m-d H:i',time())}" name="timetjj" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
     <li><span>确 定</span></li>

+ 1 - 1
template/erp/workshopshow_ycsshow.html

@@ -5,7 +5,7 @@
 <ul class="search" >
 
 <li>
-    <input id="timetk"  value="{date('Y-m-d', strtotime('-1 month'))} 00:00" name="timetkk" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
+    <input id="timetk"  value="{date('Y-m-d', strtotime('-14 days'))} 00:00" name="timetkk" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
         至&nbsp;&nbsp;&nbsp;&nbsp; 
     <input id="timetj" value="{date('Y-m-d H:i',time())}" name="timetjj" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
     <li><span>确 定</span></li>