From a061aa11297303cd59f62518d2c42134d6f8b6c3 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 一月 2026 17:38:38 +0800
Subject: [PATCH] 进销存-升级 1.财务报表查询接口传参修改

---
 src/views/procurementManagement/priceManagement/index.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/views/procurementManagement/priceManagement/index.vue b/src/views/procurementManagement/priceManagement/index.vue
index 12f785b..76a39ed 100644
--- a/src/views/procurementManagement/priceManagement/index.vue
+++ b/src/views/procurementManagement/priceManagement/index.vue
@@ -62,7 +62,7 @@
       </el-table>
     </el-card>
 
-    <el-dialog v-model="dialogVisible" :title="dialogType === 'add' ? '鏂板浠锋牸' : '缂栬緫浠锋牸'" width="600px">
+    <FormDialog v-model="dialogVisible" :title="dialogType === 'add' ? '鏂板浠锋牸' : '缂栬緫浠锋牸'" :width="'600px'" :operation-type="dialogType" @close="dialogVisible = false" @confirm="handleSubmit" @cancel="dialogVisible = false">
       <el-form :model="formData" label-width="120px">
         <el-form-item label="鍟嗗搧鍚嶇О">
           <el-select v-model="formData.productName" placeholder="璇烽�夋嫨鍟嗗搧" style="width: 100%">
@@ -102,15 +102,12 @@
           <el-input v-model="formData.remark" type="textarea" :rows="3" placeholder="璇疯緭鍏ュ娉ㄤ俊鎭�" />
         </el-form-item>
       </el-form>
-      <template #footer>
-        <el-button @click="dialogVisible = false">鍙栨秷</el-button>
-        <el-button type="primary" @click="handleSubmit">纭畾</el-button>
-      </template>
-    </el-dialog>
+    </FormDialog>
   </div>
 </template>
 
 <script setup>
+import FormDialog from '@/components/Dialog/FormDialog.vue';
 import { ref, reactive, computed } from 'vue'
 import { ElMessage, ElMessageBox } from 'element-plus'
 
@@ -145,7 +142,7 @@
     oldPrice: 50.00,
     newPrice: 55.00,
     priceChange: 10.00,
-    effectiveTime: '2024-12-01 00:00:00',
+    effectiveTime: '2025-12-01 00:00:00',
     status: 'active',
     reason: '甯傚満浠锋牸鍙樺姩',
     remark: '甯傚満浠锋牸涓婃定'
@@ -158,7 +155,7 @@
     oldPrice: 80.00,
     newPrice: 75.00,
     priceChange: -6.25,
-    effectiveTime: '2024-12-01 00:00:00',
+    effectiveTime: '2025-12-01 00:00:00',
     status: 'active',
     reason: '鎴愭湰鍙樺寲',
     remark: '鎴愭湰涓嬮檷'

--
Gitblit v1.9.3