Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
5e5f08e7
Commit
5e5f08e7
authored
Apr 12, 2019
by
Cheng C Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 23414
parent
60e6de64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
9 deletions
+32
-9
edit-organization-modal.ctrl.js
...s/edit-organization-modal/edit-organization-modal.ctrl.js
+23
-0
app-overview.ctrl.js
...in/webapp/app/framework/app-overview/app-overview.ctrl.js
+9
-9
No files found.
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.ctrl.js
View file @
5e5f08e7
...
@@ -133,6 +133,18 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
...
@@ -133,6 +133,18 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
if
(
$scope
.
componentSelectedArea
)
{
if
(
$scope
.
componentSelectedArea
)
{
editModel
.
areaID
=
$scope
.
selectedAreaId
;
editModel
.
areaID
=
$scope
.
selectedAreaId
;
}
}
//所属业务线校验
if
(
!
editModel
.
businessUnitID
){
SweetAlert
.
error
(
"请检查必填项"
);
return
;
}
//区域校验
if
(
editModel
.
areaID
===
""
)
{
SweetAlert
.
error
(
"请检查必填项"
);
return
;
}
if
(
$scope
.
isAdd
)
{
if
(
$scope
.
isAdd
)
{
editModel
.
isActive
=
true
;
editModel
.
isActive
=
true
;
orgService
.
addOrg
(
editModel
).
success
(
function
(
orgId
)
{
orgService
.
addOrg
(
editModel
).
success
(
function
(
orgId
)
{
...
@@ -277,6 +289,17 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
...
@@ -277,6 +289,17 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
editModel
.
areaID
=
$scope
.
selectedAreaId
;
editModel
.
areaID
=
$scope
.
selectedAreaId
;
}
}
//所属业务线校验
if
(
!
editModel
.
businessUnitID
){
SweetAlert
.
error
(
"请检查必填项"
);
return
;
}
//区域校验
if
(
editModel
.
areaID
===
""
)
{
SweetAlert
.
error
(
"请检查必填项"
);
return
;
}
if
((
typeof
$scope
.
editOrgModel
.
foundationDate
)
===
"string"
){
if
((
typeof
$scope
.
editOrgModel
.
foundationDate
)
===
"string"
){
if
(
""
!==
(
$scope
.
editOrgModel
.
foundationDate
))
{
if
(
""
!==
(
$scope
.
editOrgModel
.
foundationDate
))
{
$scope
.
editOrgModel
.
foundationDate
=
new
Date
(
$scope
.
editOrgModel
.
foundationDate
);
$scope
.
editOrgModel
.
foundationDate
=
new
Date
(
$scope
.
editOrgModel
.
foundationDate
);
...
...
atms-web/src/main/webapp/app/framework/app-overview/app-overview.ctrl.js
View file @
5e5f08e7
...
@@ -908,23 +908,23 @@
...
@@ -908,23 +908,23 @@
$state
.
go
(
'vat.importData.erpImport'
);
$state
.
go
(
'vat.importData.erpImport'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
trialBalance
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
trialBalance
.
queryCode
])
{
$state
.
go
(
'vat.previewData.trialBalance'
);
$state
.
go
(
'vat.previewData.trialBalance'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
profitLoss
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
profitLoss
.
queryCode
])
{
$state
.
go
(
'vat.previewData.profitLoss'
);
$state
.
go
(
'vat.previewData.profitLoss'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
offBalanceSheet
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
offBalanceSheet
.
queryCode
])
{
$state
.
go
(
'vat.previewData.offBalanceSheet'
);
$state
.
go
(
'vat.previewData.offBalanceSheet'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
journal
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
journal
.
queryCode
])
{
$state
.
go
(
'vat.previewData.journal'
);
$state
.
go
(
'vat.previewData.journal'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
cashFlow
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
cashFlow
.
queryCode
])
{
$state
.
go
(
'vat.previewData.cashFlow'
);
$state
.
go
(
'vat.previewData.cashFlow'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
invoiceRecord
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
invoiceRecord
.
queryCode
])
{
$state
.
go
(
'vat.previewData.invoiceRecord'
);
$state
.
go
(
'vat.previewData.invoiceRecord'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
certifiedInvoicesList
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
certifiedInvoicesList
.
queryCode
])
{
$state
.
go
(
'vat.previewData.certifiedInvoicesList'
);
$state
.
go
(
'vat.previewData.certifiedInvoicesList'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
redLetterInformationTable
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
redLetterInformationTable
.
queryCode
])
{
$state
.
go
(
'vat.previewData.redLetterInfoTab'
);
$state
.
go
(
'vat.previewData.redLetterInfoTab'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
coupaPurchasingReport
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
coupaPurchasingReport
.
queryCode
])
{
$state
.
go
(
'vat.previewData.coupaPurchasingReport'
);
$state
.
go
(
'vat.previewData.coupaPurchasingReport'
);
}
else
if
(
data
[
constant
.
vatPermission
.
previewData
.
invoiceData
.
queryCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
invoiceData
.
queryCode
])
{
$state
.
go
(
'vat.previewData.invoiceData'
);
$state
.
go
(
'vat.previewData.invoiceData'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataManage
.
caculateDataCode
])
{
}
else
if
(
data
[
constant
.
vatPermission
.
dataManage
.
caculateDataCode
])
{
$state
.
go
(
'vat.reductionData.caculateData'
);
$state
.
go
(
'vat.reductionData.caculateData'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment