From 98a0bd2e1732a6bfaf6c00d9a16194be367429ac Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 17 十二月 2025 13:07:19 +0800
Subject: [PATCH] 1.海川开心-成品入库添加单价和总价

---
 src/views/inventoryManagement/receiptManagement/index.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 05404d2..4f43957 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -190,6 +190,7 @@
 
     <form-dia ref="formDia" @close="handleQuery" @success="handleQuery"></form-dia>
     <form-dia-manual ref="formDiaManual" @close="handleQuery" @success="handleQuery"></form-dia-manual>
+    <form-dia-product ref="formDiaProduct" @close="handleQuery" @success="handleQuery"></form-dia-product>
   </div>
 </template>
 
@@ -202,19 +203,18 @@
 import {
 	getStockInPage,
 	getStockInPageByProduction,
-	getStockInPageByCustom,
 	delStockIn,
 	delStockInCustom, getInPageByCustom,
 } from "@/api/inventoryManagement/stockIn.js";
 import FormDia from './components/formDia.vue'
 import FormDiaManual from './components/formDiaManual.vue'
+import FormDiaProduct from './components/formDiaProduct.vue'
 
 // 鑾峰彇褰撳墠鏃ユ湡
 function getCurrentDate() {
   return dayjs().format('YYYY-MM-DD')
 }
 
-const userStore = useUserStore()
 const { proxy } = getCurrentInstance()
 
 const tableData = ref([])
@@ -222,6 +222,7 @@
 const tableLoading = ref(false)
 const formDia = ref()
 const formDiaManual = ref()
+const formDiaProduct = ref()
 const activeTab = ref('production') // 褰撳墠婵�娲荤殑 tab
 
 const page = reactive({
@@ -297,7 +298,9 @@
   await nextTick(() => {
     if (currentTab === 'manual') {
       formDiaManual.value?.openDialog(type, row)
-    } else {
+    } else if (currentTab === 'production') {
+			formDiaProduct.value?.openDialog(type, row)
+		}else {
       formDia.value?.openDialog(type, row)
     }
   })
@@ -382,3 +385,4 @@
 </script>
 
 <style scoped lang="scss"></style>
+

--
Gitblit v1.9.3