handleFilter() {
let e = window.event || arguments[0]
const maxLength = 50
const currLength = this.listForm.likePreDeliveryOrderCode.split('\n').length
if (e.key == 'Enter' || e.code == 'Enter' || e.keyCode == 13) {
if (currLength === maxLength) {
e.returnValue = false
return false
}
}
},
网友评论