From 83e34f69b7b5edf713d25bbec164e47f924edb31 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 10 九月 2024 13:30:32 +0800
Subject: [PATCH] #

---
 zy-asrs-admin/src/components/orderOut/orderOutMergePreview/stockOut.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/zy-asrs-admin/src/components/orderOut/orderOutMergePreview/stockOut.vue b/zy-asrs-admin/src/components/orderOut/orderOutMergePreview/stockOut.vue
index 0117588..6f777c4 100644
--- a/zy-asrs-admin/src/components/orderOut/orderOutMergePreview/stockOut.vue
+++ b/zy-asrs-admin/src/components/orderOut/orderOutMergePreview/stockOut.vue
@@ -241,7 +241,7 @@
 }
 
 const handleGlobalOperationPortChange = () => {
-    if(tableData.value.length > 0) {
+    if (tableData.value.length > 0) {
         tableData.value.forEach((item) => {
             item.operationPort = globalOperationPort.value;
         })
@@ -267,13 +267,14 @@
             :title="formatMessage('page.orderOutPreview.preview', '棰勮鍚堝苟璁㈠崟鍑哄簱')" @ok="handleOk">
             <div>
                 <span>浣滀笟鍙o細</span>
-                <a-select v-model:value="globalOperationPort" :options="operationPortList" @change="handleGlobalOperationPortChange"></a-select>
+                <a-select v-model:value="globalOperationPort" :options="operationPortList"
+                    @change="handleGlobalOperationPortChange"></a-select>
             </div>
             <a-table :data-source="tableData" :loading="loading" :defaultExpandAllRows="false" :key="TABLE_KEY"
                 rowKey="index" :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="columns">
                 <template #bodyCell="{ column, text, record, index }">
                     <template v-if="column.dataIndex === 'locNo'">
-                        <div v-if="record.locId != null">
+                        <div v-if="record.locId != null && record.anfme > 0">
                             <a-tag color="green">{{ record.locNo }}</a-tag>
                         </div>
                         <div v-else>

--
Gitblit v1.9.1