From 89f387786da0e4383cf06ee162526db54971f9cf Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 23 十月 2025 15:21:16 +0800
Subject: [PATCH] fix: s

---
 src/components/commonView/SettlementMaterialInfoView.vue |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/components/commonView/SettlementMaterialInfoView.vue b/src/components/commonView/SettlementMaterialInfoView.vue
index f4fc4f5..cc5fb6d 100644
--- a/src/components/commonView/SettlementMaterialInfoView.vue
+++ b/src/components/commonView/SettlementMaterialInfoView.vue
@@ -1,11 +1,18 @@
 <template>
-  <ProFormItemV2 label="鏈鐢虫姤濂栧姳閲戞�婚:" prop="applySumAmount">
+  <ProFormItemV2 label="鏈鐢虫姤濂栧姳閲戞�婚:" prop="applySumAmount" :mode="mode">
     <ProFormInputNumber v-model="form.applySumAmount" formatValue="money" unit="鍏�" />
+  </ProFormItemV2>
+  <ProFormItemV2 label="璐㈡斂鎷ㄤ粯鎬婚:" prop="financeSumAmount" :mode="mode">
+    <ProFormInputNumber v-model="form.financeSumAmount" formatValue="money" unit="鍏�" />
+  </ProFormItemV2>
+  <ProFormItemV2 label="骞冲彴鎷ㄤ粯鎬婚:" prop="settleSumAmount" :mode="mode">
+    <ProFormInputNumber v-model="form.settleSumAmount" formatValue="money" unit="鍏�" />
   </ProFormItemV2>
   <ProFormItemV2
     :label="`${item.fileTypeName}:`"
     :prop="`calculationFileList.${index}.listFiles`"
     :label-width="160"
+    :mode="mode"
     :style="{ marginBottom: index === form.calculationFileList.length - 1 ? 0 : '22px' }"
     v-for="(item, index) in form.calculationFileList"
     :key="item.fileSearchTypeId"
@@ -36,13 +43,20 @@
 });
 
 type Props = {
+  isEdit?: boolean;
   form: {
     applySumAmount: number;
+    financeSumAmount: number;
+    settleSumAmount: number;
     calculationFileList: CustomerApplyFileTypeListItem[];
   };
 };
 
-const props = withDefaults(defineProps<Props>(), {});
+const props = withDefaults(defineProps<Props>(), {
+  isEdit: false,
+});
+
+const mode = computed(() => (props.isEdit ? 'read' : 'edit'));
 </script>
 
 <style lang="scss" scoped>

--
Gitblit v1.9.1