From 5612bbd431d10589a06c7ed3584de2cad1b5ea0a Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Thu, 18 Jun 2026 16:24:31 +0800
Subject: [PATCH] 中科大支线—订单入库

---
 src/views/hazardousChemicals/warehouseManageMenu/orderWarehouse/components/detail.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/views/hazardousChemicals/warehouseManageMenu/orderWarehouse/components/detail.vue b/src/views/hazardousChemicals/warehouseManageMenu/orderWarehouse/components/detail.vue
index b6b0fc6..fe11c73 100644
--- a/src/views/hazardousChemicals/warehouseManageMenu/orderWarehouse/components/detail.vue
+++ b/src/views/hazardousChemicals/warehouseManageMenu/orderWarehouse/components/detail.vue
@@ -54,7 +54,7 @@
       <el-table-column label="入库时间" prop="updateTime" align="center" />
       <el-table-column label="当前状态" prop="state" align="center">
         <template #default="scope">
-          <span>{{scope.row.state ===0 || scope.row.state === 1 ? '在库' :scope.row.state === 2? '领用中': scope.row.state === 3 ? '已用完' : scope.row.state === 4 ? '标签作废' : ''}}</span>
+          <span>{{scope.row.state ===0 ? '初次入柜' :scope.row.state === 1? '回库': scope.row.state === 2 ? '出库' : scope.row.state === 4 ? '标签作废' : ''}}</span>
         </template>
       </el-table-column>
       <el-table-column label="在库余量" prop="remaining" align="center" >
@@ -128,6 +128,7 @@
 } from "@/api/hazardousChemicals/rawRecord";
 import viewQRcode from '@/views/hazardousChemicals/electronicWarehouseMenu/electronicWarehouse/components/viewQR.vue'
 import Cookies from "js-cookie";
+import {getOrderDetailById} from "@/api/hazardousChemicals/orderWarehouse";
 const route = useRoute()
 const router = useRouter();
 const dialogRef = ref();
@@ -151,19 +152,19 @@
     },
     {
       id: 1,
-      name: '入库'
+      name: '回库'
     },
     {
       id: 2,
       name: '出库'
     },
-    {
-      id: 3,
-      name: '作废'
-    },
+    // {
+    //   id: 3,
+    //   name: '作废'
+    // },
     {
       id: 4,
-      name: '待入库'
+      name: '标签作废'
     },
 
   ],
@@ -188,7 +189,7 @@
 })
 const getList = async () => {
   loading.value = true
-  const res = await getWhRawDetail(data.queryParams)
+  const res = await getOrderDetailById(data.queryParams)
   if(res.code == 200){
     data.dataList = res.data.list
     data.total = res.data.total
@@ -199,7 +200,7 @@
 }
 const reset = () => {
   data.queryParams = {
-    entryId: null,
+    entryId: data.queryParams.entryId,
     state: null,
     pageNum: 1,
     pageSize: 10,

--
Gitblit v1.9.2