|
|
|
@ -161,7 +161,7 @@ |
|
|
|
<el-row :gutter="20" style="margin-top: 60px"> |
|
|
|
<el-col :span="24"> |
|
|
|
<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> |
|
|
|
<el-input v-model="dataForm.pictureAddess" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -342,25 +342,37 @@ |
|
|
|
nodeName: '', |
|
|
|
}, |
|
|
|
dataForm: { |
|
|
|
materialType:'', |
|
|
|
materialType: '', |
|
|
|
site: '', |
|
|
|
codeNo:'', |
|
|
|
finalCustomerNo:'', |
|
|
|
finalCustomerDesc:'', |
|
|
|
customerId:'', |
|
|
|
customerDesc:'', |
|
|
|
partNo:'', |
|
|
|
partDesc:'', |
|
|
|
customerRevNo:'', |
|
|
|
certification:'', |
|
|
|
partFamily:'', |
|
|
|
customerRemark:'', |
|
|
|
projectRemark:'', |
|
|
|
pictureAddess:'', |
|
|
|
customerPictureChangeRemark:'', |
|
|
|
productionFileComments:'', |
|
|
|
remark:'', |
|
|
|
nodeId: '' |
|
|
|
codeNo: '', |
|
|
|
finalCustomerNo: '', |
|
|
|
finalCustomerDesc: '', |
|
|
|
customerId: '', |
|
|
|
customerDesc: '', |
|
|
|
partNo: '', |
|
|
|
partDesc: '', |
|
|
|
customerRevNo: '', |
|
|
|
certification: '', |
|
|
|
partFamily: '', |
|
|
|
customerRemark: '', |
|
|
|
projectRemark: '', |
|
|
|
pictureAddess: '', |
|
|
|
customerPictureChangeRemark: '', |
|
|
|
productionFileComments: '', |
|
|
|
remark: '', |
|
|
|
nodeId: '', |
|
|
|
}, |
|
|
|
dataForm2: { |
|
|
|
customerRevNo: '', |
|
|
|
materialNumber: '', |
|
|
|
certification: '', |
|
|
|
materialType: '', |
|
|
|
customerRemark: '', |
|
|
|
projectRemark: '', |
|
|
|
pictureAddess: '', |
|
|
|
remark: '', |
|
|
|
finalCustomerNo: '', |
|
|
|
customerPartNo: '' |
|
|
|
}, |
|
|
|
dataRole: { |
|
|
|
partTypeDesc: [ |
|
|
|
@ -659,9 +671,10 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
submitData (tempData) { |
|
|
|
let map = new Map(Object.entries(this.dataForm2)) |
|
|
|
if (this.plmTechnicalSpecificationSheetArr) { |
|
|
|
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 + '不能为空!') |
|
|
|
return |
|
|
|
} |
|
|
|
@ -669,7 +682,7 @@ |
|
|
|
} |
|
|
|
if (this.plmStepRoleBaseBmArr) { |
|
|
|
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 + '不能为空!') |
|
|
|
return |
|
|
|
} |
|
|
|
|