@ -508,7 +508,13 @@
style = "width: 100%" >
< el -table -column type = "selection" header -align = " center " align = "center" width = "50" > < / e l - t a b l e - c o l u m n >
< el -table -column type = "index" label = "序号" width = "50" header -align = " center " align = "center" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "finalPartNo" label = "IFS物料编码/Final Part No." min -width = " 150 " header -align = " center " align = "left" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "finalPartNo" label = "IFS物料编码/Final Part No." min -width = " 150 " header -align = " center " align = "left" :show-overflow-tooltip ="true" >
< template slot -scope = " scope " >
< el -link style = "cursor:pointer;" @ click = "toPartMenu(scope.row.finalPartNo || scope.row.testPartNo)" >
{ { scope . row . finalPartNo || scope . row . testPartNo || '' } }
< / e l - l i n k >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "partDesc" label = "描述/Part Desc." min -width = " 250 " header -align = " center " align = "left" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "partStatus" label = "状态/Part Status" min -width = " 100 " header -align = " center " align = "left" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< / e l - t a b l e >
@ -1534,7 +1540,13 @@
: height = "secondHeight"
style = "width: 100%" >
< el -table -column type = "index" label = "序号" width = "50" header -align = " center " align = "center" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "finalPartNo" label = "IFS物料编码/Final Part No." min -width = " 150 " header -align = " center " align = "left" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "finalPartNo" label = "IFS物料编码/Final Part No." min -width = " 150 " header -align = " center " align = "left" :show-overflow-tooltip ="true" >
< template slot -scope = " scope " >
< el -link style = "cursor:pointer;" @ click = "toPartMenu(scope.row.finalPartNo || scope.row.testPartNo)" >
{ { scope . row . finalPartNo || scope . row . testPartNo || '' } }
< / e l - l i n k >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "partDesc" label = "描述/Part Desc." min -width = " 250 " header -align = " center " align = "left" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "partStatus" label = "状态/Part Status" min -width = " 100 " header -align = " center " align = "left" :show-overflow-tooltip ="true" > < / e l - t a b l e - c o l u m n >
< / e l - t a b l e >
@ -3548,6 +3560,31 @@ export default {
} )
return fields
} ,
toPartMenu ( ifsPartNo ) {
const targetPartNo = String ( ifsPartNo || '' ) . trim ( )
if ( ! targetPartNo ) {
this . $message . warning ( 'IFS物料编码为空,无法跳转' )
return
}
if ( this . $router . resolve ( ` /part-partInformation ` ) . resolved . name === '404' ) {
this . $alert ( '权限不足,访问失败' , '警告' , { confirmButtonText : '确定' } )
} else {
/ / 先 关 闭 当 前 页 面 所 有 可 能 产 生 全 局 遮 罩 的 弹 窗 , 避 免 跳 转 后 残 留 遮 罩 层
this . modalFlag = false
this . chooseProjectListFlag = false
this . projectMaterialDialogFlag = false
this . rohsCreatePartDialogFlag = false
this . rohsCharacteristicDialogFlag = false
this . hsfApproverFlag = false
this . relatedPeopleFlag = false
this . submitModalFlag = false
this . rohsRemarkFlag = false
this . rohsMaterialDescFlag = false
this . $nextTick ( ( ) => {
this . $router . push ( { name : ` part-partInformation ` , params : { ifsPartNo : targetPartNo } } )
} )
}
} ,
/ / 单 选 可 取 消
radioClick ( field , value ) {
if ( this . modalData [ field ] === value ) {