From a0a35be4065d75b80ba4a9a51da7031e03166766 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 21 一月 2026 17:47:45 +0800
Subject: [PATCH] 湟水峡 1.成品入库添加编辑功能

---
 src/views/inventoryManagement/receiptManagement/index.vue |   93 ++--------------------------------------------
 1 files changed, 4 insertions(+), 89 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 9aebae4..a4050eb 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -53,10 +53,7 @@
             <el-table-column label="鍏ュ簱鏃堕棿"
                              prop="createTime"
                              show-overflow-tooltip/>
-            <el-table-column label="閿�鍞悎鍚屽彿"
-                             prop="salesContractNo"
-                             width="180"
-                             show-overflow-tooltip/>
+
             <el-table-column label="浜у搧澶х被"
                              prop="productCategory"
                              show-overflow-tooltip/>
@@ -77,7 +74,7 @@
             <el-table-column label="鎬讳环(鍏�)"
                              prop="totalPrice"
                              width="150"></el-table-column>
-            <!-- <el-table-column fixed="right"
+            <el-table-column fixed="right"
                              label="鎿嶄綔"
                              min-width="60"
                              align="center">
@@ -87,7 +84,7 @@
                            size="small"
                            @click="openForm('edit', scope.row, 'production');">缂栬緫</el-button>
               </template>
-            </el-table-column> -->
+            </el-table-column>
           </el-table>
           <pagination v-show="total > 0"
                       :total="total"
@@ -204,88 +201,6 @@
                       :page="page.current"
                       :limit="page.size"
                       @pagination="paginationChange"/>
-        </div>
-      </el-tab-pane>
-      <el-tab-pane label="鐢熶骇鍏ュ簱"
-                   name="product">
-        <div class="search_form">
-          <div>
-            <span class="search_title ml10">鍏ュ簱鏃ユ湡锛�</span>
-            <el-date-picker v-model="searchForm.timeStr"
-                            type="date"
-                            placeholder="璇烽�夋嫨鏃ユ湡"
-                            value-format="YYYY-MM-DD"
-                            format="YYYY-MM-DD"
-                            clearable
-                            @change="handleQuery"/>
-            <span class="search_title ml10">浜у搧澶х被锛�</span>
-            <el-input v-model="searchForm.productCategory"
-                      style="width: 240px"
-                      placeholder="璇疯緭鍏�"
-                      clearable/>
-            <el-button type="primary"
-                       @click="handleQuery"
-                       style="margin-left: 10px">鎼滅储
-            </el-button>
-          </div>
-          <div>
-            <el-button type="primary"
-                       @click="openForm('add', 'purchase')">鏂板鍏ュ簱
-            </el-button>
-            <el-button @click="handleOut">瀵煎嚭</el-button>
-            <el-button type="danger"
-                       plain
-                       @click="handleDelete">鍒犻櫎
-            </el-button>
-          </div>
-        </div>
-        <div class="table_list">
-          <el-table :data="tableData"
-                    border
-                    v-loading="tableLoading"
-                    @selection-change="handleSelectionChange"
-                    :expand-row-keys="expandedRowKeys"
-                    :row-key="row => row.id"
-                    show-summary
-                    style="width: 100%"
-                    :summary-method="summarizeMainTable"
-                    height="calc(100vh - 18.5em)">
-            <el-table-column align="center"
-                             type="selection"
-                             width="55"/>
-            <el-table-column align="center"
-                             label="搴忓彿"
-                             type="index"
-                             width="60"/>
-            <el-table-column label="鍏ュ簱鏃堕棿"
-                             prop="createTime"
-                             width="100"
-                             show-overflow-tooltip/>
-            <el-table-column label="浜у搧澶х被"
-                             prop="productCategory"
-                             show-overflow-tooltip/>
-            <el-table-column label="瑙勬牸鍨嬪彿"
-                             prop="specificationModel"
-                             show-overflow-tooltip/>
-            <el-table-column label="鍗曚綅"
-                             prop="unit"
-                             width="220"
-                             show-overflow-tooltip/>
-            <el-table-column label="鍏ュ簱鏁伴噺"
-                             prop="inboundNum"
-                             width="220"
-                             show-overflow-tooltip/>
-            <el-table-column label="鍏ュ簱浜�"
-                             prop="createBy"
-                             width="220"
-                             show-overflow-tooltip/>
-          </el-table>
-          <pagination v-show="total > 0"
-                      :total="total"
-                      layout="total, sizes, prev, pager, next, jumper"
-                      :page="page.current"
-                      :limit="page.size"
-                      @pagination="pageProductChange"/>
         </div>
       </el-tab-pane>
     </el-tabs>
@@ -443,7 +358,7 @@
   const currentTab = tabType || activeTab.value;
   await nextTick(() => {
     if (currentTab === "production") {
-      formDiaProduct.value?.openDialog(type, row);
+      formDiaProduct.value?.openDialog(type, row, currentTab);
     } else {
       formDia.value?.openDialog(type, row);
     }

--
Gitblit v1.9.3