From ccb00a17b9119200b8c8d29a177bcc129dd4c982 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 19 三月 2026 17:43:13 +0800
Subject: [PATCH] Merge branch 'dev_KTHG' of http://114.132.189.42:9002/r/product-inventory-management into dev_KTHG

---
 src/views/consumablesLogistics/dispatchLog/Record.vue |   40 +++++++++++++++++++++++++++-------------
 1 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/src/views/consumablesLogistics/dispatchLog/Record.vue b/src/views/consumablesLogistics/dispatchLog/Record.vue
index a9d69ae..8e9a94d 100644
--- a/src/views/consumablesLogistics/dispatchLog/Record.vue
+++ b/src/views/consumablesLogistics/dispatchLog/Record.vue
@@ -12,16 +12,16 @@
 					clearable
 					@change="handleQuery"
 				/>
-        <span class="search_title ml10">鏉ユ簮锛�</span>
-        <el-select v-model="searchForm.recordType"
-                   style="width: 240px"
-                   placeholder="璇烽�夋嫨"
-                   clearable>
-          <el-option v-for="item in stockRecordTypeOptions"
-                     :key="item.value"
-                     :label="item.label"
-                     :value="item.value"/>
-        </el-select>
+<!--        <span class="search_title ml10">鏉ユ簮锛�</span>-->
+<!--        <el-select v-model="searchForm.recordType"-->
+<!--                   style="width: 240px"-->
+<!--                   placeholder="璇烽�夋嫨"-->
+<!--                   clearable>-->
+<!--          <el-option v-for="item in stockRecordTypeOptions"-->
+<!--                     :key="item.value"-->
+<!--                     :label="item.label"-->
+<!--                     :value="item.value"/>-->
+<!--        </el-select>-->
 				<el-button type="primary" @click="handleQuery" style="margin-left: 10px"
 				>鎼滅储</el-button
 				>
@@ -29,7 +29,7 @@
 			<div>
 				<el-button @click="handleOut">瀵煎嚭</el-button>
 				<el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
-				<el-button type="primary" plain @click="handlePrint">鎵撳嵃</el-button>
+				<!-- <el-button type="primary" plain @click="handlePrint">鎵撳嵃</el-button> -->
 			</div>
 		</div>
 		<div class="table_list">
@@ -86,18 +86,27 @@
 					prop="createBy"
 					show-overflow-tooltip
 				/>
-        <el-table-column label="鏉ユ簮"
+        <!-- <el-table-column label="鏉ユ簮"
                          prop="recordType"
                          show-overflow-tooltip>
           <template #default="scope">
             {{ getRecordType(scope.row.recordType) }}
           </template>
-        </el-table-column>
+        </el-table-column> -->
         <el-table-column
             label="杞︾墝"
             prop="licensePlateNo"
             show-overflow-tooltip
         />
+		<el-table-column label="鎿嶄綔"
+                         width="120"
+                         align="center">
+          <template #default="scope">
+            <el-button type="primary"
+                       size="mini"
+                       @click="handlePreview(scope.row)">瀵煎嚭杩囩鍗�</el-button>
+          </template>
+        </el-table-column>
 			</el-table>
 			<pagination
 				v-show="total > 0"
@@ -214,6 +223,11 @@
 };
 const expandedRowKeys = ref([]);
 
+// 瀵煎嚭杩囩鍗�
+const handlePreview = (row) => {
+  proxy.$download.name(row.weighbridgeDocPath);
+}
+
 // 瀵煎嚭
 const handleOut = () => {
 	ElMessageBox.confirm("鏄惁纭瀵煎嚭锛�", "瀵煎嚭", {

--
Gitblit v1.9.3