Commit e820f312 authored by eddie.woo's avatar eddie.woo

reset form

parent afa5fe89
......@@ -108,8 +108,13 @@
//关闭配置框
$scope.cancelModal = function () {
// $('#configForm')[0].reset();
$scope.formParam = {}
$scope.formParam = {
startDate: null,
endDate: null,
};
$('#configForm')[0].reset();
$scope.isShowBaseCrCode = false;
$scope.isAccount = false;
};
//编辑
......@@ -217,6 +222,9 @@
{'key': '贷方发生额', 'val': 5},
],
onSelectionChanged: function (e) {
if (!e.selectedItem) {
return;
}
if (4 === e.selectedItem.val || 5 === e.selectedItem.val) {
$scope.isShowBaseCrCode = true;
}else {
......@@ -238,6 +246,9 @@
{'key': '手工录入', 'val': 2},
],
onSelectionChanged: function (e) {
if (!e.selectedItem) {
return;
}
if (1 === e.selectedItem.val) {
$scope.isAccount = true;
}else {
......
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