From 048a1d039d347cf109e053961865f7b01d721643 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期三, 27 八月 2025 16:36:27 +0800
Subject: [PATCH] 修改

---
 src/views/safetyReview/expertManage/postEvaluation/components/evaluate.vue |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/src/views/safetyReview/expertManage/postEvaluation/components/evaluate.vue b/src/views/safetyReview/expertManage/postEvaluation/components/evaluate.vue
index 13bf3d1..fd8cd29 100644
--- a/src/views/safetyReview/expertManage/postEvaluation/components/evaluate.vue
+++ b/src/views/safetyReview/expertManage/postEvaluation/components/evaluate.vue
@@ -174,7 +174,7 @@
           <el-col :span="12">
             <el-form-item label="计费标准" prop="freightBasis">
               <el-input v-model.number.trim="state.form.freightBasis" :readonly="state.disable" @input="getExpertFee">
-                <template #append>天/课时</template>
+                <template #append>元(天/课时)</template>
               </el-input>
             </el-form-item>
           </el-col>
@@ -223,6 +223,22 @@
 <!--              </el-input>-->
 <!--            </el-form-item>-->
 <!--          </el-col>-->
+        </el-row>
+        <el-row>
+          <el-col :span="12">
+            <el-form-item label="交通费" prop="travelExpenses">
+              <el-input v-model="state.form.travelExpenses" type="travelExpenses" :readonly="state.disable" @input="state.form.travelExpenses= state.form.travelExpenses.replace(/[^0-9.\/\-]/g,'')">
+                <template #append>元</template>
+              </el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="住宿费" prop="accommodationFee">
+              <el-input v-model="state.form.accommodationFee" type="accommodationFee" :readonly="state.disable" @input="state.form.accommodationFee= state.form.accommodationFee.replace(/[^0-9.\/\-]/g,'')">
+                <template #append>元</template>
+              </el-input>
+            </el-form-item>
+          </el-col>
         </el-row>
 
         <el-row>
@@ -316,6 +332,8 @@
     afterTaxAmount: null,
     taxableIncome: null,
     incomeTaxPayable: null,
+    travelExpenses: '',
+    accommodationFee: '',
     openBank: '',
     bankCard: '',
   },
@@ -332,6 +350,8 @@
     freightBasis: [{required: true, message: '请输入计费标准', trigger: 'blur'}],
     billingDuration: [{required: true, message: '请输入计费时长', trigger: 'blur'}],
     taxExpertFee: [{required: true, message: '请输入税前金额(专家费)', trigger: 'blur'}],
+    travelExpenses: [{required: true, message: '请输入交通费', trigger: 'blur'}],
+    accommodationFee: [{required: true, message: '请输入住宿费', trigger: 'blur'}],
     openBank: [{required: true, message: '请输入开户行', trigger: 'blur'}],
     bankCard: [{required: true, message: '请输入卡号', trigger: 'blur'}]
   },
@@ -443,14 +463,15 @@
 })
 
 const openDialog = async (type, value, projectName, projectCheckTime) => {
-  state.info = value
+  state.info = JSON.parse(JSON.stringify(value))
   state.form.projectExpertId = value.id
   state.info.projectName = projectName
   state.info.teamLeader = state.info.teamLeader == 1 ? '是' : '否'
+  state.info.expertType= value.expertType
   if (type === 'view') {
     state.title = '查看'
     state.disable = true
-    const res = await getExpertEvaDetail({projectExpertId: value.id});
+    const res = await getExpertEvaDetail({projectExpertId: value.id,expertType: value.expertType});
     if (res.code == 200) {
       state.form = res.data
       state.addData = res.data.expertDetails ? res.data.expertDetails.filter(i => i.scoreType == '1') : []
@@ -575,6 +596,7 @@
     state.form.saveData = [...state.addData, ...state.deductData]
     state.form.delData = state.form.delData.filter((id) => !state.form.saveData.some((item) => item.id === id))
     state.form.score = totalScore.value || 0
+    state.form.expertType = state.info.expertType
     // state.form.taxableIncome = taxIncome.value || 0
     // state.form.incomeTaxPayable = taxPay.value || 0
     // state.form.afterTaxAmount = afterTaxIncome.value || 0

--
Gitblit v1.9.2