var a= contentPane.getCellValue("B3",null) if(this.getValue()>a){ alert("当前值大于B3,请重新输入") }
https://bbs.fanruan.com/wenda/question/33688.html
参考这个。