From 6ca4af64eda4d827adbe4cf4b5208b4e844ebddf Mon Sep 17 00:00:00 2001
From: hyingbo <1363390067@qq.com>
Date: 星期一, 28 七月 2025 16:19:05 +0800
Subject: [PATCH] 工具入库-选择申请单入库,选择入库单后查寻得却是所有入库单明细

---
 src/views/tms/modules/inbound/InboundModel.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/tms/modules/inbound/InboundModel.vue b/src/views/tms/modules/inbound/InboundModel.vue
index 3ba3ee8..55980de 100644
--- a/src/views/tms/modules/inbound/InboundModel.vue
+++ b/src/views/tms/modules/inbound/InboundModel.vue
@@ -78,7 +78,7 @@
         <div :key="col.dataIndex">
           <a-input-number
             v-if="col.dataIndex == 'inStorageQuantity'"
-            :disabled="record.accuracyClass == '1'"
+            
             :value="text"
             @change="(e) => handleChange(e, record, col, index)"
             :min="1"
@@ -105,8 +105,9 @@
   
     <div id="printArea" style="display: block;">
       <div v-for="(item, index) in qrList" :key="index" class="qrcode-item">
+        <p>{{ item.onlyCode }}</p>
+        <p>{{ item.toolName }}</p>
         <img :src="item.base64" alt="QR Code">
-        <p>{{ item.content }}</p>
       </div>
     </div>
   </a-modal>
@@ -347,7 +348,8 @@
               if (res.success) {
                 if(this.model.inStorehouseType === '1'){
                   this.qrList = res.result.map((content, i) => ({
-                  content:res.result[i].content,
+                  onlyCode:res.result[i].onlyCode,
+                  toolName:res.result[i].toolName,
                   base64: res.result[i].image
                   }));
                   this.handleBacthPrint();

--
Gitblit v1.9.3