zhouwx
3 天以前 048a1d039d347cf109e053961865f7b01d721643
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>
@@ -216,9 +216,25 @@
              <div style="font-size: 12px;color: red">系统自动计算金额仅供参考,请注意核对。</div>
            </el-form-item>
          </el-col>
<!--          <el-col :span="12">-->
<!--            <el-form-item label="税后金额">-->
<!--              <el-input v-model="state.form.afterTaxAmount" type="number" :readonly="state.disable">-->
<!--                <template #append>元</template>-->
<!--              </el-input>-->
<!--            </el-form-item>-->
<!--          </el-col>-->
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="税后金额">
              <el-input v-model="state.form.afterTaxAmount" type="number" :readonly="state.disable">
            <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>
@@ -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