@ -30,8 +30,11 @@
< el -table -column prop = "referenceNo" header -align = " center " align = "center" label = "序列号/Reference No." width = "165" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "referenceNo" header -align = " center " align = "center" label = "序列号/Reference No." width = "165" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "status" header -align = " center " align = "center" label = "单据状态/Status" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "status" header -align = " center " align = "center" label = "单据状态/Status" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "applicant" header -align = " center " align = "center" label = "申请人/Applicant" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "applicant" header -align = " center " align = "center" label = "申请人/Applicant" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "pm" header -align = " center " align = "center" label = "PM人员/PM" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "applicationDate" header -align = " center " align = "center" label = "申请日期/Application Date" width = "165" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "applicationDate" header -align = " center " align = "center" label = "申请日期/Application Date" width = "165" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "plannedMassProductionDate" header -align = " center " align = "center" label = "计划转量产时间/Planned Mass Production" width = "210" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "process" header -align = " center " align = "center" label = "工艺/Process" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "process" header -align = " center " align = "center" label = "工艺/Process" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "color" header -align = " center " align = "center" label = "颜色/Color" width = "120" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "vendorCode" header -align = " center " align = "center" label = "供应商代码/Vendor Code" width = "160" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "vendorCode" header -align = " center " align = "center" label = "供应商代码/Vendor Code" width = "160" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "vendorMaterialCode" header -align = " center " align = "center" label = "供应商材料编号/Vendor Material Code" width = "200" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "vendorMaterialCode" header -align = " center " align = "center" label = "供应商材料编号/Vendor Material Code" width = "200" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "materialClassify" header -align = " center " align = "center" label = "材料分类/Material Classify" width = "200" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "materialClassify" header -align = " center " align = "center" label = "材料分类/Material Classify" width = "200" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
@ -39,7 +42,9 @@
< el -table -column prop = "materialUseFor" header -align = " center " align = "center" label = "辅材用途/Material Use For" width = "180" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "materialUseFor" header -align = " center " align = "center" label = "辅材用途/Material Use For" width = "180" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "endCustomer" header -align = " center " align = "center" label = "最终客户/End Customer" width = "150" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "endCustomer" header -align = " center " align = "center" label = "最终客户/End Customer" width = "150" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "projectId" header -align = " center " align = "center" label = "项目编码/Project ID" width = "140" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "projectId" header -align = " center " align = "center" label = "项目编码/Project ID" width = "140" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "isMacallanMaterial" header -align = " center " align = "center" label = "Macallan材料/Macallan Material" width = "180" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "commGroup1" header -align = " center " align = "center" label = "商品组1/Comm Group 1" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "commGroup2" header -align = " center " align = "center" label = "商品组2/Comm Group 2" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "commGroup3" header -align = " center " align = "center" label = "商品组3/Comm Group 3" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "needCreateNumber" header -align = " center " align = "center" label = "需创建内部编号/Need Create No." width = "200" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "needCreateNumber" header -align = " center " align = "center" label = "需创建内部编号/Need Create No." width = "200" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "npdEngineer" header -align = " center " align = "center" label = "NPD工程师/NPD Engineer" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "npdEngineer" header -align = " center " align = "center" label = "NPD工程师/NPD Engineer" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "materialValidityTime" header -align = " center " align = "center" label = "材料有效期/Material Validity Time" width = "200" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "materialValidityTime" header -align = " center " align = "center" label = "材料有效期/Material Validity Time" width = "200" > < / e l - t a b l e - c o l u m n >
@ -48,8 +53,10 @@
< el -table -column prop = "buyer" header -align = " center " align = "center" label = "采购/Buyer" width = "130" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "buyer" header -align = " center " align = "center" label = "采购/Buyer" width = "130" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "expectReportTime" header -align = " center " align = "center" label = "报告时间(月)/Expect Report Time" width = "200" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "expectReportTime" header -align = " center " align = "center" label = "报告时间(月)/Expect Report Time" width = "200" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "sgsReportNumber" header -align = " center " align = "center" label = "SGS报告编号/SGS Report Number" width = "190" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "sgsReportNumber" header -align = " center " align = "center" label = "SGS报告编号/SGS Report Number" width = "190" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "expiredDate" header -align = " center " align = "center" label = "报告有效期/Expired Date" width = "165" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "expiredDate" header -align = " center " align = "center" label = "报告日期/Expired Date" width = "165" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "validUntil" header -align = " center " align = "center" label = "有效期/Valid Until" width = "160" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "isMeetRohsRequirement" header -align = " center " align = "center" label = "符合RoHS/Meet RoHS Req" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "isMeetRohsRequirement" header -align = " center " align = "center" label = "符合RoHS/Meet RoHS Req" width = "170" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "isAhGrade" header -align = " center " align = "center" label = "AH属性/AH Grade" width = "140" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "hsfSupplierClassification" header -align = " center " align = "center" label = "HSF供应商等级/Supplier Class" width = "220" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "hsfSupplierClassification" header -align = " center " align = "center" label = "HSF供应商等级/Supplier Class" width = "220" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "isSameMaterialDiffSize" header -align = " center " align = "center" label = "同材不同规格/Same Material Diff Size" width = "220" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "isSameMaterialDiffSize" header -align = " center " align = "center" label = "同材不同规格/Same Material Diff Size" width = "220" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "ifsPartNo" header -align = " center " align = "center" label = "IFS编号/IFS Part No." width = "150" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "ifsPartNo" header -align = " center " align = "center" label = "IFS编号/IFS Part No." width = "150" > < / e l - t a b l e - c o l u m n >
@ -84,10 +91,10 @@
: close - on - click - modal = "false"
: close - on - click - modal = "false"
: showClose = "false" >
: showClose = "false" >
< el -tabs tab -position = " left " type = "border-card" v-model ="activeName" style="width: 100%;height: 5 65px;" >
< el -tabs tab -position = " left " type = "border-card" v-model ="activeName" style="width: 100%;height: 650 px;" >
<!-- 基本信息 -- >
<!-- 基本信息 -- >
< el -tab -pane label = "基本信息" name = "basicInfo" >
< el -tab -pane label = "基本信息" name = "basicInfo" >
< div style = "height: 550 px" >
< div style = "height: 635 px" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form -item >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 1)" > < a herf = "#" > 申请人 / Applicant < / a > < / span >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 1)" > < a herf = "#" > 申请人 / Applicant < / a > < / span >
@ -127,11 +134,10 @@
< el -input :disabled ="modalData.endCustomerFlag" readonly v-model ="modalData.endCustomer" @blur="handleQueryCustomer" style="width: 150px" > < / el -input >
< el -input :disabled ="modalData.endCustomerFlag" readonly v-model ="modalData.endCustomer" @blur="handleQueryCustomer" style="width: 150px" > < / el -input >
< el -input disabled v-model ="modalData.endCustomerName" style="width: 240px" > < / el -input >
< el -input disabled v-model ="modalData.endCustomerName" style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "Macallan材料/Macallan Material" >
< el -radio -group v-model ="modalData.isMacallanMaterial" style="width: 190px" >
< el -radio label = "Y" @ click.native.prevent = " radioClick ( ' isMacallanMaterial ' , ' Y ' ) " > 是 < / e l - r a d i o >
< el -radio label = "N" @ click.native.prevent = " radioClick ( ' isMacallanMaterial ' , ' N ' ) " > 否 < / e l - r a d i o >
< / e l - r a d i o - g r o u p >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 5)" > < a herf = "#" > PM人员 / PM < / a > < / span >
< el -input v-model ="modalData.pm" @blur="pmBlur(103)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.pmName" disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
@ -141,18 +147,19 @@
< el -input :disabled ="modalData.projectIdFlag" readonly v-model ="modalData.projectId" @blur="handleQueryProjectByCustomer" style="width: 150px" > < / el -input >
< el -input :disabled ="modalData.projectIdFlag" readonly v-model ="modalData.projectId" @blur="handleQueryProjectByCustomer" style="width: 150px" > < / el -input >
< el -input disabled v-model ="modalData.projectName" style="width: 240px" > < / el -input >
< el -input disabled v-model ="modalData.projectName" style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "需创建内部编号/Need Create No. " >
< el -radio -group v-model ="modalData.needCreateNumber" style="width: 190px" >
< el -radio label = "Y" @ click.native.prevent = " radioClick ( ' needCreateNumber ' , ' Y ' ) " > 是 < / e l - r a d i o >
< el -radio label = "N" @ click.native.prevent = " radioClick ( ' needCreateNumber ' , ' N ' ) " > 否 < / e l - r a d i o >
< / e l - r a d i o - g r o u p >
< el -form -item label = "颜色/Color " >
< el -input v-model ="modalData.color" style="width: 150px" > < / el -input >
< / e l - f o r m - i t e m >
< el -form -item label = "计划转量产时间/Planned Mass Production" >
< el -date -picker v -model = " modalData.plannedMassProductionDate " type = "datetime" value -format = " yyyy -MM -dd HH : mm : ss " style = "width: 230px" : editable = false > < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 3)" > < a herf = "#" > NPD工程师 / NPD Engineer < / a > < / span >
< el -input v-model ="modalData.npdEngineer" @blur="npdEngineerBlur(103 )" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.npdEngineerName " disabled style="width: 240px" > < / el -input >
< span style = "cursor: pointer" slot = "label" @click ="getBaseList(110)" > < a herf = "#" > 商品组1 / Comm Group 1 < / a > < / span >
< el -input v-model ="modalData.commGroup1" @change="commGroup1Blur(110 )" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.commGroup1Desc " disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "是否需偏差许可/Need Deviation" >
< el -form -item label = "是否需偏差许可/Need Deviation" >
< el -radio -group v-model ="modalData.needDeviation" style="width: 190px" >
< el -radio -group v-model ="modalData.needDeviation" style="width: 190px" >
@ -162,11 +169,23 @@
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item label = "材料有效期/Material Validity Time" >
< el -date -picker v -model = " modalData.materialValidityTime " type = "date" value -format = " yyyy -MM -dd " style = "width: 190px" : editable = false > < / e l - d a t e - p i c k e r >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @click ="getBaseList(111)" > < a herf = "#" > 商品组2 / Comm Group 2 < / a > < / span >
< el -input v-model ="modalData.commGroup2" @change="commGroup2Blur(111)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.commGroup2Desc" disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "有效期备注/Validity Comments" >
< el -input v-model ="modalData.materialValidityComments" style="width: 190px" > < / el -input >
< el -form -item label = "需创建内部编号/Need Create No." >
< el -radio -group v-model ="modalData.needCreateNumber" style="width: 190px" >
< el -radio label = "Y" @ click.native.prevent = " radioClick ( ' needCreateNumber ' , ' Y ' ) " > 是 < / e l - r a d i o >
< el -radio label = "N" @ click.native.prevent = " radioClick ( ' needCreateNumber ' , ' N ' ) " > 否 < / e l - r a d i o >
< / e l - r a d i o - g r o u p >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @click ="getBaseList(130)" > < a herf = "#" > 商品组3 / Comm Group 3 < / a > < / span >
< el -input v-model ="modalData.commGroup3" @change="commGroup3Blur(130)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.commGroup3Desc" disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "是否Fiber材料/Fiber Material" >
< el -form -item label = "是否Fiber材料/Fiber Material" >
< el -radio -group v-model ="modalData.isFiberMaterial" style="width: 190px" >
< el -radio -group v-model ="modalData.isFiberMaterial" style="width: 190px" >
@ -177,9 +196,9 @@
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 4 )" > < a herf = "#" > 技术计划 / Technical Plan < / a > < / span >
< el -input v-model ="modalData.technicalPlan" @blur="technicalPlan Blur(103)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.technicalPlan Name" disabled style="width: 240px" > < / el -input >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 3 )" > < a herf = "#" > NPD工程师 / NPD Engineer < / a > < / span >
< el -input v-model ="modalData.npdEngineer" @blur="npdEngineer Blur(103)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.npdEngineer Name" disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "WM所需求规格/WM Required Spec" >
< el -form -item label = "WM所需求规格/WM Required Spec" >
< el -input v-model ="modalData.wmRequiredSpec" style="width: 190px" > < / el -input >
< el -input v-model ="modalData.wmRequiredSpec" style="width: 190px" > < / el -input >
@ -189,10 +208,11 @@
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(2000, 2)" > < a herf = "#" > 采购 / Buyer < / a > < / span >
< el -input v-model ="modalData.buyer" @blur="buyerBlur(2000)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.buyerName" disabled style="width: 240px" > < / el -input >
< el -form -item label = "材料有效期/Material Validity Time" >
< el -date -picker v -model = " modalData.materialValidityTime " type = "date" value -format = " yyyy -MM -dd " style = "width: 190px" : editable = false > < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< el -form -item label = "有效期备注/Validity Comments" >
< el -input v-model ="modalData.materialValidityComments" style="width: 190px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "报告时间(月)/Expect Report Time" >
< el -form -item label = "报告时间(月)/Expect Report Time" >
< el -input class = "inlineNumber numInput" v-model ="modalData.expectReportTime" type="number" style="width: 190px" > < / el -input >
< el -input class = "inlineNumber numInput" v-model ="modalData.expectReportTime" type="number" style="width: 190px" > < / el -input >
@ -201,6 +221,18 @@
< el -button type = "primary" icon = "el-icon-upload" @ click = "uploadDialog = true" > 上传附件 < / e l - b u t t o n >
< el -button type = "primary" icon = "el-icon-upload" @ click = "uploadDialog = true" > 上传附件 < / e l - b u t t o n >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(103, 4)" > < a herf = "#" > 技术计划 / Technical Plan < / a > < / span >
< el -input v-model ="modalData.technicalPlan" @blur="technicalPlanBlur(103)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.technicalPlanName" disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< el -form -item >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(2000, 2)" > < a herf = "#" > 采购 / Buyer < / a > < / span >
< el -input v-model ="modalData.buyer" @blur="buyerBlur(2000)" style="width: 150px" > < / el -input >
< el -input v-model ="modalData.buyerName" disabled style="width: 240px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item label = "所需审批文件/Docs Needed" >
< el -form -item label = "所需审批文件/Docs Needed" >
< dict -data -select v-model ="modalData.qualificationDocumentsNeededList" multiple :collapse-tags="true" style="width: 394px" dict-type="rohs_qualification_docs" > < / dict -data -select >
< dict -data -select v-model ="modalData.qualificationDocumentsNeededList" multiple :collapse-tags="true" style="width: 394px" dict-type="rohs_qualification_docs" > < / dict -data -select >
@ -219,23 +251,31 @@
<!-- HSF 填写信息 -- >
<!-- HSF 填写信息 -- >
< el -tab -pane label = "HSF 填写信息" name = "hsfInfo" >
< el -tab -pane label = "HSF 填写信息" name = "hsfInfo" >
< div style = "height: 550 px" >
< div style = "height: 635 px" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
<!-- < el -form -item label = "单据状态/Doc Status" > -- >
<!-- < el -input v-model ="modalData.status" disabled style="width: 205px" > < / el -input > -- >
<!-- < / e l - f o r m - i t e m > - - >
< el -form -item label = "SGS报告编号/SGS Report Number" >
< el -form -item label = "SGS报告编号/SGS Report Number" >
< el -input v-model ="modalData.sgsReportNumber" style="width: 230px" > < / el -input >
< el -input v-model ="modalData.sgsReportNumber" style="width: 230px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "报告有效 期/Expired Date" >
< el -form -item label = "报告日 期/Expired Date" >
< el -date -picker v -model = " modalData.expiredDate " type = "date" value -format = " yyyy -MM -dd " style = "width: 150px" : editable = false > < / e l - d a t e - p i c k e r >
< el -date -picker v -model = " modalData.expiredDate " type = "date" value -format = " yyyy -MM -dd " style = "width: 150px" : editable = false > < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "有效期/Valid Until" >
< dict -data -select v-model ="modalData.validUntil" clearable style="width: 180px" dict-type="rohs_valid_until" > < / dict -data -select >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" >
< el -form -item label = "是否符合RoHS/Meet RoHS Req" >
< el -form -item label = "是否符合RoHS/Meet RoHS Req" >
< el -radio -group v-model ="modalData.isMeetRohsRequirement" style="width: 180px" >
< el -radio -group v-model ="modalData.isMeetRohsRequirement" style="width: 180px" >
< el -radio label = "Y" @ click.native.prevent = " radioClick ( ' isMeetRohsRequirement ' , ' Y ' ) " > 是 < / e l - r a d i o >
< el -radio label = "Y" @ click.native.prevent = " radioClick ( ' isMeetRohsRequirement ' , ' Y ' ) " > 是 < / e l - r a d i o >
< el -radio label = "N" @ click.native.prevent = " radioClick ( ' isMeetRohsRequirement ' , ' N ' ) " > 否 < / e l - r a d i o >
< el -radio label = "N" @ click.native.prevent = " radioClick ( ' isMeetRohsRequirement ' , ' N ' ) " > 否 < / e l - r a d i o >
< / e l - r a d i o - g r o u p >
< / e l - r a d i o - g r o u p >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "材料属性是否是AH/Is AH Grade" >
< el -radio -group v-model ="modalData.isAhGrade" style="width: 180px" >
< el -radio label = "Y" @ click.native.prevent = " radioClick ( ' isAhGrade ' , ' Y ' ) " > 是 < / e l - r a d i o >
< el -radio label = "N" @ click.native.prevent = " radioClick ( ' isAhGrade ' , ' N ' ) " > 否 < / e l - r a d i o >
< / e l - r a d i o - g r o u p >
< / e l - f o r m - i t e m >
< el -form -item label = "HSF供应商等级/Supplier Class" >
< el -form -item label = "HSF供应商等级/Supplier Class" >
< el -radio -group v-model ="modalData.hsfSupplierClassification" style="width: 200px" >
< el -radio -group v-model ="modalData.hsfSupplierClassification" style="width: 200px" >
< el -radio label = "A类" @ click.native.prevent = " radioClick ( ' hsfSupplierClassification ' , ' A类 ' ) " > A类 < / e l - r a d i o >
< el -radio label = "A类" @ click.native.prevent = " radioClick ( ' hsfSupplierClassification ' , ' A类 ' ) " > A类 < / e l - r a d i o >
@ -259,7 +299,7 @@
<!-- NPD 信息 -- >
<!-- NPD 信息 -- >
< el -tab -pane label = "NPD 信息" name = "npdInfo" >
< el -tab -pane label = "NPD 信息" name = "npdInfo" >
< div style = "height: 550 px" >
< div style = "height: 635 px" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form -item label = "现有材料不同规格/Same Material Diff Size" >
< el -form -item label = "现有材料不同规格/Same Material Diff Size" >
< el -radio -group v-model ="modalData.isSameMaterialDiffSize" style="width: 190px" >
< el -radio -group v-model ="modalData.isSameMaterialDiffSize" style="width: 190px" >
@ -273,12 +313,17 @@
< el -input type = "textarea" :rows ="3" v-model ="modalData.materialDesc" resize="none" style="width: 802px;height: 30px" > < / el -input >
< el -input type = "textarea" :rows ="3" v-model ="modalData.materialDesc" resize="none" style="width: 802px;height: 30px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: 50px" >
< el -form -item label = "备注说明/NPD Remark" style = "display: block;" >
< el -input type = "textarea" :rows ="3" v-model ="modalData.npdRemark" resize="none" style="width: 802px;height: 30px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / div >
< / div >
< / e l - t a b - p a n e >
< / e l - t a b - p a n e >
<!-- 材料信息 -- >
<!-- 材料信息 -- >
< el -tab -pane label = "材料信息" name = "materialInfo" >
< el -tab -pane label = "材料信息" name = "materialInfo" >
< div style = "height: 550 px" >
< div style = "height: 635 px" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form :inline ="true" label -position = " top " :model ="modalData" style = "margin-top: -5px;" >
< el -form -item label = "材料IFS编号/IFS Part No." >
< el -form -item label = "材料IFS编号/IFS Part No." >
< el -input v-model ="modalData.ifsPartNo" style="width: 190px" > < / el -input >
< el -input v-model ="modalData.ifsPartNo" style="width: 190px" > < / el -input >
@ -360,12 +405,25 @@
< el -input : value = "currentRow.applicant || ''" disabled style = "width: 150px" > < / e l - i n p u t >
< el -input : value = "currentRow.applicant || ''" disabled style = "width: 150px" > < / e l - i n p u t >
< el -input : value = "currentRow.applicantName || ''" disabled style = "width: 240px" > < / e l - i n p u t >
< el -input : value = "currentRow.applicantName || ''" disabled style = "width: 240px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item >
< span slot = "label" > PM人员 / PM < / span >
< el -input : value = "currentRow.pm || ''" disabled style = "width: 150px" > < / e l - i n p u t >
< el -input : value = "currentRow.pmName || ''" disabled style = "width: 240px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< el -form -item label = "申请日期/Application Date" >
< el -form -item label = "申请日期/Application Date" >
< el -date -picker :value ="currentRow.applicationDate" disabled type = "date" value -format = " yyyy -MM -dd " style = "width: 190px" > < / e l - d a t e - p i c k e r >
< el -date -picker :value ="currentRow.applicationDate" disabled type = "date" value -format = " yyyy -MM -dd " style = "width: 190px" > < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item label = "工艺/Process" >
< el -form -item label = "工艺/Process" >
< el -input : value = "currentRow.process || ''" disabled style = "width: 190px" > < / e l - i n p u t >
< el -input : value = "currentRow.process || ''" disabled style = "width: 190px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "计划转量产时间/Planned Mass Production" >
< el -date -picker :value ="currentRow.plannedMassProductionDate" disabled type = "datetime" value -format = " yyyy -MM -dd HH : mm : ss " style = "width: 190px" > < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< el -form -item label = "颜色/Color" >
< el -input : value = "currentRow.color || ''" disabled style = "width: 190px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item label = "供应商代码/Vendor Code" >
< el -form -item label = "供应商代码/Vendor Code" >
@ -392,9 +450,6 @@
< el -input : value = "currentRow.endCustomer || ''" disabled style = "width: 150px" > < / e l - i n p u t >
< el -input : value = "currentRow.endCustomer || ''" disabled style = "width: 150px" > < / e l - i n p u t >
< el -input : value = "currentRow.endCustomerName || ''" disabled style = "width: 240px" > < / e l - i n p u t >
< el -input : value = "currentRow.endCustomerName || ''" disabled style = "width: 240px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "Macallan材料/Macallan Material" >
< el -input :value ="displayYesNo(currentRow.isMacallanMaterial)" disabled style = "width: 190px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item >
< el -form -item >
@ -406,6 +461,27 @@
< el -input :value ="displayYesNo(currentRow.needCreateNumber)" disabled style = "width: 190px" > < / e l - i n p u t >
< el -input :value ="displayYesNo(currentRow.needCreateNumber)" disabled style = "width: 190px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item >
< span slot = "label" > 商品组1 / Comm Group 1 < / span >
< el -input : value = "currentRow.commGroup1 || ''" disabled style = "width: 128px" > < / e l - i n p u t >
< el -input : value = "currentRow.commGroup1Desc || ''" disabled style = "width: 327px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item >
< span slot = "label" > 商品组2 / Comm Group 2 < / span >
< el -input : value = "currentRow.commGroup2 || ''" disabled style = "width: 128px" > < / e l - i n p u t >
< el -input : value = "currentRow.commGroup2Desc || ''" disabled style = "width: 327px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item >
< span slot = "label" > 商品组3 / Comm Group 3 < / span >
< el -input : value = "currentRow.commGroup3 || ''" disabled style = "width: 128px" > < / e l - i n p u t >
< el -input : value = "currentRow.commGroup3Desc || ''" disabled style = "width: 327px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item >
< el -form -item >
< span slot = "label" > NPD工程师 / NPD Engineer < / span >
< span slot = "label" > NPD工程师 / NPD Engineer < / span >
@ -469,13 +545,26 @@
< el -tab -pane label = "HSF 填写信息" name = "hsfInfo" >
< el -tab -pane label = "HSF 填写信息" name = "hsfInfo" >
< div : style = "{height: secondHeight + 'px'}" style = "margin-left: 5px;margin-top: 5px; overflow-y: auto;" >
< div : style = "{height: secondHeight + 'px'}" style = "margin-left: 5px;margin-top: 5px; overflow-y: auto;" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
<!-- < el -form -item label = "单据状态/Doc Status" > < el -input : value = "currentRow.status || ''" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m > - - >
< el -form -item label = "SGS报告编号/SGS Report Number" > < el -input : value = "currentRow.sgsReportNumber || ''" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "报告有效期/Expired Date" > < el -date -picker :value ="currentRow.expiredDate" disabled type = "date" value -format = " yyyy -MM -dd " style = "width: 205px" > < / e l - d a t e - p i c k e r > < / e l - f o r m - i t e m >
< el -form -item label = "Fiber报告信息/Fiber Information" > < el -input : value = "currentRow.fiberInformation || ''" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "是否符合RoHS/Meet RoHS Req" > < el -input :value ="displayYesNo(currentRow.isMeetRohsRequirement)" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "HSF供应商等级/Supplier Class" > < el -input : value = "currentRow.hsfSupplierClassification || ''" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "HSF标准/HSF Standard" style = "display: block;" > < el -input type = "textarea" :rows ="3" : value = "currentRow.hsfStandard || ''" disabled resize = "none" style = "width: 636px;height: 30px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "SGS报告编号/SGS Report Number" >
< el -input : value = "currentRow.sgsReportNumber || ''" disabled style = "width: 230px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< el -form -item label = "报告日期/Expired Date" >
< el -date -picker :value ="currentRow.expiredDate" disabled type = "date" value -format = " yyyy -MM -dd " style = "width: 150px" > < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< el -form -item label = "有效期/Valid Until" >
< el -input : value = "currentRow.validUntil || ''" disabled style = "width: 180px" > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item label = "是否符合RoHS/Meet RoHS Req" > < el -input :value ="displayYesNo(currentRow.isMeetRohsRequirement)" disabled style = "width: 180px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "材料属性是否是AH/Is AH Grade" > < el -input :value ="displayYesNo(currentRow.isAhGrade)" disabled style = "width: 180px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "HSF供应商等级/Supplier Class" > < el -input : value = "currentRow.hsfSupplierClassification || ''" disabled style = "width: 200px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item label = "Fiber报告信息/Fiber Information" style = "display: block;" > < el -input type = "textarea" :rows ="3" : value = "currentRow.fiberInformation || ''" disabled resize = "none" style = "width: 802px;height: 30px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" style = "margin-top: 50px" >
< el -form -item label = "HSF标准/HSF Standard" style = "display: block;" > < el -input type = "textarea" :rows ="3" : value = "currentRow.hsfStandard || ''" disabled resize = "none" style = "width: 802px;height: 30px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< / div >
< / div >
< / e l - t a b - p a n e >
< / e l - t a b - p a n e >
@ -484,7 +573,12 @@
< div : style = "{height: secondHeight + 'px'}" style = "margin-left: 5px;margin-top: 5px; overflow-y: auto;" >
< div : style = "{height: secondHeight + 'px'}" style = "margin-left: 5px;margin-top: 5px; overflow-y: auto;" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item label = "现有材料不同规格/Same Material Diff Size" > < el -input :value ="displayYesNo(currentRow.isSameMaterialDiffSize)" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "现有材料不同规格/Same Material Diff Size" > < el -input :value ="displayYesNo(currentRow.isSameMaterialDiffSize)" disabled style = "width: 205px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< el -form -item label = "材料描述/Material Desc." style = "display: block;" > < el -input type = "textarea" :rows ="3" : value = "currentRow.materialDesc || ''" disabled resize = "none" style = "width: 636px;height: 30px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" >
< el -form -item label = "材料描述/Material Desc." style = "display: block;" > < el -input type = "textarea" :rows ="3" : value = "currentRow.materialDesc || ''" disabled resize = "none" style = "width: 802px;height: 30px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="currentRow" style = "margin-top: 50px" >
< el -form -item label = "备注说明/NPD Remark" style = "display: block;" > < el -input type = "textarea" :rows ="3" : value = "currentRow.npdRemark || ''" disabled resize = "none" style = "width: 802px;height: 30px" > < / e l - i n p u t > < / e l - f o r m - i t e m >
< / e l - f o r m >
< / e l - f o r m >
< / div >
< / div >
< / e l - t a b - p a n e >
< / e l - t a b - p a n e >
@ -645,8 +739,12 @@ export default {
site : 'DEFAULT' ,
site : 'DEFAULT' ,
referenceNo : '' ,
referenceNo : '' ,
applicant : '' ,
applicant : '' ,
pm : '' ,
pmName : '' ,
applicationDate : '' ,
applicationDate : '' ,
process : '' ,
process : '' ,
plannedMassProductionDate : '' ,
color : '' ,
vendorCode : '' ,
vendorCode : '' ,
vendorMaterialCode : '' ,
vendorMaterialCode : '' ,
materialClassify : '' ,
materialClassify : '' ,
@ -654,7 +752,12 @@ export default {
materialUseFor : '' ,
materialUseFor : '' ,
endCustomer : '' ,
endCustomer : '' ,
projectId : '' ,
projectId : '' ,
isMacallanMaterial : '' ,
commGroup1 : '' ,
commGroup1Desc : '' ,
commGroup2 : '' ,
commGroup2Desc : '' ,
commGroup3 : '' ,
commGroup3Desc : '' ,
needCreateNumber : '' ,
needCreateNumber : '' ,
npdEngineer : '' ,
npdEngineer : '' ,
materialValidityTime : '' ,
materialValidityTime : '' ,
@ -676,9 +779,12 @@ export default {
expiredDate : '' ,
expiredDate : '' ,
fiberInformation : '' ,
fiberInformation : '' ,
hsfStandard : '' ,
hsfStandard : '' ,
validUntil : '' ,
isMeetRohsRequirement : '' ,
isMeetRohsRequirement : '' ,
isAhGrade : '' ,
hsfSupplierClassification : '' ,
hsfSupplierClassification : '' ,
materialDesc : '' ,
materialDesc : '' ,
npdRemark : '' ,
isSameMaterialDiffSize : '' ,
isSameMaterialDiffSize : '' ,
ifsPartNo : '' ,
ifsPartNo : '' ,
createBy2 : '' ,
createBy2 : '' ,
@ -824,6 +930,11 @@ export default {
} else {
} else {
setName ( 'applicantName' , '' )
setName ( 'applicantName' , '' )
}
}
if ( this . currentRow . pm ) {
tasks . push ( this . queryUserDisplayName ( this . currentRow . pm , site , 103 ) . then ( name => setName ( 'pmName' , name ) ) )
} else {
setName ( 'pmName' , '' )
}
if ( this . currentRow . npdEngineer ) {
if ( this . currentRow . npdEngineer ) {
tasks . push ( this . queryUserDisplayName ( this . currentRow . npdEngineer , site , 103 ) . then ( name => setName ( 'npdEngineerName' , name ) ) )
tasks . push ( this . queryUserDisplayName ( this . currentRow . npdEngineer , site , 103 ) . then ( name => setName ( 'npdEngineerName' , name ) ) )
} else {
} else {
@ -849,6 +960,21 @@ export default {
} else {
} else {
setName ( 'projectName' , '' )
setName ( 'projectName' , '' )
}
}
if ( this . currentRow . commGroup1 ) {
tasks . push ( this . queryCommGroupDisplayName ( site , this . currentRow . commGroup1 , 110 ) . then ( name => setName ( 'commGroup1Desc' , name ) ) )
} else {
setName ( 'commGroup1Desc' , '' )
}
if ( this . currentRow . commGroup2 ) {
tasks . push ( this . queryCommGroupDisplayName ( site , this . currentRow . commGroup2 , 111 ) . then ( name => setName ( 'commGroup2Desc' , name ) ) )
} else {
setName ( 'commGroup2Desc' , '' )
}
if ( this . currentRow . commGroup3 ) {
tasks . push ( this . queryCommGroupDisplayName ( site , this . currentRow . commGroup3 , 130 ) . then ( name => setName ( 'commGroup3Desc' , name ) ) )
} else {
setName ( 'commGroup3Desc' , '' )
}
if ( tasks . length > 0 ) {
if ( tasks . length > 0 ) {
Promise . all ( tasks ) . catch ( ( ) => { } )
Promise . all ( tasks ) . catch ( ( ) => { } )
}
}
@ -901,6 +1027,23 @@ export default {
return ''
return ''
} )
} )
} ,
} ,
queryCommGroupDisplayName ( site , commGroup , tagno ) {
if ( ! commGroup ) {
return Promise . resolve ( '' )
}
let tempData = {
tagno : tagno ,
conditionSql : " and product_group_id = '" + commGroup + "'" + " and site = '" + site + "'"
}
return verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 && data . baseListData && data . baseListData . length > 0 ) {
return data . baseListData [ 0 ] . product_group_name || ''
}
return ''
} ) . catch ( ( ) => {
return ''
} )
} ,
refreshCurrentTabTable ( ) {
refreshCurrentTabTable ( ) {
if ( this . activeTable === 'approvalInformation' ) {
if ( this . activeTable === 'approvalInformation' ) {
this . getApprovalList ( )
this . getApprovalList ( )
@ -1029,11 +1172,15 @@ export default {
this . $set ( this . modalData , 'materialClassifyList' , this . modalData . materialClassify ? this . modalData . materialClassify . split ( ';' ) . filter ( item => item ) : [ ] )
this . $set ( this . modalData , 'materialClassifyList' , this . modalData . materialClassify ? this . modalData . materialClassify . split ( ';' ) . filter ( item => item ) : [ ] )
/ / I n i t i a l i z e n a m e s f o r d i s p l a y i f n e e d e d
/ / I n i t i a l i z e n a m e s f o r d i s p l a y i f n e e d e d
this . $set ( this . modalData , 'applicantName' , '' )
this . $set ( this . modalData , 'applicantName' , '' )
this . $set ( this . modalData , 'pmName' , '' )
this . $set ( this . modalData , 'buyerName' , '' )
this . $set ( this . modalData , 'buyerName' , '' )
this . $set ( this . modalData , 'npdEngineerName' , '' )
this . $set ( this . modalData , 'npdEngineerName' , '' )
this . $set ( this . modalData , 'technicalPlanName' , '' )
this . $set ( this . modalData , 'technicalPlanName' , '' )
this . $set ( this . modalData , 'endCustomerName' , '' )
this . $set ( this . modalData , 'endCustomerName' , '' )
this . $set ( this . modalData , 'projectName' , '' )
this . $set ( this . modalData , 'projectName' , '' )
this . $set ( this . modalData , 'commGroup1Desc' , '' )
this . $set ( this . modalData , 'commGroup2Desc' , '' )
this . $set ( this . modalData , 'commGroup3Desc' , '' )
/ / 编 辑 时 允 许 重 新 选 择 客 户 和 项 目
/ / 编 辑 时 允 许 重 新 选 择 客 户 和 项 目
this . $set ( this . modalData , 'endCustomerFlag' , false )
this . $set ( this . modalData , 'endCustomerFlag' , false )
this . $set ( this . modalData , 'projectIdFlag' , ! this . modalData . endCustomer )
this . $set ( this . modalData , 'projectIdFlag' , ! this . modalData . endCustomer )
@ -1044,9 +1191,13 @@ export default {
/ / T r y t o t r i g g e r v e r i f y d a t a o n o p e n t o f e t c h n a m e s
/ / T r y t o t r i g g e r v e r i f y d a t a o n o p e n t o f e t c h n a m e s
this . applicantBlur ( 103 )
this . applicantBlur ( 103 )
this . pmBlur ( 103 )
this . buyerBlur ( 2000 )
this . buyerBlur ( 2000 )
this . npdEngineerBlur ( 103 )
this . npdEngineerBlur ( 103 )
this . technicalPlanBlur ( 103 )
this . technicalPlanBlur ( 103 )
this . commGroup1Blur ( 110 )
this . commGroup2Blur ( 111 )
this . commGroup3Blur ( 130 )
this . handleQueryCustomer ( )
this . handleQueryCustomer ( )
this . handleQueryProjectByCustomer ( )
this . handleQueryProjectByCustomer ( )
this . loadModalButtonCondition ( )
this . loadModalButtonCondition ( )
@ -1062,8 +1213,12 @@ export default {
referenceNo : tempReferenceNo ,
referenceNo : tempReferenceNo ,
applicant : '' ,
applicant : '' ,
applicantName : '' ,
applicantName : '' ,
pm : '' ,
pmName : '' ,
applicationDate : '' ,
applicationDate : '' ,
process : '' ,
process : '' ,
plannedMassProductionDate : '' ,
color : '' ,
vendorCode : '' ,
vendorCode : '' ,
vendorMaterialCode : '' ,
vendorMaterialCode : '' ,
materialClassify : '' ,
materialClassify : '' ,
@ -1076,7 +1231,12 @@ export default {
projectId : '' ,
projectId : '' ,
projectName : '' ,
projectName : '' ,
projectIdFlag : true ,
projectIdFlag : true ,
isMacallanMaterial : '' ,
commGroup1 : '' ,
commGroup1Desc : '' ,
commGroup2 : '' ,
commGroup2Desc : '' ,
commGroup3 : '' ,
commGroup3Desc : '' ,
needCreateNumber : '' ,
needCreateNumber : '' ,
npdEngineer : '' ,
npdEngineer : '' ,
npdEngineerName : '' ,
npdEngineerName : '' ,
@ -1100,9 +1260,12 @@ export default {
expiredDate : '' ,
expiredDate : '' ,
fiberInformation : '' ,
fiberInformation : '' ,
hsfStandard : '' ,
hsfStandard : '' ,
validUntil : '' ,
isMeetRohsRequirement : '' ,
isMeetRohsRequirement : '' ,
isAhGrade : '' ,
hsfSupplierClassification : '' ,
hsfSupplierClassification : '' ,
materialDesc : '' ,
materialDesc : '' ,
npdRemark : '' ,
isSameMaterialDiffSize : '' ,
isSameMaterialDiffSize : '' ,
ifsPartNo : '' ,
ifsPartNo : '' ,
createBy2 : '' ,
createBy2 : '' ,
@ -1248,6 +1411,8 @@ export default {
strVal = this . modalData . npdEngineer
strVal = this . modalData . npdEngineer
} else if ( type === 4 ) {
} else if ( type === 4 ) {
strVal = this . modalData . technicalPlan
strVal = this . modalData . technicalPlan
} else if ( type === 5 ) {
strVal = this . modalData . pm
}
}
conSql = " and b.site = '" + this . $store . state . user . site + "'"
conSql = " and b.site = '" + this . $store . state . user . site + "'"
}
}
@ -1255,6 +1420,15 @@ export default {
strVal = this . modalData . buyer
strVal = this . modalData . buyer
conSql = " and b.site = '" + this . $store . state . user . site + "'"
conSql = " and b.site = '" + this . $store . state . user . site + "'"
}
}
if ( val === 110 ) {
strVal = this . modalData . commGroup1
}
if ( val === 111 ) {
strVal = this . modalData . commGroup2
}
if ( val === 130 ) {
strVal = this . modalData . commGroup3
}
this . $refs . baseList . init ( val , strVal , conSql )
this . $refs . baseList . init ( val , strVal , conSql )
} )
} )
} ,
} ,
@ -1284,8 +1458,23 @@ export default {
} else if ( this . tagNo1 === 4 ) {
} else if ( this . tagNo1 === 4 ) {
this . modalData . technicalPlan = val . username
this . modalData . technicalPlan = val . username
this . modalData . technicalPlanName = val . user_display
this . modalData . technicalPlanName = val . user_display
} else if ( this . tagNo1 === 5 ) {
this . modalData . pm = val . username
this . modalData . pmName = val . user_display
}
}
}
}
if ( this . tagNo === 110 ) {
this . modalData . commGroup1 = val . product_group_id
this . modalData . commGroup1Desc = val . product_group_name
}
if ( this . tagNo === 111 ) {
this . modalData . commGroup2 = val . product_group_id
this . modalData . commGroup2Desc = val . product_group_name
}
if ( this . tagNo === 130 ) {
this . modalData . commGroup3 = val . product_group_id
this . modalData . commGroup3Desc = val . product_group_name
}
if ( this . tagNo === 2000 ) {
if ( this . tagNo === 2000 ) {
this . modalData . buyer = val . username
this . modalData . buyer = val . username
this . modalData . buyerName = val . user_display
this . modalData . buyerName = val . user_display
@ -1423,6 +1612,27 @@ export default {
this . modalData . applicantName = ''
this . modalData . applicantName = ''
}
}
} ,
} ,
/ / P M 输 入 校 验
pmBlur ( tagNo ) {
if ( this . modalData . pm != null && this . modalData . pm !== '' ) {
let tempData = {
tagno : tagNo ,
conditionSql : " and a.username = '" + this . modalData . pm + "'" + " and b.site = '" + this . $store . state . user . site + "'"
}
verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 ) {
if ( data . baseListData . length > 0 ) {
this . modalData . pm = data . baseListData [ 0 ] . username
this . modalData . pmName = data . baseListData [ 0 ] . user_display
return
}
}
this . modalData . pmName = ''
} )
} else {
this . modalData . pmName = ''
}
} ,
/ / N P D 工 程 师 输 入 校 验
/ / N P D 工 程 师 输 入 校 验
npdEngineerBlur ( tagNo ) {
npdEngineerBlur ( tagNo ) {
if ( this . modalData . npdEngineer != null && this . modalData . npdEngineer !== '' ) {
if ( this . modalData . npdEngineer != null && this . modalData . npdEngineer !== '' ) {
@ -1485,6 +1695,63 @@ export default {
} else {
} else {
this . modalData . buyerName = ''
this . modalData . buyerName = ''
}
}
} ,
/ / 商 品 组 1 输 入 校 验
commGroup1Blur ( tagNo ) {
if ( this . modalData . commGroup1 != null && this . modalData . commGroup1 !== '' ) {
let tempData = {
tagno : tagNo ,
conditionSql : " and product_group_id = '" + this . modalData . commGroup1 + "'" + " and site = '" + this . $store . state . user . site + "'"
}
verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 && data . baseListData . length > 0 ) {
this . modalData . commGroup1 = data . baseListData [ 0 ] . product_group_id
this . modalData . commGroup1Desc = data . baseListData [ 0 ] . product_group_name
} else {
this . modalData . commGroup1Desc = ''
}
} )
} else {
this . modalData . commGroup1Desc = ''
}
} ,
/ / 商 品 组 2 输 入 校 验
commGroup2Blur ( tagNo ) {
if ( this . modalData . commGroup2 != null && this . modalData . commGroup2 !== '' ) {
let tempData = {
tagno : tagNo ,
conditionSql : " and product_group_id = '" + this . modalData . commGroup2 + "'" + " and site = '" + this . $store . state . user . site + "'"
}
verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 && data . baseListData . length > 0 ) {
this . modalData . commGroup2 = data . baseListData [ 0 ] . product_group_id
this . modalData . commGroup2Desc = data . baseListData [ 0 ] . product_group_name
} else {
this . modalData . commGroup2Desc = ''
}
} )
} else {
this . modalData . commGroup2Desc = ''
}
} ,
/ / 商 品 组 3 输 入 校 验
commGroup3Blur ( tagNo ) {
if ( this . modalData . commGroup3 != null && this . modalData . commGroup3 !== '' ) {
let tempData = {
tagno : tagNo ,
conditionSql : " and product_group_id = '" + this . modalData . commGroup3 + "'" + " and site = '" + this . $store . state . user . site + "'"
}
verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 && data . baseListData . length > 0 ) {
this . modalData . commGroup3 = data . baseListData [ 0 ] . product_group_id
this . modalData . commGroup3Desc = data . baseListData [ 0 ] . product_group_name
} else {
this . modalData . commGroup3Desc = ''
}
} )
} else {
this . modalData . commGroup3Desc = ''
}
}
}
}
}
}
}