Commit f07b9f46 by zhangxw

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

1 parent 47a94394
......@@ -81,14 +81,14 @@ export default {
},
data() {
var checkPhoto = (rule, value, callback) => {
if (this.infoForm.attachmentList.length === 0) {
this.$message({
message: '请上传结算凭证',
type: 'error'
})
} else {
// if (this.infoForm.attachmentList.length === 0) {
// this.$message({
// message: '请上传结算凭证',
// type: 'error'
// })
// } else {
callback()
}
// }
}
return {
userInfo: this.$store.state.d2admin.user.info,
......@@ -103,7 +103,7 @@ export default {
editChildRef: 'editChildRef',
formRules: {
// attachmentList: [{ required: true, message: '请上传结算凭证', trigger: 'change' }]
attachmentList: [{ required: true, validator: checkPhoto, trigger: 'change' }]
attachmentList: [{ required: false, validator: checkPhoto, trigger: 'change' }]
},
editFormData: [{
label: '结算凭证',
......
......@@ -94,7 +94,7 @@
</el-table-column>
<el-table-column label="总提成" prop="" align="center">
<template slot-scope="scope">
<span>{{ scope.row.totalOutputValue ? `¥${scope.row.totalOutputValue}` : '-' }}</span>
<span>{{ scope.row.commissionPrice ? `¥${scope.row.commissionPrice}` : '-' }}</span>
</template>
</el-table-column>
<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!