|
|
@ -161,7 +161,7 @@ |
|
|
<el-row :gutter="20" style="margin-top: 60px"> |
|
|
<el-row :gutter="20" style="margin-top: 60px"> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<div class="grid-content bg-purple"> |
|
|
<div class="grid-content bg-purple"> |
|
|
<el-form-item v-if="ifDisableFlag || plmTechnicalSpecificationSheetFlag('projectRemark') === 'N'"> |
|
|
|
|
|
|
|
|
<el-form-item v-if="ifDisableFlag || plmTechnicalSpecificationSheetFlag('pictureAddess') === 'N'"> |
|
|
<span slot="label">附加客户图纸/Attach Customer Drawing(点击跳转)</span> |
|
|
<span slot="label">附加客户图纸/Attach Customer Drawing(点击跳转)</span> |
|
|
<el-input v-model="dataForm.pictureAddess" disabled></el-input> |
|
|
<el-input v-model="dataForm.pictureAddess" disabled></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
@ -360,7 +360,19 @@ |
|
|
customerPictureChangeRemark: '', |
|
|
customerPictureChangeRemark: '', |
|
|
productionFileComments: '', |
|
|
productionFileComments: '', |
|
|
remark: '', |
|
|
remark: '', |
|
|
nodeId: '' |
|
|
|
|
|
|
|
|
nodeId: '', |
|
|
|
|
|
}, |
|
|
|
|
|
dataForm2: { |
|
|
|
|
|
customerRevNo: '', |
|
|
|
|
|
materialNumber: '', |
|
|
|
|
|
certification: '', |
|
|
|
|
|
materialType: '', |
|
|
|
|
|
customerRemark: '', |
|
|
|
|
|
projectRemark: '', |
|
|
|
|
|
pictureAddess: '', |
|
|
|
|
|
remark: '', |
|
|
|
|
|
finalCustomerNo: '', |
|
|
|
|
|
customerPartNo: '' |
|
|
}, |
|
|
}, |
|
|
dataRole: { |
|
|
dataRole: { |
|
|
partTypeDesc: [ |
|
|
partTypeDesc: [ |
|
|
@ -659,9 +671,10 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
submitData (tempData) { |
|
|
submitData (tempData) { |
|
|
|
|
|
let map = new Map(Object.entries(this.dataForm2)) |
|
|
if (this.plmTechnicalSpecificationSheetArr) { |
|
|
if (this.plmTechnicalSpecificationSheetArr) { |
|
|
for (let i = 0; i < this.plmTechnicalSpecificationSheetArr.length; i++) { |
|
|
for (let i = 0; i < this.plmTechnicalSpecificationSheetArr.length; i++) { |
|
|
if (!this.dataForm[this.plmTechnicalSpecificationSheetArr[i].fieldId] && this.plmTechnicalSpecificationSheetArr[i].required === 'Y') { |
|
|
|
|
|
|
|
|
if (map.has(this.plmTechnicalSpecificationSheetArr[i].fieldId) && !this.dataForm[this.plmTechnicalSpecificationSheetArr[i].fieldId] && this.plmTechnicalSpecificationSheetArr[i].required === 'Y') { |
|
|
this.$message.warning(this.plmTechnicalSpecificationSheetArr[i].fieldName + '不能为空!') |
|
|
this.$message.warning(this.plmTechnicalSpecificationSheetArr[i].fieldName + '不能为空!') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -669,7 +682,7 @@ |
|
|
} |
|
|
} |
|
|
if (this.plmStepRoleBaseBmArr) { |
|
|
if (this.plmStepRoleBaseBmArr) { |
|
|
for (let i = 0; i < this.plmStepRoleBaseBmArr.length; i++) { |
|
|
for (let i = 0; i < this.plmStepRoleBaseBmArr.length; i++) { |
|
|
if (!this.dataForm[this.plmStepRoleBaseBmArr[i].fieldId] && this.plmStepRoleBaseBmArr[i].required === 'Y') { |
|
|
|
|
|
|
|
|
if (map.has(this.plmStepRoleBaseBmArr[i].fieldId) && !this.dataForm[this.plmStepRoleBaseBmArr[i].fieldId] && this.plmStepRoleBaseBmArr[i].required === 'Y') { |
|
|
this.$message.warning(this.plmStepRoleBaseBmArr[i].fieldName + '不能为空!') |
|
|
this.$message.warning(this.plmStepRoleBaseBmArr[i].fieldName + '不能为空!') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|