mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 23:26:43 +08:00
GFRS-2504 指定生效日需求-初版提交
This commit is contained in:
@@ -76,14 +76,20 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
checkItemShow(item) {
|
||||
if (this.activeFlag != 'KMH') {
|
||||
if (this.activeFlag != 'KMH' && this.activeFlag != 'SQY') {
|
||||
return true
|
||||
}
|
||||
let showFlag = false
|
||||
if (item.activeLst && item.activeLst.length > 0) {
|
||||
item.activeLst.forEach(subItem => {
|
||||
if (subItem == 'KMH') {
|
||||
showFlag = true
|
||||
if (this.activeFlag && this.activeFlag == 'KMH') {
|
||||
if (subItem == 'KMH') {
|
||||
showFlag = true;
|
||||
}
|
||||
}else if (this.activeFlag && this.activeFlag == 'SQY') {
|
||||
if (subItem == 'SQY') {
|
||||
showFlag = true;
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user