|
@@ -1049,8 +1049,15 @@ export default {
|
|
this.$message.error('请选择业务类型')
|
|
this.$message.error('请选择业务类型')
|
|
addForm = 'yes'
|
|
addForm = 'yes'
|
|
}else if(!factory || factory==''){
|
|
}else if(!factory || factory==''){
|
|
- this.$message.error('请上传工厂签章')
|
|
|
|
- addForm = 'yes'
|
|
|
|
|
|
+ sonTable.every(item=>{
|
|
|
|
+ if(item.accident_type=='扣款'){
|
|
|
|
+ this.$message.error('请上传工厂签章')
|
|
|
|
+ addForm = 'yes'
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ return true
|
|
|
|
+ })
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if(responsibility1&&responsibility1!==''){
|
|
if(responsibility1&&responsibility1!==''){
|