Commit 6a18f60e authored by 高宇's avatar 高宇

删除菜单

parent 1f946d7a
......@@ -521,7 +521,7 @@ export default {
methods: {
// 判断日期是否相同
isSameMonthDates(datesArray) {
console.log('datesArray',datesArray)
console.log('datesArray', datesArray)
// 如果数组中只有一个元素,返回日期相同
if (datesArray.length === 1) {
return true
......@@ -555,7 +555,7 @@ export default {
})
})
console.log('i', i)
console.log('number',number)
console.log('number', number)
if (i === number) {
console.log('1false')
return false
......@@ -573,7 +573,11 @@ export default {
}
},
replace(value) {
return this.dictList.find(item => item.dictValue === value).dictLabel
if (this.dictList.find(item => item.dictValue === value)) {
return this.dictList.find(item => item.dictValue === value).dictLabel
} else {
return value
}
},
getCodeDict() {
const obj = {
......@@ -694,12 +698,12 @@ export default {
this.loadingDetail = false
return this.$message.warning('您选择的设备数据不符合您申请设备的数量')
}
console.log('是否打开弹框',this.condition(this.canceList, this.detailApplyList, this.singleDetails.pnumber))
console.log('是否打开弹框', this.condition(this.canceList, this.detailApplyList, this.singleDetails.pnumber))
if (this.condition(this.canceList, this.detailApplyList, this.singleDetails.pnumber)) {
this.monthDate = true
this.openHandle = false
}
console.log('monthDate',this.monthDate)
console.log('monthDate', this.monthDate)
if (this.monthDate) {
this.openLogin = true
}
......@@ -866,8 +870,6 @@ export default {
this.handleQuery()
},
// warehouse的重置按钮
resetQueryWarehouse() {
this.queryParamsDetail.pn = null
......
......@@ -617,6 +617,9 @@ export default {
}
},
replace(value) {
if (this.dictList.length === 0) {
return value
}
let label = ''
if (this.dictList.length > 0) {
this.dictList.forEach(item => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment