Selaa lähdekoodia

月度新增完成

任翠亮 4 vuotta sitten
vanhempi
commit
0284fdc3e2

+ 281 - 276
.idea/workspace.xml

@@ -2,16 +2,12 @@
 <project version="4">
   <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/css/macf.css" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/meib/meib/templates/dep_ps_old.html" />
       <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/urls.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/urls.py" />
       <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/static/css/css.css" afterPath="$PROJECT_DIR$/meib/meib/static/css/css.css" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/static/js/jquery.select.js" afterPath="$PROJECT_DIR$/meib/meib/static/js/jquery.select.js" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/settings/lianxi.py" afterPath="$PROJECT_DIR$/meib/meib/settings/lianxi.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/dep_ps.html" afterPath="$PROJECT_DIR$/meib/meib/templates/dep_ps.html" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/order.html" afterPath="$PROJECT_DIR$/meib/meib/templates/order.html" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="TRACKING_ENABLED" value="true" />
@@ -24,7 +20,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="1583318286172" 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="1583422797243" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib" />
   </component>
   <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
   <component name="FavoritesManager">
@@ -35,8 +31,8 @@
       <file leaf-file-name="urls.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/urls.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="378">
-              <caret line="15" column="18" lean-forward="false" selection-start-line="15" selection-start-column="11" selection-end-line="15" selection-end-column="18" />
+            <state relative-caret-position="233">
+              <caret line="14" column="25" lean-forward="false" selection-start-line="14" selection-start-column="11" selection-end-line="14" selection-end-column="25" />
               <folding>
                 <element signature="e#0#32#0" expanded="true" />
               </folding>
@@ -44,11 +40,11 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="views.py" pinned="false" current-in-tab="true">
+      <file leaf-file-name="views.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="2227">
-              <caret line="1837" column="23" lean-forward="true" selection-start-line="1837" selection-start-column="23" selection-end-line="1837" selection-end-column="23" />
+            <state relative-caret-position="176">
+              <caret line="1860" column="27" lean-forward="true" selection-start-line="1860" selection-start-column="27" selection-end-line="1860" selection-end-column="27" />
               <folding>
                 <element signature="e#0#35#0" expanded="true" />
                 <element signature="e#619#25037#0" expanded="false" />
@@ -58,7 +54,6 @@
                 <element signature="e#12244#12247#0" expanded="false" />
                 <element signature="e#22415#25036#0" expanded="false" />
                 <element signature="e#25125#25283#0" expanded="false" />
-                <element signature="e#25346#36203#0" expanded="false" />
                 <element signature="e#36265#46593#0" expanded="false" />
                 <element signature="e#46658#49160#0" expanded="false" />
                 <element signature="e#49196#67778#0" expanded="false" />
@@ -82,138 +77,130 @@
                 <element signature="e#76956#76963#0" expanded="false" />
                 <element signature="e#77394#79374#0" expanded="false" />
                 <element signature="e#77427#79374#0" expanded="false" />
-                <element signature="e#79446#79482#0" expanded="false" />
-                <element signature="e#79559#85022#0" expanded="false" />
-                <element signature="e#80503#80764#0" expanded="false" />
-                <element signature="e#80805#81039#0" expanded="false" />
-                <element signature="e#84386#84845#0" expanded="false" />
-                <element signature="e#84886#84980#0" expanded="false" />
-                <element signature="e#85060#85833#0" expanded="false" />
-                <element signature="e#86960#87440#0" expanded="false" />
-                <element signature="e#87503#88601#0" expanded="false" />
-                <element signature="e#88633#88658#0" expanded="false" />
-                <element signature="e#88983#90107#0" expanded="false" />
-                <element signature="e#90476#90778#0" expanded="false" />
-                <marker date="1583332214690" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583332214690" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
-                <marker date="1583332214690" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583332214690" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
-                <marker date="1583332214690" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583332214690" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583332214690" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
-                <marker date="1583332214690" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583332214690" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583332214690" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
-                <marker date="1583332214690" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
-                <marker date="1583332214690" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583332214690" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="21252:21302" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583332214690" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="24398:24447" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="24507:24556" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="24616:24667" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583332214690" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
-                <marker date="1583332214690" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583332214690" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583332214690" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
-                <marker date="1583332214690" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
-                <marker date="1583332214690" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583332214690" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583332214690" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
-                <marker date="1583332214690" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
-                <marker date="1583332214690" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
-                <marker date="1583332214690" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="45566:45616" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
-                <marker date="1583332214690" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1583332214690" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1583332214690" expanded="true" signature="48522:48571" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="48631:48680" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="48740:48791" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583332214690" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
-                <marker date="1583332214690" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
-                <marker date="1583332214690" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
-                <marker date="1583332214690" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
-                <marker date="1583332214690" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
-                <marker date="1583332214690" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
-                <marker date="1583332214690" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1583332214690" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
-                <marker date="1583332214690" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
-                <marker date="1583332214690" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
-                <marker date="1583332214690" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
-                <marker date="1583332214690" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
-                <marker date="1583332214690" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
-                <marker date="1583332214690" expanded="true" signature="67023:67070" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="67144:67192" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="67268:67301" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="67389:67422" ph="DELETE FROM " />
-                <marker date="1583332214690" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
-                <marker date="1583332214690" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
-                <marker date="1583332214690" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
-                <marker date="1583332214690" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
-                <marker date="1583332214690" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
-                <marker date="1583332214690" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
-                <marker date="1583332214690" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
-                <marker date="1583332214690" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
-                <marker date="1583332214690" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
-                <marker date="1583332214690" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1583332214690" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1583332214690" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
-                <marker date="1583332214690" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
-                <marker date="1583332214690" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1583332214690" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1583332214690" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
-                <marker date="1583332214690" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
-                <marker date="1583332214690" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1583332214690" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1583332214690" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
-                <marker date="1583332214690" expanded="true" signature="82859:83722" ph="SELECT TOP 2... " />
-                <marker date="1583332214690" expanded="true" signature="85578:85648" ph="UPDATE TF_PO... " />
-                <marker date="1583332214690" expanded="true" signature="85578:85659" ph="UPDATE TF_PO... " />
-                <marker date="1583332214690" expanded="true" signature="86024:86628" ph="SELECT b.dep... mf_mo" />
-                <marker date="1583332214690" expanded="true" signature="86989:87014" ph="SELECT DEP,N... DEPT" />
-                <marker date="1583332214690" expanded="true" signature="87778:87819" ph="SELECT top 2... PRDT" />
-                <marker date="1583332214690" expanded="true" signature="87778:87820" ph="SELECT top 2... PRDT" />
-                <marker date="1583332214690" expanded="true" signature="87880:87915" ph="SELECT top 2... PRDT" />
-                <marker date="1583332214690" expanded="true" signature="87880:87916" ph="SELECT top 2... PRDT" />
-                <marker date="1583332214690" expanded="true" signature="88063:88078" ph="SELECT top 2... PRDT" />
-                <marker date="1583332214690" expanded="true" signature="89281:89323" ph="SELECT top 2... CUST" />
-                <marker date="1583332214690" expanded="true" signature="89383:89418" ph="SELECT top 2... CUST" />
-                <marker date="1583332214690" expanded="true" signature="90180:90209" ph="SELECT TOP 5... MF_MO" />
+                <element signature="e#79453#79489#0" expanded="false" />
+                <element signature="e#80502#80763#0" expanded="false" />
+                <element signature="e#80804#81038#0" expanded="false" />
+                <element signature="e#84385#84844#0" expanded="false" />
+                <element signature="e#84885#84979#0" expanded="false" />
+                <element signature="e#85059#85832#0" expanded="false" />
+                <element signature="e#89609#90138#0" expanded="false" />
+                <element signature="e#90200#91298#0" expanded="false" />
+                <element signature="e#91362#92486#0" expanded="false" />
+                <element signature="e#92864#93694#0" expanded="false" />
+                <marker date="1583422797019" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583422797019" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
+                <marker date="1583422797019" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583422797019" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
+                <marker date="1583422797019" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583422797019" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583422797019" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
+                <marker date="1583422797019" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583422797019" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583422797019" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
+                <marker date="1583422797019" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
+                <marker date="1583422797019" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583422797019" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="21252:21302" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583422797019" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="24398:24447" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="24507:24556" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="24616:24667" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583422797019" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
+                <marker date="1583422797019" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583422797019" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583422797019" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
+                <marker date="1583422797019" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
+                <marker date="1583422797019" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583422797019" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583422797019" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
+                <marker date="1583422797019" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
+                <marker date="1583422797019" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
+                <marker date="1583422797019" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="45566:45616" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
+                <marker date="1583422797019" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1583422797019" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1583422797019" expanded="true" signature="48522:48571" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="48631:48680" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="48740:48791" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583422797019" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
+                <marker date="1583422797019" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
+                <marker date="1583422797019" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
+                <marker date="1583422797019" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
+                <marker date="1583422797019" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
+                <marker date="1583422797019" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
+                <marker date="1583422797019" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1583422797019" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
+                <marker date="1583422797019" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
+                <marker date="1583422797019" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
+                <marker date="1583422797019" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
+                <marker date="1583422797019" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
+                <marker date="1583422797019" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
+                <marker date="1583422797019" expanded="true" signature="67023:67070" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="67144:67192" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="67268:67301" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="67389:67422" ph="DELETE FROM " />
+                <marker date="1583422797019" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
+                <marker date="1583422797019" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
+                <marker date="1583422797019" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
+                <marker date="1583422797019" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
+                <marker date="1583422797019" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
+                <marker date="1583422797019" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
+                <marker date="1583422797019" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
+                <marker date="1583422797019" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
+                <marker date="1583422797019" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
+                <marker date="1583422797019" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1583422797019" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1583422797019" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
+                <marker date="1583422797019" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
+                <marker date="1583422797019" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1583422797019" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1583422797019" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
+                <marker date="1583422797019" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
+                <marker date="1583422797019" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1583422797019" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1583422797019" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
+                <marker date="1583422797019" expanded="false" signature="82858:83721" ph="SELECT TOP 2... " />
+                <marker date="1583422797019" expanded="true" signature="85577:85647" ph="UPDATE TF_PO... " />
+                <marker date="1583422797019" expanded="true" signature="85577:85658" ph="UPDATE TF_PO... " />
+                <marker date="1583422797019" expanded="true" signature="86023:86627" ph="SELECT b.dep... mf_mo" />
+                <marker date="1583422797019" expanded="true" signature="88479:88880" ph="INSERT INTO mcaf... " />
+                <marker date="1583422797019" expanded="true" signature="88485:88758" ph="insert into mcaf... " />
+                <marker date="1583422797019" expanded="true" signature="89686:89711" ph="SELECT DEP,N... DEPT" />
+                <marker date="1583422797019" expanded="true" signature="90475:90516" ph="SELECT top 2... PRDT" />
+                <marker date="1583422797019" expanded="true" signature="90475:90517" ph="SELECT top 2... PRDT" />
+                <marker date="1583422797019" expanded="true" signature="90577:90612" ph="SELECT top 2... PRDT" />
+                <marker date="1583422797019" expanded="true" signature="90577:90613" ph="SELECT top 2... PRDT" />
+                <marker date="1583422797019" expanded="true" signature="90760:90775" ph="SELECT top 2... PRDT" />
+                <marker date="1583422797019" expanded="true" signature="91660:91702" ph="SELECT top 2... CUST" />
+                <marker date="1583422797019" expanded="true" signature="91762:91797" ph="SELECT top 2... CUST" />
+                <marker date="1583422797019" expanded="false" signature="92512:92780" ph="..." />
+                <marker date="1583422797019" expanded="true" signature="92557:92586" ph="SELECT TOP 5... MF_MO" />
+                <marker date="1583422797019" expanded="false" signature="92874:93494" ph="SELECT b.dep... mf_mo" />
               </folding>
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="executeQuery.py" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/meib/meib/utils/executeQuery.py">
+      <file leaf-file-name="lianxi.py" pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/meib/meib/settings/lianxi.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="250">
-              <caret line="19" column="19" lean-forward="false" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="19" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="dev.py" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/meib/meib/settings/dev.py">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="3240">
-              <caret line="120" column="28" lean-forward="false" selection-start-line="120" selection-start-column="28" selection-end-line="120" selection-end-column="28" />
+            <state relative-caret-position="162">
+              <caret line="6" column="0" lean-forward="true" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
               <folding />
             </state>
           </provider>
@@ -247,6 +234,13 @@
       <find>new_a1</find>
       <find>EMAIL_FROM</find>
       <find>settings</find>
+      <find>itm</find>
+      <find>tolf_days</find>
+      <find>p_d_f_e_configurations</find>
+      <find>work_sum</find>
+      <find>zj_274_24</find>
+      <find>a_strength</find>
+      <find>p_gap</find>
     </findStrings>
     <replaceStrings>
       <replace>meib</replace>
@@ -281,6 +275,7 @@
         <option value="$PROJECT_DIR$/meib/meib/settings/dev.py" />
         <option value="$PROJECT_DIR$/meib/meib/apps/erp/urls.py" />
         <option value="$PROJECT_DIR$/meib/meib/apps/erp/views.py" />
+        <option value="$PROJECT_DIR$/meib/meib/settings/lianxi.py" />
       </list>
     </option>
   </component>
@@ -311,6 +306,7 @@
       <foldersAlwaysOnTop value="true" />
     </navigator>
     <panes>
+      <pane id="Scratches" />
       <pane id="Scope" />
       <pane id="ProjectPane">
         <subPane>
@@ -402,7 +398,6 @@
           </PATH>
         </subPane>
       </pane>
-      <pane id="Scratches" />
     </panes>
   </component>
   <component name="PropertiesComponent">
@@ -762,19 +757,26 @@
       <option name="project" value="LOCAL" />
       <updated>1583246899979</updated>
     </task>
-    <option name="localTasksCounter" value="12" />
+    <task id="LOCAL-00012" summary="月度产能评估表数据获取完成">
+      <created>1583340579210</created>
+      <option name="number" value="00012" />
+      <option name="presentableId" value="LOCAL-00012" />
+      <option name="project" value="LOCAL" />
+      <updated>1583340579210</updated>
+    </task>
+    <option name="localTasksCounter" value="13" />
     <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.15351813" 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.15511727" 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="false" show_stripe_button="true" weight="0.43492407" 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.329718" 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" />
@@ -805,11 +807,12 @@
     <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>
-      <option name="time" value="10" />
+      <option name="time" value="11" />
     </breakpoint-manager>
     <watches-manager />
   </component>
@@ -877,13 +880,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/settings/lianxi.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="135">
-          <caret line="5" column="11" lean-forward="true" selection-start-line="5" selection-start-column="11" selection-end-line="5" selection-end-column="11" />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://F:/python/03Django/02Django_上上项目/0524_day03/2_code/meiduo12/meiduo_mall/meiduo_mall/settings/dev.py">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="225">
@@ -1133,28 +1129,28 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/urls.py">
+    <entry file="file://$PROJECT_DIR$/meib/meib/utils/executeQuery.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="378">
-          <caret line="15" column="18" lean-forward="false" selection-start-line="15" selection-start-column="11" selection-end-line="15" selection-end-column="18" />
-          <folding>
-            <element signature="e#0#32#0" expanded="true" />
-          </folding>
+        <state relative-caret-position="368">
+          <caret line="19" column="19" lean-forward="false" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="19" />
+          <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/utils/executeQuery.py">
+    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/urls.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="250">
-          <caret line="19" column="19" lean-forward="false" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="19" />
-          <folding />
+        <state relative-caret-position="233">
+          <caret line="14" column="25" lean-forward="false" selection-start-line="14" selection-start-column="11" selection-end-line="14" selection-end-column="25" />
+          <folding>
+            <element signature="e#0#32#0" expanded="true" />
+          </folding>
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="2227">
-          <caret line="1837" column="23" lean-forward="true" selection-start-line="1837" selection-start-column="23" selection-end-line="1837" selection-end-column="23" />
+        <state relative-caret-position="176">
+          <caret line="1860" column="27" lean-forward="true" selection-start-line="1860" selection-start-column="27" selection-end-line="1860" selection-end-column="27" />
           <folding>
             <element signature="e#0#35#0" expanded="true" />
             <element signature="e#619#25037#0" expanded="false" />
@@ -1164,7 +1160,6 @@
             <element signature="e#12244#12247#0" expanded="false" />
             <element signature="e#22415#25036#0" expanded="false" />
             <element signature="e#25125#25283#0" expanded="false" />
-            <element signature="e#25346#36203#0" expanded="false" />
             <element signature="e#36265#46593#0" expanded="false" />
             <element signature="e#46658#49160#0" expanded="false" />
             <element signature="e#49196#67778#0" expanded="false" />
@@ -1188,121 +1183,131 @@
             <element signature="e#76956#76963#0" expanded="false" />
             <element signature="e#77394#79374#0" expanded="false" />
             <element signature="e#77427#79374#0" expanded="false" />
-            <element signature="e#79446#79482#0" expanded="false" />
-            <element signature="e#79559#85022#0" expanded="false" />
-            <element signature="e#80503#80764#0" expanded="false" />
-            <element signature="e#80805#81039#0" expanded="false" />
-            <element signature="e#84386#84845#0" expanded="false" />
-            <element signature="e#84886#84980#0" expanded="false" />
-            <element signature="e#85060#85833#0" expanded="false" />
-            <element signature="e#86960#87440#0" expanded="false" />
-            <element signature="e#87503#88601#0" expanded="false" />
-            <element signature="e#88633#88658#0" expanded="false" />
-            <element signature="e#88983#90107#0" expanded="false" />
-            <element signature="e#90476#90778#0" expanded="false" />
-            <marker date="1583332214690" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583332214690" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
-            <marker date="1583332214690" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583332214690" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
-            <marker date="1583332214690" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583332214690" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583332214690" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
-            <marker date="1583332214690" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583332214690" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583332214690" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
-            <marker date="1583332214690" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
-            <marker date="1583332214690" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583332214690" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="21252:21302" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583332214690" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="24398:24447" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="24507:24556" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="24616:24667" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583332214690" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
-            <marker date="1583332214690" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583332214690" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583332214690" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
-            <marker date="1583332214690" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
-            <marker date="1583332214690" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583332214690" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583332214690" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
-            <marker date="1583332214690" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
-            <marker date="1583332214690" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
-            <marker date="1583332214690" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="45566:45616" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
-            <marker date="1583332214690" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1583332214690" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1583332214690" expanded="true" signature="48522:48571" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="48631:48680" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="48740:48791" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583332214690" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
-            <marker date="1583332214690" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
-            <marker date="1583332214690" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
-            <marker date="1583332214690" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
-            <marker date="1583332214690" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
-            <marker date="1583332214690" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
-            <marker date="1583332214690" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1583332214690" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
-            <marker date="1583332214690" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
-            <marker date="1583332214690" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
-            <marker date="1583332214690" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
-            <marker date="1583332214690" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
-            <marker date="1583332214690" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
-            <marker date="1583332214690" expanded="true" signature="67023:67070" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="67144:67192" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="67268:67301" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="67389:67422" ph="DELETE FROM " />
-            <marker date="1583332214690" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
-            <marker date="1583332214690" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
-            <marker date="1583332214690" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
-            <marker date="1583332214690" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
-            <marker date="1583332214690" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
-            <marker date="1583332214690" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
-            <marker date="1583332214690" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
-            <marker date="1583332214690" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
-            <marker date="1583332214690" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
-            <marker date="1583332214690" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1583332214690" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1583332214690" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
-            <marker date="1583332214690" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
-            <marker date="1583332214690" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1583332214690" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1583332214690" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
-            <marker date="1583332214690" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
-            <marker date="1583332214690" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1583332214690" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1583332214690" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
-            <marker date="1583332214690" expanded="true" signature="82859:83722" ph="SELECT TOP 2... " />
-            <marker date="1583332214690" expanded="true" signature="85578:85648" ph="UPDATE TF_PO... " />
-            <marker date="1583332214690" expanded="true" signature="85578:85659" ph="UPDATE TF_PO... " />
-            <marker date="1583332214690" expanded="true" signature="86024:86628" ph="SELECT b.dep... mf_mo" />
-            <marker date="1583332214690" expanded="true" signature="86989:87014" ph="SELECT DEP,N... DEPT" />
-            <marker date="1583332214690" expanded="true" signature="87778:87819" ph="SELECT top 2... PRDT" />
-            <marker date="1583332214690" expanded="true" signature="87778:87820" ph="SELECT top 2... PRDT" />
-            <marker date="1583332214690" expanded="true" signature="87880:87915" ph="SELECT top 2... PRDT" />
-            <marker date="1583332214690" expanded="true" signature="87880:87916" ph="SELECT top 2... PRDT" />
-            <marker date="1583332214690" expanded="true" signature="88063:88078" ph="SELECT top 2... PRDT" />
-            <marker date="1583332214690" expanded="true" signature="89281:89323" ph="SELECT top 2... CUST" />
-            <marker date="1583332214690" expanded="true" signature="89383:89418" ph="SELECT top 2... CUST" />
-            <marker date="1583332214690" expanded="true" signature="90180:90209" ph="SELECT TOP 5... MF_MO" />
+            <element signature="e#79453#79489#0" expanded="false" />
+            <element signature="e#80502#80763#0" expanded="false" />
+            <element signature="e#80804#81038#0" expanded="false" />
+            <element signature="e#84385#84844#0" expanded="false" />
+            <element signature="e#84885#84979#0" expanded="false" />
+            <element signature="e#85059#85832#0" expanded="false" />
+            <element signature="e#89609#90138#0" expanded="false" />
+            <element signature="e#90200#91298#0" expanded="false" />
+            <element signature="e#91362#92486#0" expanded="false" />
+            <element signature="e#92864#93694#0" expanded="false" />
+            <marker date="1583422797019" expanded="true" signature="4585:4645" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583422797019" expanded="true" signature="4947:5009" ph="SELECT ISNUL... " />
+            <marker date="1583422797019" expanded="true" signature="5874:6104" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583422797019" expanded="true" signature="7082:7135" ph="INSERT INTO MF_PSS_Z... " />
+            <marker date="1583422797019" expanded="true" signature="7272:7504" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583422797019" expanded="true" signature="8431:8663" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583422797019" expanded="true" signature="9605:9810" ph="INSERT INTO TF_PSS... " />
+            <marker date="1583422797019" expanded="true" signature="14828:14885" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="15056:15125" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583422797019" expanded="true" signature="15394:15463" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="15865:15925" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583422797019" expanded="true" signature="16227:16289" ph="SELECT ISNUL... " />
+            <marker date="1583422797019" expanded="true" signature="17199:17256" ph="UPDATE MF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="17354:17411" ph="UPDATE MF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="17546:17684" ph="UPDATE MF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="18519:18637" ph="UPDATE MF_AR... " />
+            <marker date="1583422797019" expanded="true" signature="19262:19489" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583422797019" expanded="true" signature="20506:20644" ph="UPDATE MF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="21252:21302" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="21491:21602" ph="UPDATE TF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="23268:23325" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="23545:23614" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583422797019" expanded="true" signature="23929:23998" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="24398:24447" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="24507:24556" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="24616:24667" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="29616:29676" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583422797019" expanded="true" signature="29978:30040" ph="SELECT ISNUL... " />
+            <marker date="1583422797019" expanded="true" signature="30931:31184" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583422797019" expanded="true" signature="32315:32551" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583422797019" expanded="true" signature="33479:33734" ph="INSERT INTO MF_PSS... " />
+            <marker date="1583422797019" expanded="true" signature="34795:35004" ph="INSERT INTO TF_PSS... " />
+            <marker date="1583422797019" expanded="true" signature="39447:39504" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="39765:39834" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583422797019" expanded="true" signature="40149:40218" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="40670:40730" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583422797019" expanded="true" signature="41032:41094" ph="SELECT ISNUL... " />
+            <marker date="1583422797019" expanded="true" signature="42039:42177" ph="UPDATE MF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="42892:43010" ph="UPDATE MF_AR... " />
+            <marker date="1583422797019" expanded="true" signature="43572:43803" ph="INSERT INTO MF_ARP... " />
+            <marker date="1583422797019" expanded="true" signature="44820:44958" ph="UPDATE MF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="45566:45616" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="45826:45937" ph="UPDATE TF_PS... " />
+            <marker date="1583422797019" expanded="true" signature="47392:47449" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="47669:47738" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1583422797019" expanded="true" signature="48053:48122" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1583422797019" expanded="true" signature="48522:48571" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="48631:48680" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="48740:48791" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="53103:53163" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583422797019" expanded="true" signature="53479:53530" ph="SELECT ISNUL... BACC" />
+            <marker date="1583422797019" expanded="true" signature="53985:54279" ph="INSERT INTO TF_MON... " />
+            <marker date="1583422797019" expanded="true" signature="55783:56063" ph="INSERT INTO TF_MON... " />
+            <marker date="1583422797019" expanded="true" signature="56475:56610" ph="INSERT INTO MF_MON... " />
+            <marker date="1583422797019" expanded="true" signature="57039:57262" ph="INSERT INTO MF_BAC... " />
+            <marker date="1583422797019" expanded="true" signature="58117:58271" ph="INSERT INTO TF_BAC... " />
+            <marker date="1583422797019" expanded="true" signature="62940:63000" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1583422797019" expanded="true" signature="63341:63392" ph="SELECT ISNUL... BACC" />
+            <marker date="1583422797019" expanded="true" signature="63868:64021" ph="UPDATE TF_MO... " />
+            <marker date="1583422797019" expanded="true" signature="64390:64544" ph="UPDATE TF_MO... " />
+            <marker date="1583422797019" expanded="true" signature="64809:64858" ph="UPDATE MF_MO... " />
+            <marker date="1583422797019" expanded="true" signature="65046:65133" ph="UPDATE MF_BA... " />
+            <marker date="1583422797019" expanded="true" signature="65410:65469" ph="UPDATE TF_BA... " />
+            <marker date="1583422797019" expanded="true" signature="67023:67070" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="67144:67192" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="67268:67301" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="67389:67422" ph="DELETE FROM " />
+            <marker date="1583422797019" expanded="true" signature="67942:68021" ph="SELECT table... TABLES" />
+            <marker date="1583422797019" expanded="true" signature="68213:68244" ph="SELECT COUNT... MF_LZ1_Z01" />
+            <marker date="1583422797019" expanded="true" signature="68426:68981" ph="SELECT ISNUL... MF_LZ1_Z01" />
+            <marker date="1583422797019" expanded="true" signature="69791:69836" ph="UPDATE MF_LZ... " />
+            <marker date="1583422797019" expanded="true" signature="70170:70248" ph="SELECT table... TABLES" />
+            <marker date="1583422797019" expanded="true" signature="70440:70470" ph="SELECT COUNT... MF_LZ_Z01" />
+            <marker date="1583422797019" expanded="true" signature="70657:71210" ph="SELECT ISNUL... MF_LZ_Z01" />
+            <marker date="1583422797019" expanded="true" signature="72043:72087" ph="UPDATE MF_LZ... " />
+            <marker date="1583422797019" expanded="true" signature="72815:72893" ph="SELECT table... TABLES" />
+            <marker date="1583422797019" expanded="true" signature="73084:73114" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1583422797019" expanded="true" signature="73301:73782" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1583422797019" expanded="true" signature="74369:74413" ph="UPDATE TC_MO... " />
+            <marker date="1583422797019" expanded="true" signature="75178:75256" ph="SELECT table... TABLES" />
+            <marker date="1583422797019" expanded="true" signature="75447:75477" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1583422797019" expanded="true" signature="75664:76109" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1583422797019" expanded="true" signature="76716:76760" ph="UPDATE TC_MO... " />
+            <marker date="1583422797019" expanded="true" signature="77524:77602" ph="SELECT table... TABLES" />
+            <marker date="1583422797019" expanded="true" signature="77793:77823" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1583422797019" expanded="true" signature="78010:78527" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1583422797019" expanded="true" signature="79134:79178" ph="UPDATE TC_MO... " />
+            <marker date="1583422797019" expanded="false" signature="82858:83721" ph="SELECT TOP 2... " />
+            <marker date="1583422797019" expanded="true" signature="85577:85647" ph="UPDATE TF_PO... " />
+            <marker date="1583422797019" expanded="true" signature="85577:85658" ph="UPDATE TF_PO... " />
+            <marker date="1583422797019" expanded="true" signature="86023:86627" ph="SELECT b.dep... mf_mo" />
+            <marker date="1583422797019" expanded="true" signature="88479:88880" ph="INSERT INTO mcaf... " />
+            <marker date="1583422797019" expanded="true" signature="88485:88758" ph="insert into mcaf... " />
+            <marker date="1583422797019" expanded="true" signature="89686:89711" ph="SELECT DEP,N... DEPT" />
+            <marker date="1583422797019" expanded="true" signature="90475:90516" ph="SELECT top 2... PRDT" />
+            <marker date="1583422797019" expanded="true" signature="90475:90517" ph="SELECT top 2... PRDT" />
+            <marker date="1583422797019" expanded="true" signature="90577:90612" ph="SELECT top 2... PRDT" />
+            <marker date="1583422797019" expanded="true" signature="90577:90613" ph="SELECT top 2... PRDT" />
+            <marker date="1583422797019" expanded="true" signature="90760:90775" ph="SELECT top 2... PRDT" />
+            <marker date="1583422797019" expanded="true" signature="91660:91702" ph="SELECT top 2... CUST" />
+            <marker date="1583422797019" expanded="true" signature="91762:91797" ph="SELECT top 2... CUST" />
+            <marker date="1583422797019" expanded="false" signature="92512:92780" ph="..." />
+            <marker date="1583422797019" expanded="true" signature="92557:92586" ph="SELECT TOP 5... MF_MO" />
+            <marker date="1583422797019" expanded="false" signature="92874:93494" ph="SELECT b.dep... mf_mo" />
           </folding>
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/meib/meib/settings/lianxi.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="162">
+          <caret line="6" column="0" lean-forward="true" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
   </component>
 </project>

+ 557 - 0
meib/logs/hwj.log

@@ -50233,3 +50233,560 @@ INFO 2020-03-05 00:43:32,129 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 1
 INFO 2020-03-05 00:43:32,154 basehttp 154 "GET /listtb?st_time=2020-03-05&sh_time=2020-03-05&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-05 00:43:32,951 basehttp 154 "GET /listtb/?st_time=2020-03-05&sh_time=2020-03-05&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-05 00:44:06,792 basehttp 154 "GET /depmacf/?dep=0400 HTTP/1.1" 200 572
+INFO 2020-03-05 17:55:56,739 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 17:57:35,225 basehttp 154 "GET /depps/ HTTP/1.1" 200 26075
+INFO 2020-03-05 17:57:35,302 basehttp 154 "GET /static/css/css.css HTTP/1.1" 304 0
+INFO 2020-03-05 17:57:35,302 basehttp 154 "GET /static/css/macf.css HTTP/1.1" 304 0
+INFO 2020-03-05 17:57:35,309 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 304 0
+WARNING 2020-03-05 17:57:35,556 log 228 Not Found: /favicon.ico
+WARNING 2020-03-05 17:57:35,557 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 4961
+INFO 2020-03-05 17:57:35,874 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 17:57:36,248 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 18:29:41,840 basehttp 154 "GET /depps/ HTTP/1.1" 200 25540
+INFO 2020-03-05 18:29:41,969 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 18:29:41,972 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 18:29:50,540 basehttp 154 "GET /depmacf/?dep=0400 HTTP/1.1" 200 572
+WARNING 2020-03-05 18:29:50,966 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-03-05 18:29:50,977 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-05 18:29:51,040 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-05 18:31:50,343 basehttp 154 "GET /depps/ HTTP/1.1" 200 25550
+INFO 2020-03-05 18:31:50,398 basehttp 154 "GET /static/css/macf.css HTTP/1.1" 200 2561
+INFO 2020-03-05 18:31:50,399 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5183
+INFO 2020-03-05 18:31:50,497 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-03-05 18:31:50,510 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-03-05 18:31:50,518 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-03-05 18:31:50,521 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-03-05 18:31:50,528 basehttp 154 "GET /static/css/layer.css HTTP/1.1" 200 5260
+INFO 2020-03-05 18:31:50,545 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-03-05 18:31:50,553 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+WARNING 2020-03-05 18:31:50,582 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+INFO 2020-03-05 18:31:50,586 basehttp 154 "GET /static/js/layer.js HTTP/1.1" 200 3303
+INFO 2020-03-05 18:31:50,601 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+WARNING 2020-03-05 18:31:50,636 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-03-05 18:31:50,648 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-03-05 18:31:50,670 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-03-05 18:31:50,715 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 18:31:50,721 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 18:31:57,027 basehttp 154 "GET /depmacf/?dep=0100 HTTP/1.1" 200 572
+INFO 2020-03-05 19:56:59,295 basehttp 154 "GET /index HTTP/1.1" 301 0
+INFO 2020-03-05 19:56:59,687 basehttp 154 "GET /index/ HTTP/1.1" 200 26926
+INFO 2020-03-05 19:56:59,736 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 304 0
+INFO 2020-03-05 19:56:59,736 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 304 0
+INFO 2020-03-05 19:56:59,893 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 19:56:59,935 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 3481
+INFO 2020-03-05 19:56:59,938 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 1454
+INFO 2020-03-05 19:57:02,215 basehttp 154 "GET /listtb/?st_time=2020-03-05&sh_time=2020-03-05&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-05 19:57:09,482 basehttp 154 "GET /depps HTTP/1.1" 301 0
+INFO 2020-03-05 19:57:09,496 basehttp 154 "GET /depps/ HTTP/1.1" 200 25550
+INFO 2020-03-05 19:57:09,719 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 19:57:09,725 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 19:57:55,968 basehttp 154 "GET /prdt/?search_no=%E4%B8%AD%E5%9B%BD HTTP/1.1" 200 3192
+INFO 2020-03-05 19:58:03,872 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 3481
+INFO 2020-03-05 19:58:10,318 basehttp 154 "GET /prdt/?search_no=%E4%B8%AD%E5%9B%BD HTTP/1.1" 200 3192
+INFO 2020-03-05 19:58:31,790 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 3481
+INFO 2020-03-05 19:59:13,009 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 3481
+INFO 2020-03-05 19:59:38,102 basehttp 154 "GET /prdt/?search_no=%E7%BF%A0%E7%BB%BF HTTP/1.1" 200 3802
+INFO 2020-03-05 19:59:44,286 basehttp 154 "GET /prdt/?search_no=470 HTTP/1.1" 200 4445
+INFO 2020-03-05 20:01:00,873 basehttp 154 "GET /prdt/?search_no=000000%EF%BC%8C+CA12000C%E6%98%93%E6%90%BA%E8%A2%8B%E8%81%AA%E6%98%8E%E8%B1%A1%E4%B8%99%E7%83%AF%E9%A2%9C%E6%96%99%E8%A2%8B%E8%BA%AB%E6%A0%87%E7%AD%BE%EF%BC%88%E7%86%8A%E7%8C%AB%E5%BD%A2%EF%BC%8C%E9%93%B6%E8%89%B2%EF%BC%89%EF%BC%8C%E6%A1%94%E9%BB%84 HTTP/1.1" 200 291
+INFO 2020-03-05 20:02:24,379 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 3481
+INFO 2020-03-05 20:14:41,563 basehttp 154 "GET /depps/ HTTP/1.1" 200 25950
+INFO 2020-03-05 20:14:41,682 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:14:41,686 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:14:46,679 basehttp 154 "GET /depmacf/?dep=0300 HTTP/1.1" 200 572
+INFO 2020-03-05 20:34:12,358 basehttp 154 "GET /depps/ HTTP/1.1" 200 25323
+INFO 2020-03-05 20:34:12,389 basehttp 154 "GET /static/css/css.css HTTP/1.1" 304 0
+INFO 2020-03-05 20:34:12,392 basehttp 154 "GET /static/css/macf.css HTTP/1.1" 304 0
+INFO 2020-03-05 20:34:12,491 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:34:12,496 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:35:33,227 basehttp 154 "GET /depps/ HTTP/1.1" 200 25081
+INFO 2020-03-05 20:35:33,325 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:35:33,331 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:35:56,278 basehttp 154 "GET /depps/ HTTP/1.1" 200 25073
+INFO 2020-03-05 20:35:56,377 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:35:56,382 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:36:22,690 basehttp 154 "GET /depps/ HTTP/1.1" 200 25071
+INFO 2020-03-05 20:36:22,782 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:36:22,786 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:37:13,265 basehttp 154 "GET /depps/ HTTP/1.1" 200 25090
+INFO 2020-03-05 20:37:13,372 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:37:13,378 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:38:12,724 basehttp 154 "GET /depps/ HTTP/1.1" 200 25234
+INFO 2020-03-05 20:38:12,819 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:38:12,822 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:38:34,892 basehttp 154 "GET /depps/ HTTP/1.1" 200 25245
+INFO 2020-03-05 20:38:34,991 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:38:34,996 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:39:31,722 basehttp 154 "GET /depps/ HTTP/1.1" 200 25240
+INFO 2020-03-05 20:39:31,824 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:39:31,827 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:39:49,682 basehttp 154 "GET /depps/ HTTP/1.1" 200 25229
+INFO 2020-03-05 20:39:49,790 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:39:49,795 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:40:04,004 basehttp 154 "GET /depps/ HTTP/1.1" 200 25210
+INFO 2020-03-05 20:40:04,092 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:40:04,095 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:40:33,878 basehttp 154 "GET /depps/ HTTP/1.1" 200 25182
+INFO 2020-03-05 20:40:33,988 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:40:33,991 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:40:52,443 basehttp 154 "GET /depps/ HTTP/1.1" 200 25145
+INFO 2020-03-05 20:40:52,526 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:40:52,530 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:40:58,515 basehttp 154 "GET /depps/ HTTP/1.1" 200 25182
+INFO 2020-03-05 20:40:58,597 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:40:58,600 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:41:22,840 basehttp 154 "GET /depps/ HTTP/1.1" 200 25042
+INFO 2020-03-05 20:41:22,926 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:41:22,929 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:42:50,056 basehttp 154 "GET /depps/ HTTP/1.1" 200 25068
+INFO 2020-03-05 20:42:50,156 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:42:50,161 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:43:18,084 basehttp 154 "GET /depps/ HTTP/1.1" 200 25088
+INFO 2020-03-05 20:43:18,183 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:43:18,187 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:51:44,611 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 20:51:45,444 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 20:52:22,748 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 20:52:23,600 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 20:55:43,812 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\urls.py changed, reloading.
+INFO 2020-03-05 20:55:44,481 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 20:56:02,069 basehttp 154 "GET /depps/ HTTP/1.1" 200 24419
+INFO 2020-03-05 20:56:02,215 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:56:02,220 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:56:07,183 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 20:56:31,747 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 20:56:32,441 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 20:57:46,551 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 20:57:47,268 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 20:58:44,251 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 20:58:45,189 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 20:58:49,409 basehttp 154 "GET /depps/ HTTP/1.1" 200 24419
+INFO 2020-03-05 20:58:49,557 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 20:58:49,558 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 20:58:54,593 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 20:58:56,177 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:00:38,865 basehttp 154 "GET /depmacfdepdata/?dep=0403-1 HTTP/1.1" 200 584
+INFO 2020-03-05 21:03:11,479 basehttp 154 "GET /depps/ HTTP/1.1" 200 24408
+INFO 2020-03-05 21:03:11,591 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:03:11,594 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:03:18,551 basehttp 154 "GET /depmacfdepdata/?dep=0403-1 HTTP/1.1" 200 584
+INFO 2020-03-05 21:03:23,431 basehttp 154 "GET /depmacfdepdata/?dep=0500 HTTP/1.1" 200 584
+INFO 2020-03-05 21:03:25,528 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:04:17,888 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:04:18,874 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:04:23,501 basehttp 154 "GET /depps/ HTTP/1.1" 200 24408
+INFO 2020-03-05 21:04:23,599 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:04:23,604 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:04:28,514 basehttp 154 "GET /depmacfdepdata/?dep=0403 HTTP/1.1" 200 584
+INFO 2020-03-05 21:04:33,274 basehttp 154 "GET /depmacfdepdata/?dep=0403-2 HTTP/1.1" 200 584
+ERROR 2020-03-05 21:04:34,532 log 228 Internal Server Error: /depmacf/
+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 1844, in post
+    print(req_data.data_list)
+AttributeError: 'dict' object has no attribute 'data_list'
+ERROR 2020-03-05 21:04:34,534 basehttp 154 "POST /depmacf/ HTTP/1.1" 500 82879
+INFO 2020-03-05 21:04:57,126 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:04:58,167 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:06:07,933 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:06:08,039 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:06:08,043 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:06:13,502 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 21:06:18,376 basehttp 154 "GET /depmacfdepdata/?dep=0403 HTTP/1.1" 200 584
+INFO 2020-03-05 21:06:20,325 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:07:45,284 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:07:46,014 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:07:52,100 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:07:52,905 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:07:59,238 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:07:59,347 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:07:59,353 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:08:03,553 basehttp 154 "GET /depmacfdepdata/?dep=0200 HTTP/1.1" 200 584
+ERROR 2020-03-05 21:08:05,990 log 228 Internal Server Error: /depmacf/
+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 1847, in post
+    for i,itm in req_data["data_list"]:
+ValueError: too many values to unpack (expected 2)
+ERROR 2020-03-05 21:08:05,995 basehttp 154 "POST /depmacf/ HTTP/1.1" 500 82033
+INFO 2020-03-05 21:08:17,871 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:08:18,845 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:08:21,933 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:08:22,032 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:08:22,037 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:08:26,157 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 21:08:30,200 basehttp 154 "GET /depmacfdepdata/?dep=0402 HTTP/1.1" 200 584
+INFO 2020-03-05 21:08:31,299 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:14:31,430 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:14:32,143 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:16:59,346 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:17:00,262 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:17:12,221 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:17:12,919 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:18:56,328 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:18:57,180 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:19:09,129 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:19:10,044 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:19:17,660 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:19:17,787 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:19:17,790 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:19:22,794 basehttp 154 "GET /depmacfdepdata/?dep=0402 HTTP/1.1" 200 584
+INFO 2020-03-05 21:19:27,364 basehttp 154 "GET /depmacfdepdata/?dep=0406 HTTP/1.1" 200 584
+ERROR 2020-03-05 21:19:49,719 log 228 Internal Server Error: /depmacf/
+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.Error: ('HY090', '[HY090] [Microsoft][ODBC 驱动程序管理器] 无效的字符串或缓冲区长度 (0) (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 1854, in post
+    cursor.execute(sql,[])
+  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.Error: ('HY090', '[HY090] [Microsoft][ODBC 驱动程序管理器] 无效的字符串或缓冲区长度 (0) (SQLExecDirectW)')
+ERROR 2020-03-05 21:19:49,725 basehttp 154 "POST /depmacf/ HTTP/1.1" 500 125558
+INFO 2020-03-05 21:20:54,030 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:20:55,085 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:21:05,797 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:21:06,814 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:21:10,278 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:21:19,192 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:27:41,616 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:27:42,361 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:28:31,222 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:28:32,379 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:28:48,050 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:28:48,900 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:29:27,610 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:29:28,614 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:30:56,788 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:30:57,540 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:31:07,086 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:31:07,239 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:31:07,250 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:31:11,628 basehttp 154 "GET /depmacfdepdata/?dep=0302 HTTP/1.1" 200 584
+INFO 2020-03-05 21:31:17,006 basehttp 154 "GET /depmacfdepdata/?dep=0405 HTTP/1.1" 200 584
+INFO 2020-03-05 21:31:56,000 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:32:11,010 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:32:11,766 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:32:55,184 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:32:56,025 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:33:12,560 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:33:13,428 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:33:46,715 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:33:47,638 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:34:45,458 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:34:46,264 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:34:52,637 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:34:52,783 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:34:52,786 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:34:59,211 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 21:35:07,127 basehttp 154 "GET /depmacfdepdata/?dep=0403 HTTP/1.1" 200 584
+INFO 2020-03-05 21:35:17,270 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:36:54,220 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:36:54,971 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:37:21,930 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:37:22,782 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:39:12,117 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:39:13,121 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:39:33,329 basehttp 154 "GET /depps/ HTTP/1.1" 200 25577
+INFO 2020-03-05 21:39:33,445 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:39:33,448 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:39:38,048 basehttp 154 "GET /depmacfdepdata/?dep=0401 HTTP/1.1" 200 584
+INFO 2020-03-05 21:40:28,274 basehttp 154 "GET /depmacfdepdata/?dep=0404 HTTP/1.1" 200 584
+INFO 2020-03-05 21:41:32,622 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:42:21,738 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:42:22,575 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:42:34,562 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:42:35,675 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:44:03,033 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:44:03,774 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:46:31,939 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:46:32,812 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:48:29,214 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:48:30,311 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:49:27,543 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:49:31,254 basehttp 154 "GET /depps/ HTTP/1.1" 200 25582
+INFO 2020-03-05 21:49:31,381 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:49:31,390 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:49:35,948 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 21:49:40,614 basehttp 154 "GET /depmacfdepdata/?dep=0406 HTTP/1.1" 200 584
+INFO 2020-03-05 21:55:00,525 basehttp 154 "GET /depps/ HTTP/1.1" 200 25562
+INFO 2020-03-05 21:55:00,658 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:55:00,662 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:55:04,316 basehttp 154 "GET /depmacfdepdata/?dep=0302 HTTP/1.1" 200 584
+INFO 2020-03-05 21:55:52,696 basehttp 154 "GET /depps/ HTTP/1.1" 200 25587
+INFO 2020-03-05 21:55:52,806 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:55:52,811 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:55:57,390 basehttp 154 "GET /depmacfdepdata/?dep=0302 HTTP/1.1" 200 584
+INFO 2020-03-05 21:56:15,027 basehttp 154 "GET /depmacfdepdata/?dep=0406 HTTP/1.1" 200 584
+INFO 2020-03-05 21:56:37,775 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:57:23,464 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:57:24,361 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 21:57:27,903 basehttp 154 "GET /depps/ HTTP/1.1" 200 25587
+INFO 2020-03-05 21:57:28,018 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 21:57:28,022 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 21:57:31,403 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 21:57:35,152 basehttp 154 "GET /depmacfdepdata/?dep=0403-1 HTTP/1.1" 200 584
+INFO 2020-03-05 21:57:56,047 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 21:59:58,221 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 21:59:58,953 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:00:12,049 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:00:13,017 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:02:11,714 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:02:12,609 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:02:23,525 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 22:02:23,650 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 22:02:23,664 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 22:02:27,813 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 22:02:31,737 basehttp 154 "GET /depmacfdepdata/?dep=0405 HTTP/1.1" 200 584
+INFO 2020-03-05 22:03:03,714 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 22:03:45,984 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:03:46,737 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:04:17,106 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:04:17,922 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:05:51,838 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:05:53,092 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:06:19,330 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:06:20,105 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:06:27,052 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 22:06:27,170 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 22:06:27,174 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 22:06:31,183 basehttp 154 "GET /depmacfdepdata/?dep=0402 HTTP/1.1" 200 584
+INFO 2020-03-05 22:06:35,215 basehttp 154 "GET /depmacfdepdata/?dep=0404 HTTP/1.1" 200 584
+INFO 2020-03-05 22:08:45,066 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 22:10:06,553 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:10:07,420 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:10:12,363 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:10:13,335 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:11:07,595 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:11:08,561 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:11:18,469 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:11:19,483 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:11:21,516 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 22:11:21,639 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 22:11:21,645 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 22:11:25,810 basehttp 154 "GET /depmacfdepdata/?dep=0404 HTTP/1.1" 200 584
+INFO 2020-03-05 22:11:30,378 basehttp 154 "GET /depmacfdepdata/?dep=0500 HTTP/1.1" 200 584
+INFO 2020-03-05 22:13:08,027 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 22:14:36,866 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:14:37,829 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:14:46,429 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:14:47,255 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:15:52,859 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:15:53,605 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:15:59,537 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 22:15:59,648 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 22:15:59,654 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 22:16:03,656 basehttp 154 "GET /depmacfdepdata/?dep=0402 HTTP/1.1" 200 584
+INFO 2020-03-05 22:16:07,665 basehttp 154 "GET /depmacfdepdata/?dep=0404 HTTP/1.1" 200 584
+ERROR 2020-03-05 22:18:25,059 log 228 Internal Server Error: /depmacf/
+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 1868, in post
+    p_gap = float(i["s_d_staffing"])*(float(i["un_qty"])/float(i["s_capacity"]))*11/274*1.2-i["e_d_workers"]
+TypeError: unsupported operand type(s) for -: 'float' and 'str'
+ERROR 2020-03-05 22:18:25,061 basehttp 154 "POST /depmacf/ HTTP/1.1" 500 86685
+INFO 2020-03-05 22:18:55,091 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:18:56,001 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:19:05,949 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 22:19:16,335 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:19:17,192 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:19:21,729 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 22:19:21,847 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 22:19:21,852 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 22:19:25,240 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 22:19:31,437 basehttp 154 "GET /depmacfdepdata/?dep=0401 HTTP/1.1" 200 584
+INFO 2020-03-05 22:19:37,492 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 22:40:40,090 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:40:41,078 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:41:05,066 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:41:05,825 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:44:38,801 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:44:39,882 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:47:25,184 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:47:25,942 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:49:08,034 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:49:08,987 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:49:18,043 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 22:49:18,072 basehttp 154 "GET /static/css/css.css HTTP/1.1" 304 0
+INFO 2020-03-05 22:49:18,073 basehttp 154 "GET /static/css/macf.css HTTP/1.1" 304 0
+INFO 2020-03-05 22:49:18,178 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 22:49:18,182 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 22:49:22,565 basehttp 154 "GET /depmacfdepdata/?dep=0402 HTTP/1.1" 200 584
+ERROR 2020-03-05 22:49:31,979 log 228 Internal Server Error: /depmacf/
+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 1871, in post
+    VALUES ({0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12},{13},{14},{15},{16},{17},{18},{19},{20},{21})""".format()
+IndexError: tuple index out of range
+ERROR 2020-03-05 22:49:31,980 basehttp 154 "POST /depmacf/ HTTP/1.1" 500 85728
+INFO 2020-03-05 22:49:52,013 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:49:53,024 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 22:49:56,808 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 22:57:41,367 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 22:57:42,159 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:01:01,132 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:01:01,895 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:04:07,204 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:04:09,842 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:04:10,006 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:04:10,016 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:04:14,620 basehttp 154 "GET /depmacfdepdata/?dep=0401 HTTP/1.1" 200 584
+ERROR 2020-03-05 23:04:15,774 log 228 Internal Server Error: /depmacf/
+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 1872, in post
+    """.format(itm,i["dep"],monthly_odd_old,i["dd"],i["un_qty"],i["s_capacity"],i["s_d_staffing"],["e_capacity"]	,
+KeyError: 'dd'
+ERROR 2020-03-05 23:04:15,775 basehttp 154 "POST /depmacf/ HTTP/1.1" 500 85932
+INFO 2020-03-05 23:07:31,584 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:07:32,562 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:07:39,886 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:08:10,007 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:08:23,142 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:08:23,276 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:08:23,279 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:08:30,319 basehttp 154 "GET /depmacfdepdata/?dep=0401 HTTP/1.1" 200 584
+INFO 2020-03-05 23:08:31,918 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:11:37,241 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:11:38,243 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:12:11,226 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:12:12,154 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:14:53,347 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:15:06,099 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:15:06,211 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:15:06,217 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:15:13,539 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 23:15:14,961 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:17:35,479 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:17:36,413 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:19:46,229 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:21:00,740 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:21:13,013 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:21:13,129 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:21:13,142 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:21:18,293 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 23:21:26,769 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:28:29,512 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:28:30,529 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:29:13,174 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:29:14,100 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:33:34,242 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:33:37,203 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:33:37,318 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:33:37,324 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:33:41,808 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 23:33:43,018 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:34:27,607 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:34:27,733 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:34:27,739 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:34:32,064 basehttp 154 "GET /depmacfdepdata/?dep=0300 HTTP/1.1" 200 584
+INFO 2020-03-05 23:34:37,103 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:35:39,145 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:35:39,874 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:35:44,938 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:35:45,050 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:35:45,056 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:35:51,237 basehttp 154 "GET /depmacfdepdata/?dep=0301 HTTP/1.1" 200 584
+INFO 2020-03-05 23:35:55,864 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:36:59,487 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:36:59,595 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:36:59,599 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:37:06,829 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 23:37:10,389 basehttp 154 "GET /depmacfdepdata/?dep=0403 HTTP/1.1" 200 584
+INFO 2020-03-05 23:37:11,744 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:38:17,436 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:38:24,242 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:38:24,372 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:38:24,378 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:38:27,862 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 23:38:32,178 basehttp 154 "GET /depmacfdepdata/?dep=0404 HTTP/1.1" 200 584
+INFO 2020-03-05 23:38:33,216 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:39:15,241 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-03-05 23:39:16,310 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:39:17,634 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:39:17,738 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:39:17,752 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:39:22,258 basehttp 154 "GET /depmacfdepdata/?dep=0400 HTTP/1.1" 200 584
+INFO 2020-03-05 23:39:26,484 basehttp 154 "GET /depmacfdepdata/?dep=0403-1 HTTP/1.1" 200 584
+INFO 2020-03-05 23:39:27,514 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:39:58,702 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-03-05 23:40:05,645 basehttp 154 "GET /depps/ HTTP/1.1" 200 25592
+INFO 2020-03-05 23:40:05,749 basehttp 154 "GET /oddno/ HTTP/1.1" 200 208
+INFO 2020-03-05 23:40:05,759 basehttp 154 "GET /dept/ HTTP/1.1" 200 44338
+INFO 2020-03-05 23:40:09,776 basehttp 154 "GET /depmacfdepdata/?dep=0401 HTTP/1.1" 200 584
+INFO 2020-03-05 23:40:17,054 basehttp 154 "GET /depmacfdepdata/?dep=0407 HTTP/1.1" 200 584
+INFO 2020-03-05 23:40:32,017 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:42:03,742 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74
+INFO 2020-03-05 23:42:05,031 basehttp 154 "POST /depmacf/ HTTP/1.1" 200 74

+ 1 - 0
meib/meib/apps/erp/urls.py

@@ -12,6 +12,7 @@ urlpatterns = [
     url(r'^erppt/$',views.pt.as_view()),  # 厂商付款单
     url(r'^index/$',views.index.as_view()),  # 渲染模板
     url(r'^listtb/$',views.listtb.as_view()),  # 一览表数据操作
+    url(r'^depmacfdepdata/$',views.DepMacfDepData.as_view()),  # 一览表数据操作
     url(r'^depps/$',views.depps.as_view()),  # 月度产能评估表模板
     url(r'^depmacf/$',views.DepMacf.as_view()),  # 月度产能评估功能接口增删查改
     url(r'^dept/$',views.dept.as_view()),  # 查询部门

+ 60 - 13
meib/meib/apps/erp/views.py

@@ -1672,11 +1672,11 @@ class pt(View):
                 "code": 200
             }
             return http.JsonResponse(context)
-# 渲染order.html模板
+# 渲染order.html模板数据订单一览表
 class index(View):
     def get(self, request):
         return render(request, 'order.html')
-# order.html模板模板功数据
+# 订单一览表数据接口
 class listtb(View):
     def get(self, request):
         st_time = request.GET["st_time"]  # 开始时间
@@ -1838,6 +1838,49 @@ from mf_mo a left join dept b on a.dep=b.dep where isnull(a.CLOSE_ID,'')!='T' an
             "code": 200
         }
         return http.JsonResponse(context)
+    def post(self,request):
+        # 获取数据
+        req_data = json.loads(request.body.decode())["params"]
+        print(req_data["data_list"])
+        monthly_odd_old = '20200219009'
+        monthly_odd_new = monthly_odd(monthly_odd_old)  #生产单号
+        t_today = datetime.datetime.now().strftime('%Y-%m-%d')  # 获取年月日
+        itm = 1 #定义项次
+        with connection.cursor() as cursor:
+            for i in req_data["data_list"]:
+                # 计算订单可维持天数
+                tolf_days = float(i["un_qty"])/float(i["s_capacity"])
+                #计算现有配置可生产天数
+                p_d_f_e_configurations = float(i["un_qty"])/float(i["e_capacity"])
+                #计算现有出勤人员合计
+                work_sum = float(i["e_a_workers"])+float(i["e_d_workers"])
+                # 计算直接工人274小时/25天
+                zj_274_24 = (float(i["ok_qty"])/(float(i["s_capacity"])+float(i["s_d_staffing"])))/25
+                #计算按274小时/25天配置人员
+                a_274_24 = (float(i["ok_qty"])/(float(i["s_capacity"])+float(i["s_d_staffing"])))/25+float(i["e_a_workers"])
+                #计算计划新增人员配置
+                new_personnel = (float(i["ok_qty"])/(float(i["s_capacity"])+float(i["s_d_staffing"])))/25-float(i["e_d_workers"])
+                #计算需求工时
+                need_hours = float(i["s_d_staffing"])*(float(i["un_qty"])/float(i["s_capacity"]))*11
+                #计算按25个工作日计算人员需求
+                a_25 = float(i["s_d_staffing"])*(float(i["un_qty"])/float(i["s_capacity"]))*11/274*1.2
+                #计算人员缺口
+                p_gap = float(i["s_d_staffing"])*(float(i["un_qty"])/float(i["s_capacity"]))*11/274*1.2-float(i["e_d_workers"])
+                sql = """INSERT INTO mcaf(itm,dep,no,dep_name,dd,un_qty,s_capacity,s_d_staffing,e_capacity,tolf_days,epl_personnel,p_d_f_e_configurations,
+                a_strength,e_a_workers,work_sum,zj_274_24,a_274_24,new_personnel,rem,need_hours,a_25,e_d_workers,p_gap,ok_qty)
+                VALUES ({0},'{1}','{2}','{3}',{4},{5},{6},{7},{8},{9},{10},{11},'{12}',{13},{14},{15},{16},{17},'{18}',{19},{20},{21},{22},{23})
+                """.format(itm,i["dep"],monthly_odd_old,i["dep_name"],t_today,i["un_qty"],i["s_capacity"],i["s_d_staffing"],i["e_capacity"]	,
+                           tolf_days,i["epl_personnel"],p_d_f_e_configurations,i["a_strength"],i["e_a_workers"]	,work_sum,
+                           zj_274_24,a_274_24,new_personnel,i["rem"],need_hours,a_25,i["e_d_workers"],p_gap,i["ok_qty"])
+                itm +=1
+                cursor.execute(sql,[])
+        # data = {"monthly_odd_new":monthly_odd_new}
+        context = {
+            "data": monthly_odd_new,
+            "errmsg": "保存成功",
+            "code": 200
+        }
+        return http.JsonResponse(context)
 # 获取部门数据
 class dept(View):
     def get(self, request):
@@ -1890,15 +1933,6 @@ class Prdt(View):
         return http.JsonResponse(context)
 # 获取客户信息
 class Cust(View):
-    # def get(self, request):
-    #     sql = ("SELECT CUS_NO,NAME FROM CUST WHERE OBJ_ID ='1' OR OBJ_ID = '3'")
-    #     result = executeQuery(sql)
-    #     context = {
-    #         "data": result,
-    #         "errmsg": "获取部门成功",
-    #         "code": 200
-    #     }
-    #     return http.JsonResponse(context)
     def get(self, request):
         search_no = request.GET["search_no"]
         if search_no != '':
@@ -1929,8 +1963,6 @@ class Cust(View):
             "code": 200
         }
         return http.JsonResponse(context)
-
-
 # 查询单号
 class oddNo(View):
     def get(self, request):
@@ -1943,6 +1975,21 @@ class oddNo(View):
         }
         return http.JsonResponse(context)
 
+# 月度产能评估表更具部门获取数据
+class DepMacfDepData(View):
+    def get(self, request):
+        sql = ("""SELECT b.dep,b.name as dep_name,cast(sum(isnull(a.QTY_FIN,0)) as decimal(14,2)) as ok_qty,cast(sum(ISNULL(a.QTY,0)-isnull(a.QTY_FIN,0)) as decimal(14,2)) as un_qty,
+    0.1 as s_capacity ,0.1 as s_d_staffing ,0.1 as e_capacity ,0.1 as tolf_days ,0.1 as epl_personnel ,0.1 as p_d_f_e_configurations,
+    0.1 as a_strength ,0.1 as e_a_workers ,0.1 as work_sum,0.1 as zj_274_24 ,0.1 as a_274_24 ,0.1 as new_personnel ,0.1 as rem ,0.1 as need_hours, 0.1 as a_25 ,
+    0.1 as e_d_workers ,0.1 as p_gap
+    from mf_mo a left join dept b on a.dep=b.dep where isnull(a.CLOSE_ID,'')!='T' and a.dep='MMG01L1' group by b.dep,b.name""")
+        result = executeQuery(sql)
+        context = {
+            "data": result[0],
+            "errmsg": "获取部门数据成功",
+            "code": 200
+        }
+        return http.JsonResponse(context)
 # 生成月度产能评估表单号
 class monthly(View):
     def get(self, request):

+ 1 - 1
meib/meib/settings/lianxi.py

@@ -3,4 +3,4 @@ import datetime
 
 detester = '2019-10-17'
 date = datetime.datetime.strptime(detester,'%Y-%m-%d')
-print(date)
+print(date)

+ 111 - 97
meib/meib/templates/dep_ps.html

@@ -131,7 +131,11 @@
             <button class="btn btn-primary abc" @click="add_no()" disabled="disabled">保存</button>
             <button class="btn btn-primary update" @click="add_no()" disabled="disabled">修改</button>
             <button class="btn btn-primary del" @click="add_no()" disabled="disabled">删除</button>
-            <!-- row这个类是用于设置取消内边距 -->
+            <label>
+                <div class="input">
+                    单号:<input type="text" v-model="monthly_odd_new" disabled="disabled">
+                </div>
+            </label>
             <table class="table table-bordered table-hover table-striped">
                 <tbody>
                     <!-- <tr v-for="(item,i) in list" :key="item.OS_NO" style="background-color: yellowgreen;"> -->
@@ -160,28 +164,70 @@
                         <td class="macf_22">操作</td>
                     </tr>
                     <tr v-for="(item,i) in data_list" :key="item.DEP_DEP" class="itm_tr">
-                        <td class="macf_01" v-text="i+1"></td>  <!--这里是序号-->
-                        <td class="macf_02" v-text="item.dep"></td>       <!--产线-->
-                        <td class="macf_03" v-text="item.dep_name"></td>       <!--产线名称-->
-                        <td class="macf_04" ><input class="macf_04" type="number" v-model="item.un_qty" disabled="disabled"></td>     <!--未完工数量-->
-                        <td class="macf_05"><input class="macf_05" type="number" v-model="item.s_capacity"></td>   <!--标准/满线日产能-->
-                        <td class="macf_07"><input class="macf_07" type="number" v-bind:value="Number(item.un_qty)/Number(item.s_capacity) | rounding" disabled="disabled"></td>     <!--订单可维持天数-->
-                        <td class="macf_06"><input class="macf_06" type="number" v-model="item.s_d_staffing"></td>   <!--标准直接人员配置-->
-                        <td class="macf_08"><input class="macf_08" type="number" v-model="item.e_capacity"></td>       <!--现有产能-->
-                        <td class="macf_09"><input class="macf_09" type="number" v-model="item.epl_personnel"></td>    <!--现有生产线/人员-->
-                        <td class="macf_10"><input class="macf_10" type="number" v-bind:value="Number(item.un_qty)/Number(item.e_capacity) | rounding" disabled="disabled"></td>     <!--现有配置可生产天数-->
-                        <td class="macf_11"><input class="macf_11" type="number" v-model="item.e_a_workers"></td>       <!--现有辅助工人-->
-                        <td class="macf_18"><input class="macf_18" type="number" v-model="item.e_d_workers"></td>       <!--现有直接工人-->
-                        <td class="macf_12"><input class="macf_12" type="number" v-bind:value="Number(item.e_a_workers)+Number(item.e_d_workers) | rounding" disabled="disabled"></td>       <!--现有出勤人员合计-->
-                        <td class="macf_13"><input class="macf_13" type="number" v-bind:value="Number(item.ok_qty)/(Number(item.s_capacity)+Number(item.s_d_staffing)) | rounding" disabled="disabled"></td>       <!--直接工人274小时/25天-->
-                        <td class="macf_14"><input class="macf_14" type="number" v-bind:value="Number(item.ok_qty)/(Number(item.s_capacity)+Number(item.s_d_staffing))+Number(item.e_a_workers) | rounding" disabled="disabled"></td>     <!--按274小时/25天-->
-                        <td class="macf_15"><input class="macf_15" type="number" v-bind:value="Number(item.ok_qty)/(Number(item.s_capacity)+Number(item.s_d_staffing))-Number(item.e_d_workers) | rounding" disabled="disabled"></td>       <!--计划新增人员配置-->
-                        <td class="macf_16"><input class="macf_16" type="number" v-bind:value="Number(item.s_d_staffing)*(Number(item.un_qty)/Number(item.s_capacity))*11 | rounding" disabled="disabled"></td>       <!--需求工时-->
-                        <td class="macf_17"><input class="macf_17" type="number" v-bind:value="Number(item.s_d_staffing)*(Number(item.un_qty)/Number(item.s_capacity))*11/274*1.2 | rounding" disabled="disabled"></td>       <!--按25个工作日计算人员需求-->
-                        <td class="macf_19"><input class="macf_19" type="number" v-bind:value="Number(item.s_d_staffing)*(Number(item.un_qty)/Number(item.s_capacity))*11/274*1.2-item.e_d_workers | rounding" disabled="disabled"></td>       <!--人员缺口-->
-                        <td class="macf_20"><input class="macf_20" type="text" v-model="item.a_strength"></td>       <!--编制-->
-                        <td class="macf_21"><textarea class="macf_21" rows="1" cols="10" v-model="item.rem">我是一个文本框。</textarea></td>       <!--备注-->
-                        <td class="macf_22">操作</td>       <!--操作-->
+                        <!--这里是序号-->
+                        <td class="macf_01" v-text="i+1"></td>
+                        <!--产线-->
+                        <td class="macf_02" v-text="item.dep"></td>
+                        <!--产线名称-->
+                        <td class="macf_03" v-text="item.dep_name"></td>
+                        <!--未完工数量-->
+                        <td class="macf_04"><input class="macf_04" type="number" v-model="item.un_qty"
+                                disabled="disabled"></td>
+                        <!--标准/满线日产能-->
+                        <td class="macf_05"><input class="macf_05" type="number" v-model="item.s_capacity"></td>
+                        <!--订单可维持天数-->
+                        <td class="macf_07"><input class="macf_07" type="number"
+                                v-bind:value="Number(item.un_qty)/Number(item.s_capacity) | rounding"
+                                disabled="disabled"></td>
+                        <!--标准直接人员配置-->
+                        <td class="macf_06"><input class="macf_06" type="number" v-model="item.s_d_staffing"></td>
+                        <!--现有产能-->
+                        <td class="macf_08"><input class="macf_08" type="number" v-model="item.e_capacity"></td>
+                        <!--现有生产线/人员-->
+                        <td class="macf_09"><input class="macf_09" type="number" v-model="item.epl_personnel"></td>
+                        <!--现有配置可生产天数-->
+                        <td class="macf_10"><input class="macf_10" type="number"
+                                v-bind:value="Number(item.un_qty)/Number(item.e_capacity) | rounding"
+                                disabled="disabled"></td>
+                        <!--现有辅助工人-->
+                        <td class="macf_11"><input class="macf_11" type="number" v-model="item.e_a_workers"></td>
+                        <!--现有直接工人-->
+                        <td class="macf_18"><input class="macf_18" type="number" v-model="item.e_d_workers"></td>
+                        <!--现有出勤人员合计-->
+                        <td class="macf_12"><input class="macf_12" type="number"
+                                v-bind:value="Number(item.e_a_workers)+Number(item.e_d_workers) | rounding"
+                                disabled="disabled"></td>
+                        <!--直接工人274小时/25天-->
+                        <td class="macf_13"><input class="macf_13" type="number"
+                                v-bind:value="(Number(item.ok_qty)/(Number(item.s_capacity)+Number(item.s_d_staffing)))/25 | rounding"
+                                disabled="disabled"></td>
+                        <!--按274小时/25天-->
+                        <td class="macf_14"><input class="macf_14" type="number"
+                                v-bind:value="(Number(item.ok_qty)/(Number(item.s_capacity)+Number(item.s_d_staffing)))/25+Number(item.e_a_workers) | rounding"
+                                disabled="disabled"></td>
+                        <!--计划新增人员配置-->
+                        <td class="macf_15"><input class="macf_15" type="number"
+                                v-bind:value="(Number(item.ok_qty)/(Number(item.s_capacity)+Number(item.s_d_staffing)))/25-Number(item.e_d_workers) | rounding"
+                                disabled="disabled"></td>
+                        <!--需求工时-->
+                        <td class="macf_16"><input class="macf_16" type="number"
+                                v-bind:value="Number(item.s_d_staffing)*(Number(item.un_qty)/Number(item.s_capacity))*11 | rounding"
+                                disabled="disabled"></td>
+                        <!--按25个工作日计算人员需求-->
+                        <td class="macf_17"><input class="macf_17" type="number"
+                                v-bind:value="Number(item.s_d_staffing)*(Number(item.un_qty)/Number(item.s_capacity))*11/274*1.2 | rounding"
+                                disabled="disabled"></td>
+                        <!--人员缺口-->
+                        <td class="macf_19"><input class="macf_19" type="number"
+                                v-bind:value="Number(item.s_d_staffing)*(Number(item.un_qty)/Number(item.s_capacity))*11/274*1.2-item.e_d_workers | rounding"
+                                disabled="disabled"></td>
+                        <!--编制-->
+                        <td class="macf_20"><input class="macf_20" type="text" v-model="item.a_strength"></td>
+                        <!--备注-->
+                        <td class="macf_21"><textarea class="macf_21" rows="1" cols="10"
+                                v-model="item.rem">我是一个文本框。</textarea></td>
+                        <!--操作-->
+                        <td class="macf_22">操作</td>
                     </tr>
                 </tbody>
             </table>
@@ -211,37 +257,37 @@
                 DEP_RYQK: '',
                 qty: 0,
                 add_date: [],
-                data_list:[],
+                data_list: [],
                 test: [{ "DEP": "1", "DEP_NAME": "2" }, { "DEP": "1", "DEP_NAME": "2" }],
                 monthly_odd_new: '保存显示',
                 list_no: [],
-                list_dep:[],
-                mo_no:'',  //重构开始
-                dep:'',  //车间部门
-                dep_name:'',  //车间部门名称
-                no:'',   //  单号
-                dd:'',   //单据日期
-                un_qty:0,   //未完工数量
-                s_capacity:0,  //标准/满线日产能
-                s_d_staffing:0,   //标准直接人员配置
-                tolf_days:0,  //订单直接人员配置
-                e_capacity:0,   //现有产能  
-                epl_personnel:0,  //现有生产线/人员
-                p_d_f_e_configurations:1,   //现有配置可生产天数 
-                a_strength:'',  //编制
-                e_a_workers:0,   //现在有辅助工人
-                work_sum:0,   //现有出勤人员合计 
-                zj_274_24:0,   //直接工人按按274小时/25天配置人员
-                a_274_24:0,   //按274小时/25天配置人员
-                new_personnel:0,   //计划新增人员配置
-                rem:'',   //备注
-                need_hours:0,    //需求工时
-                a_25:0,    //按25个工作日计算人员需求
-                e_d_workers:0,   //现有直接工人
-                p_gap:0,  //人员缺口
+                list_dep: [],
+                mo_no: '',  //重构开始
+                dep: '',  //车间部门
+                dep_name: '',  //车间部门名称
+                no: '',   //  单号
+                dd: '',   //单据日期
+                un_qty: 0,   //未完工数量
+                s_capacity: 0,  //标准/满线日产能
+                s_d_staffing: 0,   //标准直接人员配置
+                tolf_days: 0,  //订单可维持天数
+                e_capacity: 0,   //现有产能  
+                epl_personnel: 0,  //现有生产线/人员
+                p_d_f_e_configurations: 1,   //现有配置可生产天数 
+                a_strength: '',  //编制
+                e_a_workers: 0,   //现在有辅助工人
+                work_sum: 0,   //现有出勤人员合计 
+                zj_274_24: 0,   //直接工人按按274小时/25天配置人员
+                a_274_24: 0,   //按274小时/25天配置人员
+                new_personnel: 0,   //计划新增人员配置
+                rem: '',   //备注
+                need_hours: 0,    //需求工时
+                a_25: 0,    //按25个工作日计算人员需求
+                e_d_workers: 0,   //现有直接工人
+                p_gap: 0,  //人员缺口
             },
             methods: {
-                // 更具部门查询后台数据
+                // 根据部门查询后台数据
                 add_dep_data() {
                     // 获取搜索框的值
                     var serch_var = $("#field").selectpicker('val')
@@ -255,20 +301,7 @@
                         alert("部门没选择上")
                         return
                     }
-                    // 判断部门
-                    // var add_dep_date = {
-                    //     DEP_DEP: this.DEP_DEP, DEP_QTY: this.DEP_QTY, DEP_CN: this.DEP_CN, DEP_RY: this.DEP_RY,
-                    //     DEP_WCTS: this.DEP_WCTS, DEP_BZ: this.DEP_BZ, DEP_SJGS: this.DEP_SJGS, DEP_RS: this.DEP_RS, DEP_ZJRG: this.DEP_ZJRG, DEP_RYQK: this.DEP_RYQK, qty: this.qty,
-                    //     monthly_odd_new: this.monthly_odd_new
-                    // }
-                    // console.log(this.DEP_DEP)
-                    // console.log(1111)
-                    // console.log(this.DEP_DEP)
-
-                    // this.add_date.push(add_dep_date)
-                    // this.DEP_DEP = this.DEP_RY = this.DEP_WCTS = this.DEP_BZ = this.DEP_SJGS = this.DEP_RS = this.DEP_ZJRG = this.DEP_RYQK = ''
-                    // this.DEP_CN = this.DEP_QTY = 0
-                    axios.get('/depmacf/', {
+                    axios.get('/depmacfdepdata/', {
                         params: {
                             dep: this.DEP_DEP
                         }
@@ -292,49 +325,30 @@
                 add_no() {
 
                     //获取单号
-                    if (this.monthly_odd_new == '保存显示') {
+                    if (this.monthly_odd_new !== '') {
                         {
-                            axios.get('/odd/', {
-                                // params: {
-                                //     st_time: '',
-                                //     sh_time: '',
-                                //     cus_no: '',
-                                //     cls_id: '',
-                                //     pmc_ok: '',
-                                // }
+                            axios.post('/depmacf/', {
+                                params: {
+                                    data_list: this.data_list,
+                                }
                             })
                                 .then(res => {
                                     // alert(res.data)
                                     var data1 = res.data.data
                                     this.monthly_odd_new = data1
-                                    // this.add_date.monthly_odd_new = this.monthly_odd_new
-                                    this.add_date.forEach((val, index) => {
-                                        val["monthly_odd_new"] = this.monthly_odd_new;// 修改 把IsLimit修改成1
-                                        // val["LimitAccount"] = 188.0;//增加
-                                        // delete val["CustName"];// 删除
-                                    })
-
+                                    $(".abc").attr("disabled", "disabled");
+                                    //移除修改按钮禁止效果disabled
+                                    $('.update').removeAttr('disabled')
+                                    //移除删除按钮禁止效果disabled
+                                    $('.del').removeAttr('disabled')
                                 })
                                 .catch(err => {
                                     console.log('error:' + err)
                                 })
                         }
                     }
-                    var aa = [
-                        [
-                            {
-                                "aa":"aa",
-                                "bb":"bb"
-                            }
-                        ]
-                    ]
                     console.log(this.add_date)
                     //设置保存按钮为禁止
-                    $(".abc").attr("disabled", "disabled");
-                    //移除修改按钮禁止效果disabled
-                    $('.update').removeAttr('disabled')
-                    //移除删除按钮禁止效果disabled
-                    $('.del').removeAttr('disabled')
                     this.monthly_odd_new = '保存显示'
                     // 
                 },
@@ -462,14 +476,14 @@
                         .catch(err => {
                             console.log('error:' + err)
                         })
-                }
+                },
             },
-            filters:{
-                rounding (value){
-                    if (typeof value=="number"){
+            filters: {
+                rounding(value) {
+                    if (typeof value == "number") {
                         return value.toFixed(2)
                     }
-                    else{
+                    else {
                         return "No Number!!!"
                     }
                 }