Commit 9e466900 authored by Ken you's avatar Ken you

fix admin and vat ---Ken

parent db5d885b
...@@ -5,9 +5,13 @@ ...@@ -5,9 +5,13 @@
$log.debug('vatReportUploadDetailController.ctor()...'); $log.debug('vatReportUploadDetailController.ctor()...');
//表格配置 //表格配置
$scope.reportOneGridOptions = $.extend(true, {}, dxDataGridService.BASIC_GRID_OPTIONS, { $scope.reportOneGridOptions = {
selection: {
mode: "single"
},
hoverStateEnabled: true,
showBorders: true,
columns: [ columns: [
{ {
dataField: 'serialNo', dataField: 'serialNo',
caption: $translate.instant('RepUploadDtlColSerialNo'), caption: $translate.instant('RepUploadDtlColSerialNo'),
...@@ -59,12 +63,16 @@ ...@@ -59,12 +63,16 @@
bindingOptions: { bindingOptions: {
dataSource: 'reportOneDataSource' dataSource: 'reportOneDataSource'
} }
}); };
$scope.reportTwoGridOptions = $.extend(true, {}, dxDataGridService.BASIC_GRID_OPTIONS, { $scope.reportTwoGridOptions = {
selection: {
mode: "single"
},
hoverStateEnabled: true,
showBorders: true,
columns: [ columns: [
{ {
caption: $translate.instant('RepUploadDtlColSerialNo'), caption: $translate.instant('RepUploadDtlColSerialNo'),
fixed: true, fixed: true,
...@@ -159,12 +167,16 @@ ...@@ -159,12 +167,16 @@
bindingOptions: { bindingOptions: {
dataSource: 'reportTwoDataSource' dataSource: 'reportTwoDataSource'
} }
}); };
$scope.reportThreeGridOptions = $.extend(true, {}, dxDataGridService.BASIC_GRID_OPTIONS, { $scope.reportThreeGridOptions = {
selection: {
mode: "single"
},
hoverStateEnabled: true,
showBorders: true,
columns: [ columns: [
{ {
caption: $translate.instant('RepUploadDtlColSerialNo'), caption: $translate.instant('RepUploadDtlColSerialNo'),
fixed: true, fixed: true,
...@@ -259,7 +271,7 @@ ...@@ -259,7 +271,7 @@
bindingOptions: { bindingOptions: {
dataSource: 'reportThreeDataSource' dataSource: 'reportThreeDataSource'
} }
}); };
var uploadFile = function (file, reportType) { var uploadFile = function (file, reportType) {
var month = vatSessionService.month < 10 ? ("0" + vatSessionService.month) : vatSessionService.month; var month = vatSessionService.month < 10 ? ("0" + vatSessionService.month) : 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