提交 e642b1e2 编写于 作者: U unknown

去除数据模板导入的时候空格的限制

上级 9f30d754
......@@ -2503,10 +2503,10 @@ MWF.xApplication.process.Xform.DatatablePC.ExcelUtils = new Class({
var files = fileNode.files;
if (files.length) {
var file = files.item(0);
if( file.name.indexOf(" ") > -1 ){
this.form.notice( MWF.xApplication.process.Xform.LP.uploadedFilesCannotHaveSpaces, "error");
return false;
}
// if( file.name.indexOf(" ") > -1 ){
// this.form.notice( MWF.xApplication.process.Xform.LP.uploadedFilesCannotHaveSpaces, "error");
// return false;
// }
//第三个参数是日期的列
this.importFromExcel( file, function(json){
......
......@@ -2088,10 +2088,10 @@ MWF.xApplication.process.Xform.Datatemplate.ExcelUtils = new Class({
var files = fileNode.files;
if (files.length) {
var file = files.item(0);
if( file.name.indexOf(" ") > -1 ){
this.form.notice( MWF.xApplication.process.Xform.LP.uploadedFilesCannotHaveSpaces, "error");
return false;
}
// if( file.name.indexOf(" ") > -1 ){
// this.form.notice( MWF.xApplication.process.Xform.LP.uploadedFilesCannotHaveSpaces, "error");
// return false;
// }
//第三个参数是日期的列
this.importFromExcel( file, function(json){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册