var b2 = this.options.form.getWidgetByName("para3").getValue();
b2=REPLACE("b2","-","");
b2=REPLACE("-","");
都尝试了不对
b2=b2.REPLACE("-","");
试试
——————————
注意区分大小写
var b2 = this.options.form.getWidgetByName("dateEditor0").getValue();
b2=b2.replaceAll("-","");
alert(b2);