Commit 94eb6b17 authored by gary's avatar gary

1、css fix

parent e2b00e71
...@@ -1884,6 +1884,11 @@ ...@@ -1884,6 +1884,11 @@
"DataProcessLog": "Data Process Log", "DataProcessLog": "Data Process Log",
"DataProcessLogTitle": "Data Process Log", "DataProcessLogTitle": "Data Process Log",
"ValidateContent": "Validate Content",
"ValidateResult": "Validate Result",
"ResultMsg": "Result Message",
"Operater": "Operater",
"OperateTime": "Operate Time",
"~MustBeEndOneApp": "I Must be the End One, please!" "~MustBeEndOneApp": "I Must be the End One, please!"
} }
\ No newline at end of file
...@@ -2207,5 +2207,12 @@ ...@@ -2207,5 +2207,12 @@
"BillDtlColNumber": "发票号码", "BillDtlColNumber": "发票号码",
"BillDtlColRevenueType": "收入类型", "BillDtlColRevenueType": "收入类型",
"BillDtlUpdateSuccess": "更新成功", "BillDtlUpdateSuccess": "更新成功",
"ValidateContent": "校验内容",
"ValidateResult": "校验结果",
"ResultMsg": "校验信息",
"Operater": "操作员",
"OperateTime": "操作时间",
"~MustBeEndOneApp": "我必须是最后一个!" "~MustBeEndOneApp": "我必须是最后一个!"
} }
...@@ -66,42 +66,47 @@ ...@@ -66,42 +66,47 @@
dataField: "taxpayerIdNum", dataField: "taxpayerIdNum",
width: '15%', width: '15%',
allowHeaderFiltering: false, allowHeaderFiltering: false,
caption: $translate.instant('TaxpayerIdNum') caption: $translate.instant('CompanyCode')
}, { }, {
dataField: "companyCode", dataField: "companyCode",
allowHeaderFiltering: false, allowHeaderFiltering: false,
caption: $translate.instant('CompanyCode'), caption: $translate.instant('CompanyName'),
width: '15%' width: '15%'
}, { }, {
dataField: "companyName", dataField: "companyName",
allowHeaderFiltering: false, allowHeaderFiltering: false,
width: '27%', width: '10%',
caption: $translate.instant('CompanyName') caption: $translate.instant('YearPeriod')
}, { }, {
dataField: "periodYear", dataField: "periodYear",
allowHeaderFiltering: false, allowHeaderFiltering: false,
width: '5%', width: '5%',
caption: $translate.instant('YearPeriod') caption: $translate.instant('Period')
}, { }, {
dataField: "periodMonth", dataField: "periodMonth",
allowHeaderFiltering: false, allowHeaderFiltering: false,
width: '10%', width: '15%',
caption: $translate.instant('TMSPeriod') caption: $translate.instant('ValidateContent')
}, { }, {
dataField: "periodMonth", dataField: "periodMonth",
allowHeaderFiltering: false, allowHeaderFiltering: false,
width: '5%', width: '5%',
caption: $translate.instant('Period') caption: $translate.instant('ValidateResult')
}, { }, {
dataField: "recordSize", dataField: "recordSize",
allowHeaderFiltering: false, allowHeaderFiltering: false,
width: '8%', width: '15%',
caption: $translate.instant('RecordSize') caption: $translate.instant('ResultMsg')
}, {
dataField: "errorMsg",
allowHeaderFiltering: false,
width: '10%',
caption: $translate.instant('Operater')
}, { }, {
dataField: "errorMsg", dataField: "errorMsg",
allowHeaderFiltering: false, allowHeaderFiltering: false,
width: '15%', width: '15%',
caption: $translate.instant('Status') caption: $translate.instant('OperateTime')
} }
], ],
onContentReady: function (e) { onContentReady: function (e) {
......
...@@ -30,15 +30,15 @@ function ($scope, $log, $translate, $location, loginContext, enums, vatSessionSe ...@@ -30,15 +30,15 @@ function ($scope, $log, $translate, $location, loginContext, enums, vatSessionSe
// }, // },
{ {
name: 'inputInvoice', permission: constant.vatPermission.dataPreview.inputInvoice.queryCode, name: 'inputInvoice', permission: constant.vatPermission.dataPreview.inputInvoice.queryCode,
text: $translate.instant('inputInvoice'), icon: 'fa fa-file-text-o', show: true text: $translate.instant('inputInvoice'), icon: 'fa fa-file-text-o', show: false
}, },
{ {
name: 'outputInvoice', permission: constant.vatPermission.dataPreview.outputInvoice.queryCode, name: 'outputInvoice', permission: constant.vatPermission.dataPreview.outputInvoice.queryCode,
text: $translate.instant('outputInvoice'), icon: 'fa fa-file-text-o', show: true text: $translate.instant('outputInvoice'), icon: 'fa fa-file-text-o', show: false
}, },
{ {
name: 'outputoffInvoice', permission: constant.vatPermission.dataPreview.outputInvoice.queryCode, name: 'outputoffInvoice', permission: constant.vatPermission.dataPreview.outputInvoice.queryCode,
text: $translate.instant('offlineBilling'), icon: 'fa fa-file-text-o', show: true text: $translate.instant('offlineBilling'), icon: 'fa fa-file-text-o', show: false
}, },
{ {
name: 'trialBalance', permission: constant.vatPermission.dataPreview.trialBalance.queryCode, name: 'trialBalance', permission: constant.vatPermission.dataPreview.trialBalance.queryCode,
......
vatModule.controller('VatPreviewCashFlowController', ['$scope', '$log', '$translate', '$timeout', 'SweetAlert', '$q', 'uiGridConstants', '$interval', 'vatPreviewService', 'browserService', 'vatSessionService', 'region', 'enums', 'vatExportService','$filter', vatModule.controller('VatPreviewCashFlowController', ['$rootScope','$scope', '$log', '$translate', '$timeout', 'SweetAlert', '$q', 'uiGridConstants', '$interval', 'vatPreviewService', 'browserService', 'vatSessionService', 'region', 'enums', 'vatExportService','$filter',
function ($scope, $log, $translate, $timeout, SweetAlert, $q, uiGridConstants, $interval, vatPreviewService, browserService, vatSessionService, region, enums, vatExportService,$filter) { function ($rootScope,$scope, $log, $translate, $timeout, SweetAlert, $q, uiGridConstants, $interval, vatPreviewService, browserService, vatSessionService, region, enums, vatExportService,$filter) {
'use strict'; 'use strict';
$scope.startDate = new Date(vatSessionService.project.year, 0, 1); $scope.startDate = new Date(vatSessionService.project.year, 0, 1);
...@@ -252,6 +252,11 @@ ...@@ -252,6 +252,11 @@
$scope.queryParams.periodStart = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodStart = vatSessionService.year * 100 + vatSessionService.month;
$scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month;
$scope.queryParams.orgId = vatSessionService.project.organizationID; $scope.queryParams.orgId = vatSessionService.project.organizationID;
if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){
$('.periodInput')[0].style.left = "240px";
}else{
$('.periodInput')[0].style.left = "140px";
}
loadIncomeInvoiceItemDataFromDB(1); loadIncomeInvoiceItemDataFromDB(1);
})(); })();
......
<div class="vat-preview-cash-flow" id="mainPreviewDiv"> <div class="vat-preview-cash-flow" id="mainPreviewDiv">
<div class="top-area-wrapper" style="margin-top: 10px"> <div class="top-area-wrapper" style="margin-top: 10px">
<span translate="CashFlowDDTitle" class="text-bold"></span> &nbsp;&nbsp;|&nbsp;&nbsp;<span class="text-bold" translate="InvoiceQJ"></span> <span translate="CashFlowDDTitle" class="text-bold"></span> &nbsp;&nbsp;|&nbsp;&nbsp;<span class="text-bold" translate="InvoiceQJ"></span>
<input type="text" class="form-control input-width-middle" style="position: relative; top: -30px; left: 130px;" id="input-invoice-period-picker" /> <input type="text" class="form-control input-width-middle periodInput" style="position: relative; top: -30px; left: 130px;" id="input-invoice-period-picker" />
<span ng-click="downloadCashFlow()" style="position: relative; top: -13px; left: 95%;"><i class="fa fa-file-excel-o" aria-hidden="true"></i>{{'ExportBtn' | translate}}</span> <span ng-click="downloadCashFlow()" style="position: relative; top: -13px; left: 95%;"><i class="fa fa-file-excel-o" aria-hidden="true"></i>{{'ExportBtn' | translate}}</span>
</div> </div>
......
...@@ -303,9 +303,9 @@ ...@@ -303,9 +303,9 @@
initCertifiedInvoicesListPagination(); initCertifiedInvoicesListPagination();
//初始化查询条件-期间范围 //初始化查询条件-期间范围
if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){ if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){
$('.periodInput')[0].style.left = "280px"; $('.periodInput')[0].style.left = "310px";
}else{ }else{
$('.periodInput')[0].style.left = "170px"; $('.periodInput')[0].style.left = "200px";
} }
$scope.queryParams.periodStart = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodStart = vatSessionService.year * 100 + vatSessionService.month;
$scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month;
......
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){ if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){
$('.periodInput')[0].style.left = "250px"; $('.periodInput')[0].style.left = "250px";
}else{ }else{
$('.periodInput')[0].style.left = "150px"; $('.periodInput')[0].style.left = "130px";
} }
loadInvoiceDataItemDataFromDB(1); loadInvoiceDataItemDataFromDB(1);
......
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
$scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month;
$scope.queryParams.orgId = vatSessionService.project.organizationID; $scope.queryParams.orgId = vatSessionService.project.organizationID;
if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){ if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){
$('.periodInput')[0].style.left = "280px"; $('.periodInput')[0].style.left = "260px";
}else{ }else{
$('.periodInput')[0].style.left = "150px"; $('.periodInput')[0].style.left = "150px";
} }
......
...@@ -317,9 +317,9 @@ ...@@ -317,9 +317,9 @@
initRedLetterInfoTabItemPagination(); initRedLetterInfoTabItemPagination();
//初始化查询条件-期间范围 //初始化查询条件-期间范围
if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){ if($rootScope.currentLanguageDesc = $rootScope.currentLanguage === 'en-us'){
$('.periodInput')[0].style.left = "280px"; $('.periodInput')[0].style.left = "350px";
}else{ }else{
$('.periodInput')[0].style.left = "170px"; $('.periodInput')[0].style.left = "150px";
} }
$scope.queryParams.periodStart = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodStart = vatSessionService.year * 100 + vatSessionService.month;
$scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month; $scope.queryParams.periodEnd = vatSessionService.year * 100 + vatSessionService.month;
......
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