From 41e0df8413624e6034c967f3afae30da59370879 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 11 十二月 2023 16:20:15 +0800
Subject: [PATCH] 	modified:   src/components/verifition/Verify/VerifyPoints.vue 	modified:   src/const/crud/admin/sys-public-param.js 	modified:   src/page/full-screen/fullScreenPlus.vue 	modified:   src/page/index/logo.vue 	modified:   src/page/index/sidebar/sidebarItem.vue 	modified:   src/page/login/index.vue 	modified:   src/page/login/thirdpartylogin.vue 	modified:   src/util/elAttr.js 	modified:   src/views/accounting/unitworkfactor/unitworkfactor-form.vue 	modified:   src/views/accounting/unitworkfactor/updateQuota-form.vue 	modified:   src/views/basic/discmaintenance/discmaintenance-form.vue 	modified:   src/views/basic/log/index.vue 	modified:   src/views/basic/part/part-form.vue 	modified:   src/views/basic/part/print-label-form.vue 	modified:   src/views/basic/poc/index.vue 	modified:   src/views/basic/tabletest/index.vue 	modified:   src/views/basic/template/index.vue 	modified:   src/views/basic/template/template-form.vue 	modified:   src/views/basic/workstation/workstation-form.vue 	modified:   src/views/common/custom-table.vue 	modified:   src/views/common/documentDetail.vue 	modified:   src/views/common/operationParamTemplate.vue 	modified:   src/views/common/rawMaterial-part.vue 	modified:   src/views/common/search-select.vue 	modified:   src/views/common/ztt-table.vue 	modified:   src/views/huawei/code19bind/list.vue 	modified:   src/views/huawei/code19gen/form.vue 	modified:   src/views/huawei/grossweightcode/list.vue 	modified:   src/views/huawei/grossweightcode/task-secret-form.vue 	modified:   src/views/oa/JiegouModal.vue 	modified:   src/views/oa/PeizhiModal.vue 	modified:   src/views/oa/technology-document-new.vue 	modified:   src/views/oa/technology-document.vue 	modified:   src/views/plan/customer/index.vue 	modified:   src/views/plan/customerorder/confirm-pull-customerorder.vue 	modified:   src/views/plan/customerorder/customerorder-config-history.vue 	modified:   src/views/plan/customerorder/customerorder-form.vue 	modified:   src/views/plan/customerorder/customerorder-return.vue 	modified:   src/views/plan/customerorder/customerorder-ztt-table.vue 	modified:   src/views/plan/customerorder/index.vue 	modified:   src/views/plan/customerorder/other-customer-order-line.vue 	modified:   src/views/plan/customerorder/sample-customerorder-form.vue 	modified:   src/views/plan/customerorder/schedule-table.vue 	modified:   src/views/plan/manufacturingorder/auto-operationtask.vue 	modified:   src/views/plan/manufacturingorder/customerorder.vue 	modified:   src/views/plan/manufacturingorder/customize-param-template.vue 	modified:   src/views/plan/manufacturingorder/order-operation-form.vue 	modified:   src/views/plan/manufacturingorder/productorder-form.vue 	modified:   src/views/plan/manufacturingorderapply/index.vue 	modified:   src/views/plan/masterproductionschedule/auto-manufacturingorder.vue 	modified:   src/views/plan/operationtask/gantt.vue 	modified:   src/views/plan/operationtask/operationtask-form.vue 	modified:   src/views/plan/operationtask/task-material.vue 	modified:   src/views/plan/productionschedul/index.vue 	modified:   src/views/plan/productionschedul/template-form.vue 	modified:   src/views/plan/schedule/gantt.vue 	modified:   src/views/plan/schedulelookover/ganttview.vue 	modified:   src/views/plan/segmentmerge/index.vue 	modified:   src/views/plan/segmentmerge/operate-dialog.vue 	modified:   src/views/plan/segmentmerge/operation-technology-form.vue 	modified:   src/views/product/dutyrecord/index.vue 	modified:   src/views/product/producttraceability/index.vue 	modified:   src/views/product/producttraceability/traceability-diagram.vue 	modified:   src/views/product/workbench/batchproductout-form-new.vue 	modified:   src/views/product/workbench/batchproductout-form.vue 	modified:   src/views/product/workbench/feed-form.vue 	modified:   src/views/product/workbench/feed-pane.vue 	modified:   src/views/product/workbench/feed-tab.vue 	modified:   src/views/product/workbench/handymantype.vue 	modified:   src/views/product/workbench/index.vue 	modified:   src/views/product/workbench/mould-pane.vue 	modified:   src/views/product/workbench/operation-task-pane.vue 	modified:   src/views/product/workbench/product-record-form.vue 	modified:   src/views/product/workbench/productout-form-by-batch.vue 	modified:   src/views/product/workbench/productout-form.vue 	modified:   src/views/product/workbench/productrecord-tab.vue 	modified:   src/views/product/workbench/producttracking-tab.vue 	modified:   src/views/product/workbench/shift-productout-form.vue 	modified:   src/views/product/workbench/splitTaskForm.vue 	modified:   src/views/product/workbench/taskinfo-pane.vue 	modified:   src/views/quality/Packaging_ledger/pack-from.vue 	modified:   src/views/quality/apply/index.vue 	modified:   src/views/quality/exception/exception.vue 	modified:   src/views/quality/exception/index.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-form.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-print.vue 	modified:   src/views/quality/finishedProductInspection/finishedProducter-print.vue 	modified:   src/views/quality/finishedProductInspection/index.vue 	modified:   src/views/quality/newReport/ReportForm.vue 	modified:   src/views/quality/processInspect/index.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/quality/processconfiguration/index.vue 	modified:   src/views/quality/processconfiguration/table-form.vue 	modified:   src/views/quality/rawMaterial/QrcodeReader.vue 	modified:   src/views/quality/rawMaterial/index.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-form.vue 	modified:   src/views/quality/report/index.vue 	modified:   src/views/quality/standardbind/standardbind-form.vue 	modified:   src/views/quality/statistics/rateChart.vue 	modified:   src/views/quality/testitemlayout/index.vue 	modified:   src/views/quality/testplan/testplan-form.vue 	modified:   src/views/quality/unqualifiedprocess/examineApproveform.vue 	modified:   src/views/quality/unqualifiedprocess/index.vue 	modified:   src/views/quality/unqualifiedprocess/loaction-form.vue 	modified:   src/views/quality/unqualifiedprocess/unqualifiedprocessform.vue 	modified:   src/views/technology/completeproductstructure/completeproductstructure-form.vue 	modified:   src/views/technology/document/checkStandardTable.vue 	modified:   src/views/technology/document/document-form.vue 	modified:   src/views/technology/document/extendsOperation.vue 	modified:   src/views/technology/document/extendsTestStandard.vue 	modified:   src/views/technology/document/extendsTestStandardParam.vue 	modified:   src/views/technology/document/teststandard.vue 	modified:   src/views/technology/structure/single-structure-form.vue 	modified:   src/views/warehouse/changestock/index.vue 	modified:   src/views/warehouse/check/check-detail.vue 	modified:   src/views/warehouse/pallettransports/ifslocation-form.vue 	modified:   src/views/warehouse/pallettransports/ifsstock-form.vue 	modified:   src/views/warehouse/pallettransports/index.vue 	modified:   src/views/warehouse/returnstock/ifslocation-form.vue 	modified:   src/views/warehouse/returnstock/index.vue 	modified:   src/views/warehouse/returnstock/returnstock-form.vue 	modified:   src/views/warehouse/returnstock/stock-part.vue 	modified:   src/views/warehouse/stock/print-label-form.vue 	modified:   src/views/warehouse/stock/small-print-label-form.vue 	modified:   src/views/warehouse/stock/small-warehousing-label-form.vue 	modified:   src/views/warehouse/stock/stock-table.vue 	modified:   src/views/warehouse/stock/warehousing-label-form.vue 	modified:   src/views/zte/pkgidbind/index.vue

---
 src/views/product/workbench/feed-pane.vue |  266 +++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 208 insertions(+), 58 deletions(-)

diff --git a/src/views/product/workbench/feed-pane.vue b/src/views/product/workbench/feed-pane.vue
index ffa8039..5cb546c 100644
--- a/src/views/product/workbench/feed-pane.vue
+++ b/src/views/product/workbench/feed-pane.vue
@@ -1,7 +1,7 @@
 <template>
   <div style="padding:0px 14px;height: 100%;overflow: auto;">
     <div class="need-feed-header">
-      <div style="height:28px;line-height:28px;">
+      <div>
         <el-divider class="pane-divider" direction="vertical"></el-divider
         ><span style="font-size:14px;font-weight:bold">宸ュ崟鎵�闇�鐗╂枡</span>
       </div>
@@ -137,21 +137,21 @@
       </el-table-column>
     </el-table>
     <el-tabs v-model="activeName">
-      <el-tab-pane name="first" label="绾胯竟浠撳悎鏍肩墿鏂�">
+      <!-- <el-tab-pane name="first" label="绾胯竟浠撳悎鏍肩墿鏂�"> -->
         <div class="line-side-warehouse-header">
           <div>
             <el-divider class="pane-divider" direction="vertical"></el-divider
             ><span style="font-size:14px;font-weight:bold">绾胯竟浠撳悎鏍肩墿鏂�</span>
           </div>
           <div>
-            <el-button
+            <!-- <el-button
               v-if="permissions.product_feed_scan"
               class="feeding-btn"
               type="primary"
               icon="feed-btn-feeding"
               @click="scanAddFeed()"
               >鎵爜鎶曟枡</el-button
-            >
+            > -->
             <el-button
               class="feeding-btn"
               type="primary"
@@ -205,7 +205,7 @@
               <span>{{ scope.row.partNo }}</span>
             </template>
           </el-table-column>
-          <el-table-column
+          <!-- <el-table-column
             label="闆朵欢"
             prop="partName"
             align="center"
@@ -227,18 +227,18 @@
             <template slot-scope="scope">
               <span>{{ scope.row.partName }}</span>
             </template>
-          </el-table-column>
+          </el-table-column> -->
           <el-table-column
-            label="闆朵欢鎻忚堪"
-            prop="partDescription"
-            align="center"
+            label="闆朵欢"
+            prop="partName"
+            align="center" show-overflow-tooltip
           >
             <template slot="header">
-              <div style="line-height: 14px;">闆朵欢鎻忚堪</div>
+              <div style="line-height: 14px;">闆朵欢</div>
               <div class="th" @click.stop>
                 <el-input
                   type="text"
-                  v-model="queryParamTwo.partDescription"
+                  v-model="queryParamTwo.partName"
                   @keyup.enter.native="handleStockList"
                   clearable
                   @clear="handleStockList"
@@ -247,12 +247,12 @@
               </div>
             </template>
             <template slot-scope="scope">
-              <span>{{ scope.row.partDescription }}</span>
+              <span>{{ scope.row.partName }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center">
+          <el-table-column label="鎵规鍙�" prop="ifsBatchNo" align="center">
             <template slot="header">
-              <div style="line-height: 14px;">IFS鎵规鍙�</div>
+              <div style="line-height: 14px;">鎵规鍙�</div>
               <div class="th" @click.stop>
                 <el-input
                   type="text"
@@ -268,7 +268,25 @@
               <span>{{ scope.row.ifsBatchNo }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="SN鍙�" prop="partBatchNo" align="center">
+					<!-- <el-table-column label="WDR鍙�" prop="ifsWdr" align="center">
+					  <template slot="header">
+					    <div style="line-height: 14px;">WDR鍙�</div>
+					    <div class="th" @click.stop>
+					      <el-input
+					        type="text"
+					        v-model="queryParamTwo.ifsWdr"
+					        @keyup.enter.native="handleStockList"
+					        clearable
+					        @clear="handleStockList"
+					        size="mini"
+					      ></el-input>
+					    </div>
+					  </template>
+					  <template slot-scope="scope">
+					    <span>{{ scope.row.ifsWdr }}</span>
+					  </template>
+					</el-table-column> -->
+          <!-- <el-table-column label="SN鍙�" prop="partBatchNo" align="center">
             <template slot="header">
               <div style="line-height: 14px;">SN鍙�</div>
               <div class="th" @click.stop>
@@ -308,8 +326,8 @@
             <template slot-scope="scope">
               <span>{{ scope.row.reelNumber }}</span>
             </template>
-          </el-table-column>
-          <el-table-column
+          </el-table-column> -->
+          <!-- <el-table-column
             label="瑙勬牸鍨嬪彿"
             prop="specs"
             align="center"
@@ -331,7 +349,7 @@
             <template slot-scope="scope">
               <span>{{ scope.row.specs }}</span>
             </template>
-          </el-table-column>
+          </el-table-column> -->
           <el-table-column label="鍗曚綅" prop="unit" align="center">
             <template slot="header">
               <div style="line-height: 14px;">鍗曚綅</div>
@@ -390,14 +408,14 @@
               <span>{{ scope.row.stockQuantity }}</span>
             </template>
           </el-table-column>
-          <el-table-column
+          <!-- <el-table-column
             label="棰勭暀鏁伴噺"
             prop="reserveQuantity"
             align="center"
           >
             <template slot="header">
-              <div style="line-height: 14px;">棰勭暀鏁伴噺</div>
-              <div class="th" @click.stop>
+              <div style="line-height: 14px;">棰勭暀鏁伴噺</div> -->
+              <!-- <div class="th" @click.stop>
                 <el-input
                   type="text"
                   v-model="queryParamTwo.reserveQuantity"
@@ -406,10 +424,34 @@
                   @clear="handleStockList"
                   size="mini"
                 ></el-input>
+              </div> -->
+            <!-- </template>
+            <template slot-scope="scope">
+              <span>{{ scope.row.reserveQuantity }}</span>
+            </template>
+          </el-table-column> -->
+          <el-table-column label="鏄惁宸ュ簭搴撳瓨" prop="operationStockStatus" align="center">
+            <template slot-scope="scope">
+              <span v-if="scope.row.operationStockStatus">鏄�</span>
+              <span v-else>鍚�</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="鎵�灞炲伐搴�" prop="name" align="center">
+            <template slot="header">
+              <div style="line-height: 14px;">鎵�灞炲伐搴�</div>
+              <div class="th" @click.stop>
+                <el-input
+                  type="text"
+                  v-model="queryParamTwo.name"
+                  @keyup.enter.native="handleStockList"
+                  clearable
+                  @clear="handleStockList"
+                  size="mini"
+                ></el-input>
               </div>
             </template>
             <template slot-scope="scope">
-              <span>{{ scope.row.reserveQuantity }}</span>
+              <span>{{ scope.row.name }}</span>
             </template>
           </el-table-column>
           <el-table-column label="搴撲綅鍙�" prop="locationNo" align="center">
@@ -431,7 +473,7 @@
             </template>
           </el-table-column>
         </el-table>
-        <div class="pagin-page" style="margin-top: 0;margin-bottom: 0;">
+        <!-- <div class="pagin-page" style="margin-top: 0;margin-bottom: 0;">
           <el-pagination
             :current-page="queryReport.current"
             :page-sizes="[10, 15, 20, 50, 100]"
@@ -442,11 +484,9 @@
             :total="queryReport.total"
           >
           </el-pagination>
-        </div>
-      </el-tab-pane>
-
-      <!--        -->
-      <el-tab-pane name="second" label="绾胯竟浠撳緟澶勭悊鐗╂枡">
+        </div> -->
+      <!-- </el-tab-pane> -->
+      <!-- <el-tab-pane name="second" label="绾胯竟浠撳緟澶勭悊鐗╂枡">
         <div class="line-side-warehouse-header">
           <div>
             <el-divider class="pane-divider" direction="vertical"></el-divider
@@ -464,7 +504,7 @@
               >鎵爜鎶曟枡</el-button
             >
             <el-button
-              class="feeding-btn"
+              class="feeding-btn"locationNo
               type="primary"
               icon="feed-btn-feeding"
               @click="addFeed()"
@@ -568,9 +608,9 @@
             align="center"
             show-overflow-tooltip
           >
-            <template slot="header">
+            <template slot="header"> -->
               <!-- <div style="line-height: 14px;">IFS鎵规鍙�</div> -->
-              <div class="th" @click.stop>
+              <!-- <div class="th" @click.stop>
                 <el-input
                   type="text"
                   v-model="queryTodoParam.ifsBatchNo"
@@ -765,10 +805,10 @@
           >
           </el-pagination>
         </div>
-      </el-tab-pane>
+      </el-tab-pane> -->
       <!--        -->
 
-      <el-tab-pane name="third" label="閰嶇洏鐗╂枡">
+      <!-- <el-tab-pane name="third" label="閰嶇洏鐗╂枡">
         <div class="task-reserve-warehouse-header">
           <div>
             <el-divider class="pane-divider" direction="vertical"></el-divider
@@ -859,7 +899,7 @@
               <span>{{ scope.row.partName }}</span>
             </template>
           </el-table-column>
-          <!--          <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center">-->
+                   <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center">-->
           <!--            <template slot="header" slot-scope="scope">-->
           <!--              <div style="line-height: 14px;">IFS鎵规鍙�</div>-->
           <!--              <div class="th" @click.stop>-->
@@ -876,7 +916,7 @@
           <!--            <template slot-scope="scope">-->
           <!--              <span>{{ scope.row.ifsBatchNo }}</span>-->
           <!--            </template>-->
-          <!--          </el-table-column>-->
+          <!--          </el-table-column>
           <el-table-column label="SN鍙�" prop="partBatchNo" align="center">
             <template slot="header" slot-scope="scope">
               <div style="line-height: 14px;">SN鍙�</div>
@@ -1000,9 +1040,9 @@
             </template>
           </el-table-column>
         </el-table>
-      </el-tab-pane>
+      </el-tab-pane> -->
 
-      <el-tab-pane name="four" label="ERP鐗╂枡">
+      <!-- <el-tab-pane name="four" label="ERP鐗╂枡">
         <div class="task-reserve-warehouse-header">
           <div>
             <el-divider class="pane-divider" direction="vertical"></el-divider
@@ -1106,7 +1146,7 @@
             </template>
           </el-table-column>
         </el-table>
-      </el-tab-pane>
+      </el-tab-pane> -->
     </el-tabs>
     <div class="workstation-house-header">
       <div>
@@ -1114,6 +1154,18 @@
         ><span style="font-size:14px;font-weight:bold">宸叉姇鍏ユ湭娑堣�楃墿鏂�</span>
       </div>
       <div>
+				<!-- <el-button
+				  class="return-btn"
+				  type="primary"
+				  @click="submitIns()"
+				  >鎶ユ</el-button
+				>
+				<el-button
+				  class="return-btn"
+				  type="primary"
+				  @click="inputHandle()"
+				  >灏炬枡澶勭悊</el-button
+				> -->
         <el-button
           class="return-btn"
           type="primary"
@@ -1190,9 +1242,9 @@
           <span>{{ scope.row.partName }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center">
+      <el-table-column label="鎵规鍙�" prop="ifsBatchNo" align="center">
         <template slot="header" slot-scope="scope">
-          <div style="line-height: 14px;">IFS鎵规鍙�</div>
+          <div style="line-height: 14px;">鎵规鍙�</div>
           <div class="th" @click.stop>
             <el-input
               type="text"
@@ -1208,7 +1260,25 @@
           <span>{{ scope.row.ifsBatchNo }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="SN鍙�" prop="partBatchNo" align="center">
+			<!-- <el-table-column label="WDR鍙�" prop="ifsWdr" align="center">
+			  <template slot="header" slot-scope="scope">
+			    <div style="line-height: 14px;">WDR鍙�</div>
+			    <div class="th" @click.stop>
+			      <el-input
+			        type="text"
+			        v-model="queryParamThree.ifsWdr"
+			        @keyup.enter.native="handleFeedList"
+			        clearable
+			        @clear="handleFeedList"
+			        size="mini"
+			      ></el-input>
+			    </div>
+			  </template>
+			  <template slot-scope="scope">
+			    <span>{{ scope.row.ifsWdr }}</span>
+			  </template>
+			</el-table-column> -->
+      <!-- <el-table-column label="SN鍙�" prop="partBatchNo" align="center">
         <template slot="header" slot-scope="scope">
           <div style="line-height: 14px;">SN鍙�</div>
           <div class="th" @click.stop>
@@ -1271,7 +1341,7 @@
         <template slot-scope="scope">
           <span>{{ scope.row.specs }}</span>
         </template>
-      </el-table-column>
+      </el-table-column> -->
       <el-table-column
         label="鍙敤鏁伴噺"
         prop="availableStockQuantity"
@@ -1312,13 +1382,37 @@
           <span>{{ scope.row.stockQuantity }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="搴撲綅鍙�" prop="locNo" align="center">
+      <el-table-column label="鏄惁宸ュ簭搴撳瓨" prop="operationStockStatus" align="center">
+        <template slot-scope="scope">
+          <span v-if="scope.row.operationStockStatus">鏄�</span>
+          <span v-else>鍚�</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="鎵�灞炲伐搴�" prop="name" align="center">
+        <template slot="header">
+          <div style="line-height: 14px;">鎵�灞炲伐搴�</div>
+          <div class="th" @click.stop>
+            <el-input
+                  type="text"
+                  v-model="queryParamTwo.name"
+                  @keyup.enter.native="handleStockList"
+                  clearable
+                  @clear="handleStockList"
+                  size="mini"
+            ></el-input>
+          </div>
+        </template>
+        <template slot-scope="scope">
+          <span>{{ scope.row.name }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="搴撲綅鍙�" prop="ifsLocation" align="center">
         <template slot="header" slot-scope="scope">
           <div style="line-height: 14px;">搴撲綅鍙�</div>
           <div class="th" @click.stop>
             <el-input
               type="text"
-              v-model="queryParamThree.locNo"
+              v-model="queryParamThree.ifsLocation"
               @keyup.enter.native="handleFeedList"
               clearable
               @clear="handleFeedList"
@@ -1348,7 +1442,7 @@
           <span>{{ scope.row.unit }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="鎶曟枡浜�" prop="createUser" align="center">
+     <!-- <el-table-column label="鎶曟枡浜�" prop="createUser" align="center">
         <template slot="header" slot-scope="scope">
           <div style="line-height: 14px;">鎶曟枡浜�</div>
           <div class="th" @click.stop>
@@ -1365,8 +1459,8 @@
         <template slot-scope="scope">
           <span>{{ scope.row.createUser }}</span>
         </template>
-      </el-table-column>
-      <el-table-column
+      </el-table-column> -->
+      <!-- <el-table-column
         label="鎶曟枡鏃堕棿"
         prop="createTime"
         align="center"
@@ -1394,7 +1488,7 @@
         <template slot-scope="scope">
           <span>{{ scope.row.createTime }}</span>
         </template>
-      </el-table-column>
+      </el-table-column> -->
     </el-table>
     <feedFormDialog
       :currshowlist.sync="showFeedForm"
@@ -1441,11 +1535,11 @@
 </template>
 
 <script>
-import { getStock, getFeed, getTodoStock } from '@/api/product/personboard'
+import { getStock, getFeed,getFeed2, getTodoStock, submitInsPart, inputHandle } from '@/api/product/personboard'
 import { getMaterial } from '@/api/plan/operationtask'
 import {
   getERPStockListByPart,
-  fetchList
+  fetchList,
 } from '@/api/warehouse/joinstockorder'
 import feedFormDialog from './feed-form'
 import returnMaterialFormDialog from './returnmaterial-form'
@@ -1556,9 +1650,9 @@
           .then((response) => {
             var data = response.data
             if (data.code === 0) {
-              // const list = data.data.records
-              this.stockList = data.data.records
-              this.queryReport.total = data.data.total
+              /* this.stockList = data.data.records
+              this.queryReport.total = data.data.total */
+							this.stockList = data.data
               // this.getReportData()
             } else {
               this.$message.error('鑾峰彇绾胯竟浠撲俊鎭け璐�')
@@ -1768,7 +1862,7 @@
           this.paramObject,
           this.queryParamThree
         )
-        getFeed(query, stationId)
+        getFeed2(query, stationId)
           .then((response) => {
             var data = response.data
             if (data.code === 0) {
@@ -1850,6 +1944,56 @@
         this.$message.warning('璇烽�夋嫨鎶曟枡闆朵欢')
       }
     },
+		// 鎶ユ
+		submitIns(){
+			if (this.selectFeeds.length > 0) {
+				var list = []
+				this.selectFeeds.forEach(a=>{
+					list.push({
+						partNo: a.partNo,
+						partDesc: a.partName,
+						qtyToInspect: a.availableStockQuantity,
+						partId: a.partId,
+						waivDevRejNo: a.ifsWdr,
+						targetQualifiedLocationId: a.locationId,
+						workstationId: a.workstationId,
+						taskId: this.currOperateTask.id,
+						locationNo: a.ifsLocation,
+						lotBatchNo: a.ifsBatchNo,
+						qtyArrived: a.stockQuantity,
+						waivDevRejNo: a.ifsWdr,
+						serialNo: a.serialNo,
+						operationId: this.currOperateTask.operationId,
+						stockId: a.id,
+						engChgLevel: a.engChgLevel,
+						activitySeq: a.activitySeq
+					})
+				})
+				submitInsPart(list).then(res=>{
+					this.$message.success('鎶ユ瀹屾垚')
+				})
+			}else{
+				this.$message.warning('璇烽�夋嫨鎶ユ闆朵欢')
+			}
+		},
+		inputHandle(){
+			if (this.selectFeeds.length > 0) {
+				var list = []
+				this.selectFeeds.forEach(a=>{
+					list.push({
+						taskId: this.currOperateTask.id,
+						stockId: a.id,
+					})
+				})
+				this.$confirm("姝ゆ搷浣滃皢浼氭妸鎵�閫夌墿鏂欏钩鍧囪绠楀埌鎵�鏈夋姤宸ュ崟鐨勬姇鍏ラ噷").then(()=>{
+					inputHandle(list).then(res=>{
+						this.$message.success('澶勭悊瀹屾垚')
+					})
+				}).catch(e=>{})
+			} else {
+			  this.$message.warning('璇烽�夋嫨灏炬枡澶勭悊鐨勭墿鏂�')
+			}
+		},
     // 鍒濆鍖栭〉闈㈠彉閲�
     initFeed() {
       this.selectStocks = []
@@ -1938,8 +2082,7 @@
       getERPStockListByPart({
         partNo: part.partNo,
         partBatchNo: part.partBatchNo
-      })
-        .then((resp) => {
+      }).then((resp) => {
           const respCode = resp.data.code
           const respData = resp.data.data
           if (respCode === 0) {
@@ -1948,8 +2091,7 @@
             this.isSubmit = false
             this.$message.error('搴撳瓨鍒楄〃鏌ヨ澶辫触')
           }
-        })
-        .catch(() => {
+        }).catch(() => {
           this.isSubmit = false
           console.log('鏌ヨ闆朵欢瀵瑰簲鐨勫簱瀛樺垪琛ㄦ椂锛屽彂鐢熼敊璇�')
         })
@@ -2081,6 +2223,14 @@
     }
   },
   watch: {
+    showFeedForm:{
+      handler(newVal,oldVal){
+        if(!newVal){
+          this.$refs.stockTable.toggleAllSelection(false)
+        }
+      },
+      deep: true
+    },
     workstationId() {
       this.$nextTick(() => {
         if (this.currItem != null && this.currItem === 'feed') {

--
Gitblit v1.9.3