安全工器具增加配置 isCheck
This commit is contained in:
parent
f46e178418
commit
737380ece5
|
|
@ -798,9 +798,9 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
selectable(row, index) {
|
selectable(row, index) {
|
||||||
if (row.jiJuType == 2 && row.isCheck == '1') {
|
if (row.jiJuType == 2 && row.isCheck == '1') {
|
||||||
return this.isWithinOneMonth(row.nextCheckTime)
|
return !this.isWithinOneMonth(row.nextCheckTime)
|
||||||
} else {
|
} else {
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isWithinOneMonth(dateStr) {
|
isWithinOneMonth(dateStr) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue