From 492e443d40b15237d28e4bc6c411d56a25feeec7 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期三, 03 十二月 2025 11:13:46 +0800
Subject: [PATCH] 菜单

---
 src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue |   65 +++++++++++++-------------------
 1 files changed, 26 insertions(+), 39 deletions(-)

diff --git a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
index c8f6701..a6c815b 100644
--- a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
+++ b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
@@ -202,42 +202,31 @@
             </el-col>
         </el-row>
         <div class="tableBox" v-loading="loading">
-            <el-row>
-                <el-col :span="4">
-                    <div class="cgtlType" v-for="(item, index) in backTypeList" :key="index" :class="{ 'cgtlActive': typeIndex==index }" @click="backTypeClick(item,index)">
-                        {{item.name}}
-                    </div>
-                </el-col>
-                <el-col :span="20">
-                    <el-table :data="tableData" ref="tableData" max-height="710" :summary-method="getSummaries"
-                        @selection-change="handleSelectionChange" show-summary border @row-click="handleRowClick"
-                        :row-style="rowStyle" @cell-dblclick="handleDblclick" v-if="tableShow">
-                        <template v-for="(item, index) in btList">
-                            <el-table-column type="selection" width="55" align="center" :fixed="item.fixed"
-                                v-if="item.type == 'checkbox'" :key="index" />
-                            <el-table-column :align="item.align" :prop="item.field" :label="item.title"
-                                :width="item.width" :key="item.id" v-else-if="!item.hide && item.type != 'checkbox'"
-                                :sortable="item.sort" show-overflow-tooltip :fixed="item.fixed">
-                                <template slot-scope="{ row, column }">
-                                    <el-checkbox v-model="checked" v-if="item.type == 'checkbox'"></el-checkbox>
-                                    <div :style="item.style">
-                                        <span v-if="column.property.includes('鏃ユ湡')">{{
-                                            parseTime(row[column.property], "{y}-{m}-{d}")
-                                        }}</span>
-                                        <el-button type="text" @click="handleEdit(row, (OperationType = 3))"
-                                            v-else-if="column.property == '鍗曟嵁鍙�'">{{ row.鍗曟嵁鍙� }}</el-button>
-                                        <span v-else>{{ row[column.label] }}</span>
-                                    </div>
-                                </template>
-                            </el-table-column>
+            <el-table :data="tableData" ref="tableData" max-height="710" :summary-method="getSummaries"
+                @selection-change="handleSelectionChange" show-summary border @row-click="handleRowClick"
+                :row-style="rowStyle" @cell-dblclick="handleDblclick" v-if="tableShow">
+                <template v-for="(item, index) in btList">
+                    <el-table-column type="selection" width="55" align="center" :fixed="item.fixed"
+                        v-if="item.type == 'checkbox'" :key="index" />
+                    <el-table-column :align="item.align" :prop="item.field" :label="item.title" :width="item.width"
+                        :key="item.id" v-else-if="!item.hide && item.type != 'checkbox'" :sortable="item.sort"
+                        show-overflow-tooltip :fixed="item.fixed">
+                        <template slot-scope="{ row, column }">
+                            <el-checkbox v-model="checked" v-if="item.type == 'checkbox'"></el-checkbox>
+                            <div :style="item.style">
+                                <span v-if="column.property.includes('鏃ユ湡')">{{
+                                    parseTime(row[column.property], "{y}-{m}-{d}")
+                                }}</span>
+                                <el-button type="text" @click="handleEdit(row, (OperationType = 3))"
+                                    v-else-if="column.property == '鍗曟嵁鍙�'">{{ row.鍗曟嵁鍙� }}</el-button>
+                                <span v-else>{{ row[column.label] }}</span>
+                            </div>
                         </template>
-                    </el-table>
-                    <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize"
-                        :pageSizes="pageSizes" @pagination="getList" />
-                </el-col>
-
-            </el-row>
-
+                    </el-table-column>
+                </template>
+            </el-table>
+            <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize"
+                :pageSizes="pageSizes" @pagination="getList" />
             <el-dialog title="闅愯棌鍒楄缃�" :visible.sync="openRowHide" width="816px" append-to-body>
                 <RowSettings :colName="btResList" :HModName="HModName" @rowEditClose="rowSetClose" v-if="rowHideShow" />
             </el-dialog>
@@ -268,7 +257,7 @@
     components: { RowSettings, Edit, PrintList, BarCodeDetail },
     data() {
         return {
-            typeIndex:0,
+            typeIndex: 0,
             activeSeach: "",
             HModName: "Kf_StockOutRequestBillList",
             backTypeList: [{ name: ' 閲囪喘閫�鏂欏垪琛�(宸插叆搴�)', value: 1, }, { name: '閲囪喘閫�鏂欏垪琛�(鏈叆搴�)', value: 0, }],
@@ -379,9 +368,6 @@
     },
 
     methods: {
-        backTypeClick(item,index){
-            this.typeIndex=index
-        },
         getSummaries(param) {
             const { columns, data } = param;
             const sums = [];
@@ -437,6 +423,7 @@
             this.eTime = yyyyE + "-" + mmE + "-" + ddE;
         },
         getList() {
+            console.log(this.$route.query.type)
             this.pageSize = 50;
             this.tableShow = false;
             this.loading = true;

--
Gitblit v1.9.1