From 011c5a6e52e680c050749eea38d65d6967630faa Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期五, 25 七月 2025 09:05:20 +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