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
4947f452
Commit
4947f452
authored
Apr 09, 2019
by
kevin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
bc03804d
19fd2bbf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
113 additions
and
63 deletions
+113
-63
DateUtils.java
...src/main/java/pwc/taxtech/atms/common/util/DateUtils.java
+15
-0
TaxDocumentController.java
...va/pwc/taxtech/atms/controller/TaxDocumentController.java
+7
-0
CitDataPreviewServiceImpl.java
.../taxtech/atms/service/impl/CitDataPreviewServiceImpl.java
+1
-0
CitReportServiceImpl.java
...a/pwc/taxtech/atms/service/impl/CitReportServiceImpl.java
+24
-23
TaxDocumentServiceImpl.java
...pwc/taxtech/atms/service/impl/TaxDocumentServiceImpl.java
+0
-0
CitJournalAdjustExtendsMapper.xml
...axtech/atms/dao/extends/CitJournalAdjustExtendsMapper.xml
+8
-8
CitTrialBalanceExtendsMapper.xml
...taxtech/atms/dao/extends/CitTrialBalanceExtendsMapper.xml
+3
-3
TaxDocumentMapper.xml
...ources/pwc/taxtech/atms/dao/extends/TaxDocumentMapper.xml
+6
-4
taxDocumentList.json
...main/webapp/app-resources/i18n/en-us/taxDocumentList.json
+3
-1
taxDocumentList.json
...main/webapp/app-resources/i18n/zh-CN/taxDocumentList.json
+5
-3
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+1
-1
cit-import-asset-list.ctrl.js
...mport/cit-import-asset-list/cit-import-asset-list.ctrl.js
+1
-1
cit-preview-journal-merge-search.html
...eview-journal-merge/cit-preview-journal-merge-search.html
+2
-2
cit-preview-journal-merge.ctrl.js
...t-preview-journal-merge/cit-preview-journal-merge.ctrl.js
+9
-9
cit-preview-tb-generate-ver-search.html
...w-tb-generate-ver/cit-preview-tb-generate-ver-search.html
+2
-2
cit-preview-tb-generate-ver.ctrl.js
...eview-tb-generate-ver/cit-preview-tb-generate-ver.ctrl.js
+2
-0
cit-preview-tb-mapping-ver-search.html
...iew-tb-mapping-ver/cit-preview-tb-mapping-ver-search.html
+3
-3
cit-report-view.ctrl.js
...pp/app/cit/report/cit-report-view/cit-report-view.ctrl.js
+2
-1
edit-organization-modal.ctrl.js
...s/edit-organization-modal/edit-organization-modal.ctrl.js
+10
-2
app-usr-operate-log.ctrl.js
...framework/app-usr-operate-log/app-usr-operate-log.ctrl.js
+9
-0
tax-document-list.ctrl.js
...ocumentManage/tax-document-list/tax-document-list.ctrl.js
+0
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/common/util/DateUtils.java
View file @
4947f452
...
@@ -109,6 +109,21 @@ public class DateUtils {
...
@@ -109,6 +109,21 @@ public class DateUtils {
return
dateString
;
return
dateString
;
}
}
/**
* 根据yyyyMMdd时间格式字符串,格式化为date类型
*
* @param dateStr
* @return
*/
public
static
Date
stringToDate4yyyyMMdd
(
String
dateStr
)
{
try
{
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyyMMdd"
);
Date
date
=
formatter
.
parse
(
dateStr
);
return
date
;
}
catch
(
ParseException
e
)
{
return
null
;
}
}
/**
/**
* 将短时间格式字符串转换为区间格式 yyyyMM
* 将短时间格式字符串转换为区间格式 yyyyMM
*
*
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/TaxDocumentController.java
View file @
4947f452
...
@@ -105,6 +105,13 @@ public class TaxDocumentController {
...
@@ -105,6 +105,13 @@ public class TaxDocumentController {
}
}
return
taxDocumentService
.
editFilesType
(
taxDocument
);
return
taxDocumentService
.
editFilesType
(
taxDocument
);
}
}
@GetMapping
(
"/multipalInitData"
)
@ResponseBody
public
Map
<
String
,
Object
>
multipalInitData
(
String
address
){
//地址示例: D://multipaiInitData
return
taxDocumentService
.
multipalInitData
(
address
);
}
@RequestMapping
(
"exportExcel"
)
@RequestMapping
(
"exportExcel"
)
@ResponseBody
@ResponseBody
public
void
exportExcelFile
(
HttpServletResponse
response
,
@RequestBody
TaxDocumentDto
taxDocumentDto
)
{
public
void
exportExcelFile
(
HttpServletResponse
response
,
@RequestBody
TaxDocumentDto
taxDocumentDto
)
{
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/CitDataPreviewServiceImpl.java
View file @
4947f452
...
@@ -62,6 +62,7 @@ public class CitDataPreviewServiceImpl extends BaseService {
...
@@ -62,6 +62,7 @@ public class CitDataPreviewServiceImpl extends BaseService {
public
PageInfo
<
CitJournalAdjustDto
>
getJournalMergeData
(
CitJournalAdjustDto
citJournalAdjustDto
)
{
public
PageInfo
<
CitJournalAdjustDto
>
getJournalMergeData
(
CitJournalAdjustDto
citJournalAdjustDto
)
{
CitJournalEntryAdjust
citJournalEntryAdjust
=
beanUtil
.
copyProperties
(
citJournalAdjustDto
,
new
CitJournalEntryAdjust
());
CitJournalEntryAdjust
citJournalEntryAdjust
=
beanUtil
.
copyProperties
(
citJournalAdjustDto
,
new
CitJournalEntryAdjust
());
Page
page
=
PageHelper
.
startPage
(
citJournalAdjustDto
.
getPageInfo
().
getPageIndex
(),
citJournalAdjustDto
.
getPageInfo
().
getPageSize
());
Page
page
=
PageHelper
.
startPage
(
citJournalAdjustDto
.
getPageInfo
().
getPageIndex
(),
citJournalAdjustDto
.
getPageInfo
().
getPageSize
());
List
<
CitJournalEntryAdjust
>
journalMerges
=
citJournalMapper
.
getJournalMerge
(
citJournalEntryAdjust
);
List
<
CitJournalEntryAdjust
>
journalMerges
=
citJournalMapper
.
getJournalMerge
(
citJournalEntryAdjust
);
List
<
CitJournalAdjustDto
>
journalAdjustDtos
=
Lists
.
newArrayList
();
List
<
CitJournalAdjustDto
>
journalAdjustDtos
=
Lists
.
newArrayList
();
journalMerges
.
forEach
(
journal
->
{
journalMerges
.
forEach
(
journal
->
{
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/CitReportServiceImpl.java
View file @
4947f452
...
@@ -1191,6 +1191,7 @@ public class CitReportServiceImpl extends BaseService {
...
@@ -1191,6 +1191,7 @@ public class CitReportServiceImpl extends BaseService {
private
CitJournalEntryAdjustMapper
citJournalEntryAdjustMapper
;
private
CitJournalEntryAdjustMapper
citJournalEntryAdjustMapper
;
public
OperationResultDto
addCellManualDataSource
(
ManualDataSourceDto
data
,
String
projectId
)
{
public
OperationResultDto
addCellManualDataSource
(
ManualDataSourceDto
data
,
String
projectId
)
{
data
.
setPeriod
(
0
);
OperationResultDto
operationResultDto
=
new
OperationResultDto
();
OperationResultDto
operationResultDto
=
new
OperationResultDto
();
try
{
try
{
if
(
data
.
getCellId
()
==
null
)
{
if
(
data
.
getCellId
()
==
null
)
{
...
@@ -1247,29 +1248,29 @@ public class CitReportServiceImpl extends BaseService {
...
@@ -1247,29 +1248,29 @@ public class CitReportServiceImpl extends BaseService {
/*kevin insert */
// TODO: 3/21/2019 需要验证
/*kevin insert */
// TODO: 3/21/2019 需要验证
PeriodCellTemplateConfigExample
example
=
new
PeriodCellTemplateConfigExample
();
//
PeriodCellTemplateConfigExample example = new PeriodCellTemplateConfigExample();
PeriodCellTemplateConfigExample
.
Criteria
criteria
=
example
.
createCriteria
();
//
PeriodCellTemplateConfigExample.Criteria criteria = example.createCriteria();
criteria
.
andCellTemplateIdEqualTo
(
Long
.
parseLong
(
data
.
getCellTemplateId
()));
//
criteria.andCellTemplateIdEqualTo(Long.parseLong(data.getCellTemplateId()));
criteria
.
andProjectIdEqualTo
(
data
.
getProjectId
());
//
criteria.andProjectIdEqualTo(data.getProjectId());
PeriodCellTemplateConfig
periodCellTemplateConfig
=
new
PeriodCellTemplateConfig
();
//
PeriodCellTemplateConfig periodCellTemplateConfig = new PeriodCellTemplateConfig();
periodCellTemplateConfig
.
setParsedFormula
(
sumValue
);
//
periodCellTemplateConfig.setParsedFormula(sumValue);
periodCellTemplateConfigMapper
.
updateByExampleSelective
(
periodCellTemplateConfig
,
example
);
//
periodCellTemplateConfigMapper.updateByExampleSelective(periodCellTemplateConfig, example);
//更改选中行相关数据
//
//更改选中行相关数据
CitJournalEntryAdjust
citJournalEntryAdjust
=
new
CitJournalEntryAdjust
();
//
CitJournalEntryAdjust citJournalEntryAdjust = new CitJournalEntryAdjust();
citJournalEntryAdjust
.
setIsSelect
(
"1"
);
//
citJournalEntryAdjust.setIsSelect("1");
CitJournalEntryAdjustExample
example1
=
new
CitJournalEntryAdjustExample
();
//
CitJournalEntryAdjustExample example1 = new CitJournalEntryAdjustExample();
CitJournalEntryAdjustExample
.
Criteria
criteria1
=
example1
.
createCriteria
();
//
CitJournalEntryAdjustExample.Criteria criteria1 = example1.createCriteria();
criteria1
.
andProjectIdEqualTo
(
data
.
getProjectId
());
//
criteria1.andProjectIdEqualTo(data.getProjectId());
criteria1
.
andSubjectCodeEqualTo
(
data
.
getAccountCode
());
//
criteria1.andSubjectCodeEqualTo(data.getAccountCode());
citJournalEntryAdjustMapper
.
updateByExample
(
citJournalEntryAdjust
,
example1
);
//
citJournalEntryAdjustMapper.updateByExample(citJournalEntryAdjust, example1);
//
JournalEntry
journalEntry
=
new
JournalEntry
();
//
JournalEntry journalEntry = new JournalEntry();
journalEntry
.
setIsSelect
(
"1"
);
//
journalEntry.setIsSelect("1");
JournalEntryExample
example2
=
new
JournalEntryExample
();
//
JournalEntryExample example2 = new JournalEntryExample();
JournalEntryExample
.
Criteria
criteria2
=
example2
.
createCriteria
();
//
JournalEntryExample.Criteria criteria2 = example2.createCriteria();
criteria2
.
andProjectIdEqualTo
(
data
.
getProjectId
());
//
criteria2.andProjectIdEqualTo(data.getProjectId());
criteria2
.
andSegment3EqualTo
(
data
.
getAccountCode
());
//
criteria2.andSegment3EqualTo(data.getAccountCode());
journalEntryMapper
.
updateByExample
(
journalEntry
,
example2
);
//
journalEntryMapper.updateByExample(journalEntry, example2);
}
}
List
<
DataSourceExtendDto
>
dataSourceExtendDtos
=
periodDataSourceMapper
.
getManualDataSource
(
data
.
getCellId
());
List
<
DataSourceExtendDto
>
dataSourceExtendDtos
=
periodDataSourceMapper
.
getManualDataSource
(
data
.
getCellId
());
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/TaxDocumentServiceImpl.java
View file @
4947f452
This diff is collapsed.
Click to expand it.
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/CitJournalAdjustExtendsMapper.xml
View file @
4947f452
...
@@ -352,16 +352,16 @@
...
@@ -352,16 +352,16 @@
created_by, created_date, late_updated_by,
created_by, created_date, late_updated_by,
late_updated_date, create_time, update_time,is_select
late_updated_date, create_time, update_time,is_select
from cit_journal_entry_adjust where project_id = #{projectId,jdbcType=VARCHAR}
from cit_journal_entry_adjust where project_id = #{projectId,jdbcType=VARCHAR}
<if
test=
"orgCode != null"
>
<if
test=
"orgCode != null
and orgCode != ''
"
>
and org_code = #{orgCode,jdbcType=VARCHAR}
and org_code = #{orgCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"subjectCode != null"
>
<if
test=
"subjectCode != null
and subjectCode != ''
"
>
and subject_code = #{subjectCode,jdbcType=VARCHAR}
and subject_code = #{subjectCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"orgName != null"
>
<if
test=
"orgName != null
and orgName != ''
"
>
and org_name = #{orgName,jdbcType=VARCHAR}
and org_name = #{orgName,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"subjectName != null"
>
<if
test=
"subjectName != null
and subjectName != ''
"
>
and subject_name = #{subjectName,jdbcType=VARCHAR}
and subject_name = #{subjectName,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"periodStart!=null"
>
<if
test=
"periodStart!=null"
>
...
@@ -381,16 +381,16 @@
...
@@ -381,16 +381,16 @@
attribute6, attribute7, attribute8, attribute9, attribute10, attribute11, attribute12, attribute13, attribute14, attribute15,
attribute6, attribute7, attribute8, attribute9, attribute10, attribute11, attribute12, attribute13, attribute14, attribute15,
attribute16, created_by, created_date, late_updated_by, late_updated_date, create_time, update_time, is_select
attribute16, created_by, created_date, late_updated_by, late_updated_date, create_time, update_time, is_select
from journal_entry where project_id = #{projectId,jdbcType=VARCHAR}
from journal_entry where project_id = #{projectId,jdbcType=VARCHAR}
<if
test=
"orgCode != null"
>
<if
test=
"orgCode != null
and orgCode != ''
"
>
and segment1 = #{orgCode,jdbcType=VARCHAR}
and segment1 = #{orgCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"subjectCode != null"
>
<if
test=
"subjectCode != null
and subjectCode != ''
"
>
and segment3 = #{subjectCode,jdbcType=VARCHAR}
and segment3 = #{subjectCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"orgName != null"
>
<if
test=
"orgName != null
and orgName != ''
"
>
and segment1_name = #{orgName,jdbcType=VARCHAR}
and segment1_name = #{orgName,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"subjectName != null"
>
<if
test=
"subjectName != null
and subjectName != ''
"
>
and segment3_name = #{subjectName,jdbcType=VARCHAR}
and segment3_name = #{subjectName,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"periodStart!=null"
>
<if
test=
"periodStart!=null"
>
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/CitTrialBalanceExtendsMapper.xml
View file @
4947f452
...
@@ -360,13 +360,13 @@
...
@@ -360,13 +360,13 @@
on
on
tb.account_code=dam.acct_code
tb.account_code=dam.acct_code
where tb.project_id = #{projectId,jdbcType=VARCHAR}
where tb.project_id = #{projectId,jdbcType=VARCHAR}
<if
test=
"accountCode != null"
>
<if
test=
"accountCode != null
and accountCode != ''
"
>
and tb.account_code = #{accountCode,jdbcType=VARCHAR}
and tb.account_code = #{accountCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"accountDescription != null"
>
<if
test=
"accountDescription != null
and accountDescription != ''
"
>
and tb.account_description = #{accountDescription,jdbcType=VARCHAR}
and tb.account_description = #{accountDescription,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"attribute != null"
>
<if
test=
"attribute != null
and attribute != ''
"
>
and dam.account_description = #{attribute,jdbcType=VARCHAR}
and dam.account_description = #{attribute,jdbcType=VARCHAR}
</if>
</if>
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/TaxDocumentMapper.xml
View file @
4947f452
...
@@ -67,7 +67,6 @@
...
@@ -67,7 +67,6 @@
</trim>
</trim>
</if>
</if>
</foreach>
</foreach>
and enable = 'T'
</where>
</where>
</sql>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<sql
id=
"Update_By_Example_Where_Clause"
>
...
@@ -151,13 +150,16 @@
...
@@ -151,13 +150,16 @@
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</delete>
</delete>
<delete
id=
"batchDelete"
>
<update
id=
"batchDelete"
>
DELETE FROM tax_document
UPDATE tax_document
SET
enable = 'F'
WHERE id IN
WHERE id IN
<foreach
collection=
"list"
item=
"id"
separator=
","
open=
"("
close=
")"
>
<foreach
collection=
"list"
item=
"id"
separator=
","
open=
"("
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
</delete>
AND enable = 'T'
</update>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entity.TaxDocumentExample"
>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entity.TaxDocumentExample"
>
<!--
<!--
...
...
atms-web/src/main/webapp/app-resources/i18n/en-us/taxDocumentList.json
View file @
4947f452
...
@@ -56,5 +56,6 @@
...
@@ -56,5 +56,6 @@
"PreviewFile"
:
"PreviewFile"
,
"PreviewFile"
:
"PreviewFile"
,
"UploadSuccessCount"
:
"UploadSuccessCount"
,
"UploadSuccessCount"
:
"UploadSuccessCount"
,
"UploadFailCount"
:
"UploadFailCount"
,
"UploadFailCount"
:
"UploadFailCount"
,
"DeleteConfirm"
:
"DeleteConfirm"
"DeleteConfirm"
:
"DeleteConfirm"
,
"FileTimeDateRangeError"
:
"FileTimeDateRangeError"
}
}
\ No newline at end of file
atms-web/src/main/webapp/app-resources/i18n/zh-CN/taxDocumentList.json
View file @
4947f452
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
"Edit"
:
"编辑"
,
"Edit"
:
"编辑"
,
"DocumentPath"
:
"档案路径"
,
"DocumentPath"
:
"档案路径"
,
"PreviewFile"
:
"预览文件"
,
"PreviewFile"
:
"预览文件"
,
"UploadSuccessCount"
:
"个档案上传成功"
,
"UploadSuccessCount"
:
"个档案上传成功:"
,
"UploadFailCount"
:
"个档案上传失败"
,
"UploadFailCount"
:
"个档案上传失败:"
,
"DeleteConfirm"
:
"是否确认删除记录?"
"DeleteConfirm"
:
"是否确认删除记录?"
,
"FileTimeDateRangeError"
:
"'到期日'不能早于'文件生效日期'"
}
}
\ No newline at end of file
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
4947f452
...
@@ -2443,7 +2443,7 @@
...
@@ -2443,7 +2443,7 @@
//加载用户权限list
//加载用户权限list
loadUserRoleList
(
org
.
id
);
loadUserRoleList
(
org
.
id
);
generalSelectCompanyText
();
generalSelectCompanyText
();
cancelWebChange
();
});
});
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.ctrl.js
View file @
4947f452
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
//分页的设置
//分页的设置
$scope
.
pagingOptions
=
{
$scope
.
pagingOptions
=
{
pageIndex
:
1
,
//当前页码
pageIndex
:
1
,
//当前页码
totalItems
:
1
,
//总数据
totalItems
:
4187
,
//总数据
pageSize
:
100
,
//每页多少条数据
pageSize
:
100
,
//每页多少条数据
pageSizeString
:
"100"
pageSizeString
:
"100"
};
};
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-journal-merge/cit-preview-journal-merge-search.html
View file @
4947f452
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<input
class=
"form-control input-width-middle"
type=
"text"
id=
"subjectName"
ng-model=
"queryParams.subjectName"
/>
<input
class=
"form-control input-width-middle"
type=
"text"
id=
"subjectName"
ng-model=
"queryParams.subjectName"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr
style=
"display: none"
>
<td>
<td>
<span
translate=
"orgCode"
></span>
<span
translate=
"orgCode"
></span>
<input
class=
"form-control input-width-middle"
type=
"text"
id=
"orgCode"
ng-model=
"queryParams.orgCode"
/>
<input
class=
"form-control input-width-middle"
type=
"text"
id=
"orgCode"
ng-model=
"queryParams.orgCode"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr
style=
"display: none"
>
<td>
<td>
<span
translate=
"orgName"
></span>
<span
translate=
"orgName"
></span>
<input
class=
"form-control input-width-middle"
type=
"text"
id=
"orgName"
ng-model=
"queryParams.orgName"
/>
<input
class=
"form-control input-width-middle"
type=
"text"
id=
"orgName"
ng-model=
"queryParams.orgName"
/>
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-journal-merge/cit-preview-journal-merge.ctrl.js
View file @
4947f452
...
@@ -178,13 +178,13 @@
...
@@ -178,13 +178,13 @@
}
}
loadJournalEntryDataFromDB
(
1
);
loadJournalEntryDataFromDB
(
1
);
if
(
$scope
.
criteriaList
.
length
>
6
)
{
//
if ($scope.criteriaList.length > 6) {
$scope
.
criteriaListFirstRow
=
$scope
.
criteriaList
.
slice
(
0
,
6
);
//
$scope.criteriaListFirstRow = $scope.criteriaList.slice(0, 6);
$scope
.
criteriaListSecondRow
=
$scope
.
criteriaList
.
slice
(
6
,
$scope
.
criteriaList
.
length
);
//
$scope.criteriaListSecondRow = $scope.criteriaList.slice(6, $scope.criteriaList.length);
}
//
}
else
{
//
else {
$scope
.
criteriaListFirstRow
=
$scope
.
criteriaList
.
slice
(
0
,
$scope
.
criteriaList
.
length
);
//
$scope.criteriaListFirstRow = $scope.criteriaList.slice(0, $scope.criteriaList.length);
}
//
}
$
(
'.filter-button'
).
popover
(
"hide"
);
$
(
'.filter-button'
).
popover
(
"hide"
);
};
};
...
@@ -201,8 +201,8 @@
...
@@ -201,8 +201,8 @@
documentDate
:
null
,
documentDate
:
null
,
projectId
:
vatSessionService
.
project
.
id
projectId
:
vatSessionService
.
project
.
id
};
};
$scope
.
queryParams
.
periodStart
=
$scope
.
startMonth
;
$scope
.
queryParams
.
periodStart
=
vatSessionService
.
year
*
100
+
1
;
$scope
.
queryParams
.
periodEnd
=
$scope
.
endMonth
;
$scope
.
queryParams
.
periodEnd
=
vatSessionService
.
year
*
100
+
12
;
loadJournalEntryDataFromDB
(
1
);
loadJournalEntryDataFromDB
(
1
);
$
(
'.filter-button'
).
popover
(
"hide"
);
$
(
'.filter-button'
).
popover
(
"hide"
);
};
};
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-generate-ver/cit-preview-tb-generate-ver-search.html
View file @
4947f452
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<input
class=
"form-control "
type=
"text"
id=
"accountCode"
placeholder=
""
<input
class=
"form-control "
type=
"text"
id=
"accountCode"
placeholder=
""
ng-model=
"
filterData
.accountCode"
>
ng-model=
"
queryParams
.accountCode"
>
<!--<a class="input-group-addon btn btn-sm" ng-click="popTheParentCode()"><i-->
<!--<a class="input-group-addon btn btn-sm" ng-click="popTheParentCode()"><i-->
<!--class="fa fa-columns" aria-hidden="true"></i></a>-->
<!--class="fa fa-columns" aria-hidden="true"></i></a>-->
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<tr>
<tr>
<td><span
translate=
"AccountName"
></span></td>
<td><span
translate=
"AccountName"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"accountDescription"
placeholder=
""
<td><input
class=
"form-control "
type=
"text"
id=
"accountDescription"
placeholder=
""
ng-model=
"
filterData
.accountDescription"
></td>
ng-model=
"
queryParams
.accountDescription"
></td>
</tr>
</tr>
<!--<tr>-->
<!--<tr>-->
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-generate-ver/cit-preview-tb-generate-ver.ctrl.js
View file @
4947f452
...
@@ -182,6 +182,8 @@
...
@@ -182,6 +182,8 @@
pageInfo
:
{},
pageInfo
:
{},
periodStart
:
''
,
periodStart
:
''
,
periodEnd
:
''
,
periodEnd
:
''
,
accountCode
:
''
,
accountDescription
:
''
,
// segment3: null,
// segment3: null,
// segment3Name: null,
// segment3Name: null,
// segment5: null,
// segment5: null,
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-mapping-ver/cit-preview-tb-mapping-ver-search.html
View file @
4947f452
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<input
class=
"form-control "
type=
"text"
id=
"accountCode"
placeholder=
""
<input
class=
"form-control "
type=
"text"
id=
"accountCode"
placeholder=
""
ng-model=
"
filterData
.accountCode"
>
ng-model=
"
queryParams
.accountCode"
>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<tr>
<tr>
<td><span
translate=
"AccountName"
></span></td>
<td><span
translate=
"AccountName"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"accountDescription"
placeholder=
""
<td><input
class=
"form-control "
type=
"text"
id=
"accountDescription"
placeholder=
""
ng-model=
"
filterData
.accountDescription"
></td>
ng-model=
"
queryParams
.accountDescription"
></td>
</tr>
</tr>
<tr>
<tr>
<td><span
translate=
"Attribute"
></span></td>
<td><span
translate=
"Attribute"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"attribute"
placeholder=
""
<td><input
class=
"form-control "
type=
"text"
id=
"attribute"
placeholder=
""
ng-model=
"
filterData
.attribute"
></td>
ng-model=
"
queryParams
.attribute"
></td>
</tr>
</tr>
<!--<tr>-->
<!--<tr>-->
...
...
atms-web/src/main/webapp/app/cit/report/cit-report-view/cit-report-view.ctrl.js
View file @
4947f452
...
@@ -527,6 +527,7 @@
...
@@ -527,6 +527,7 @@
//设置手工输入保存时需要的信息
//设置手工输入保存时需要的信息
$scope
.
handInputModel
=
{
$scope
.
handInputModel
=
{
cellId
:
jsonTagInfo
.
cellID
,
cellID
:
jsonTagInfo
.
cellID
,
cellID
:
jsonTagInfo
.
cellID
,
cellTemplateID
:
jsonTagInfo
.
cellTemplateID
,
cellTemplateID
:
jsonTagInfo
.
cellTemplateID
,
reportID
:
jsonTagInfo
.
reportID
reportID
:
jsonTagInfo
.
reportID
...
@@ -1560,7 +1561,7 @@
...
@@ -1560,7 +1561,7 @@
if
(
vatSessionService
.
month
)
if
(
vatSessionService
.
month
)
vatSessionService
.
project
.
period
=
vatSessionService
.
month
;
vatSessionService
.
project
.
period
=
vatSessionService
.
month
;
vatApproveService
.
approvalStatus
(
vatSessionService
.
project
.
id
,
vatSessionService
.
project
.
period
).
success
(
function
(
result
)
{
vatApproveService
.
approvalStatus
(
vatSessionService
.
project
.
id
,
0
).
success
(
function
(
result
)
{
$scope
.
handInputModel
.
name
=
$scope
.
taxCellDetail
.
inputMemo
;
$scope
.
handInputModel
.
name
=
$scope
.
taxCellDetail
.
inputMemo
;
$scope
.
handInputModel
.
description
=
$scope
.
taxCellDetail
.
inputMemo
;
$scope
.
handInputModel
.
description
=
$scope
.
taxCellDetail
.
inputMemo
;
$scope
.
handInputModel
.
projectID
=
vatSessionService
.
project
.
id
;
$scope
.
handInputModel
.
projectID
=
vatSessionService
.
project
.
id
;
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.ctrl.js
View file @
4947f452
...
@@ -125,6 +125,14 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
...
@@ -125,6 +125,14 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
}
}
}
}
//事业部
if
(
$scope
.
selectBusinessUnit
)
{
editModel
.
businessUnitID
=
$scope
.
selectBusinessUnit
.
ID
;
}
//区域
if
(
$scope
.
componentSelectedArea
)
{
editModel
.
areaID
=
$scope
.
selectedAreaId
;
}
if
(
$scope
.
isAdd
)
{
if
(
$scope
.
isAdd
)
{
editModel
.
isActive
=
true
;
editModel
.
isActive
=
true
;
orgService
.
addOrg
(
editModel
).
success
(
function
(
orgId
)
{
orgService
.
addOrg
(
editModel
).
success
(
function
(
orgId
)
{
...
@@ -158,7 +166,7 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
...
@@ -158,7 +166,7 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
return
;
return
;
}
}
}
}
editModel
.
isActive
=
!
editModel
.
isActive
;
//
editModel.isActive = !editModel.isActive;
orgService
.
updateOrg
(
editModel
).
success
(
function
(
data
)
{
orgService
.
updateOrg
(
editModel
).
success
(
function
(
data
)
{
if
(
data
&&
!
data
.
result
)
{
if
(
data
&&
!
data
.
result
)
{
//SweetAlert.info("Disable", orgId);
//SweetAlert.info("Disable", orgId);
...
@@ -338,7 +346,7 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
...
@@ -338,7 +346,7 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
return
;
return
;
}
}
};
};
editModel
.
isActive
=
!
editModel
.
isActive
;
//
editModel.isActive = !editModel.isActive;
orgService
.
updateOrg
(
editModel
).
success
(
function
(
data
)
{
orgService
.
updateOrg
(
editModel
).
success
(
function
(
data
)
{
if
(
data
&&
!
data
.
result
)
{
if
(
data
&&
!
data
.
result
)
{
//SweetAlert.info("Disable", orgId);
//SweetAlert.info("Disable", orgId);
...
...
atms-web/src/main/webapp/app/framework/app-usr-operate-log/app-usr-operate-log.ctrl.js
View file @
4947f452
...
@@ -11,6 +11,14 @@ frameworkModule.controller('appUsrOperateLogController',
...
@@ -11,6 +11,14 @@ frameworkModule.controller('appUsrOperateLogController',
$scope
.
loadMainData
=
function
()
{
$scope
.
loadMainData
=
function
()
{
$scope
.
thisModuleId
=
$scope
.
thisModuleId
?
$scope
.
thisModuleId
:
[];
$scope
.
thisModuleId
=
$scope
.
thisModuleId
?
$scope
.
thisModuleId
:
[];
if
(
$scope
.
thisModuleId
.
length
===
0
){
$
(
"input[name='dataGridCheckBox']"
).
each
(
function
(
index
,
item
)
{
if
(
item
.
checked
)
{
var
cellId
=
$
(
item
).
attr
(
"data-id"
);
$scope
.
thisModuleId
.
push
(
cellId
);
}
});
}
var
config
=
{
var
config
=
{
// params: {
// params: {
"ids"
:
$scope
.
thisModuleId
"ids"
:
$scope
.
thisModuleId
...
@@ -21,6 +29,7 @@ frameworkModule.controller('appUsrOperateLogController',
...
@@ -21,6 +29,7 @@ frameworkModule.controller('appUsrOperateLogController',
SweetAlert
.
warning
(
"没有数据可以下载"
);
SweetAlert
.
warning
(
"没有数据可以下载"
);
return
;
return
;
}
}
$scope
.
thisModuleId
=
[];
//清空查询id
$scope
.
dataGridUpdate
(
data
);
$scope
.
dataGridUpdate
(
data
);
})
})
};
};
...
...
atms-web/src/main/webapp/app/taxDocumentManage/tax-document-list/tax-document-list.ctrl.js
View file @
4947f452
This diff is collapsed.
Click to expand it.
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