| | |
| | | <!-- </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> |
| | | <el-col :span="12"> |
| | |
| | | afterTaxAmount: null, |
| | | taxableIncome: null, |
| | | incomeTaxPayable: null, |
| | | travelExpenses: '', |
| | | accommodationFee: '', |
| | | openBank: '', |
| | | bankCard: '', |
| | | }, |
| | |
| | | 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'}] |
| | | }, |
| | |
| | | }) |
| | | |
| | | 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') : [] |
| | |
| | | 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 |