|
@@ -520,7 +520,10 @@ export default {
|
|
|
this.form.corpsItems = this.advantageProjectData
|
|
|
// console.log(typeof(this.form.companytype))
|
|
|
// this.form.corpsTypeId = JSON.stringify(this.form.corpsTypeId).replace(/[\[\]]/g,"")
|
|
|
- this.form.corpsTypeId = this.form.corpsTypeId.join(",")
|
|
|
+ // console.log(typeof this.form.corpsTypeId)
|
|
|
+ if (typeof this.form.corpsTypeId == 'object'){
|
|
|
+ this.form.corpsTypeId = this.form.corpsTypeId.join(",")
|
|
|
+ }
|
|
|
typeSave(this.form).then(res => {
|
|
|
console.log(res.data)
|
|
|
this.$message({
|