Commit e0b65cf5 authored by chase's avatar chase

Merge branch 'dev_mysql' of http://code.tech.tax.asia.pwcinternal.com/root/atms into dev_mysql

parents bfce74e3 a096c438
......@@ -22,6 +22,8 @@ import java.io.OutputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
import static javax.servlet.http.HttpServletResponse.SC_OK;
......@@ -40,7 +42,7 @@ public class CitPreviewDataController extends BaseController {
@RequestMapping("getSalaryAdvaceListData")
@ResponseBody
public CamelPagingResultDto<CitSalaryAdvance> getSalaryAdvaceListData(@RequestBody CitSalaryDataDto citSalaryDataDto){
return new CamelPagingResultDto<>(citPreviewDataService.getCitSalaryAdvanceDataList(citSalaryDataDto));
return new CamelPagingResultDto<>(citPreviewDataService.getCitSalaryAdvanceDataList(citSalaryDataDto));
}
@RequestMapping("getCitPreviewEamDisposalDataList")
......@@ -60,8 +62,8 @@ public class CitPreviewDataController extends BaseController {
}
//预提重分类数据源
@RequestMapping(value = "exportDataSalaryAdvance", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public void exportDataSalaryAdvance(@RequestBody CitEAMAssetsDisposalDto citEAMAssetsDisposalDto, HttpServletResponse response) {
int count = citPreviewDataService.exportDataSalaryAdvance(citEAMAssetsDisposalDto, response);
public void exportDataSalaryAdvance(@RequestBody CitSalaryDataDto citSalaryDataDto, HttpServletResponse response) {
int count = citPreviewDataService.exportDataSalaryAdvance(citSalaryDataDto, response);
if (count == 0) {
response.setStatus(SC_NO_CONTENT);
} else {
......
......@@ -148,9 +148,9 @@ public class CitPreviewDataServiceImpl extends BaseService {
return 1;
}
public int exportDataSalaryAdvance(CitEAMAssetsDisposalDto citEAMAssetsDisposalDto, HttpServletResponse response) {
public int exportDataSalaryAdvance(CitSalaryDataDto citSalaryDataDto , HttpServletResponse response) {
CitEAMAssetsDisposalExample example = new CitEAMAssetsDisposalExample();
List<CitEAMAssetsDisposal> list = citEAMAssetsDisposalMapper.selectByCondition(citEAMAssetsDisposalDto);
List<CitSalaryAdvance> list = citSalaryAdvanceMapper.selectByCondition(citSalaryDataDto);
if(list.size()==0){
return 0;
}
......
......@@ -2319,7 +2319,7 @@ public class OrganizationServiceImpl extends BaseService{
@SuppressWarnings("rawtypes")
private OperationResultDto checkOrgNameOrOrgCode(OrganizationDto orgDto) {
OrganizationExample example = new OrganizationExample();
if (null!=orgDto.getOversea()&&orgDto.getOversea()) {
if (null!=orgDto.getOversea()&&orgDto.getOversea()&&null!=orgDto.getEnglishName()) {
example.or().andEnglishNameEqualTo(orgDto.getEnglishName());
} else if (orgDto.getId() == null) {
example.or().andClientCodeEqualTo(orgDto.getClientCode()).andNameEqualTo(orgDto.getName());
......
......@@ -30,7 +30,7 @@ public class EbsApiServiceImplTest extends CommonIT {
}
@Test
public void queryRemoteServerThenUpdateOrg(){
List<OrganizationQueryDto> items =new ArrayList<>();
List<OrganizationQueryDto> items = new ArrayList();
for(int i=0;i<2;i++){
OrganizationQueryDto dto = new OrganizationQueryDto();
dto.setTaxPayerNumber("sadsafsdf3232");
......
......@@ -110,5 +110,4 @@ public interface CitEAMAssetsDisposalMapper extends MyMapper {
int insertBatch(List<CitEAMAssetsDisposal> citEAMAssetsDisposalList);
List<CitEAMAssetsDisposal> selectByCondition(@Param("citEAMAssetsDisposal") CitEAMAssetsDisposal citEAMAssetsDisposal);
List<CitSalaryAdvance> selectByCondition(@Param("citPreviewSalaryAdvance") CitSalaryAdvance citEAMAssetsDisposal);
}
\ No newline at end of file
......@@ -5,6 +5,7 @@ import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entity.CitEAMAssetsDisposal;
import pwc.taxtech.atms.entity.CitSalaryAdvance;
import pwc.taxtech.atms.entity.CitSalaryAdvanceExample;
......@@ -107,4 +108,6 @@ public interface CitSalaryAdvanceMapper extends MyMapper {
int updateByPrimaryKey(CitSalaryAdvance record);
int insertBatch(List<CitSalaryAdvance> list);
List<CitSalaryAdvance> selectByCondition(@Param("citPreviewSalaryAdvance") CitSalaryAdvance citSalaryAdvance);
}
\ No newline at end of file
......@@ -13,6 +13,15 @@ public class ReportDto {
private Date createTime;
private String updater;
private Date updateTime;
private Integer reportType;
public Integer getReportType() {
return reportType;
}
public void setReportType(Integer reportType) {
this.reportType = reportType;
}
public String getId() {
return id;
......
......@@ -473,7 +473,6 @@ public class CitSalaryAdvance extends BaseEntity implements Serializable {
* @mbg.generated
*/
@JsonSerialize(using = CustomDateSerializer.class)
public Date getCreateTime() {
return createTime;
}
......
......@@ -3,9 +3,9 @@
<mapper namespace="pwc.taxtech.atms.dao.CitEAMAssetsDisposalMapper">
<sql id="QueryCondition">
1 = 1
<!-- <if test="@com.github.pagehelper.util.StringUtil@isNotEmpty(citEAMAssetsDisposal.period)">
<if test="@com.github.pagehelper.util.StringUtil@isNotEmpty(citEAMAssetsDisposal.period)">
AND period= #{citEAMAssetsDisposal.period,jdbcType=VARCHAR}
</if>-->
</if>
<if test="citEAMAssetsDisposal.compensationSaleAmount!=null and citEAMAssetsDisposal.compensationSaleAmount != '' ">
AND compensation_sale_amount &gt;= #{citEAMAssetsDisposal.compensationSaleAmount,jdbcType=INTEGER}
</if>
......
......@@ -3,23 +3,20 @@
<mapper namespace="pwc.taxtech.atms.dao.CitSalaryAdvanceMapper">
<sql id="QueryCondition">
1 = 1
<!-- <if test="@com.github.pagehelper.util.StringUtil@isNotEmpty(citEAMAssetsDisposal.period)">
AND period= #{citEAMAssetsDisposal.period,jdbcType=VARCHAR}
</if>-->
<if test="citPreviewSalaryAdvance.compensationSaleAmount!=null and citPreviewSalaryAdvance.compensationSaleAmount != '' ">
AND compensation_sale_amount &gt;= #{citEAMAssetsDisposal.compensationSaleAmount,jdbcType=INTEGER}
</if>
<if test="citPreviewSalaryAdvance.assetLabelNumber!=null and citPreviewSalaryAdvance.assetLabelNumber!='' ">
AND asset_label_number &lt;= #{citEAMAssetsDisposal.assetLabelNumber,jdbcType=INTEGER}
<if test="@com.github.pagehelper.util.StringUtil@isNotEmpty(citPreviewSalaryAdvance.period)">
AND period= #{citPreviewSalaryAdvance.period,jdbcType=VARCHAR}
</if>
<if test="citPreviewSalaryAdvance.poSubjectName!=null and citPreviewSalaryAdvance.poSubjectName != '' ">
AND po_subject_name &gt;= #{citPreviewSalaryAdvance.poSubjectName,jdbcType=INTEGER}
</if>
<if test="citPreviewSalaryAdvance.periodStart!=null and citPreviewSalaryAdvance.periodStart!= '' and citPreviewSalaryAdvance.periodEnd!= null and citPreviewSalaryAdvance.periodEnd!= ''">
AND period between ${citEAMAssetsDisposal.periodStart} and ${citEAMAssetsDisposal.periodEnd}
AND period between ${citPreviewSalaryAdvance.periodStart} and ${citPreviewSalaryAdvance.periodEnd}
</if>
<if test="citEAMAssetsDisposal.periodStart == null and citEAMAssetsDisposal.periodStart != '' and citEAMAssetsDisposal.periodEnd != null and citEAMAssetsDisposal.periodEnd != ''">
AND period &lt; ${citEAMAssetsDisposal.periodEnd} or period = ${citEAMAssetsDisposal.periodEnd}
<if test="citPreviewSalaryAdvance.periodStart == null and citPreviewSalaryAdvance.periodStart != '' and citPreviewSalaryAdvance.periodEnd != null and citPreviewSalaryAdvance.periodEnd != ''">
AND period &lt; ${citPreviewSalaryAdvance.periodEnd} or period = ${citPreviewSalaryAdvance.periodEnd}
</if>
<if test="citEAMAssetsDisposal.periodStart != null and citEAMAssetsDisposal.periodStart != '' and citEAMAssetsDisposal.periodEnd == null and citEAMAssetsDisposal.periodEnd != '' ">
AND period &gt; ${citEAMAssetsDisposal.periodStart} or period = ${citEAMAssetsDisposal.periodStart}
<if test="citPreviewSalaryAdvance.periodStart != null and citPreviewSalaryAdvance.periodStart != '' and citPreviewSalaryAdvance.periodEnd == null and citPreviewSalaryAdvance.periodEnd != '' ">
AND period &gt; ${citPreviewSalaryAdvance.periodStart} or period = ${citPreviewSalaryAdvance.periodStart}
</if>
</sql>
......@@ -94,7 +91,18 @@
<select id ="selectByCondition" parameterType="pwc.taxtech.atms.entity.CitSalaryAdvance" resultType="pwc.taxtech.atms.entity.CitSalaryAdvance">
select
*
organization_id organizationId,
project_id projectId,
period ,
source,
po_no poNo,
po_subject_code poSubjectCode,
po_subject_name poSubjectName,
advance advance,
approved_standard_invoice_amount approvedStandardInvoiceAmount,
created_by createdBy,
create_time createTime
from cit_salary_advance
WHERE
<include refid="QueryCondition"/>
</select>
......
......@@ -103,6 +103,7 @@
<result column="TEMPLATE_ID" jdbcType="INTEGER" property="templateId"/>
<result column="TEMPLATE_NAME" jdbcType="VARCHAR" property="templateName"/>
<result column="TEMPLATE_CODE" jdbcType="VARCHAR" property="templateCode"/>
<result column="REPORT_TYPE" jdbcType="INTEGER" property="reportType"/>
</resultMap>
<!--TODO: 考虑项目库表迁移-->
......@@ -112,13 +113,15 @@
D.period AS PERIOD,
C.id AS TEMPLATE_ID,
C.name AS TEMPLATE_NAME,
C.code AS TEMPLATE_CODE
C.code AS TEMPLATE_CODE,
C.reportType AS REPORT_TYPE
FROM
(
SELECT
A.id as ID,
A.name AS NAME,
A.code AS CODE
A.code AS CODE,
A.report_type AS reportType
FROM
template A
WHERE
......
......@@ -8,10 +8,10 @@
AND organization_id= #{bsCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="bsCondition.periodStart!=null">
AND period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="bsCondition.periodEnd!=null">
AND period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{bsCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="bsCondition.periodStart!=null">
AND period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="bsCondition.periodEnd!=null">
AND period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{bsCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="bsCondition.periodStart!=null">
AND period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="bsCondition.periodEnd!=null">
AND period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND entity_code= #{cfCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="cfCondition.periodStart!=null">
AND period &gt;= #{cfCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{cfCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="cfCondition.periodEnd!=null">
AND period &lt;= #{cfCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{cfCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{cilCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="cilCondition.periodStart!=null">
AND period &gt;= #{cilCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{cilCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="cilCondition.periodEnd!=null">
AND period &lt;= #{cilCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{cilCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{cprCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="cprCondition.periodStart!=null">
AND period &gt;= #{cprCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{cprCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="cprCondition.periodEnd!=null">
AND period &lt;= #{cprCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{cprCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{idCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="idCondition.periodStart!=null">
AND period &gt;= #{idCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{idCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="idCondition.periodEnd!=null">
AND period &lt;= #{idCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{idCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{irCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="irCondition.periodStart!=null">
AND period &gt;= #{irCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{irCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="irCondition.periodEnd!=null">
AND period &lt;= #{irCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{irCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -29,10 +29,10 @@
AND description= #{jeCondition.description,jdbcType=VARCHAR}
</if>
<if test="jeCondition.periodStart!=null">
AND period &gt;= #{jeCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{jeCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="jeCondition.periodEnd!=null">
AND period &lt;= #{jeCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{jeCondition.periodEnd,jdbcType=INTEGER}
</if>
<if test="jeCondition.containsAdjustmentRecord!=null">
AND contains_adjustment_record = #{jeCondition.containsAdjustmentRecord,jdbcType=BYTE}
......
......@@ -8,10 +8,10 @@
AND organization_id= #{plCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="plCondition.periodStart!=null">
AND period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="plCondition.periodEnd!=null">
AND period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{plCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="plCondition.periodStart!=null">
AND period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="plCondition.periodEnd!=null">
AND period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{plCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="plCondition.periodStart!=null">
AND period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="plCondition.periodEnd!=null">
AND period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -9,10 +9,10 @@
AND organization_id= #{rlitCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="rlitCondition.periodStart!=null">
AND fill_in_date &gt;= #{rlitCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{rlitCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="rlitCondition.periodEnd!=null">
AND fill_in_date &lt;= #{rlitCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{rlitCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -26,10 +26,10 @@
AND segment6_name= #{tbCondition.segment6Name,jdbcType=VARCHAR}
</if>
<if test="tbCondition.periodStart!=null">
AND period &gt;= #{tbCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{tbCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="tbCondition.periodEnd!=null">
AND period &lt;= #{tbCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{tbCondition.periodEnd,jdbcType=INTEGER}
</if>
<if test="tbCondition.containsAdjustmentTable!=null">
AND contains_adjustment_table = #{tbCondition.containsAdjustmentTable,jdbcType=BYTE}
......
......@@ -120,8 +120,8 @@
<div dx-tabs="tabOptions"></div>
<div class="form-group formula-group" ng-show="selectedTab === 0">
<label class="checkbox-inline bold" ng-class="{ 'disabled': !hasEditPermission || !ToggleSaveAs }">
<input type="checkbox" ng-model="editModel.hasFormula" ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'FormulaConfig' | translate}}
</label>
<input type="checkbox" ng-model="editModel.hasFormula" ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'FormulaConfig' | translate}}
</label>
<div ng-messages="editReportFormulaForm.formula.$error" class="has-error label bold">
<span ng-message="requiredValidator">{{'RequiredValidator' | translate}}</span>
<span ng-message="keyValueNotEmptyValidator">{{'KeyValueNotEmptyValidator' | translate}}</span>
......
......@@ -18,37 +18,6 @@
<button class="btn btn-vat-primary" translate="AssetClassification" ng-click="setAssetsGroup()"></button>
</div>
<form class="form-inline">
<!--<div class="form-group" ng-style="setButtonWrapStyle()">-->
<!--<div class="import-wrapper">-->
<!--<button type="button" ng-show="hasEditPermission" -->
<!--ngf-select="" ng-model="fileNameWrapper" ngf-drag-over-class="'dragover'" accept=".xls,.xlsx,.xlsm"-->
<!--ngf-multiple="false" ngf-allow-dir="false" class="btn btn-vat-third" style="margin-right:10px">-->
<!--{{'SelectFile' | translate}}-->
<!--</button>-->
<!--<div class="import-info-wrapper" ng-show="fileName">-->
<!--<span title="{{fileName}}">{{'FileName' | translate}}{{fileName | limitString:10}}</span>&nbsp;&nbsp;&nbsp;&nbsp;|-->
<!--<span translate="WorkSheet"></span>-->
<!--<div class="ui-select-no-border">-->
<!--<ui-select ng-model="sheetInfo.selectedSheetName" on-select="changeSheet($item)" search-enabled="false" style="width:120px;">-->
<!--<ui-select-match placeholder="{{'SelectASheet' | translate}}">{{$select.selected.name}}</ui-select-match>-->
<!--<ui-select-choices repeat="sheetName in sheetData.sheetNameList | propsFilter: {name: $select.search}">-->
<!--<div title="{{sheetName.name}}" ng-bind-html="sheetName.name | limitString:9"></div>-->
<!--</ui-select-choices>-->
<!--</ui-select>-->
<!--</div>-->
<!--&nbsp;&nbsp;&nbsp;&nbsp;|-->
<!--<span translate="StartRowNum"></span>-->
<!--<input id="StartRowNum" ng-model="StartRowNum" type="text"-->
<!--onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"-->
<!--onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" />-->
<!--</div>-->
<!--<button class="btn btn-vat-primary" style="float:right; margin-right: 10px;" ng-if="isShowImportTotalBtn && hasEditPermission" translate="ImportBtn" ng-click="importData(importEnum.Import)"></button>-->
<!--<div class="btn-wrapper" ng-if="!isShowImportTotalBtn && hasEditPermission">-->
<!--<button class="btn btn-vat-primary" translate="ConverImportBtn" ng-click="importData(importEnum.CoverImport)"></button>|<button class="btn btn-vat-primary" translate="AddImportBtn" ng-click="importData(importEnum.AddImport)"></button>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<div class="form-group">
<div class="col-sm-5">
<input class="form-control" type="text" name="fileName"
......@@ -65,13 +34,6 @@
</div>
</div>
<!--分页栏-->
<!--<div class="form-group page-form-group" ng-show="!showImportTable">-->
<!--<div class="page-footer">-->
<!--<ack-pagination page-options="pagingOptions" refresh-table="pagingService.refreshInvoiceDataGrid()" hide-page-size-selector="true"></ack-pagination>-->
<!--</div>-->
<!--</div>-->
</form>
<!--导入数据界面-->
......
......@@ -9,7 +9,7 @@
<i class="fa fa-filter" aria-hidden="true"></i>
</button>
<span translate="EAMDisposal" class="text-bold"></span> &nbsp;&nbsp;|&nbsp;&nbsp;<span class="text-bold" translate="InvoiceQJ"></span>
<input type="text" class="form-control input-width-middle periodInput" style="position: relative; top: -30px; left: 180px; width: 200px;" id="input-invoice-period-picker" />
<input type="text" class="form-control input-width-middle periodInput" style="position: relative; top: -30px; left: 210px; width: 200px;" id="input-invoice-period-picker" />
<span ng-click="downloadTB()" style="position: relative; top: -61px; left: 95%;"><i class="fa fa-file-excel-o" aria-hidden="true"></i>{{'ExportBtn' | translate}}</span>
<div class="dt-init-wrapper" style=" position: relative; top: -41px;">
......
......@@ -30,15 +30,15 @@
function initAssetResultDxGrid() {
var dupColumns = [
{ caption: $translate.instant('ImportErrorPopUpNoCol'), dataField: "index", width: 50, allowEditing: false, fixed: true },
{ caption: $translate.instant('poSubjectName'), dataField: "poSubjectName", width: 200, allowEditing: false, fixed: true },
{ caption: $translate.instant('poSubjectName'), dataField: "poSubjectName", width: '30%', allowEditing: false, fixed: true },
/* { caption: $translate.instant('organizationId'), dataField: "organizationId", width: 120, allowEditing: false, fixed: true },
{ caption: $translate.instant('ProjectNameCol'), dataField: "projectName", width: 120, allowEditing: false, fixed: true },*/
{ caption: $translate.instant('period'), dataField: "period", width: 200, allowEditing: false, fixed: true },
{ caption: $translate.instant('source'), dataField: "source", width: 200, allowEditing: false, fixed: true },
{ caption: $translate.instant('advancePrice'), dataField: "advance", width: 200, allowEditing: false, fixed: true },
{ caption: $translate.instant('period'), dataField: "period", width: '15%', allowEditing: false, fixed: true },
{ caption: $translate.instant('source'), dataField: "source", width: '15%', allowEditing: false, fixed: true },
{ caption: $translate.instant('advancePrice'), dataField: "advance", width: '15%', allowEditing: false, fixed: true },
{ caption: $translate.instant('approvedPrice'), dataField: "approvedStandardInvoiceAmount", width: 200, allowEditing: false, fixed: true },
/* { caption: $translate.instant('createBy'), dataField: "createdBy", width: 200, allowEditing: false, fixed: true },*/
{ caption: $translate.instant('createTime'), dataField: "createTime", width: 200, allowEditing: false, fixed: true }
{ caption: $translate.instant('createTime'), dataField: "createTime", width: '15%', allowEditing: false, fixed: true }
];
$scope.assetsResultGridOptions = {
......@@ -87,7 +87,7 @@
//导出数据
$scope.downloadTB = function () {
citPreviewDataService.exportData( $scope.queryParams).success(function (data, status, headers) {
citPreviewDataService.exportDataSalaryAdvance( $scope.queryParams).success(function (data, status, headers) {
if(status===204){
SweetAlert.warning("没有数据可以下载");
return;
......@@ -101,8 +101,7 @@
$scope.doDataReset = function () {
$scope.queryParams.period = null;
$scope.queryParams.compensationSaleAmount = null;
$scope.queryParams.assetLabelNumber = null;
$scope.queryParams.poSubjectName = null;
$scope.refreshConfigGrid();
}
$scope.doSearch = function () {
......@@ -110,7 +109,7 @@
}
var initListData = function(){
citPreviewDataService.getCitPreviewSalaryAdvanceDataList($scope).success(function (res) {
citPreviewDataService.getCitPreviewSalaryAdvanceDataList($scope.queryParams).success(function (res) {
$scope.listData = commonWebService._index(res.list);
$scope.queryParams.pagingOptions.totalItems = res.pageInfo.totalCount;
......@@ -163,13 +162,15 @@
$scope.queryParams.periodEnd = commonWebService._dateByPicker(start, end).end;
$scope.refreshConfigGrid();
});
$scope.queryParams = {};
$scope.formParam = {};
//分页的设置
$scope.queryParams.pagingOptions = {
pageIndex: 1, //当前页码
totalItems: 0, //总数据
pageSize: 20, //每页多少条数据
};
$scope.formParam = {};
initAssetResultDxGrid();
initListData();
})();
......
......@@ -9,12 +9,12 @@
<i class="fa fa-filter" aria-hidden="true"></i>
</button>
<span translate="EAMDisposal" class="text-bold"></span> &nbsp;&nbsp;|&nbsp;&nbsp;<span class="text-bold" translate="InvoiceQJ"></span>:-->
<input type="text" class="form-control input-width-middle periodInput" style="position: relative; top: -30px; left: 180px; width: 200px;" id="input-invoice-period-picker" />
<input type="text" class="form-control input-width-middle periodInput" style="position: relative; top: -30px; left: 210px; width: 200px;" id="input-invoice-period-picker" />
<span ng-click="downloadTB()" style=" position: absolute; z-index: 99999999; top: 14px; right: 2%;"><i class="fa fa-file-excel-o" aria-hidden="true"></i>{{'ExportBtn' | translate}}</span>
<div class="dt-init-wrapper" style=" position: relative; top: -20px;">
<div id="gridContainer" dx-data-grid="assetsResultGridOptions"></div>
<div class="page-footer">
<ack-pagination page-options="pagingOptions"
<ack-pagination page-options="queryParams.pagingOptions"
refresh-table="refreshConfigGrid()"></ack-pagination>
</div>
</div>
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......
......@@ -48,7 +48,6 @@ commonModule
txt = txt.replace(/\xA0/g, ' ').replace(/\n/g, '').replace(/\r/g, '');
txt = _.unescape(txt);
}
ngModel.$setViewValue(txt);
};
......@@ -117,7 +116,6 @@ commonModule
}
});
}
element.html(viewValue || '');
};
......@@ -897,7 +895,6 @@ commonModule
var txtNode = document.createTextNode(text);
range.insertNode(txtNode);
// Preserve the selection
range = range.cloneRange();
range.setStart(txtNode, txtNode.length);
......
var constant = {};
constant.apiUrl = "http://dts.erp.didichuxing.com:8180/";
constant.regesterInformation = {
active: true,
userKey: "dts.erp.didichuxing.com,164826354976336#A0jDtCLiYzMzYzN9QTNzYjM8QjNxIiOiQWSiwSflNHbhZmOiI7ckJye0ICbuFkI1pjIEJCLi4TP7JGMrVjMIV5YHh4L5BTUMNGa9wkc4hzL4QURnpGVPxWWulVQQZDRkRGV7d4NvlVNll5RvJVVohWT98GN5QjQHV5LDlWTNN6SIdVb9Y4QzZUNsZWdwVnI0IyUiwCM8kjMxIjNwQTM0IicfJye&Qf35VfiMjY6cmI0IyQiwiIxEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsISO5UDMxADI7IjMwkTMwIjI0ICdyNkIsISbvNmLn9Wa8VHajlGZpRmLwJXZuMHdkJiOiMXbEJCLig1jlzahlbIilfbtmrIukj1jlzahlDZmpnInmnIvvPLnlH1tmjIvvL0rojqklPZgpjLsm1Yjl1ammLieiom"
......@@ -54,9 +56,11 @@ constant.payTaxTypeList = [
{value: 2, name: '小规模纳税人'}];
constant.citReportTypeList = [
{value: 1, name: '纳税申报表'},
{value: 2, name: '季度预缴表'},
{value: 3, name: '工作底稿'}];
{ value: 1, name: 'TaxReturnType',orderIndex:1 },
{ value: 2, name: 'QuarterlyFilingReturnType', orderIndex: 2 },
{ value: 3, name: 'WorkingPaperType', orderIndex: 3 },
{ value: 4, name: 'DocumentListType', orderIndex: 4 },
{ value: 5, name: 'OtherTaxes', orderIndex: 5 }];
constant.cfReportTypeList = [
{value: 1, name: '企业所得税预算'},
......@@ -1475,7 +1479,8 @@ constant.fileTypeList = [
{code:4,type:"资产负债表"},
{code:5,type:"利润表"},
{code:6,type:"直接法现金流量表"},
{code:7,type:"所有者权益变动表和汇率表"}
{code:7,type:"所有者权益变动表"},
{code:8,type:"汇率表"}
];
constant.NationalEconomicIndustryList =[
......
......@@ -129,7 +129,13 @@ commonModule.factory('enums', ['$translate', function ($translate) {
CF: "11",
AssetsManage: "12"
},
reportType: {
taxReturn: 1,
prepay: 2,
workingPaper: 3,
documentList: 4,
others: 5
},
//发票类型
invoiceType: {
VATInvoice: 1,
......
......@@ -51,7 +51,7 @@
<li><input type="checkbox" ng-model="selectedAllFileType" ng-change="selectAllFile()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
<li role="separator" class="divider" style="height: 2px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li ng-repeat="i in fileTypeList">
<div class="checkbox-custom checkbox-default">
......
......@@ -235,7 +235,7 @@
.dt-init-wrapper {
margin: 60px 0;
max-width: 99%;
height: calc(~'100% - 25px');
height: calc(100% - 200px);
position: relative;
.dropdown {
......
......@@ -22,7 +22,7 @@
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
<li role="separator" class="divider" style="height: 2px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
......
......@@ -235,7 +235,7 @@
.dt-init-wrapper {
margin: 60px 0;
max-width: 99%;
height: calc(~'100% - 25px');
height: calc(100% - 200px);
position: relative;
.dropdown {
......
......@@ -124,6 +124,11 @@
rowAlternationEnabled: true, //单双行颜色
noDataText: $translate.instant('NoDataText'),
selectAllText: $translate.instant('SelectAll'),
searchPanel: {
placeholder: $translate.instant('Search'),
width: 518,
visible: true
},
headerFilter: {
visible: false,
texts: {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......@@ -176,7 +176,7 @@
.dt-init-wrapper {
max-width: 99%;
height: calc(~'100% - 25px');
height: calc(100% - 200px);
position: relative;
.dropdown {
......
......@@ -133,6 +133,11 @@
rowAlternationEnabled: true, //单双行颜色
noDataText: $translate.instant('NoDataText'),
selectAllText: $translate.instant('SelectAll'),
searchPanel: {
placeholder: $translate.instant('Search'),
width: 518,
visible: true
},
headerFilter: {
visible: false,
texts: {
......
......@@ -104,7 +104,7 @@
#tab_total {
display: block;
height: calc(~'100% - 40px');
height: calc(~'100% - 100px');
position: relative;
.import-wrapper {
......@@ -176,7 +176,7 @@
.dt-init-wrapper {
max-width: 99%;
height: calc(~'100% - 25px');
height: calc(~'100% - 200px');
position: relative;
.dropdown {
......
......@@ -177,7 +177,7 @@
.dt-init-wrapper {
margin: 30px 0;
max-width: 99%;
height: calc(~'100% - 25px');
height: calc(~'100% - 200px');
position: relative;
.dropdown {
......
<div id="app-data-import" class="app-data-import ">
<nav class="navbar navbar-custom" role="navigation"
style="margin-bottom: 0; border-radius: 0px; background-image:url(../../../app-resources/images/leftbarbg.png); height: 100%;width: 260px">
style="margin-bottom: 0; border-radius: 0px; height: 100%;width: 260px">
<div class="sidebar navbarfix" role="navigation" style="height: 100%;">
<div class="sidebar-nav navbar-collapse" id="sidebar-area" style="height:100%;width: 260px">
<div class="app-data-import-side-bar" style="height: 100%">
......
......@@ -12,66 +12,35 @@
.side-menu-title {
margin-left: 6px;
color: black;
font-weight: bold;
}
.dropdown-collapse{
padding: 0 6px;
}
.app-data-import-side-bar {
//padding: 10px 0px 0px;
/* margin: auto; */
height: 100%;
min-height: 594px;
/*background-image:url(../../app-resources/images/login-user-below.png);
background-repeat:no-repeat;
-moz-background-size:100% 100%;
filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
background-size:255px 100%; */
.ps-scrollbar-y-rail {
z-index: 9999;
background-color: transparent !important;
.ps-scrollbar-y {
background-color: #ffffff !important;
}
}
.active {
background-color: @color-light-gray-f2;
}
.first-module {
width: 32%;
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 40px;
.menu-wrapper {
.img {
padding: 10px;
}
}
}
/* .menu-width{
width: 160px;
}*/
.popover.bottom > .arrow:after {
border-bottom-color: @color-light-gray-e4;
}
.nav > li > a.active{
font-weight: bold;
background-color: #a32020 !important;
text-decoration: none;
}
.nav > li{
display: table;
height: 50px;
list-style: none;
border-bottom: 1px solid #ccc;
position: relative;
vertical-align: middle;
width: 100%;
}
.popover {
background-color: @color-light-gray-e4;
}
.nav > li > a.active span{
color: #fff;
}
a {
text-decoration: none;
b {
color: #ffffff;
}
}
.menu-icons {
color: black !important;
}
.data-import-wrapper {
......@@ -84,10 +53,18 @@
height: 100%;
}
.ps-scrollbar-y-rail {
z-index: 9999;
background-color: transparent !important;
}
.ps-scrollbar-y {
background-color: #aaa !important;
}
.app-data-import {
height: 101%;
width: 100%;
background-color: #ffffff;
background-color: #f2f2f2;
//padding: 0px 15% 0px 5%;
/*.center-title {
......@@ -147,6 +124,58 @@
}
.app-data-import-side-bar {
//padding: 10px 0px 0px;
/* margin: auto; */
height: 100%;
min-height: 594px;
/*background-image:url(../../app-resources/images/login-user-below.png);
background-repeat:no-repeat;
-moz-background-size:100% 100%;
filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
background-size:255px 100%; */
.active {
background-color: @color-light-gray-f2;
}
.first-module {
width: 32%;
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 40px;
.menu-wrapper {
.img {
padding: 10px;
}
}
}
/* .menu-width{
width: 160px;
}*/
.popover.bottom > .arrow:after {
border-bottom-color: @color-light-gray-e4;
}
.popover {
background-color: @color-light-gray-e4;
}
a {
text-decoration: none;
b {
color: #ffffff;
}
}
}
#importBasicData {
z-index:9999;
......
......@@ -16,7 +16,7 @@
<a ui-sref-active="active" data-template-id="{{menu.id}}"
ng-class="{'active':selectedTemplateId===menu.id}"
ui-sref=".reportView({ id: menu.reportId, templateid: menu.id, name:menu.name,templatecode:menu.code })"
ng-bind-html="::menu.name"></a>
ng-bind-html="::menu.code+'_'+menu.name"></a>
</div>
</div>
</li>
......
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