Commit f07b9f46 by zhangxw

退款审核财务结算凭证改为非必填

1 parent 47a94394
...@@ -81,14 +81,14 @@ export default { ...@@ -81,14 +81,14 @@ export default {
}, },
data() { data() {
var checkPhoto = (rule, value, callback) => { var checkPhoto = (rule, value, callback) => {
if (this.infoForm.attachmentList.length === 0) { // if (this.infoForm.attachmentList.length === 0) {
this.$message({ // this.$message({
message: '请上传结算凭证', // message: '请上传结算凭证',
type: 'error' // type: 'error'
}) // })
} else { // } else {
callback() callback()
} // }
} }
return { return {
userInfo: this.$store.state.d2admin.user.info, userInfo: this.$store.state.d2admin.user.info,
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
formRules: { formRules: {
// attachmentList: [{ required: true, message: '请上传结算凭证', trigger: 'change' }] // attachmentList: [{ required: true, message: '请上传结算凭证', trigger: 'change' }]
attachmentList: [{ required: true, validator: checkPhoto, trigger: 'change' }] attachmentList: [{ required: false, validator: checkPhoto, trigger: 'change' }]
}, },
editFormData: [{ editFormData: [{
label: '结算凭证', label: '结算凭证',
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</el-table-column> </el-table-column>
<el-table-column label="总提成" prop="" align="center"> <el-table-column label="总提成" prop="" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.totalOutputValue ? `¥${scope.row.totalOutputValue}` : '-' }}</span> <span>{{ scope.row.commissionPrice ? `¥${scope.row.commissionPrice}` : '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="合计应发工资" prop="" align="center"> <el-table-column label="合计应发工资" prop="" align="center">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!