Browse Source

合并完成

任翠亮 5 years ago
parent
commit
0fb45700bf

+ 260 - 252
.idea/workspace.xml

@@ -5,14 +5,10 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="11c83ff8-0ec9-44da-868f-563af5d42189" name="Default" comment="">
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/meib/meib/static/js/export/exports.js" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/meib/meib/static/js/export/FileSaver.js" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/meib/meib/static/js/export/demo.page.js" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/meib/meib/static/js/export/excel-gen.js" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/meib/meib/static/js/export/jquery-1.8.2.js" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/meib/meib/static/js/export/jszip.min.js" afterPath="" />
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/meib/meib/static/js/print/jquery.jqprint-0.3.js" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/logs/hwj.log" afterPath="$PROJECT_DIR$/meib/logs/hwj.log" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/views.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/views.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/order.html" afterPath="$PROJECT_DIR$/meib/meib/templates/order.html" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/text.html" afterPath="$PROJECT_DIR$/meib/meib/templates/text.html" />
     </list>
@@ -27,7 +23,7 @@
     <SUITE FILE_PATH="coverage/meibang$views.coverage" NAME="views Coverage Results" MODIFIED="1582180589736" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/apps/erp" />
     <SUITE FILE_PATH="coverage/meibang$lianxi.coverage" NAME="lianxi Coverage Results" MODIFIED="1582770057420" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/apps/erp" />
     <SUITE FILE_PATH="coverage/meibang$date_time.coverage" NAME="date_time Coverage Results" MODIFIED="1578910060603" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/utils" />
-    <SUITE FILE_PATH="coverage/meibang$manage.coverage" NAME="manage Coverage Results" MODIFIED="1583505377840" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib" />
+    <SUITE FILE_PATH="coverage/meibang$manage.coverage" NAME="manage Coverage Results" MODIFIED="1583575081063" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib" />
     <SUITE FILE_PATH="coverage/meibang$lianxi__1_.coverage" NAME="lianxi (1) Coverage Results" MODIFIED="1583498862279" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/settings" />
   </component>
   <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
@@ -51,8 +47,8 @@
       <file leaf-file-name="views.py" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="77">
-              <caret line="1822" column="17" lean-forward="true" selection-start-line="1822" selection-start-column="17" selection-end-line="1822" selection-end-column="17" />
+            <state relative-caret-position="244">
+              <caret line="1798" column="99" lean-forward="false" selection-start-line="1798" selection-start-column="99" selection-end-line="1798" selection-end-column="99" />
               <folding>
                 <element signature="e#0#35#0" expanded="true" />
                 <element signature="e#619#25037#0" expanded="false" />
@@ -86,124 +82,126 @@
                 <element signature="e#77394#79374#0" expanded="false" />
                 <element signature="e#77427#79374#0" expanded="false" />
                 <element signature="e#79453#79489#0" expanded="false" />
-                <element signature="e#79558#85163#0" expanded="false" />
-                <element signature="e#80648#80909#0" expanded="false" />
-                <element signature="e#80950#81184#0" expanded="false" />
-                <element signature="e#84527#84986#0" expanded="false" />
-                <element signature="e#85027#85121#0" expanded="false" />
-                <element signature="e#85201#85974#0" expanded="false" />
-                <element signature="e#86155#88900#0" expanded="false" />
-                <element signature="e#89012#89518#0" expanded="false" />
-                <element signature="e#90749#91883#0" expanded="false" />
-                <element signature="e#91914#92179#0" expanded="false" />
-                <element signature="e#92261#93059#0" expanded="false" />
-                <element signature="e#93131#93433#0" expanded="false" />
-                <marker date="1583499344203" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583499344203" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
-                <marker date="1583499344203" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583499344203" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
-                <marker date="1583499344203" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583499344203" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583499344203" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
-                <marker date="1583499344203" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583499344203" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583499344203" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
-                <marker date="1583499344203" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
-                <marker date="1583499344203" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583499344203" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="21252:21302" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583499344203" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="24398:24447" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="24507:24556" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="24616:24667" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583499344203" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
-                <marker date="1583499344203" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583499344203" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583499344203" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583499344203" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
-                <marker date="1583499344203" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583499344203" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583499344203" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
-                <marker date="1583499344203" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
-                <marker date="1583499344203" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583499344203" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="45566:45616" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
-                <marker date="1583499344203" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583499344203" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583499344203" expanded="true" signature="48522:48571" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="48631:48680" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="48740:48791" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583499344203" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
-                <marker date="1583499344203" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
-                <marker date="1583499344203" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
-                <marker date="1583499344203" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
-                <marker date="1583499344203" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
-                <marker date="1583499344203" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
-                <marker date="1583499344203" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583499344203" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
-                <marker date="1583499344203" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
-                <marker date="1583499344203" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
-                <marker date="1583499344203" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
-                <marker date="1583499344203" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
-                <marker date="1583499344203" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
-                <marker date="1583499344203" expanded="true" signature="67023:67070" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="67144:67192" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="67268:67301" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="67389:67422" ph="DELETE FROM " />
-                <marker date="1583499344203" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
-                <marker date="1583499344203" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
-                <marker date="1583499344203" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
-                <marker date="1583499344203" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
-                <marker date="1583499344203" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
-                <marker date="1583499344203" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
-                <marker date="1583499344203" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
-                <marker date="1583499344203" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
-                <marker date="1583499344203" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
-                <marker date="1583499344203" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1583499344203" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1583499344203" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
-                <marker date="1583499344203" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
-                <marker date="1583499344203" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1583499344203" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1583499344203" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
-                <marker date="1583499344203" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
-                <marker date="1583499344203" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1583499344203" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1583499344203" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
-                <marker date="1583499344203" expanded="true" signature="83006:83861" ph="SELECT TOP 2... " />
-                <marker date="1583499344203" expanded="true" signature="85719:85789" ph="UPDATE TF_PO... " />
-                <marker date="1583499344203" expanded="true" signature="85719:85800" ph="UPDATE TF_PO... " />
-                <marker date="1583499344203" expanded="true" signature="86461:86498" ph="SELECT MAX(N... " />
-                <marker date="1583499344203" expanded="true" signature="86461:86501" ph="SELECT MAX(N... " />
-                <marker date="1583499344203" expanded="true" signature="86461:86506" ph="SELECT MAX(N... " />
-                <marker date="1583499344203" expanded="true" signature="87832:88235" ph="INSERT INTO mcaf... " />
-                <marker date="1583499344203" expanded="true" signature="87838:88111" ph="insert into mcaf... " />
-                <marker date="1583499344203" expanded="true" signature="89041:89066" ph="SELECT DEP,N... DEPT" />
-                <marker date="1583499344203" expanded="true" signature="89041:89092" ph="SELECT DEP,N... DEPT" />
-                <marker date="1583499344203" expanded="true" signature="89856:89890" ph="SELECT top 2... PRDT" />
-                <marker date="1583499344203" expanded="true" signature="89856:89891" ph="SELECT top 2... PRDT" />
-                <marker date="1583499344203" expanded="true" signature="89951:89987" ph="SELECT top 2... PRDT" />
-                <marker date="1583499344203" expanded="true" signature="89951:89988" ph="SELECT top 2... PRDT" />
-                <marker date="1583499344203" expanded="true" signature="90135:90150" ph="SELECT top 2... PRDT" />
-                <marker date="1583499344203" expanded="true" signature="91047:91083" ph="SELECT top 2... CUST" />
-                <marker date="1583499344203" expanded="true" signature="91143:91179" ph="SELECT top 2... CUST" />
-                <marker date="1583499344203" expanded="true" signature="91954:91983" ph="SELECT TOP 5... MF_MO" />
-                <marker date="1583499344203" expanded="true" signature="92271:92859" ph="SELECT b.dep... mf_mo" />
+                <element signature="e#80671#80932#0" expanded="false" />
+                <element signature="e#80973#81207#0" expanded="false" />
+                <element signature="e#86024#86797#0" expanded="false" />
+                <element signature="e#86978#89723#0" expanded="false" />
+                <element signature="e#89835#90341#0" expanded="false" />
+                <element signature="e#91572#92706#0" expanded="false" />
+                <element signature="e#92737#93002#0" expanded="false" />
+                <element signature="e#93084#93882#0" expanded="false" />
+                <element signature="e#93954#94256#0" expanded="false" />
+                <marker date="1583575685603" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583575685603" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
+                <marker date="1583575685603" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583575685603" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
+                <marker date="1583575685603" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583575685603" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583575685603" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
+                <marker date="1583575685603" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583575685603" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583575685603" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
+                <marker date="1583575685603" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
+                <marker date="1583575685603" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583575685603" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="21252:21302" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583575685603" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="24398:24447" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="24507:24556" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="24616:24667" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583575685603" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
+                <marker date="1583575685603" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583575685603" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583575685603" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583575685603" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
+                <marker date="1583575685603" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583575685603" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583575685603" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
+                <marker date="1583575685603" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
+                <marker date="1583575685603" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583575685603" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="45566:45616" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
+                <marker date="1583575685603" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583575685603" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583575685603" expanded="true" signature="48522:48571" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="48631:48680" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="48740:48791" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583575685603" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
+                <marker date="1583575685603" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
+                <marker date="1583575685603" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
+                <marker date="1583575685603" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
+                <marker date="1583575685603" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
+                <marker date="1583575685603" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
+                <marker date="1583575685603" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583575685603" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
+                <marker date="1583575685603" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
+                <marker date="1583575685603" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
+                <marker date="1583575685603" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
+                <marker date="1583575685603" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
+                <marker date="1583575685603" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
+                <marker date="1583575685603" expanded="true" signature="67023:67070" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="67144:67192" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="67268:67301" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="67389:67422" ph="DELETE FROM " />
+                <marker date="1583575685603" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
+                <marker date="1583575685603" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
+                <marker date="1583575685603" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
+                <marker date="1583575685603" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
+                <marker date="1583575685603" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
+                <marker date="1583575685603" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
+                <marker date="1583575685603" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
+                <marker date="1583575685603" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
+                <marker date="1583575685603" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
+                <marker date="1583575685603" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1583575685603" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1583575685603" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
+                <marker date="1583575685603" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
+                <marker date="1583575685603" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1583575685603" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1583575685603" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
+                <marker date="1583575685603" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
+                <marker date="1583575685603" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1583575685603" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1583575685603" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
+                <marker date="1583575685603" expanded="true" signature="83015:83450" ph="SELECT ORDER... View_aa" />
+                <marker date="1583575685603" expanded="true" signature="83015:83453" ph="SELECT ORDER... View_aa" />
+                <marker date="1583575685603" expanded="true" signature="83449:83450" ph="SELECT TOP 2... " />
+                <marker date="1583575685603" expanded="true" signature="83884:84694" ph="SELECT ORDER... View_aa" />
+                <marker date="1583575685603" expanded="true" signature="83890:84691" ph="SELECT ORDER... View_aa" />
+                <marker date="1583575685603" expanded="true" signature="83890:84694" ph="select ORDER... View_aa" />
+                <marker date="1583575685603" expanded="true" signature="86542:86612" ph="UPDATE TF_PO... " />
+                <marker date="1583575685603" expanded="true" signature="86542:86623" ph="UPDATE TF_PO... " />
+                <marker date="1583575685603" expanded="true" signature="87284:87321" ph="SELECT MAX(N... " />
+                <marker date="1583575685603" expanded="true" signature="87284:87324" ph="SELECT MAX(N... " />
+                <marker date="1583575685603" expanded="true" signature="87284:87329" ph="SELECT MAX(N... " />
+                <marker date="1583575685603" expanded="true" signature="88655:89058" ph="INSERT INTO mcaf... " />
+                <marker date="1583575685603" expanded="true" signature="88661:88934" ph="insert into mcaf... " />
+                <marker date="1583575685603" expanded="true" signature="89864:89889" ph="SELECT DEP,N... DEPT" />
+                <marker date="1583575685603" expanded="true" signature="89864:89915" ph="SELECT DEP,N... DEPT" />
+                <marker date="1583575685603" expanded="true" signature="90679:90713" ph="SELECT top 2... PRDT" />
+                <marker date="1583575685603" expanded="true" signature="90679:90714" ph="SELECT top 2... PRDT" />
+                <marker date="1583575685603" expanded="true" signature="90774:90810" ph="SELECT top 2... PRDT" />
+                <marker date="1583575685603" expanded="true" signature="90774:90811" ph="SELECT top 2... PRDT" />
+                <marker date="1583575685603" expanded="true" signature="90958:90973" ph="SELECT top 2... PRDT" />
+                <marker date="1583575685603" expanded="true" signature="91870:91906" ph="SELECT top 2... CUST" />
+                <marker date="1583575685603" expanded="true" signature="91966:92002" ph="SELECT top 2... CUST" />
+                <marker date="1583575685603" expanded="true" signature="92777:92806" ph="SELECT TOP 5... MF_MO" />
+                <marker date="1583575685603" expanded="true" signature="93094:93682" ph="SELECT b.dep... mf_mo" />
               </folding>
             </state>
           </provider>
@@ -319,6 +317,7 @@
       <foldersAlwaysOnTop value="true" />
     </navigator>
     <panes>
+      <pane id="Scope" />
       <pane id="ProjectPane">
         <subPane>
           <PATH>
@@ -410,7 +409,6 @@
         </subPane>
       </pane>
       <pane id="Scratches" />
-      <pane id="Scope" />
     </panes>
   </component>
   <component name="PropertiesComponent">
@@ -812,19 +810,26 @@
       <option name="project" value="LOCAL" />
       <updated>1583501563551</updated>
     </task>
-    <option name="localTasksCounter" value="15" />
+    <task id="LOCAL-00015" summary="数据导出完成">
+      <created>1583517605671</created>
+      <option name="number" value="00015" />
+      <option name="presentableId" value="LOCAL-00015" />
+      <option name="project" value="LOCAL" />
+      <updated>1583517605671</updated>
+    </task>
+    <option name="localTasksCounter" value="16" />
     <servers />
   </component>
   <component name="ToolWindowManager">
     <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
     <layout>
-      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.18763326" sideWeight="0.4949367" order="0" side_tool="false" content_ui="combo" />
+      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.09594883" sideWeight="0.4949367" order="0" side_tool="false" content_ui="combo" />
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
       <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
       <window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25921908" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.37527114" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
       <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32930845" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16257995" sideWeight="0.5050633" order="2" side_tool="true" content_ui="tabs" />
@@ -858,7 +863,8 @@
     <MESSAGE value="月度产能评估表数据获取完成" />
     <MESSAGE value="月度新增完成" />
     <MESSAGE value="搜索优化" />
-    <option name="LAST_COMMIT_MESSAGE" value="搜索优化" />
+    <MESSAGE value="数据导出完成" />
+    <option name="LAST_COMMIT_MESSAGE" value="数据导出完成" />
   </component>
   <component name="XDebuggerManager">
     <breakpoint-manager>
@@ -1205,8 +1211,8 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="77">
-          <caret line="1822" column="17" lean-forward="true" selection-start-line="1822" selection-start-column="17" selection-end-line="1822" selection-end-column="17" />
+        <state relative-caret-position="244">
+          <caret line="1798" column="99" lean-forward="false" selection-start-line="1798" selection-start-column="99" selection-end-line="1798" selection-end-column="99" />
           <folding>
             <element signature="e#0#35#0" expanded="true" />
             <element signature="e#619#25037#0" expanded="false" />
@@ -1240,124 +1246,126 @@
             <element signature="e#77394#79374#0" expanded="false" />
             <element signature="e#77427#79374#0" expanded="false" />
             <element signature="e#79453#79489#0" expanded="false" />
-            <element signature="e#79558#85163#0" expanded="false" />
-            <element signature="e#80648#80909#0" expanded="false" />
-            <element signature="e#80950#81184#0" expanded="false" />
-            <element signature="e#84527#84986#0" expanded="false" />
-            <element signature="e#85027#85121#0" expanded="false" />
-            <element signature="e#85201#85974#0" expanded="false" />
-            <element signature="e#86155#88900#0" expanded="false" />
-            <element signature="e#89012#89518#0" expanded="false" />
-            <element signature="e#90749#91883#0" expanded="false" />
-            <element signature="e#91914#92179#0" expanded="false" />
-            <element signature="e#92261#93059#0" expanded="false" />
-            <element signature="e#93131#93433#0" expanded="false" />
-            <marker date="1583499344203" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583499344203" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
-            <marker date="1583499344203" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583499344203" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
-            <marker date="1583499344203" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583499344203" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583499344203" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
-            <marker date="1583499344203" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583499344203" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583499344203" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
-            <marker date="1583499344203" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
-            <marker date="1583499344203" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583499344203" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="21252:21302" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583499344203" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="24398:24447" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="24507:24556" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="24616:24667" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583499344203" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
-            <marker date="1583499344203" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583499344203" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583499344203" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583499344203" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
-            <marker date="1583499344203" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583499344203" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583499344203" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
-            <marker date="1583499344203" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
-            <marker date="1583499344203" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583499344203" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="45566:45616" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
-            <marker date="1583499344203" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583499344203" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583499344203" expanded="true" signature="48522:48571" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="48631:48680" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="48740:48791" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583499344203" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
-            <marker date="1583499344203" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
-            <marker date="1583499344203" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
-            <marker date="1583499344203" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
-            <marker date="1583499344203" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
-            <marker date="1583499344203" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
-            <marker date="1583499344203" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583499344203" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
-            <marker date="1583499344203" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
-            <marker date="1583499344203" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
-            <marker date="1583499344203" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
-            <marker date="1583499344203" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
-            <marker date="1583499344203" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
-            <marker date="1583499344203" expanded="true" signature="67023:67070" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="67144:67192" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="67268:67301" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="67389:67422" ph="DELETE FROM " />
-            <marker date="1583499344203" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
-            <marker date="1583499344203" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
-            <marker date="1583499344203" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
-            <marker date="1583499344203" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
-            <marker date="1583499344203" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
-            <marker date="1583499344203" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
-            <marker date="1583499344203" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
-            <marker date="1583499344203" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
-            <marker date="1583499344203" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
-            <marker date="1583499344203" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1583499344203" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1583499344203" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
-            <marker date="1583499344203" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
-            <marker date="1583499344203" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1583499344203" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1583499344203" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
-            <marker date="1583499344203" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
-            <marker date="1583499344203" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1583499344203" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1583499344203" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
-            <marker date="1583499344203" expanded="true" signature="83006:83861" ph="SELECT TOP 2... " />
-            <marker date="1583499344203" expanded="true" signature="85719:85789" ph="UPDATE TF_PO... " />
-            <marker date="1583499344203" expanded="true" signature="85719:85800" ph="UPDATE TF_PO... " />
-            <marker date="1583499344203" expanded="true" signature="86461:86498" ph="SELECT MAX(N... " />
-            <marker date="1583499344203" expanded="true" signature="86461:86501" ph="SELECT MAX(N... " />
-            <marker date="1583499344203" expanded="true" signature="86461:86506" ph="SELECT MAX(N... " />
-            <marker date="1583499344203" expanded="true" signature="87832:88235" ph="INSERT INTO mcaf... " />
-            <marker date="1583499344203" expanded="true" signature="87838:88111" ph="insert into mcaf... " />
-            <marker date="1583499344203" expanded="true" signature="89041:89066" ph="SELECT DEP,N... DEPT" />
-            <marker date="1583499344203" expanded="true" signature="89041:89092" ph="SELECT DEP,N... DEPT" />
-            <marker date="1583499344203" expanded="true" signature="89856:89890" ph="SELECT top 2... PRDT" />
-            <marker date="1583499344203" expanded="true" signature="89856:89891" ph="SELECT top 2... PRDT" />
-            <marker date="1583499344203" expanded="true" signature="89951:89987" ph="SELECT top 2... PRDT" />
-            <marker date="1583499344203" expanded="true" signature="89951:89988" ph="SELECT top 2... PRDT" />
-            <marker date="1583499344203" expanded="true" signature="90135:90150" ph="SELECT top 2... PRDT" />
-            <marker date="1583499344203" expanded="true" signature="91047:91083" ph="SELECT top 2... CUST" />
-            <marker date="1583499344203" expanded="true" signature="91143:91179" ph="SELECT top 2... CUST" />
-            <marker date="1583499344203" expanded="true" signature="91954:91983" ph="SELECT TOP 5... MF_MO" />
-            <marker date="1583499344203" expanded="true" signature="92271:92859" ph="SELECT b.dep... mf_mo" />
+            <element signature="e#80671#80932#0" expanded="false" />
+            <element signature="e#80973#81207#0" expanded="false" />
+            <element signature="e#86024#86797#0" expanded="false" />
+            <element signature="e#86978#89723#0" expanded="false" />
+            <element signature="e#89835#90341#0" expanded="false" />
+            <element signature="e#91572#92706#0" expanded="false" />
+            <element signature="e#92737#93002#0" expanded="false" />
+            <element signature="e#93084#93882#0" expanded="false" />
+            <element signature="e#93954#94256#0" expanded="false" />
+            <marker date="1583575685603" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583575685603" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
+            <marker date="1583575685603" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583575685603" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
+            <marker date="1583575685603" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583575685603" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583575685603" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
+            <marker date="1583575685603" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583575685603" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583575685603" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
+            <marker date="1583575685603" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
+            <marker date="1583575685603" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583575685603" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="21252:21302" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583575685603" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="24398:24447" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="24507:24556" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="24616:24667" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583575685603" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
+            <marker date="1583575685603" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583575685603" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583575685603" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583575685603" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
+            <marker date="1583575685603" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583575685603" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583575685603" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
+            <marker date="1583575685603" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
+            <marker date="1583575685603" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583575685603" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="45566:45616" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
+            <marker date="1583575685603" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583575685603" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583575685603" expanded="true" signature="48522:48571" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="48631:48680" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="48740:48791" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583575685603" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
+            <marker date="1583575685603" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
+            <marker date="1583575685603" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
+            <marker date="1583575685603" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
+            <marker date="1583575685603" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
+            <marker date="1583575685603" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
+            <marker date="1583575685603" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583575685603" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
+            <marker date="1583575685603" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
+            <marker date="1583575685603" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
+            <marker date="1583575685603" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
+            <marker date="1583575685603" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
+            <marker date="1583575685603" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
+            <marker date="1583575685603" expanded="true" signature="67023:67070" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="67144:67192" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="67268:67301" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="67389:67422" ph="DELETE FROM " />
+            <marker date="1583575685603" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
+            <marker date="1583575685603" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
+            <marker date="1583575685603" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
+            <marker date="1583575685603" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
+            <marker date="1583575685603" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
+            <marker date="1583575685603" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
+            <marker date="1583575685603" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
+            <marker date="1583575685603" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
+            <marker date="1583575685603" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
+            <marker date="1583575685603" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1583575685603" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1583575685603" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
+            <marker date="1583575685603" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
+            <marker date="1583575685603" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1583575685603" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1583575685603" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
+            <marker date="1583575685603" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
+            <marker date="1583575685603" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1583575685603" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1583575685603" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
+            <marker date="1583575685603" expanded="true" signature="83015:83450" ph="SELECT ORDER... View_aa" />
+            <marker date="1583575685603" expanded="true" signature="83015:83453" ph="SELECT ORDER... View_aa" />
+            <marker date="1583575685603" expanded="true" signature="83449:83450" ph="SELECT TOP 2... " />
+            <marker date="1583575685603" expanded="true" signature="83884:84694" ph="SELECT ORDER... View_aa" />
+            <marker date="1583575685603" expanded="true" signature="83890:84691" ph="SELECT ORDER... View_aa" />
+            <marker date="1583575685603" expanded="true" signature="83890:84694" ph="select ORDER... View_aa" />
+            <marker date="1583575685603" expanded="true" signature="86542:86612" ph="UPDATE TF_PO... " />
+            <marker date="1583575685603" expanded="true" signature="86542:86623" ph="UPDATE TF_PO... " />
+            <marker date="1583575685603" expanded="true" signature="87284:87321" ph="SELECT MAX(N... " />
+            <marker date="1583575685603" expanded="true" signature="87284:87324" ph="SELECT MAX(N... " />
+            <marker date="1583575685603" expanded="true" signature="87284:87329" ph="SELECT MAX(N... " />
+            <marker date="1583575685603" expanded="true" signature="88655:89058" ph="INSERT INTO mcaf... " />
+            <marker date="1583575685603" expanded="true" signature="88661:88934" ph="insert into mcaf... " />
+            <marker date="1583575685603" expanded="true" signature="89864:89889" ph="SELECT DEP,N... DEPT" />
+            <marker date="1583575685603" expanded="true" signature="89864:89915" ph="SELECT DEP,N... DEPT" />
+            <marker date="1583575685603" expanded="true" signature="90679:90713" ph="SELECT top 2... PRDT" />
+            <marker date="1583575685603" expanded="true" signature="90679:90714" ph="SELECT top 2... PRDT" />
+            <marker date="1583575685603" expanded="true" signature="90774:90810" ph="SELECT top 2... PRDT" />
+            <marker date="1583575685603" expanded="true" signature="90774:90811" ph="SELECT top 2... PRDT" />
+            <marker date="1583575685603" expanded="true" signature="90958:90973" ph="SELECT top 2... PRDT" />
+            <marker date="1583575685603" expanded="true" signature="91870:91906" ph="SELECT top 2... CUST" />
+            <marker date="1583575685603" expanded="true" signature="91966:92002" ph="SELECT top 2... CUST" />
+            <marker date="1583575685603" expanded="true" signature="92777:92806" ph="SELECT TOP 5... MF_MO" />
+            <marker date="1583575685603" expanded="true" signature="93094:93682" ph="SELECT b.dep... mf_mo" />
           </folding>
         </state>
       </provider>

+ 866 - 0
meib/logs/hwj.log

@@ -55294,3 +55294,869 @@ INFO 2020-03-07 01:57:56,765 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6
 INFO 2020-03-07 01:57:56,766 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
 INFO 2020-03-07 01:57:56,797 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 301 0
 INFO 2020-03-07 01:57:57,551 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 200 1148
+INFO 2020-03-07 14:16:28,828 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 14:16:42,717 basehttp 154 "GET /index/ HTTP/1.1" 200 27301
+INFO 2020-03-07 14:16:42,791 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 304 0
+INFO 2020-03-07 14:16:42,792 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 304 0
+INFO 2020-03-07 14:16:42,793 basehttp 154 "GET /static/css/css.css HTTP/1.1" 304 0
+INFO 2020-03-07 14:16:42,793 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 304 0
+INFO 2020-03-07 14:16:42,979 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 14:16:42,998 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 14:16:43,040 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+WARNING 2020-03-07 14:16:43,767 log 228 Not Found: /favicon.ico
+WARNING 2020-03-07 14:16:43,768 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 5126
+INFO 2020-03-07 14:16:44,133 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 200 1148
+INFO 2020-03-07 16:03:58,990 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:04:00,279 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:04:16,160 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:04:16,908 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:04:28,295 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:04:29,055 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:07:18,495 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:07:19,225 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:08:05,701 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:08:06,416 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:09:28,221 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:09:29,021 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:09:37,218 basehttp 154 "GET /index/ HTTP/1.1" 200 27301
+INFO 2020-03-07 16:09:37,257 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 304 0
+INFO 2020-03-07 16:09:37,257 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 304 0
+INFO 2020-03-07 16:09:37,369 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 16:09:37,468 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 16:09:37,499 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+ERROR 2020-03-07 16:09:38,178 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'AND' 附近有语法错误。 (156) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1772, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'AND' 附近有语法错误。 (156) (SQLExecDirectW)")
+ERROR 2020-03-07 16:09:38,181 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 500 135177
+WARNING 2020-03-07 16:09:40,249 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 16:09:40,251 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 16:09:40,316 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 16:10:34,718 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:10:35,994 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:10:55,841 basehttp 154 "GET /index/ HTTP/1.1" 200 27301
+INFO 2020-03-07 16:10:55,911 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 16:10:55,915 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 16:10:55,923 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 16:10:55,941 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 16:10:55,960 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 16:10:55,976 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 16:10:55,988 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 16:10:56,002 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 16:10:56,026 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 16:10:56,065 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 16:10:56,076 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+WARNING 2020-03-07 16:10:56,153 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 16:10:56,154 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 16:10:56,222 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 16:10:56,225 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 16:10:56,243 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 16:10:56,264 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 16:10:56,284 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 301 0
+INFO 2020-03-07 16:10:56,458 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+ERROR 2020-03-07 16:10:57,090 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'AND' 附近有语法错误。 (156) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1772, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'AND' 附近有语法错误。 (156) (SQLExecDirectW)")
+ERROR 2020-03-07 16:10:57,092 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 500 135437
+INFO 2020-03-07 16:12:06,120 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:12:07,313 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 16:12:14,911 basehttp 154 "GET /index/ HTTP/1.1" 200 27301
+INFO 2020-03-07 16:12:14,947 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 16:12:14,948 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 16:12:14,971 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 16:12:14,974 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 16:12:14,976 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 16:12:14,978 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 16:12:14,978 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 16:12:14,984 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 16:12:14,985 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 16:12:14,986 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 16:12:14,991 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-07 16:12:15,018 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 16:12:15,041 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 16:12:15,045 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-07 16:12:15,069 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 16:12:15,123 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 16:12:15,129 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 16:12:15,129 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 16:12:15,159 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 301 0
+INFO 2020-03-07 16:12:16,368 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 200 1148
+INFO 2020-03-07 16:12:42,727 basehttp 154 "GET /listtb?st_time=2019-12-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 301 0
+INFO 2020-03-07 16:12:43,500 basehttp 154 "GET /listtb/?st_time=2019-12-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 200 3465844
+INFO 2020-03-07 16:55:54,051 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 16:55:54,919 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:21:17,652 basehttp 154 "GET /index/ HTTP/1.1" 200 27553
+INFO 2020-03-07 17:21:18,582 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:21:18,583 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:21:18,598 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:21:18,603 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:21:18,604 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:21:18,606 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:21:18,609 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:21:18,611 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:21:18,612 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:21:18,614 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:21:18,614 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-07 17:21:18,841 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+INFO 2020-03-07 17:21:18,862 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 17:21:18,868 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:21:18,934 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:21:19,002 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:21:19,008 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:21:19,012 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:21:19,066 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:21:19,991 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:22:44,827 basehttp 154 "GET /index/ HTTP/1.1" 200 27173
+INFO 2020-03-07 17:22:44,867 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:22:44,870 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:22:44,871 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:22:44,875 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:22:44,883 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:22:44,884 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:22:44,885 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:22:44,887 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:22:44,887 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:22:44,890 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:22:44,895 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:22:44,961 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 17:22:44,962 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:22:44,989 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:22:45,001 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:22:45,055 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:22:45,059 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:22:45,060 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:22:45,082 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:22:45,973 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:23:47,954 basehttp 154 "GET /index/ HTTP/1.1" 200 27176
+INFO 2020-03-07 17:23:47,992 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:23:47,993 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:23:47,994 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:23:47,998 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:23:48,008 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:23:48,009 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:23:48,012 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:23:48,012 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:23:48,014 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:23:48,015 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:23:48,017 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:23:48,078 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 17:23:48,139 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+WARNING 2020-03-07 17:23:48,140 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+INFO 2020-03-07 17:23:48,179 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:23:48,201 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:23:48,205 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:23:48,206 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:23:48,234 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:23:49,123 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:24:27,411 basehttp 154 "GET /prdt/?search_no=946013FEA06250T HTTP/1.1" 200 302
+INFO 2020-03-07 17:24:27,994 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:24:28,070 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 200 709
+INFO 2020-03-07 17:24:37,744 basehttp 154 "GET /listtb?st_time=2020-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:24:37,816 basehttp 154 "GET /listtb/?st_time=2020-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:26:09,450 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:26:10,588 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:26:26,850 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:26:33,068 basehttp 154 "GET /listtb?st_time=2020-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 301 0
+ERROR 2020-03-07 17:26:33,127 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\utils\datastructures.py", line 78, in __getitem__
+    list_ = super().__getitem__(key)
+KeyError: 'ifmerge'
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1696, in get
+    ifmerge = request.GET['ifmerge']#是否合并
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\utils\datastructures.py", line 80, in __getitem__
+    raise MultiValueDictKeyError(key)
+django.utils.datastructures.MultiValueDictKeyError: 'ifmerge'
+ERROR 2020-03-07 17:26:33,131 basehttp 154 "GET /listtb/?st_time=2020-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1 HTTP/1.1" 500 95930
+INFO 2020-03-07 17:27:33,884 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 17:27:33,930 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:27:33,935 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:27:33,948 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:27:33,950 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:27:33,950 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:27:33,951 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:27:33,951 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:27:33,956 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:27:33,958 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:27:33,968 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:27:33,969 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+WARNING 2020-03-07 17:27:34,092 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:27:34,105 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:27:34,113 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-07 17:27:34,136 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:27:34,139 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:27:34,158 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:27:34,211 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:27:34,217 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:27:35,121 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:27:39,538 basehttp 154 "GET /prdt/?search_no=946013FEA06250T HTTP/1.1" 200 302
+INFO 2020-03-07 17:27:44,078 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:27:44,117 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=946013FEA06250T&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 200 709
+INFO 2020-03-07 17:28:14,202 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:28:15,064 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:30:14,747 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:30:15,620 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:30:34,927 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:30:35,887 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:31:05,768 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:31:06,553 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:31:18,031 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:33:54,021 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 17:33:54,055 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:33:54,056 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:33:54,071 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:33:54,072 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:33:54,072 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:33:54,073 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:33:54,074 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:33:54,077 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:33:54,085 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:33:54,087 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:33:54,089 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:33:54,136 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 17:33:54,203 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:33:54,203 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:33:54,222 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:33:54,254 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:33:54,260 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:33:54,260 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:33:54,299 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:33:55,499 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:34:13,149 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 17:34:13,188 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:34:13,190 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:34:13,192 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:34:13,197 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:34:13,207 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:34:13,208 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:34:13,208 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:34:13,209 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:34:13,217 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:34:13,218 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:34:13,223 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+WARNING 2020-03-07 17:34:13,270 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:34:13,285 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:34:13,292 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-07 17:34:13,330 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:34:13,383 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:34:13,400 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:34:13,400 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:34:13,434 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:34:14,324 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:34:27,689 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:34:28,158 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 200 709
+INFO 2020-03-07 17:35:10,842 basehttp 154 "GET /prdt/?search_no=932001YWA500-201 HTTP/1.1" 200 302
+INFO 2020-03-07 17:35:12,932 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:35:13,000 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 200 1513
+INFO 2020-03-07 17:35:59,245 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+ERROR 2020-03-07 17:35:59,308 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'GROUP' 附近有语法错误。 (156) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1780, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'GROUP' 附近有语法错误。 (156) (SQLExecDirectW)")
+ERROR 2020-03-07 17:35:59,311 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 500 138366
+INFO 2020-03-07 17:39:47,528 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:39:49,255 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:39:53,530 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+ERROR 2020-03-07 17:39:53,603 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]选择列表中的列 'View_aa.YSSL' 无效,因为该列没有包含在聚合函数或 GROUP BY 子句中。 (8120) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1780, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]选择列表中的列 'View_aa.YSSL' 无效,因为该列没有包含在聚合函数或 GROUP BY 子句中。 (8120) (SQLExecDirectW)")
+ERROR 2020-03-07 17:39:53,606 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 500 139010
+INFO 2020-03-07 17:42:06,142 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:42:07,133 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:42:14,564 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+ERROR 2020-03-07 17:42:14,638 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'(' 附近有语法错误。 (102) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1782, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'(' 附近有语法错误。 (102) (SQLExecDirectW)")
+ERROR 2020-03-07 17:42:14,641 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 500 142945
+INFO 2020-03-07 17:44:52,141 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:44:53,190 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:44:58,003 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:44:58,093 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 1117
+INFO 2020-03-07 17:48:19,556 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:48:19,604 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 1117
+INFO 2020-03-07 17:54:33,847 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:54:34,783 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:54:43,978 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:54:44,067 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 1117
+INFO 2020-03-07 17:54:49,953 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 17:54:49,990 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:54:49,992 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:54:50,005 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:54:50,011 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:54:50,012 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:54:50,015 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:54:50,016 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:54:50,016 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:54:50,017 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:54:50,030 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:54:50,031 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+WARNING 2020-03-07 17:54:50,088 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:54:50,093 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:54:50,104 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-07 17:54:50,148 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:54:50,195 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:54:50,203 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:54:50,203 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:54:50,226 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+ERROR 2020-03-07 17:54:51,086 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'ORDER' 附近有语法错误。 (156) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1782, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'ORDER' 附近有语法错误。 (156) (SQLExecDirectW)")
+ERROR 2020-03-07 17:54:51,090 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 500 136545
+INFO 2020-03-07 17:54:59,862 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 17:54:59,908 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:54:59,912 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:54:59,921 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:54:59,927 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:54:59,935 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:54:59,935 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:54:59,941 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:54:59,943 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:54:59,944 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:54:59,945 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:54:59,946 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+WARNING 2020-03-07 17:54:59,977 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:55:00,004 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:55:00,009 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-07 17:55:00,044 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:55:00,090 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:55:00,096 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:55:00,103 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:55:00,129 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+ERROR 2020-03-07 17:55:00,994 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'ORDER' 附近有语法错误。 (156) (SQLExecDirectW)")
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1782, in get
+    no_data = cursor.execute(sql,[]).fetchall()
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]关键字 'ORDER' 附近有语法错误。 (156) (SQLExecDirectW)")
+ERROR 2020-03-07 17:55:00,996 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 500 136546
+INFO 2020-03-07 17:56:58,281 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:56:59,177 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:57:57,852 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 17:57:58,981 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:58:03,510 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 17:58:11,246 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 17:58:11,283 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 17:58:11,283 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 17:58:11,300 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 17:58:11,300 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 17:58:11,301 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 17:58:11,302 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 17:58:11,302 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 17:58:11,305 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 17:58:11,316 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 17:58:11,317 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 17:58:11,317 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 17:58:11,385 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 17:58:11,403 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 17:58:11,406 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 17:58:11,442 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 17:58:11,487 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 17:58:11,495 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 17:58:11,495 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 17:58:11,522 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:58:12,430 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 17:58:43,925 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:58:43,994 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 200 709
+INFO 2020-03-07 17:58:44,155 basehttp 154 "GET /prdt/?search_no=932001YWA500-201 HTTP/1.1" 200 302
+INFO 2020-03-07 17:58:59,206 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 17:58:59,240 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1 HTTP/1.1" 200 709
+INFO 2020-03-07 17:59:08,481 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:59:08,569 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 709
+INFO 2020-03-07 17:59:51,180 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 17:59:51,224 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 1117
+INFO 2020-03-07 18:00:00,896 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 18:00:00,924 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 1117
+INFO 2020-03-07 18:06:11,621 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 18:06:12,664 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 18:07:33,228 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 18:07:34,395 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 18:07:44,112 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 18:07:44,156 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:07:44,157 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:07:44,174 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:07:44,174 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:07:44,175 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 18:07:44,176 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 18:07:44,180 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 18:07:44,187 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 18:07:44,191 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 18:07:44,199 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 18:07:44,205 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-07 18:07:44,264 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:07:44,271 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 18:07:44,274 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-07 18:07:44,327 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:07:44,382 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 18:07:44,386 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 18:07:44,393 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 18:07:44,410 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 18:07:45,608 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 18:08:06,625 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-07 18:08:07,633 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-07 18:08:14,220 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 18:08:14,262 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:08:14,265 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:08:14,279 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:08:14,280 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:08:14,281 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 18:08:14,282 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 18:08:14,283 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 18:08:14,291 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 18:08:14,291 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 18:08:14,293 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 18:08:14,293 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 18:08:14,354 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 18:08:14,376 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:08:14,393 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 18:08:14,413 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:08:14,463 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 18:08:14,468 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 18:08:14,468 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 18:08:14,499 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 18:08:15,396 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 18:08:32,761 basehttp 154 "GET /prdt/?search_no=932001YWA500-201 HTTP/1.1" 200 302
+INFO 2020-03-07 18:08:47,555 basehttp 154 "GET /listtb?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 301 0
+INFO 2020-03-07 18:08:47,648 basehttp 154 "GET /listtb/?st_time=2017-01-01&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=932001YWA500-201&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=2 HTTP/1.1" 200 1128
+INFO 2020-03-07 18:21:32,094 basehttp 154 "GET /depps HTTP/1.1" 301 0
+INFO 2020-03-07 18:21:32,206 basehttp 154 "GET /depps/ HTTP/1.1" 200 26282
+INFO 2020-03-07 18:21:32,232 basehttp 154 "GET /static/css/layer.css HTTP/1.1" 200 5260
+INFO 2020-03-07 18:21:32,244 basehttp 154 "GET /static/css/macf.css HTTP/1.1" 200 2611
+INFO 2020-03-07 18:21:32,302 basehttp 154 "GET /static/js/layer.js HTTP/1.1" 200 3303
+INFO 2020-03-07 18:21:32,368 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 18:21:32,404 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-07 18:21:40,469 basehttp 154 "GET /text/ HTTP/1.1" 200 6182
+INFO 2020-03-07 18:21:40,520 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 200 2543
+WARNING 2020-03-07 18:21:40,522 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:21:40,522 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:21:40,523 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+INFO 2020-03-07 18:22:16,168 basehttp 154 "GET /text/ HTTP/1.1" 200 6132
+INFO 2020-03-07 18:22:16,212 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 304 0
+WARNING 2020-03-07 18:22:16,214 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+WARNING 2020-03-07 18:22:16,214 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:22:16,214 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:23:31,306 basehttp 154 "GET /text/ HTTP/1.1" 200 6189
+WARNING 2020-03-07 18:23:31,345 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:23:31,347 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:23:31,349 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 304 0
+WARNING 2020-03-07 18:23:31,351 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+WARNING 2020-03-07 18:23:31,358 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:23:31,370 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+INFO 2020-03-07 18:29:24,440 basehttp 154 "GET /text/ HTTP/1.1" 200 2663
+INFO 2020-03-07 18:29:24,504 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:29:24,508 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:29:24,521 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:29:24,523 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:29:24,531 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 18:29:24,532 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 18:29:24,542 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+WARNING 2020-03-07 18:29:24,555 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:29:24,556 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+WARNING 2020-03-07 18:29:24,561 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+WARNING 2020-03-07 18:29:24,562 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:29:24,566 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 18:29:24,566 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 200 2543
+INFO 2020-03-07 18:29:24,567 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-07 18:29:24,586 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:29:24,610 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:29:24,610 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+WARNING 2020-03-07 18:29:24,623 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:29:24,635 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+INFO 2020-03-07 18:29:24,717 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:29:27,166 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:29:27,167 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:29:27,169 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:29:27,170 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:35:27,226 basehttp 154 "GET /text/ HTTP/1.1" 200 3033
+INFO 2020-03-07 18:35:27,255 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:35:27,256 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:35:27,264 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:35:27,277 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:35:27,288 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 18:35:27,288 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 18:35:27,288 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 18:35:27,289 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+WARNING 2020-03-07 18:35:27,297 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:35:27,313 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:35:27,315 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 200 2543
+INFO 2020-03-07 18:35:27,316 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 18:35:27,321 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-07 18:35:27,324 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+WARNING 2020-03-07 18:35:27,363 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:35:27,379 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:35:27,386 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+WARNING 2020-03-07 18:35:27,391 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:35:27,405 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+INFO 2020-03-07 18:35:27,460 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:35:32,117 basehttp 154 "GET /text/ HTTP/1.1" 200 3033
+INFO 2020-03-07 18:35:32,156 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:35:32,159 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:35:32,167 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:35:32,183 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:35:32,189 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 18:35:32,190 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 18:35:32,190 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+WARNING 2020-03-07 18:35:32,213 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:35:32,216 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+WARNING 2020-03-07 18:35:32,218 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:35:32,222 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+WARNING 2020-03-07 18:35:32,225 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+INFO 2020-03-07 18:35:32,226 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 18:35:32,228 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 200 2543
+WARNING 2020-03-07 18:35:32,255 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:35:32,279 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:35:32,279 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+WARNING 2020-03-07 18:35:32,292 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:35:32,304 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+INFO 2020-03-07 18:35:32,358 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:35:59,111 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 18:35:59,157 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:35:59,159 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:35:59,180 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:35:59,180 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:35:59,183 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 18:35:59,183 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 18:35:59,184 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 18:35:59,194 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 18:35:59,197 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 18:35:59,197 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 18:35:59,199 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 18:35:59,271 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 18:35:59,280 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:35:59,368 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 18:35:59,398 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:35:59,407 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 18:35:59,421 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 18:35:59,422 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 18:35:59,458 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 18:36:00,564 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 18:36:02,887 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:36:02,888 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:36:02,888 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:36:02,892 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:45:41,674 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:45:41,674 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:45:41,675 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:45:41,676 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:46:31,358 basehttp 154 "GET /text/ HTTP/1.1" 200 14490
+INFO 2020-03-07 18:46:31,418 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:46:31,419 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:46:31,419 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 18:46:31,424 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:46:31,426 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 18:46:31,427 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+WARNING 2020-03-07 18:46:31,452 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:46:31,452 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 18:46:31,456 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+WARNING 2020-03-07 18:46:31,457 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+WARNING 2020-03-07 18:46:31,458 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+INFO 2020-03-07 18:46:31,468 basehttp 154 "GET /static/js/print/jquery.jqprint-0.3.js HTTP/1.1" 200 2543
+INFO 2020-03-07 18:46:31,469 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 18:46:31,471 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-07 18:46:31,509 basehttp 154 "GET /static/js/export/xlsx.full.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:46:31,519 basehttp 154 "GET /static/js/export/FileSaver.min.js HTTP/1.1" 404 1702
+WARNING 2020-03-07 18:46:31,534 basehttp 154 "GET /static/js/export/jsonToExcel.js HTTP/1.1" 404 1696
+WARNING 2020-03-07 18:46:31,536 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 18:46:31,542 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 18:46:31,620 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 18:46:35,781 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 18:46:35,788 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 18:46:35,788 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 18:46:35,788 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 19:34:01,240 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 19:34:01,240 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 19:34:01,241 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 19:34:01,242 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 20:38:07,311 basehttp 154 "GET /index/ HTTP/1.1" 200 27226
+INFO 2020-03-07 20:38:07,353 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 20:38:07,358 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 20:38:07,361 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-03-07 20:38:07,368 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 20:38:07,368 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 20:38:07,369 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 20:38:07,386 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 5364
+INFO 2020-03-07 20:38:07,392 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 20:38:07,395 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-03-07 20:38:07,396 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 20:38:07,401 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 20:38:07,453 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 20:38:07,513 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+WARNING 2020-03-07 20:38:07,514 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+INFO 2020-03-07 20:38:07,563 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 20:38:07,575 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709
+INFO 2020-03-07 20:38:07,581 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21855
+INFO 2020-03-07 20:38:07,581 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6284
+INFO 2020-03-07 20:38:07,611 basehttp 154 "GET /listtb?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 301 0
+INFO 2020-03-07 20:38:08,796 basehttp 154 "GET /listtb/?st_time=2020-03-07&sh_time=2020-03-07&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1 HTTP/1.1" 200 1148
+INFO 2020-03-07 20:38:11,277 basehttp 154 "GET /depps HTTP/1.1" 301 0
+INFO 2020-03-07 20:38:11,286 basehttp 154 "GET /depps/ HTTP/1.1" 200 26282
+INFO 2020-03-07 20:38:11,314 basehttp 154 "GET /static/css/layer.css HTTP/1.1" 200 5260
+INFO 2020-03-07 20:38:11,326 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-03-07 20:38:11,330 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-07 20:38:11,331 basehttp 154 "GET /static/css/macf.css HTTP/1.1" 200 2611
+INFO 2020-03-07 20:38:11,332 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-07 20:38:11,333 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-07 20:38:11,341 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-07 20:38:11,343 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-07 20:38:11,349 basehttp 154 "GET /static/js/layer.js HTTP/1.1" 200 3303
+INFO 2020-03-07 20:38:11,350 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-07 20:38:11,354 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-03-07 20:38:11,411 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+WARNING 2020-03-07 20:38:11,487 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-07 20:38:11,489 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-07 20:38:11,536 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-07 20:38:11,545 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-07 20:38:11,552 basehttp 154 "GET /dept/ HTTP/1.1" 200 43709

+ 36 - 30
meib/meib/apps/erp/views.py

@@ -1693,14 +1693,14 @@ class listtb(View):
         capacity = request.GET['capacity']  #容量
         vessel = request.GET['vessel']  #容器
         select = request.GET['select']  #用于判断是否查询
+        ifmerge = request.GET['ifmerge']#是否合并
+        print(ifmerge)
         th_time = datetime.datetime.now().strftime('%Y-%m')  # 获取年月
         t_today = datetime.datetime.now().strftime('%Y-%m-%d')  # 获取年月日
         page = settings.PAGE_SIZE
-        print(cus_no)
-        print(prd_no)
         # 处理客户代号
         if len(cus_no)>0:
-            cus_no = ' AND '+ 'D.CUS_NO='+"'"+cus_no+"'"
+            cus_no = ' AND '+ 'CUS_NO='+"'"+cus_no+"'"
         # 处理结案否
         if cls_id:
             if cls_id =='1':
@@ -1720,13 +1720,13 @@ class listtb(View):
                 PMC_REM = ' AND ' + "ISNULL(C.PMC_REM,'') = ''"
         # 处理业务交期
         if business_time !='':
-            business_time = ' AND '+ 'B.EST_DD='+"'"+business_time+"'"
+            business_time = ' AND '+ 'EST_DD='+"'"+business_time+"'"
         # 处理货品编码
         if prd_no != '':
-            prd_no = ' AND ' + 'J.PRD_NO=' + "'" + prd_no + "'"
+            prd_no = ' AND ' + 'PRD_NO=' + "'" + prd_no + "'"
         # 处理部门============================================================
         if sc_dep != '':
-            sc_dep = ' AND ' + 'H.DEP=' + "'" + sc_dep + "'"
+            sc_dep = ' AND ' + 'DEP=' + "'" + sc_dep + "'"
         # 处理研磨类型
         # if ym_type !='':
         #     ym_type = ' AND ' + 'B.PRD_NO=' + "'" + ym_type + "'"
@@ -1734,46 +1734,52 @@ class listtb(View):
         if os_type == '1':
             os_type=''
         if os_type == '2':
-            os_type = ' AND ' + "F.NAME LIKE '%%订单%%'"
+            os_type = ' AND ' + "ORDER0 LIKE '%%订单%%'"
         if os_type == '3':
-            os_type = ' AND ' + "F.NAME LIKE '%%返工%%'"
+            os_type = ' AND ' + "ORDER0 LIKE '%%返工%%'"
         # 处理容量
         if capacity != '':
-            capacity = ' AND ' + 'E.DZRL=' + "'" + capacity + "'"
+            capacity = ' AND ' + 'DZRL=' + "'" + capacity + "'"
         # # 处理容器
         # if vessel != '':
         #     vessel = ' AND ' + 'B.PRD_NO=' + "'" + vessel + "'"
         if sort:
             # F.SPC_NO
             if sort == '1':
-                sort = ' ORDER BY A.OS_NO DESC'
+                sort = ' ORDER BY OS_NO DESC'
                 sort_if='1'
             if sort == '2':
-                sort = ' ORDER BY F.SPC_NO DESC'
+                sort = ' ORDER BY SPC_NO DESC'
             if sort == '3':
-                sort = ' ORDER BY A.CUS_NO DESC'
+                sort = ' ORDER BY CUS_NO DESC'
             else:
-                sort = ' ORDER BY C.PMC_REM DESC'
+                sort = ' ORDER BY PMC_DD DESC'
         if select=='2':
-            conditional = ' AND ' + 'left(Convert(varchar(100), A.OS_DD, 23), 7) >=' + "'" + th_time + "'" + ' ORDER BY A.OS_NO DESC'
+            conditional = ' left(Convert(varchar(100), OS_DD, 23), 7) >=' + "'" + th_time + "'" + ' ORDER BY OS_NO DESC'
         else:
-            conditional = ' AND ' + 'left(Convert(varchar(100), A.OS_DD, 23), 11) >=' + "'" + st_time + "'" + ' AND ' + 'left(Convert(varchar(100), A.OS_DD, 23), 11) <=' + "'" + sh_time + "'" + cus_no + cls_id + PMC_REM +\
+            conditional = ' left(Convert(varchar(100), OS_DD, 23), 11) >=' + "'" + st_time + "'" + ' AND ' + 'left(Convert(varchar(100), OS_DD, 23), 11) <=' + "'" + sh_time + "'" + cus_no + cls_id + PMC_REM +\
                          business_time + prd_no + sc_dep + os_type + capacity + sort
             # 定义sql语句
-        sql = """SELECT  CASE WHEN F.NAME LIKE '%%返工%%' THEN '返工' ELSE '订单' END AS ORDER0 ,ISNULL(B.OS_DD,'') AS OS_DD,
-ISNULL(D.SNM,'') AS CUS_SNM,B.OS_NO AS OS_NO,B.PRD_NO AS PRD_NO,ISNULL(E.DZRL,'') AS DZRL,'' AS RQ,ISNULL(E.YSSL,'') AS YSSL,'' AS YMXH,
-ISNULL(B.QTY,0) AS QTY,ISNULL(E.YSSL *B.QTY,0) AS GZSL,B.EST_DD AS EST_DD,H.NAME AS PD_DEP,ISNULL(B.REM,'') AS REM,CONVERT(CHAR(10), C.PMC_REM, 23) AS PMC_DD, C.WH_REM AS WH_REM,
- B.ITM AS ITM FROM MF_POS A 
-LEFT JOIN TF_POS B ON A.OS_NO=B.OS_NO 
-LEFT JOIN TF_POS_Z C ON B.OS_NO=C.OS_NO AND B.ITM=C.ITM
-LEFT JOIN CUST D ON A.CUS_NO=D.CUS_NO 
-LEFT JOIN PRDT_Z E ON B.PRD_NO=E.PRD_NO 
-LEFT JOIN BIL_SPC F ON A.BIL_TYPE=F.SPC_NO AND F.BIL_ID='SA'
-LEFT JOIN MF_BOM G ON B.PRD_NO=G.PRD_NO
-LEFT JOIN DEPT H ON G.DEP=H.DEP
-LEFT JOIN PRDT J ON B.PRD_NO=J.PRD_NO
-WHERE   A.OS_ID='SO' AND B.OS_ID=A.OS_ID AND C.OS_ID=A.OS_ID {0}""".format(conditional)
-        # print(sql)
+        if ifmerge=='1':
+            sql = """SELECT 
+    ORDER0 AS ORDER0 ,ISNULL(OS_DD,'') AS OS_DD,
+    ISNULL(CUS_SNM,'') AS CUS_SNM,OS_NO AS OS_NO,PRD_NO AS PRD_NO,ISNULL(DZRL,'') AS DZRL,'' AS RQ,ISNULL(YSSL,'') AS YSSL,'' AS YMXH,
+    ISNULL(QTY,0) AS QTY,ISNULL(GZSL,0) AS GZSL,left(Convert(varchar(100), EST_DD, 23), 11) AS EST_DD,PD_DEP AS PD_DEP,ISNULL(REM,'') AS REM,PMC_DD AS PMC_DD,WH_REM AS WH_REM,
+     ITM AS ITM
+    ,SPC_NO,CUS_NO,PMC_REM
+     FROM View_aa WHERE {0}""".format(conditional)
+        else:
+            conditional = ' left(Convert(varchar(100), OS_DD, 23), 11) >=' + "'" + st_time + "'" + ' AND ' + 'left(Convert(varchar(100), OS_DD, 23), 11) <=' + "'" + sh_time + "'" + cus_no + cls_id + PMC_REM + \
+                          business_time + prd_no + sc_dep + os_type + capacity + ' GROUP BY OS_NO,PRD_NO,OS_DD,PMC_DD,ORDER0,CUS_SNM,DZRL,RQ,PD_DEP,REM ' + sort
+            sql = """SELECT ORDER0 AS ORDER0 ,ISNULL(OS_DD,'') AS OS_DD,
+ISNULL(CUS_SNM,'') AS CUS_SNM,OS_NO AS OS_NO,PRD_NO AS PRD_NO,ISNULL(DZRL,'') AS DZRL,'' AS RQ,SUM(ISNULL(YSSL,0)) AS YSSL,'' AS YMXH,
+SUM(ISNULL(QTY,0)) AS QTY,SUM(ISNULL(GZSL,0)) AS GZSL,
+stuff((SELECT ';' + replace(CONVERT(CHAR(19), left(Convert(varchar(100), B.EST_DD, 23), 11), 120),' ','') FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS EST_DD
+,PD_DEP AS PD_DEP,ISNULL(REM,'') AS REM,PMC_DD AS PMC_DD,
+stuff((SELECT ';' + CAST(B.WH_REM AS VARCHAR(500)) FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS WH_REM,
+stuff((SELECT ';' + CAST(B.ITM AS VARCHAR(500)) FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS ITM
+ FROM View_aa A WHERE {0}""".format(conditional)
+        print(sql)
         with connection.cursor() as cursor:
             no_data = cursor.execute(sql,[]).fetchall()
         data = [
@@ -1790,7 +1796,7 @@ WHERE   A.OS_ID='SO' AND B.OS_ID=A.OS_ID AND C.OS_ID=A.OS_ID {0}""".format(condi
             # OS_NO.append(i[5])
             data.append({"ORDER0": i[0], "OS_DD": str(i[1])[:10] , "CUS_SNM": i[2], "OS_NO": str(i[3]),
                          "PRD_NO": i[4], "DZRL": i[5], "QY": i[6], "YSSL": i[7],
-                         "YMXH": i[8], "QTY": float(i[9]),"GZSL": float(i[10]),"EST_DD": str(i[11])[:10],
+                         "YMXH": i[8], "QTY": float(i[9]),"GZSL": float(i[10]),"EST_DD": str(i[11]),
                          "PD_DEP": i[12],"REM":i[13],"PMC_DD": str(i[14]),"WH_REM": i[15],"operation": "保存","ITM":i[16]})
         # print(data)
         context = {

+ 75 - 0
meib/meib/static/js/print/jquery.jqprint-0.3.js

@@ -0,0 +1,75 @@
+// -----------------------------------------------------------------------
+// Eros Fratini - eros@recoding.it
+// jqprint 0.3
+//
+// - 19/06/2009 - some new implementations, added Opera support
+// - 11/05/2009 - first sketch
+//
+// Printing plug-in for jQuery, evolution of jPrintArea: http://plugins.jquery.com/project/jPrintArea
+// requires jQuery 1.3.x
+//
+// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+//------------------------------------------------------------------------
+
+(function($) {
+    var opt;
+
+    $.fn.jqprint = function (options) {
+        opt = $.extend({}, $.fn.jqprint.defaults, options);
+
+        var $element = (this instanceof jQuery) ? this : $(this);
+        
+        if (opt.operaSupport && $.browser.opera) 
+        { 
+            var tab = window.open("","jqPrint-preview");
+            tab.document.open();
+
+            var doc = tab.document;
+        }
+        else 
+        {
+            var $iframe = $("<iframe  />");
+        
+            if (!opt.debug) { $iframe.css({ position: "absolute", width: "0px", height: "0px", left: "-600px", top: "-600px" }); }
+
+            $iframe.appendTo("body");
+            var doc = $iframe[0].contentWindow.document;
+        }
+        
+        if (opt.importCSS)
+        {
+            if ($("link[media=print]").length > 0) 
+            {
+                $("link[media=print]").each( function() {
+                    doc.write("<link type='text/css' rel='stylesheet' href='" + $(this).attr("href") + "' media='print' />");
+                });
+            }
+            else 
+            {
+                $("link").each( function() {
+                    doc.write("<link type='text/css' rel='stylesheet' href='" + $(this).attr("href") + "' />");
+                });
+            }
+        }
+        
+        if (opt.printContainer) { doc.write($element.outer()); }
+        else { $element.each( function() { doc.write($(this).html()); }); }
+        
+        doc.close();
+        
+        (opt.operaSupport && $.browser.opera ? tab : $iframe[0].contentWindow).focus();
+        setTimeout( function() { (opt.operaSupport && $.browser.opera ? tab : $iframe[0].contentWindow).print(); if (tab) { tab.close(); } }, 1000);
+    }
+    
+    $.fn.jqprint.defaults = {
+		debug: false,
+		importCSS: true, 
+		printContainer: true,
+		operaSupport: true
+	};
+
+    // Thanks to 9__, found at http://users.livejournal.com/9__/380664.html
+    jQuery.fn.outer = function() {
+      return $($('<div></div>').html(this.clone())).html();
+    } 
+})(jQuery);

+ 15 - 16
meib/meib/templates/order.html

@@ -144,15 +144,11 @@
                                             <td><span class="navbar-nav  filtrate_w">业务交期:</span>
                                                 <input type="date" class="navbar-nav filtrate" v-model="business_time">
                                             </td>
-                                            <td><span class="navbar-nav  filtrate_w">产品编码:</span><input type="text"
-                                                    class="navbar-nav filtrate" v-model="prd_no"></td>
-                                        </tr>
-                                        <tr>
-                                            <td><span class="navbar-nav filtrate_w">研磨类型:</span>
-                                                <input type="text" class="navbar-nav filtrate" v-model="ym_type"></td>
-                                            <td><span class="navbar-nav filtrate_w">生产部门:</span>
-                                                <select class="selectpicker form-control filtrate"
-                                                    data-live-search="true" id="field1"></select></td>
+                                            <td><span class="navbar-nav  filtrate_w">合并否:</span>
+                                                <select class="input form-control filtrate" v-model="ifmerge">
+                                                    <option value="1">否</option>
+                                                    <option value="2">是</option>
+                                                </select></td>
                                         </tr>
                                         <tr>
                                             <td><span class="navbar-nav filtrate_w">订单类别:</span>
@@ -162,15 +158,16 @@
                                                     <option value="3">返工单</option>
                                                 </select>
                                             </td>
-                                            <td><span class="navbar-nav filtrate_w">容量:</span>
-                                                <input type="text" class="navbar-nav filtrate" v-model="capacity"></td>
+                                            <td><span class="navbar-nav filtrate_w">生产部门:</span>
+                                                <select class="selectpicker form-control filtrate"
+                                                    data-live-search="true" id="field1"></select></td>
                                         </tr>
                                         <tr>
                                             <td><span class="navbar-nav filtrate_w">容器:</span>
                                                 <input type="text" class="navbar-nav filtrate" v-model="vessel"></td>
-                                            <td></td>
+                                            <td><span class="navbar-nav filtrate_w">容量:</span>
+                                                <input type="text" class="navbar-nav filtrate" v-model="capacity"></td>
                                         </tr>
-
                                     </table>
                                 </div>
                                 <div class="modal-footer">
@@ -273,6 +270,7 @@
                 os_type: '1',
                 capacity: '',
                 vessel: '',
+                ifmerge: '1'
             },
             methods: {
                 async seek(i) { // 添加的方法
@@ -322,7 +320,8 @@
                             os_type: this.os_type,    //订单类型
                             capacity: this.capacity,  //容量
                             vessel: this.vessel,      //容器
-                            select: i                //查询或者第一次进入状态标识
+                            select: i,
+                            ifmerge:this.ifmerge                //查询或者第一次进入状态标识
                         }
                     })
                         .then(res => {
@@ -486,8 +485,8 @@
                     console.log(this.list)
                     var filter = [];
                     var title = [];
-                    exportExcel(this.list,'订单一览表数据',title,filter);
-                } 
+                    exportExcel(this.list, '订单一览表数据', title, filter);
+                }
             },
 
             created() {

+ 509 - 112
meib/meib/templates/text.html

@@ -20,125 +20,522 @@
     <script src="/static/js/bootstrap-select_new.js"></script>
 
     <!-- select -->
-    <!-- <script type="text/javascript" src="/static/js/jquery-1.10.2.js"></script> -->
-    
+    <script type="text/javascript" src="/static/js/print/jquery.jqprint-0.3.js"></script>
+    <style>
+        @media screen {
+
+            div.print-area {
+
+                display: none;
+
+            }
+
+        }
+
+
+
+        @media print {
+
+            div.print-area {
+
+                position: fixed;
+
+                top: 0;
+
+                z-index: 1;
+
+            }
+
+        }
+    </style>
 
     <title>Document</title>
 </head>
 
 <body>
-    <input type="button" value="导出" id="export">
+    <div id="print-area">
+        <table class="table table-bordered table-hover table-striped">
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr><tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+            <tr>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+                <td>test</td>
+            </tr>
+        </table>
+    </div>
+    <input type="button" onclick=" print()" value="打印">
 </body>
-<script>
-    function exportExcel(JSONData, FileName, title, filter) {
-    if (!JSONData) return;
-    //转化json为object
-    var arrData = typeof JSONData != "object" ? JSON.parse(JSONData) : JSONData;
-    var excel = "<table>";
-    //设置表头
-    var row = "<tr>";
-    if (title) { //使用标题项
-      for (var i in title) {
-        row += "<th align='center'>" + title[i] + "</th>";
-      }
-    } else {//不使用标题项
-      for (var i in arrData[0]) {
-        row += "<th align='center'>" + i + "</th>";
-      }
+<script language="javascript">
+    function print() {
+        $("#print-area").jqprint({
+            debug: false,
+            importCSS: true,
+            printContainer: true,
+            operaSupport: false
+        });
     }
-    excel += row + "</tr>";
-    //设置数据
-    for (var i = 0; i < arrData.length; i++) {
-      var row = "<tr>";
-      for (var index in arrData[i]) {
-        //判断是否有过滤行
-        if (filter) {
-          if (filter.indexOf(index) == -1) {
-            var value = arrData[i][index] == null ? "" : arrData[i][index];
-            row += "<td>" + value + "</td>";
-          }
-        } else {
-          var value = arrData[i][index] == null ? "" : arrData[i][index];
-          row += "<td align='center'>" + value + "</td>";
-        }
-      }
-      excel += row + "</tr>";
-    }
-    excel += "</table>";
-    var excelFile =
-      "<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:x='urn:schemas-microsoft-com:office:excel' xmlns='http://www.w3.org/TR/REC-html40'>";
-    excelFile +=
-      '<meta http-equiv="content-type" content="application/vnd.ms-excel; charset=UTF-8">';
-    excelFile +=
-      '<meta http-equiv="content-type" content="application/vnd.ms-excel';
-    excelFile += '; charset=UTF-8">';
-    excelFile += "<head>";
-    excelFile += "<!--[if gte mso 9]>";
-    excelFile += "<xml>";
-    excelFile += "<x:ExcelWorkbook>";
-    excelFile += "<x:ExcelWorksheets>";
-    excelFile += "<x:ExcelWorksheet>";
-    excelFile += "<x:Name>";
-    excelFile += "{worksheet}";
-    excelFile += "</x:Name>";
-    excelFile += "<x:WorksheetOptions>";
-    excelFile += "<x:DisplayGridlines/>";
-    excelFile += "</x:WorksheetOptions>";
-    excelFile += "</x:ExcelWorksheet>";
-    excelFile += "</x:ExcelWorksheets>";
-    excelFile += "</x:ExcelWorkbook>";
-    excelFile += "</xml>";
-    excelFile += "<![endif]-->";
-    excelFile += "</head>";
-    excelFile += "<body>";
-    excelFile += excel;
-    excelFile += "</body>";
-    excelFile += "</html>";
-    var uri =
-      "data:application/vnd.ms-excel;charset=utf-8," +
-      encodeURIComponent(excelFile);
-    var link = document.createElement("a");
-    link.href = uri;
-    link.style = "visibility:hidden";
-    link.download = FileName + ".xls";
-    document.body.appendChild(link);
-    link.click();
-    document.body.removeChild(link);
-}
 </script>
 
-<script>
-	const jsonData = [
-        {
-            name:'路人甲',
-            phone:'123456',
-            email:'123@123456.com',
-            bool:true
-        },
-        {
-            name:'炮灰乙',
-            phone:'123456',
-            email:'123@123456.com',
-            bool:false
-        },
-        {
-            name:'土匪丙',
-            phone:'123456',
-            email:'123@123456.com',
-            bool:true
-        },
-        {
-            name:'流氓丁',
-            phone:'123456',
-            email:'123@123456.com',
-            bool:false
-        },
-    ]
-    function excelExportFn(){
-        let title = ['姓名','电话','邮箱'];
-        let filter = [];  //不导出的字段
-        exportExcel(jsonData,'测试excel',title,filter);
-    }
-    excelExportFn()
-</script>
 </html>