|
|
|
|
@ -501,20 +501,20 @@ export default { |
|
|
|
|
console.log('111111111111') |
|
|
|
|
this.$refs.form.validate(valid => { |
|
|
|
|
if (valid) { |
|
|
|
|
this.data.map(item =>{ |
|
|
|
|
item.ocId = parseInt(item.ocId) |
|
|
|
|
}) |
|
|
|
|
// this.data.map(item =>{ |
|
|
|
|
// item.ocId = parseInt(item.ocId) |
|
|
|
|
// }) |
|
|
|
|
let params = { |
|
|
|
|
date:this.submitForm.date, |
|
|
|
|
oemMeritsEntities:this.data |
|
|
|
|
} |
|
|
|
|
console.log('param---------',params) |
|
|
|
|
// performanceApply(params).then(res =>{ |
|
|
|
|
// if(res.data.code == 200){ |
|
|
|
|
// this.$message.success('申请成功') |
|
|
|
|
// this.closeDialog(true) |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
performanceApply(params).then(res =>{ |
|
|
|
|
if(res.data.code == 200){ |
|
|
|
|
this.$message.success('申请成功') |
|
|
|
|
this.closeDialog(true) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|