Commit dba904e4 authored by agping's avatar agping

1

parent ad4ecda4
......@@ -126,10 +126,11 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
if(_data.code == 200) {
alert(_data.msg);
cost.getList(1);
e.target.value = '';//置空input值 可以上传重复文件
} else {
alert(_data.msg);
};
e.target.value = '';//置空input值 可以上传重复文件
},
error: function() {
alert('enter error');
......
......@@ -281,11 +281,11 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
if(_data.code == 200) {
alert(_data.msg);
cost.getList(1);
e.target.value = '';//置空input值 可以上传重复文件
} else {
alert(_data.msg);
};
e.target.value = '';//置空input值 可以上传重复文件
},
error: function() {
alert('enter error');
......
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