|
|
|
@ -659,6 +659,22 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
submitData (tempData) { |
|
|
|
if (this.plmTechnicalSpecificationSheetArr) { |
|
|
|
for (let i = 0; i < this.plmTechnicalSpecificationSheetArr.length; i++) { |
|
|
|
if (!this.dataForm[this.plmTechnicalSpecificationSheetArr[i].fieldId] && this.plmTechnicalSpecificationSheetArr[i].required === 'Y') { |
|
|
|
this.$message.warning(this.plmTechnicalSpecificationSheetArr[i].fieldName + '不能为空!') |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.plmStepRoleBaseBmArr) { |
|
|
|
for (let i = 0; i < this.plmStepRoleBaseBmArr.length; i++) { |
|
|
|
if (!this.dataForm[this.plmStepRoleBaseBmArr[i].fieldId] && this.plmStepRoleBaseBmArr[i].required === 'Y') { |
|
|
|
this.$message.warning(this.plmStepRoleBaseBmArr[i].fieldName + '不能为空!') |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.submitLoading = true |
|
|
|
updateBMcustomerInfo(this.dataForm).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
|