Commit b2010dc5 authored by frank.xa.zhang's avatar frank.xa.zhang

add report configuration

parent b28f9fe8
package pwc.taxtech.atms.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import pwc.taxtech.atms.entitiy.ServiceType;
import pwc.taxtech.atms.service.ServiceTypeService;
@RestController
@RequestMapping("api/v1/servicetype")
public class ServiceTypeController {
@Autowired
private ServiceTypeService serviceTypeService;
@RequestMapping(value="getlist",method=RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public @ResponseBody List<ServiceType> GetServiceTypes(){
return serviceTypeService.GetServiceTypes();
}
}
package pwc.taxtech.atms.service;
import java.util.List;
import pwc.taxtech.atms.entitiy.ServiceType;
public interface ServiceTypeService {
List<ServiceType> GetServiceTypes();
}
package pwc.taxtech.atms.service.impl;
import java.util.List;
import org.springframework.stereotype.Service;
import pwc.taxtech.atms.entitiy.ServiceType;
import pwc.taxtech.atms.entitiy.ServiceTypeExample;
import pwc.taxtech.atms.service.ServiceTypeService;
@Service
public class ServiceTypeServiceImpl extends AbstractService implements ServiceTypeService {
@Override
public List<ServiceType> GetServiceTypes() {
return serviceTypeMapper.selectByExample(new ServiceTypeExample());
}
}
<div class="declaration-form-configuration">
<div class="menu-header">
<div class="menu-dropdown-title">
<span>{{'ReportConfiguration' | translate}}</span>
</div>
<div class="menu-dropdown">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
{{curServiceTypeName}}
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li ng-repeat="s in getServiceTypeList()"><a href="#" ng-click="toggleServiceType(s)">{{s.name}}</a></li>
</ul>
</div>
</div>
<div class="menu-log">
<button class="btn btn-not-important log-btn" ng-click="showOperateLogPop()"><i class="material-icons">description</i><span translate="log"></span></button>
</div>
</div>
<div class="tab-content-container">
<div class="templates-top">
<div class="form-group">
<span class="tab-content-select-lable" ng-show="curServiceTypeId !=='12'">{{'IndustryColon' | translate}}</span>
<div id="dx-select-industry" class="tab-content-select industry col-md-2" ng-show="curServiceTypeId !=='12'"
dx-select-box="dataSourceIndustryList" dx-item-alias="itemObj">
<div data-options="dxTemplate: { name: 'industryItem' }" class="dx-item-content dx-list-item-content" title="{{itemObj.name}}">
{{itemObj.name}}
</div>
</div>
<span class="tab-content-select-lable" translate="ReportType" ng-show="curServiceTypeId === '2'"></span>
<div class="tab-content-select reportType col-md-2" id="dx-select-pay-tax-type" ng-show="curServiceTypeId === '2'"
dx-select-box="dataSourcePayTaxTypeList" dx-item-alias="itemObj">
<div data-options="dxTemplate: { name: 'filingTypeItem' }" class="dx-item-content dx-list-item-content" title="{{itemObj.name}}">
{{itemObj.name}}
</div>
</div>
<span class="tab-content-select-lable">{{'SelectTemplateGroup' | translate}}</span>
<div class="tab-content-select selectTemplateGroup col-md-2" id="dx-select-template-groups">
</div>
<span class="tab-content-select-lable" translate="ReportType" ng-show="curServiceTypeId === '6' || curServiceTypeId === '11' || curServiceTypeId === '99'"></span>
<div class="tab-content-select reportType col-md-2" id="dx-select-report-type" ng-show="curServiceTypeId === '6' || curServiceTypeId === '11' || curServiceTypeId === '99'"
dx-select-box="detailReportTypeList" dx-item-alias="itemObj">
<div data-options="dxTemplate: { name: 'reportTypeItem' }" class="dx-item-content dx-list-item-content" title="{{itemObj.name}}">
{{itemObj.name}}
</div>
</div>
<span class="tab-content-select-lable" translate="SelectReport"></span>
<div class="tab-content-select selectReport col-md-2" id="dx-select-template"></div>
<button id="btnSaveAs" class="btn btn-third" atms-permission permission-control-type="ngIf" permission-code="{{$root.adminPermission.systemConfiguration.declarationFormConfiguration.addCode}}" translate="TemplateGroupSaveAs" ng-click="toggleSaveAs();"></button>&nbsp;&nbsp;&nbsp;&nbsp;
<span export-button="" style="float: right; margin-right: 0px; margin-top: 7px"></span>
</div>
<!--<select ng-model="curTemplate" ng-options="(t.name+ '_' + t.code) for t in templates" ng-change="loadSheet(curTemplate)"></select>-->
<!--<button id="btnSaveAs" ng-if="formulasArrayTemp.length>0" class="btn btn-third" translate="TemplateGroupSaveAs" ng-click="toggleSaveAs();"></button>&nbsp;&nbsp;&nbsp;&nbsp;-->
<!--<button id="btnSave" ng-if="ToggleSaveAs && formulasArrayTemp.length> 0" class="btn btn-not-important" ng-click="saveTemplate()" translate="Save"></button>-->
<div class="templates-save-form" atms-permission permission-control-type="ngIf" permission-code="{{$root.adminPermission.systemConfiguration.declarationFormConfiguration.addCode}}">
<input type="text" id="templateName" ng-model='groupName' placeholder="{{'TemplateName'|translate}}" />
<button id="btnConfirm" class="btn btn-confirm" ng-click="saveTemplateGroup()" translate="Confirm"></button>
<button id="btnCancel" class="btn btn-cancel" translate="Cancel"></button>
</div>
</div>
<div class="templates-body">
<!--<div class="left">
<div ng-repeat="t in templates" repeat-done="renderFinish()" class="templates-menus" ng-click="loadSheet(t)">
<div class="templates-menu">
<div class="template-menu">{{t.name}}</div>
</div>
</div>
</div>-->
<div id="report-view" class="right spread-div"></div>
<ul id="spreadContextMenu" class="dropdown-menu" role="menu" style="display: none">
<li><a class="localize" data-action="applyRowColName">{{'ApplyRowColName' | translate}}</a></li>
</ul>
</div>
<div id="editReportFormulaPop">
<div class="header" ng-if="!contentStatus">
<span class="drag-icon">
<i class="fa fa-arrows" aria-hidden="true"></i>
</span>
<span class="close-icon" ng-click="hidePanel();">
<i class="fa fa-times" aria-hidden="true"></i>
</span>
<span class="expand-icon" ng-click="togglePanel();">
<i class="fa" ng-class="isExpand?'fa-chevron-up':'fa-chevron-down'" aria-hidden="true"></i>
</span>
</div>
<div id="editReportFormulaContent">
<div class="modal-header editReportFormulaPop-modal-header">
<div class="modal-title" id="editReportFormulaTitle">
<span>{{'ReportConfigurationEdit' | translate }}-</span>
<span class="title-info">{{'Cell' | translate}}:{{editModel.cell}}</span>
<span class="title-separator">|</span>
<span class="title-info">
{{'CellRowName' | translate}}:
<input type="text" class="edit-input form-control" ng-if="!editModel.isSystemType" ng-model="editModel.rowName">
<span ng-if="editModel.isSystemType">{{editModel.rowName}}</span>
</span>
<span class="title-separator">|</span>
<span class="title-info">
{{'CellColumnName' | translate}}:
<input type="text" ng-if="!editModel.isSystemType" class="edit-input form-control" ng-model="editModel.columnName" />
<span ng-if="editModel.isSystemType">{{editModel.columnName}}</span>
</span>
</div>
</div>
<div class="modal-body editReportFormulaPop-modal-body">
<form class="form-horizontal" id="editReportFormulaForm" name="editReportFormulaForm" novalidate="novalidate" style="padding-left:35px;">
<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>
<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>
<span ng-message="keyValueSeparatorValidator">{{'KeyValueSeparatorValidator' | translate}}</span>
<span ng-message="operatorDuplicateValidator">{{'OperatorDuplicateValidator' | translate}}</span>
<span ng-message="missingExpressionValidator">{{'MissingExpressionValidator' | translate}}</span>
<span ng-message="missingOperatorValidator">{{'MissingOperatorValidator' | translate}}</span>
<span ng-message="formulaFormatValidator">{{'FormulaFormatValidator' | translate}}</span>
</div>
<mention-input class="inputer" input-class="form-control" input-id="formula" mention-list="mentionList" display-mode="'textarea'"
formula-list="formulaList" show-name="true" mention-api="mentionApi" input-readonly="!hasEditPermission || !ToggleSaveAs || !editModel.hasFormula"
ng-model="editModel.formula" fired-name="firedName" fired-tag-type="firedType" fired-formula-params="firedParams" double-click="editFormulaParamOrKeyValue($event)"
include-btn="true" btn-click="showSelectKeyValuePop()" btn2-click="showSelectFormulaPop()" custom-validator="mentionMenuValidator(value, ngModel)"
input-focus="cancelHideTranslator($event)" input-blur="timerHideTranslator();asyncFormulaValidate();"></mention-input>
<formula-translator formula-list="formulaList" account-data-source="accountDataSource" formula-name="firedName" formula-params="firedParams" hide-mode="'notVisible'"
translator-focus="cancelHideTranslator()" translator-blur="timerHideTranslator();"></formula-translator>
</div>
<div class="form-group row-instructions" ng-show="selectedTab === 0">
<label class="bold">{{'FillingInstructions' | translate}}:</label>
<textarea class="form-control" ng-model="editModel.formulaDescription" ng-readonly="!hasEditPermission || !ToggleSaveAs"></textarea>
</div>
<div class="form-group voucher-group" ng-show="selectedTab === 1">
<label class="checkbox-inline bold" ng-class="{ 'disabled': !hasEditPermission || !ToggleSaveAs }">
<input type="checkbox" name="voucher" ng-model="editModel.hasVoucher"
ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'VoucherFilter' | translate}}
</label>
<div ng-messages="editReportFormulaForm.voucher.$error" class="has-error label bold">
<span ng-message="voucherNotSelectValidator">{{'VoucherNotSelectValidator' | translate}}</span>
</div>
<div>
<label class="radio-inline" ng-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasVoucher">
<input type="radio" name="voucherFilterTypes" ng-value="0" ng-model="voucherFilterType"
ng-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasVoucher"> {{'Account' | translate}}
</label>
<label class="radio-inline" ng-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasVoucher">
<input type="radio" name="voucherFilterTypes" ng-value="1" ng-model="voucherFilterType"
ng-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasVoucher"> {{'SummaryKeyword' | translate}}
</label>
</div>
<div class="options-row">
<button type="button" class="btn btn-edit" ng-show="voucherFilterType === 0"
ng-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasVoucher"
data-toggle="modal" ng-click="showSelectAccountPop()">
<i class="material-icons" aria-hidden="true">add_circle_outline</i>{{'Add' | translate}}
</button>
<input type="text" class="form-control input-summary" ng-show="voucherFilterType === 1"
ng-readonly="!hasEditPermission || !ToggleSaveAs || !editModel.hasVoucher"
ng-model="editModel.voucherKeyword"
placeholder="{{'InputSummaryKeyword' | translate}}">
</div>
</div>
<div class="dx-viewport grid-container" ng-show="selectedTab === 1 && voucherFilterType === 0"
ng-class="{ 'row1': selectedAccount.length <= 1, 'row2': selectedAccount.length === 2, 'row3': selectedAccount.length >= 3 }">
<div id="voucherGrid" dx-data-grid="voucherGridOptions"></div>
</div>
<div class="checkbox" ng-show="selectedTab === 1"
ng-class="{ 'disabled': !hasEditPermission || !ToggleSaveAs }">
<label class="bold">
<input type="checkbox" name="invoice" ng-model="editModel.hasInvoice"
ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'InvoiceFilter' | translate}}
</label>
<span ng-messages="editReportFormulaForm.invoice.$error" class="has-error label bold">
<span ng-message="invoiceNotSelectValidator">{{'InvoiceNotSelectValidator' | translate}}</span>
</span>
</div>
<div class="form-group invoice-group" ng-show="selectedTab === 1">
<div class="select-invoice-amount-type" id="dx-invoice-type-select" data-ng-model="invoiceOption" dx-select-box="dataSourceInvoice"></div>
<span isteven-multi-select ng-if="!(!editModel.chosenInvoiceOption.categoryOptions || editModel.chosenInvoiceOption.categoryOptions.length === 0)"
input-model="editModel.chosenInvoiceOption.categoryOptions" output-model="selectedCategoryOptions" tick-property="ticked" button-label="key"
item-label="key" max-labels="1" helper-elements="all none" translation="langSetting" is-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasInvoice"
on-item-click="refreshCategorySelect(data)" class="invoice-category-select"></span>
<span isteven-multi-select ng-hide="!(!editModel.chosenInvoiceOption.rateOptions || editModel.chosenInvoiceOption.rateOptions.length === 0)"
input-model="editModel.chosenInvoiceOption.rateOptions" output-model="selectedRateOptions" tick-property="ticked" button-label="key"
item-label="key" max-labels="2" helper-elements="all none" translation="langSetting" is-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasInvoice"
on-item-click="refreshTaxRateSelect(data)" class="tax-rate-select"></span>
<div class="select-invoice-amount-type" data-ng-model="editModel.chosenInvoiceOption.invoiceAmountType" dx-select-box="dataSourceInvoiceAmount"></div>
</div>
<div class="checkbox" ng-show="selectedTab === 1"
ng-class="{ 'disabled': !hasEditPermission || !ToggleSaveAs }">
<label class="bold">
<input type="checkbox" ng-model="editModel.hasKeyIn" ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'ManualInput' | translate}}
</label>
</div>
<div class="form-group model-group" ng-show="selectedTab === 2">
<label class="checkbox-inline bold" ng-class="{ 'disabled': !hasEditPermission || !ToggleSaveAs }">
<input type="checkbox" name="model" ng-model="editModel.hasModel" ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'LinkModel' | translate}}
</label>
<div ng-messages="editReportFormulaForm.model.$error" class="has-error label bold">
<span ng-message="modelNotSelectValidator">{{'ModelNotSelectValidator' | translate}}</span>
</div>
<div class="options-row">
<button type="button" class="btn btn-edit" ng-disabled="!hasEditPermission || !ToggleSaveAs || !editModel.hasModel" data-toggle="modal" ng-click="showSelectModelPop()">
<i class="material-icons" aria-hidden="true">add_circle_outline</i>{{'Add' | translate}}
</button>
</div>
</div>
<div class="dx-viewport grid-container last-grid" ng-show="selectedTab === 2"
ng-class="{ 'row1': selectedModel.length <= 1, 'row2': selectedModel.length === 2,
'row3': selectedModel.length === 3,
'row4': selectedModel.length === 4,
'row5': selectedModel.length === 5,
'row6': selectedModel.length >= 6,
}">
<div id="modelGrid" dx-data-grid="modelGridOptions"></div>
</div>
<div class="form-group validation-group" ng-show="selectedTab === 3">
<label class="checkbox-inline bold" ng-class="{ 'disabled': !hasEditPermission || !ToggleSaveAs }">
<input type="checkbox" ng-model="editModel.hasValidation" ng-disabled="!hasEditPermission || !ToggleSaveAs">{{'ValidationConfig' | translate}}
</label>
<div ng-messages="editReportFormulaForm.validation.$error" class="has-error label bold">
<span ng-message="requiredValidator">{{'RequiredValidator' | translate}}</span>
<span ng-message="keyValueNotEmptyValidator">{{'KeyValueNotEmptyValidator' | translate}}</span>
<span ng-message="keyValueSeparatorValidator">{{'KeyValueSeparatorValidator' | translate}}</span>
<span ng-message="operatorDuplicateValidator">{{'OperatorDuplicateValidator' | translate}}</span>
<span ng-message="missingExpressionValidator">{{'MissingExpressionValidator' | translate}}</span>
<span ng-message="missingOperatorValidator">{{'MissingOperatorValidator' | translate}}</span>
<span ng-message="formulaFormatValidator">{{'FormulaFormatValidator' | translate}}</span>
</div>
<mention-input class="inputer" input-class="form-control" input-id="validation" mention-list="mentionList" display-mode="'textarea'"
formula-list="formulaList" show-name="true" mention-api="mentionApiForValidation" input-readonly="!hasEditPermission || !ToggleSaveAs || !editModel.hasValidation"
ng-model="editModel.validation" fired-name="firedValidationName" fired-tag-type="firedValidationType" fired-formula-params="firedValidationParams" double-click="editFormulaParamOrKeyValueForValidation($event)"
include-btn="true" btn-click="showSelectKeyValuePopForValidation()" btn2-click="showSelectFormulaPopForValidation()" custom-validator="mentionMenuValidatorForValidation(value, ngModel)"
input-focus="cancelHideTranslatorForValidation($event)" input-blur="timerHideTranslatorForValidation();asyncFormulaValidateForValidation();"></mention-input>
<formula-translator formula-list="formulaList" account-data-source="accountDataSource" formula-name="firedValidationName" formula-params="firedValidationParams" hide-mode="'notVisible'"
translator-focus="cancelHideTranslatorForValidation()" translator-blur="timerHideTranslatorForValidation();"></formula-translator>
</div>
<div class="form-group validation-instructions" ng-show="selectedTab === 3">
<label class="bold">{{'ValidationInstructions' | translate}}:</label>
<textarea class="form-control" ng-model="editModel.validationDescription" ng-readonly="!hasEditPermission || !ToggleSaveAs"></textarea>
</div>
<div ng-show="selectedTab === 3 && hasEditPermission && ToggleSaveAs" class="flex-row-start-center" style="margin: 15px 0 15px -15px;">
<span>{{'IsInputNecessary' | translate}}:</span>
<div class="btn-group switch-group" data-toggle="buttons">
<label class="btn btn-primary" ng-class="{'active':editModel.hasFormula}" ng-click="editModel.hasFormula=true;">
<input type="radio" autocomplete="off" />{{'on'|translate}}
</label>
<label class="btn btn-primary" ng-class="{'active':!editModel.hasFormula}" ng-click="editModel.hasFormula=false;">
<input type="radio" autocomplete="off" />{{'off'|translate}}
</label>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" ng-disabled="hasError()" ng-show="hasEditPermission && ToggleSaveAs" ng-click="saveFormulaToTemp()">
{{'Confirm' | translate }}
</button>
<button type="button" class="btn btn-third" ng-show="hasEditPermission && ToggleSaveAs" ng-click="hidePanel();">{{'Cancel' | translate }}</button>
</div>
</div>
</div>
<div class="modal fade" id="selectFormulaPop" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" style="width:570px;" role="grid">
<div class="modal-content">
<div class="modal-body">
<span class="close" data-dismiss="modal" aria-hidden="true">×</span>
</div>
</div>
</div>
</div>
</div>
<account-multi-selector is-show="isShowAccounts" account-data-source="accountDataSource" selector-api="accountSelectorApi" data-title="accountTitle" selected-account-codes="editModel.accountCodes" selector-options="accountSelectorOptions"></account-multi-selector>
<model-multi-selector is-show="isShowModels" model-data-source="modelDataSource" selector-api="modelSelectorApi" data-title="modelTitle" selected-model-ids="editModel.modelIDs" selector-options="modelSelectorOptions"></model-multi-selector>
<operate-log is-show="isShowLog"></operate-log>
<!-- 编辑报表 -->
<edit-template-modal template-model="templateModel" on-closed="selectTemplate(model)" is-update="isUpdateTemplate" operate-type="operateTemplateType"></edit-template-modal>
<!--编辑报表模板-->
<edit-templategroup-modal object-model="templateGroupModel" on-closed="selectTemplateGroup(model)" is-update="isUpdateTemplateGroup" operate-type="operateTemplateGroupType"></edit-templategroup-modal>
<key-value-selector is-show="isShowKeyValue" selector-api="keyValueSelectorApi" data-title="keyValueTitle" selector-options="keyValueSelectorOptions" selected-key-code="defaultKeyCode"></key-value-selector>
<edit-formula-modal operate-type="operateType" account-data-source="accountDataSource" select-formula="selectFormula" formula-list="formulaList" on-closed="selectParam(formula)"></edit-formula-modal>
<formula-param-selector is-show="isShowParam" account-data-source="accountDataSource" formula-list="formulaList"
formula-name="editFormula" formula-params="editParams" selector-api="paramSelectorApi"
selector-options="{ height: 430 }" container-selector="body"></formula-param-selector>
<key-value-selector is-show="isShowKeyValueForValidation" selector-api="keyValueSelectorApiForValidation" data-title="keyValueTitleForValidation" selector-options="keyValueSelectorOptionsForValidation" selected-key-code="defaultKeyCodeForValidation"></key-value-selector>
<edit-formula-modal operate-type="operateTypeForValidation" account-data-source="accountDataSource" select-formula="selectFormulaForValidation" formula-list="formulaList" on-closed="selectParamForValidation(formula)"></edit-formula-modal>
<formula-param-selector is-show="isShowParamForValidation" account-data-source="accountDataSource" formula-list="formulaList"
formula-name="editFormulaForValidation" formula-params="editParamsForValidation"
selector-api="paramSelectorApiForValidation" selector-options="{ height: 430 }" container-selector="body"></formula-param-selector>
</div>
\ No newline at end of file
systemConfigurationModule.directive('declarationFormConfiguration', ['$log',
function ($log) {
'use strict';
$log.debug('declarationFormConfiguration.ctor()...');
return {
restrict: 'E',
templateUrl: '/app/admin/systemConfiguration/declarationFormConfiguration/declaration-form-configuration.html' + '?_=' + Math.random(),
replace: true,
scope: {
templateGroupId: '@',
templateId: '@',
cellTemplateId: '@'
},
controller: 'DeclarationFormConfigurationController',
link: function (scope, element) {
$("#editReportFormulaPop").draggable({ cursor: "cursor", scroll: true, cancel: 'input, label, .btn, .form-control, .close, div.label, .has-error' });
$("#editReportFormulaPop").resizable({
minHeight: 610,
maxHeight: 610,
minWidth: 500
});
//$(".editReportFormulaPop-modal-content").draggable({ cursor: "cursor", scroll: true, cancel: 'input, label, .btn, .form-control, .close, div.label, .has-error' });
$(".left").on("click", function (e) {
e.stopPropagation();
});
$('#btnCancel').on('click', function () {
$('.templates-save-form').css('display', 'none');
});
// Work-around for DX grid height issue.
$('#editReportFormulaPop').on('shown.bs.modal', function () {
scope.refreshGrids();
});
scope.refreshGrids = function () {
$("#voucherGrid").dxDataGrid("instance").refresh();
$("#modelGrid").dxDataGrid("instance").refresh();
};
scope.toggleSaveAs = function () {
$('.templates-save-form').css('display', 'block');
};
scope.showLeftMenu = function () {
if ($('.left').is(":hidden")) {
$(".left").slideDown('slow');
} else {
$(".left").slideUp('slow');
}
$(document).one("click", function () {
$(".left").slideUp('slow');
});
event.stopPropagation();
};
scope.renderFinish = function () {
$('.templates-menus').first().addClass('active');
};
scope.refreshCategorySelect = function (data) {
// Change the appearance of isteven-multi-select, show the checkboxes of the
// options which were hidden, but the checkboxes always toggle twice.
// Add this to make checkboxes which were hidden work correctly.
var idx = _.findIndex(scope.invoiceOption.categoryOptions, { 'key': data.key });
if (idx >= 0) {
var chkbox = element.find('.invoice-category-select .multiSelectItem .checkbox:eq(' + idx + ')');
if (data.ticked && !chkbox.prop('checked')) {
chkbox.prop('checked', true);
}
else if (!data.ticked && chkbox.prop('checked')) {
chkbox.prop('checked', false);
}
}
};
scope.refreshTaxRateSelect = function (data) {
// Change the appearance of isteven-multi-select, show the checkboxes of the
// options which were hidden, but the checkboxes always toggle twice.
// Add this to make checkboxes which were hidden work correctly.
var idx = _.findIndex(scope.invoiceOption.rateOptions, { 'key': data.key });
if (idx >= 0) {
var chkbox = element.find('.tax-rate-select .multiSelectItem .checkbox:eq(' + idx + ')');
if (data.ticked && !chkbox.prop('checked')) {
chkbox.prop('checked', true);
}
else if (!data.ticked && chkbox.prop('checked')) {
chkbox.prop('checked', false);
}
}
};
}
};
}
]).directive('repeatDone', function () {
return {
link: function (scope, element, attrs) {
if (scope.$last) {
scope.$eval(attrs.repeatDone);
$('.template-menu').on('click', function () {
$(this).parent().parent().parent().children().each(function () {
$(this).removeClass('active');
});
$(this).parent().parent().addClass('active');
});
$('.templates-menu').on('click', function () {
$(this).parent().parent().children().each(function () {
$(this).removeClass('active');
});
$(this).parent().addClass('active');
});
$('.templates-menus').on('click', function () {
$(this).parent().children().each(function () {
$(this).removeClass('active');
});
$(this).addClass('active');
});
}
}
}
});
\ No newline at end of file
@import "~/app-resources/css/admin-theme.less";
@small-panel-height: 40px;
@small-panel-margin: 10px;
.list-view {
margin: -10px -20px 0px -10px;
.dx-list-item,
.dx-list .dx-empty-message {
border-top: none!important;
}
.dx-list-item-content,
.dx-list .dx-empty-message {
padding: 10px 0 1px 0!important;
}
.tab-select-content-item-template,
.dx-list-item-content {
width: calc(~"100% - 1em");
display: inline-block;
.left-part {
width: 100%;
text-align: left;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
/*vertical-align: text-bottom;*/
font-family: "Microsoft YaHei Regular", "Microsoft YaHei";
}
.right-operation {
float: right;
display: none;
}
.fa-search-plus {
margin-left: 0.5em;
}
.fa-search-plus:before {
color: black;
}
&:hover {
.right-operation {
display: inline-block;
.edit {
color: black;
display: inline-block;
position: relative;
z-index: 999;
}
.delete {
color: #FFB600;
display: inline-block;
position: relative;
z-index: 999;
}
}
.left-part {
width: calc(~"100% - 3.5em");
}
}
}
}
.material-icons {
font-size: 14px;
}
.organge-color {
color: #dc6900;
i {
color: black;
}
}
.add-template-group,
.add-template-btn {
padding: 8px 0 8px 0;
margin: 6px -20px -10px -10px;
background-color: #fff;
cursor: pointer;
&:hover {
background-color: #f5f5f5;
}
}
.declaration-form-configuration {
*:focus {
outline: none;
}
border-radius: 5px;
font-family: "Microsoft YaHei Regular",
"Microsoft YaHei";
font-style: normal;
font-size: 14px;
background-color: @color-light-gray-f2;
.main-content & .modal-footer {
padding: 0 0 0 15px;
}
.menu-header {
border-bottom: 1px solid @color-light-gray-e4;
.menu-title {
width: 350px !important;
color: #0D0D0D;
font-family: 'Microsoft YaHei';
font-weight: 400;
font-style: normal;
select {
margin-left: 15px;
border: none;
outline: none;
}
}
}
.menu-tab {
display: flex;
.tab-container {
margin: 10px 0 10px 10px;
.tab {
display: flex;
height: 64px;
width: 208px;
color: white;
background-color: #e84100;
border-radius: 5px;
justify-content: center;
align-items: center;
cursor: pointer;
.tab-icon {
font-size: 34px;
}
.tab-title {
font-size: 16px;
margin-left: 40px;
}
}
.tab.active:after {
content: ' ';
border-width: 8px;
border-style: solid;
border-color: #e84100 transparent transparent transparent;
position: relative;
left: -29%;
top: 63%;
}
&:hover .tab.active:after {
border-color: #fe8400 transparent transparent transparent;
}
.tab:hover {
background-color: #fe8400;
}
}
}
.tab-content-container {
background-color: #fff;
border-radius: 5px;
margin: 10px;
padding-right: 5px;
min-height: calc(~"100% - 80px");
.modal-open & .modal {
overflow-y: hidden;
}
.templates-top {
height: 60px;
padding: 15px 0;
margin-left: 10px;
position: relative;
.switch {
display: inline-block;
background-color: white;
color: #FF4D00;
float: left;
cursor: pointer;
margin-right: 20px;
margin-top: 7px;
i {
font-size: 20px;
}
}
select {
margin-right: 10px;
outline: none;
border-radius: 4px;
height: 32px;
width: 200px;
}
.form-group {
min-width: 1100px;
.tab-content-select-lable {
line-height: 35px;
float: left;
width: auto;
}
.tab-content-select {
margin-right: 10px;
outline: none;
display: inline-block;
&.industry {
width: 100px;
}
&.reportType {
width: 130px;
}
&.selectTemplateGroup {
width: 200px;
}
&.selectReport {
width: 200px;
}
}
}
.templates-save-form {
padding-left: 10px;
background-color: #FFF;
border: 1px solid #BCBCBC;
border-radius: 4px;
width: 388px;
height: 62px;
box-shadow: #9E9C9C 5px 5px 5px;
position: absolute;
padding-top: 13px;
top: 52px;
left: 442px;
z-index: 999;
display: none;
input {
width: 194px;
height: 30px;
border-radius: 3px;
outline: none;
border: 1px solid #AEAEAE;
padding-left: 5px;
margin-right: 10px;
line-height: 30px;
}
.btn-confirm {
color: #FFF;
background-color: #dc6900;
width: 59px;
margin-right: 10px;
&:hover {
background-color: #eb8c00;
}
}
.btn-cancel {
color: #333;
background-color: #FFF;
border: 1px solid #AEAEAE;
width: 59px;
}
}
}
.templates-body {
margin-top: 10px;
flex-grow: 1 !important;
//min-height: 620px;
//height: 100%;
display: flex;
.left {
border: 1px solid @color-light-gray-e4;
border-bottom: none;
position: absolute;
z-index: 2;
width: 20%;
background-color: #FFF;
display: none;
.templates-menus {
display: table;
width: 100%;
height: 50px;
position: relative;
overflow: hidden;
.templates-menu {
height: 50px;
border-bottom: 1px solid @color-light-gray-e4;
cursor: pointer;
padding: 0 25px;
vertical-align: middle;
display: table-cell;
_position: absolute;
_top: 50%;
.template-menu {
_position: relative;
_top: -50%;
}
}
&:hover {
background-color: #eeeeee;
}
}
.active {
color: #D04A02;
background-color: #FFF9EF;
}
}
.right {
width: 100%;
flex-grow: 1 !important;
border: 1px solid @color-light-gray-e4;
}
}
#editReportFormulaPop {
cursor: move;
font-family: 'Microsoft YaHei Regular', 'Microsoft YaHei';
font-weight: bold;
font-size: 14px;
display: none;
position: relative;
background-color: white;
width: 630px;
border: 1px solid #ccc;
border-radius: 4px;
@small-panel-height: 40px;
@small-panel-margin: 10px;
.header {
padding: 0;
background-color: #555;
height: @small-panel-height;
line-height: @small-panel-height;
padding: 0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
.icon-common {
color: #fff;
margin: 0 @small-panel-margin;
}
.drag-icon {
float: left;
.icon-common;
}
.close-icon {
float: right;
.icon-common;
cursor: pointer;
}
.expand-icon {
.icon-common;
float: right;
cursor: pointer;
}
}
.modal-header {
.title-separator {
font-weight: normal;
font-size: 16px;
margin: 0 10px;
}
.title-info {
font-family: 'Microsoft YaHei';
}
.edit-input {
max-width: 10em;
border: none;
min-width: 40px;
box-shadow: none;
display: inline-block;
&:hover,
&:focus {
border: 1px solid #CCCCCC;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
}
}
.editReportFormulaPop-modal-body {
min-height: 430px;
.fa-trash {
color: @color-orange-primary;
}
.dx-tabs {
margin: 0 0 30px -35px;
}
textarea {
font-weight: normal;
font-size: 14px;
height: 80px;
outline: none;
padding: 0px;
resize: none;
width: calc(~"100% - 50px");
}
.grid-container {
margin: 0 34px 10px -15px;
&.row1 {
height: 71px;
.dx-datagrid-rowsview {
height: 36px !important;
}
}
&.row2 {
height: 105px;
}
&.row3 {
height: 139px;
}
&.row4 {
height: 173px;
}
&.row5 {
height: 207px;
}
&.row5 {
height: 241px;
}
&.last-grid {
margin-bottom: 10px;
}
.dx-datagrid-headers {
background-color: @color-light-gray-f3;
color: #333;
}
}
.checkbox {
margin: 0 0 10px -35px;
}
.control-right {
font-weight: normal;
padding: 0;
}
.row {
margin-left: 0px;
}
.form-group {
margin-bottom: 8px;
}
div.label {
padding-left: 0;
}
label, div.label {
cursor: default;
&.bold {
font-weight: bold;
}
}
.invoice-group {
margin-bottom: 5px;
}
.formula-group, .validation-group {
.checkbox-inline {
padding: 3px 0 0;
margin: 0 0 5px;
}
.inputer {
cursor: text;
line-height: 34px;
width: calc(~"100% - 50px");
.mention-input-content {
z-index: 1045;
}
}
.formula-translator-wrapper {
div.label {
cursor: text;
}
}
}
.voucher-group,
.model-group {
margin-bottom: 0;
.checkbox-inline {
padding: 3px 0 0;
margin: 0 0 5px;
}
.has-error {
cursor: text;
vertical-align: baseline;
}
.options-row {
height: 40px;
margin-top: 10px;
vertical-align: middle;
.btn-edit {
background: none;
margin: 0;
outline: none;
padding: 3px 6px;
i.material-icons {
color: @color-gray-79;
font-size: 18px;
vertical-align: top;
}
}
.input-summary {
display: inline;
font-weight: normal;
width: 25%;
}
}
}
span[isteven-multi-select] {
display: inline-block;
vertical-align: top;
width: 156px;
.multiSelect {
&>button {
height: 32px;
min-height: 32px !important;
outline: none;
padding: 0;
width: 100%;
}
.checkboxLayer {
min-width: 120px;
width: 156px;
}
.buttonLabel {
font-weight: normal;
}
.multiSelectItem {
min-width: 138px;
label {
font-weight: normal;
}
input.checkbox {
display: inline-block;
left: 0;
margin: 0;
outline: none;
position: relative;
vertical-align: middle;
&+span {
vertical-align: middle;
}
}
.tickMark {
display: none;
}
}
}
}
.btn-group.switch-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group.switch-group > .btn {
line-height: 30px;
height: 30px;
min-width: 50px;
vertical-align: middle;
border: 1px solid #ddd;
color: #666;
background-color: #eae6e6;
&.active {
background-color:#fff;
color: #fff;
}
}
/*.check-invoice {
border: 1px solid @color-light-gray-e4;
border-radius: 4px;
display: inline-block;
font-weight: normal;
height: 32px;
margin-right: 10px;
padding: 0 10px;
vertical-align: top;
.checkbox-inline {
padding-top: 5px;
}
}*/
.select-invoice-amount-type {
border-radius: 4px;
display: inline-block;
font-weight: normal;
height: 32px;
outline: none;
padding: 0 12px;
width: 110px;
}
}
.modal-footer {
button {
width: 115px;
height: 37px;
outline: none;
}
}
}
#selectFormulaPop {
top: 145px;
}
/*#report-view {
height: 650px;
}*/
}
}
.dx-dropdowneditor-button-visible .dx-texteditor-input {
padding-right: 30px;
}
\ No newline at end of file
......@@ -764,59 +764,59 @@ var systemConfigurationModule = angular.module('app.systemConfiguration', ['ngMe
// this is required to add controller/directive/filter/service after angular bootstrap
bindModule(systemConfigurationModule, $controllerProvider, $compileProvider, $filterProvider, $provide);
// $stateProvider.state({
// name: 'declarationFormConfiguration',
// url: '/declarationFormConfiguration',
// views: {
// '@': {
// controller: ['$scope', '$stateParams', 'appTranslation',
// function ($scope, $stateParams, appTranslation) {
// appTranslation.load([appTranslation.systemConfiguration]);
// }],
// template: '<declaration-form-configuration></declaration-form-configuration>'
// }
// },
// resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
// deepStateRedirect: true,
// sticky: true
// });
//
// $stateProvider.state({
// name: 'declarationTemplateConfiguration',
// url: '/declarationTemplateConfiguration',
// views: {
// '@': {
// controller: ['$scope', '$stateParams', 'appTranslation',
// function ($scope, $stateParams, appTranslation) {
// appTranslation.load([appTranslation.systemConfiguration]);
// }],
// template: '<declaration-template-configuration></declaration-template-configuration>'
// }
// },
// resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
// deepStateRedirect: true,
// sticky: true
// });
//
// $stateProvider.state({
// name: 'declarationFormConfigurationLocation',
// url: '/declarationFormConfiguration/{templateGroupId}/{templateId}/{cellTemplateId}',
// views: {
// '@': {
// controller: ['$scope', '$stateParams', 'appTranslation',
// function ($scope, $stateParams, appTranslation) {
// appTranslation.load([appTranslation.systemConfiguration]);
// $scope.templateGroupId = $stateParams.templateGroupId;
// $scope.templateId = $stateParams.templateId;
// $scope.cellTemplateId = $stateParams.cellTemplateId;
// }],
// template: '<declaration-form-configuration template-group-id="{{templateGroupId}}" template-id="{{templateId}}" cell-template-id="{{cellTemplateId}}"></declaration-form-configuration>'
// }
// },
// resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
// deepStateRedirect: true,
// sticky: true
// });
$stateProvider.state({
name: 'declarationFormConfiguration',
url: '/declarationFormConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<declaration-form-configuration></declaration-form-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'declarationTemplateConfiguration',
url: '/declarationTemplateConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<declaration-template-configuration></declaration-template-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'declarationFormConfigurationLocation',
url: '/declarationFormConfiguration/{templateGroupId}/{templateId}/{cellTemplateId}',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
$scope.templateGroupId = $stateParams.templateGroupId;
$scope.templateId = $stateParams.templateId;
$scope.cellTemplateId = $stateParams.cellTemplateId;
}],
template: '<declaration-form-configuration template-group-id="{{templateGroupId}}" template-id="{{templateId}}" cell-template-id="{{cellTemplateId}}"></declaration-form-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
//
// $stateProvider.state({
// name: 'subjectCorresponding',
......
......@@ -1217,59 +1217,59 @@ var systemConfigurationModule = angular.module('app.systemConfiguration', ['ngMe
// this is required to add controller/directive/filter/service after angular bootstrap
bindModule(systemConfigurationModule, $controllerProvider, $compileProvider, $filterProvider, $provide);
// $stateProvider.state({
// name: 'declarationFormConfiguration',
// url: '/declarationFormConfiguration',
// views: {
// '@': {
// controller: ['$scope', '$stateParams', 'appTranslation',
// function ($scope, $stateParams, appTranslation) {
// appTranslation.load([appTranslation.systemConfiguration]);
// }],
// template: '<declaration-form-configuration></declaration-form-configuration>'
// }
// },
// resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
// deepStateRedirect: true,
// sticky: true
// });
//
// $stateProvider.state({
// name: 'declarationTemplateConfiguration',
// url: '/declarationTemplateConfiguration',
// views: {
// '@': {
// controller: ['$scope', '$stateParams', 'appTranslation',
// function ($scope, $stateParams, appTranslation) {
// appTranslation.load([appTranslation.systemConfiguration]);
// }],
// template: '<declaration-template-configuration></declaration-template-configuration>'
// }
// },
// resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
// deepStateRedirect: true,
// sticky: true
// });
//
// $stateProvider.state({
// name: 'declarationFormConfigurationLocation',
// url: '/declarationFormConfiguration/{templateGroupId}/{templateId}/{cellTemplateId}',
// views: {
// '@': {
// controller: ['$scope', '$stateParams', 'appTranslation',
// function ($scope, $stateParams, appTranslation) {
// appTranslation.load([appTranslation.systemConfiguration]);
// $scope.templateGroupId = $stateParams.templateGroupId;
// $scope.templateId = $stateParams.templateId;
// $scope.cellTemplateId = $stateParams.cellTemplateId;
// }],
// template: '<declaration-form-configuration template-group-id="{{templateGroupId}}" template-id="{{templateId}}" cell-template-id="{{cellTemplateId}}"></declaration-form-configuration>'
// }
// },
// resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
// deepStateRedirect: true,
// sticky: true
// });
$stateProvider.state({
name: 'declarationFormConfiguration',
url: '/declarationFormConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<declaration-form-configuration></declaration-form-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'declarationTemplateConfiguration',
url: '/declarationTemplateConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<declaration-template-configuration></declaration-template-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'declarationFormConfigurationLocation',
url: '/declarationFormConfiguration/{templateGroupId}/{templateId}/{cellTemplateId}',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
$scope.templateGroupId = $stateParams.templateGroupId;
$scope.templateId = $stateParams.templateId;
$scope.cellTemplateId = $stateParams.cellTemplateId;
}],
template: '<declaration-form-configuration template-group-id="{{templateGroupId}}" template-id="{{templateId}}" cell-template-id="{{cellTemplateId}}"></declaration-form-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
//
// $stateProvider.state({
// name: 'subjectCorresponding',
......
@import "app-resources/css/admin-theme.less";
@small-panel-height: 40px;
@small-panel-margin: 10px;
.list-view {
margin: -10px -20px 0px -10px;
.dx-list-item,
.dx-list .dx-empty-message {
border-top: none!important;
}
.dx-list-item-content,
.dx-list .dx-empty-message {
padding: 10px 0 1px 0!important;
}
.tab-select-content-item-template,
.dx-list-item-content {
width: calc(~"100% - 1em");
display: inline-block;
.left-part {
width: 100%;
text-align: left;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
/*vertical-align: text-bottom;*/
font-family: "Microsoft YaHei Regular", "Microsoft YaHei";
}
.right-operation {
float: right;
display: none;
}
.fa-search-plus {
margin-left: 0.5em;
}
.fa-search-plus:before {
color: black;
}
&:hover {
.right-operation {
display: inline-block;
.edit {
color: black;
display: inline-block;
position: relative;
z-index: 999;
}
.delete {
color: #FFB600;
display: inline-block;
position: relative;
z-index: 999;
}
}
.left-part {
width: calc(~"100% - 3.5em");
}
}
}
}
.material-icons {
font-size: 14px;
}
.organge-color {
color: #dc6900;
i {
color: black;
}
}
.add-template-group,
.add-template-btn {
padding: 8px 0 8px 0;
margin: 6px -20px -10px -10px;
background-color: #fff;
cursor: pointer;
&:hover {
background-color: #f5f5f5;
}
}
.declaration-form-configuration {
*:focus {
outline: none;
}
border-radius: 5px;
font-family: "Microsoft YaHei Regular",
"Microsoft YaHei";
font-style: normal;
font-size: 14px;
background-color: @color-light-gray-f2;
.main-content & .modal-footer {
padding: 0 0 0 15px;
}
.menu-header {
border-bottom: 1px solid @color-light-gray-e4;
.menu-title {
width: 350px !important;
color: #0D0D0D;
font-family: 'Microsoft YaHei';
font-weight: 400;
font-style: normal;
select {
margin-left: 15px;
border: none;
outline: none;
}
}
}
.menu-tab {
display: flex;
.tab-container {
margin: 10px 0 10px 10px;
.tab {
display: flex;
height: 64px;
width: 208px;
color: white;
background-color: #e84100;
border-radius: 5px;
justify-content: center;
align-items: center;
cursor: pointer;
.tab-icon {
font-size: 34px;
}
.tab-title {
font-size: 16px;
margin-left: 40px;
}
}
.tab.active:after {
content: ' ';
border-width: 8px;
border-style: solid;
border-color: #e84100 transparent transparent transparent;
position: relative;
left: -29%;
top: 63%;
}
&:hover .tab.active:after {
border-color: #fe8400 transparent transparent transparent;
}
.tab:hover {
background-color: #fe8400;
}
}
}
.tab-content-container {
background-color: #fff;
border-radius: 5px;
margin: 10px;
padding-right: 5px;
min-height: calc(~"100% - 80px");
.modal-open & .modal {
overflow-y: hidden;
}
.templates-top {
height: 60px;
padding: 15px 0;
margin-left: 10px;
position: relative;
.switch {
display: inline-block;
background-color: white;
color: #FF4D00;
float: left;
cursor: pointer;
margin-right: 20px;
margin-top: 7px;
i {
font-size: 20px;
}
}
select {
margin-right: 10px;
outline: none;
border-radius: 4px;
height: 32px;
width: 200px;
}
.form-group {
min-width: 1100px;
.tab-content-select-lable {
line-height: 35px;
float: left;
width: auto;
}
.tab-content-select {
margin-right: 10px;
outline: none;
display: inline-block;
&.industry {
width: 100px;
}
&.reportType {
width: 130px;
}
&.selectTemplateGroup {
width: 200px;
}
&.selectReport {
width: 200px;
}
}
}
.templates-save-form {
padding-left: 10px;
background-color: #FFF;
border: 1px solid #BCBCBC;
border-radius: 4px;
width: 388px;
height: 62px;
box-shadow: #9E9C9C 5px 5px 5px;
position: absolute;
padding-top: 13px;
top: 52px;
left: 442px;
z-index: 999;
display: none;
input {
width: 194px;
height: 30px;
border-radius: 3px;
outline: none;
border: 1px solid #AEAEAE;
padding-left: 5px;
margin-right: 10px;
line-height: 30px;
}
.btn-confirm {
color: #FFF;
background-color: #dc6900;
width: 59px;
margin-right: 10px;
&:hover {
background-color: #eb8c00;
}
}
.btn-cancel {
color: #333;
background-color: #FFF;
border: 1px solid #AEAEAE;
width: 59px;
}
}
}
.templates-body {
margin-top: 10px;
flex-grow: 1 !important;
//min-height: 620px;
//height: 100%;
display: flex;
.left {
border: 1px solid @color-light-gray-e4;
border-bottom: none;
position: absolute;
z-index: 2;
width: 20%;
background-color: #FFF;
display: none;
.templates-menus {
display: table;
width: 100%;
height: 50px;
position: relative;
overflow: hidden;
.templates-menu {
height: 50px;
border-bottom: 1px solid @color-light-gray-e4;
cursor: pointer;
padding: 0 25px;
vertical-align: middle;
display: table-cell;
_position: absolute;
_top: 50%;
.template-menu {
_position: relative;
_top: -50%;
}
}
&:hover {
background-color: #eeeeee;
}
}
.active {
color: #D04A02;
background-color: #FFF9EF;
}
}
.right {
width: 100%;
flex-grow: 1 !important;
border: 1px solid @color-light-gray-e4;
}
}
#editReportFormulaPop {
cursor: move;
font-family: 'Microsoft YaHei Regular', 'Microsoft YaHei';
font-weight: bold;
font-size: 14px;
display: none;
position: relative;
background-color: white;
width: 630px;
border: 1px solid #ccc;
border-radius: 4px;
@small-panel-height: 40px;
@small-panel-margin: 10px;
.header {
padding: 0;
background-color: #555;
height: @small-panel-height;
line-height: @small-panel-height;
padding: 0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
.icon-common {
color: #fff;
margin: 0 @small-panel-margin;
}
.drag-icon {
float: left;
.icon-common;
}
.close-icon {
float: right;
.icon-common;
cursor: pointer;
}
.expand-icon {
.icon-common;
float: right;
cursor: pointer;
}
}
.modal-header {
.title-separator {
font-weight: normal;
font-size: 16px;
margin: 0 10px;
}
.title-info {
font-family: 'Microsoft YaHei';
}
.edit-input {
max-width: 10em;
border: none;
min-width: 40px;
box-shadow: none;
display: inline-block;
&:hover,
&:focus {
border: 1px solid #CCCCCC;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
}
}
.editReportFormulaPop-modal-body {
min-height: 430px;
.fa-trash {
color: @color-orange-primary;
}
.dx-tabs {
margin: 0 0 30px -35px;
}
textarea {
font-weight: normal;
font-size: 14px;
height: 80px;
outline: none;
padding: 0px;
resize: none;
width: calc(~"100% - 50px");
}
.grid-container {
margin: 0 34px 10px -15px;
&.row1 {
height: 71px;
.dx-datagrid-rowsview {
height: 36px !important;
}
}
&.row2 {
height: 105px;
}
&.row3 {
height: 139px;
}
&.row4 {
height: 173px;
}
&.row5 {
height: 207px;
}
&.row5 {
height: 241px;
}
&.last-grid {
margin-bottom: 10px;
}
.dx-datagrid-headers {
background-color: @color-light-gray-f3;
color: #333;
}
}
.checkbox {
margin: 0 0 10px -35px;
}
.control-right {
font-weight: normal;
padding: 0;
}
.row {
margin-left: 0px;
}
.form-group {
margin-bottom: 8px;
}
div.label {
padding-left: 0;
}
label, div.label {
cursor: default;
&.bold {
font-weight: bold;
}
}
.invoice-group {
margin-bottom: 5px;
}
.formula-group, .validation-group {
.checkbox-inline {
padding: 3px 0 0;
margin: 0 0 5px;
}
.inputer {
cursor: text;
line-height: 34px;
width: calc(~"100% - 50px");
.mention-input-content {
z-index: 1045;
}
}
.formula-translator-wrapper {
div.label {
cursor: text;
}
}
}
.voucher-group,
.model-group {
margin-bottom: 0;
.checkbox-inline {
padding: 3px 0 0;
margin: 0 0 5px;
}
.has-error {
cursor: text;
vertical-align: baseline;
}
.options-row {
height: 40px;
margin-top: 10px;
vertical-align: middle;
.btn-edit {
background: none;
margin: 0;
outline: none;
padding: 3px 6px;
i.material-icons {
color: @color-gray-79;
font-size: 18px;
vertical-align: top;
}
}
.input-summary {
display: inline;
font-weight: normal;
width: 25%;
}
}
}
span[isteven-multi-select] {
display: inline-block;
vertical-align: top;
width: 156px;
.multiSelect {
&>button {
height: 32px;
min-height: 32px !important;
outline: none;
padding: 0;
width: 100%;
}
.checkboxLayer {
min-width: 120px;
width: 156px;
}
.buttonLabel {
font-weight: normal;
}
.multiSelectItem {
min-width: 138px;
label {
font-weight: normal;
}
input.checkbox {
display: inline-block;
left: 0;
margin: 0;
outline: none;
position: relative;
vertical-align: middle;
&+span {
vertical-align: middle;
}
}
.tickMark {
display: none;
}
}
}
}
.btn-group.switch-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group.switch-group > .btn {
line-height: 30px;
height: 30px;
min-width: 50px;
vertical-align: middle;
border: 1px solid #ddd;
color: #666;
background-color: #eae6e6;
&.active {
background-color:#fff;
color: #fff;
}
}
/*.check-invoice {
border: 1px solid @color-light-gray-e4;
border-radius: 4px;
display: inline-block;
font-weight: normal;
height: 32px;
margin-right: 10px;
padding: 0 10px;
vertical-align: top;
.checkbox-inline {
padding-top: 5px;
}
}*/
.select-invoice-amount-type {
border-radius: 4px;
display: inline-block;
font-weight: normal;
height: 32px;
outline: none;
padding: 0 12px;
width: 110px;
}
}
.modal-footer {
button {
width: 115px;
height: 37px;
outline: none;
}
}
}
#selectFormulaPop {
top: 145px;
}
/*#report-view {
height: 650px;
}*/
}
}
.dx-dropdowneditor-button-visible .dx-texteditor-input {
padding-right: 30px;
}
.fixed-assets-rule-enginee {
/*margin-top:5px;*/
padding-top: 20px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
/* 1 define color */
/*white*/
/*gray*/
/*gray*/
/*gray tr even background-color*/
/*gray*/
/*orange:business-unit tr selected*/
/* org view ui color deep*/
/* org view ui color light*/
/* 红色系列 */
/* 橙色系列 PWC标准色 */
.highlight-tag {
color: #ed6e3c !important;
}
.no-permission {
cursor: not-allowed;
color: #333333;
}
.no-permission a {
cursor: not-allowed;
color: #333333;
text-decoration: none;
}
.ellipsis {
white-space: nowrap !important;
-ms-text-overflow: ellipsis !important;
-o-text-overflow: ellipsis !important;
text-overflow: ellipsis !important;
overflow-x: hidden !important;
}
/*dx 控件颜色设置*/
.dx-treeview .dx-treeview-node:not(dx-treeview-item-with-checkbox).dx-state-focused > .dx-treeview-item {
background-color: #f16100 !important;
}
.dx-treeview .dx-treeview-node:not(.dx-treeview-item-with-checkbox).dx-state-selected > .dx-treeview-item {
background-color: #f16100 !important;
color: #fff;
}
.list-view {
margin: -10px -20px 0px -10px;
}
.list-view .dx-list-item,
.list-view .dx-list .dx-empty-message {
border-top: none!important;
}
.list-view .dx-list-item-content,
.list-view .dx-list .dx-empty-message {
padding: 10px 0 1px 0!important;
}
.list-view .tab-select-content-item-template,
.list-view .dx-list-item-content {
width: calc(100% - 1em);
display: inline-block;
}
.list-view .tab-select-content-item-template .left-part,
.list-view .dx-list-item-content .left-part {
width: 100%;
text-align: left;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
/*vertical-align: text-bottom;*/
font-family: "Microsoft YaHei Regular", "Microsoft YaHei";
}
.list-view .tab-select-content-item-template .right-operation,
.list-view .dx-list-item-content .right-operation {
float: right;
display: none;
}
.list-view .tab-select-content-item-template .fa-search-plus,
.list-view .dx-list-item-content .fa-search-plus {
margin-left: 0.5em;
}
.list-view .tab-select-content-item-template .fa-search-plus:before,
.list-view .dx-list-item-content .fa-search-plus:before {
color: black;
}
.list-view .tab-select-content-item-template:hover .right-operation,
.list-view .dx-list-item-content:hover .right-operation {
display: inline-block;
}
.list-view .tab-select-content-item-template:hover .right-operation .edit,
.list-view .dx-list-item-content:hover .right-operation .edit {
color: black;
display: inline-block;
position: relative;
z-index: 999;
}
.list-view .tab-select-content-item-template:hover .right-operation .delete,
.list-view .dx-list-item-content:hover .right-operation .delete {
color: #FFB600;
display: inline-block;
position: relative;
z-index: 999;
}
.list-view .tab-select-content-item-template:hover .left-part,
.list-view .dx-list-item-content:hover .left-part {
width: calc(100% - 3.5em);
}
.material-icons {
font-size: 14px;
}
.organge-color {
color: #dc6900;
}
.organge-color i {
color: black;
}
.add-template-group,
.add-template-btn {
padding: 8px 0 8px 0;
margin: 6px -20px -10px -10px;
background-color: #fff;
cursor: pointer;
}
.add-template-group:hover,
.add-template-btn:hover {
background-color: #f5f5f5;
}
.declaration-form-configuration {
border-radius: 5px;
font-family: "Microsoft YaHei Regular", "Microsoft YaHei";
font-style: normal;
font-size: 14px;
background-color: #F2F2F2;
}
.declaration-form-configuration *:focus {
outline: none;
}
.main-content .declaration-form-configuration .modal-footer {
padding: 0 0 0 15px;
}
.declaration-form-configuration .menu-header {
border-bottom: 1px solid #E4E4E4;
}
.declaration-form-configuration .menu-header .menu-title {
width: 350px !important;
color: #0D0D0D;
font-family: 'Microsoft YaHei';
font-weight: 400;
font-style: normal;
}
.declaration-form-configuration .menu-header .menu-title select {
margin-left: 15px;
border: none;
outline: none;
}
.declaration-form-configuration .menu-tab {
display: flex;
}
.declaration-form-configuration .menu-tab .tab-container {
margin: 10px 0 10px 10px;
}
.declaration-form-configuration .menu-tab .tab-container .tab {
display: flex;
height: 64px;
width: 208px;
color: white;
background-color: #e84100;
border-radius: 5px;
justify-content: center;
align-items: center;
cursor: pointer;
}
.declaration-form-configuration .menu-tab .tab-container .tab .tab-icon {
font-size: 34px;
}
.declaration-form-configuration .menu-tab .tab-container .tab .tab-title {
font-size: 16px;
margin-left: 40px;
}
.declaration-form-configuration .menu-tab .tab-container .tab.active:after {
content: ' ';
border-width: 8px;
border-style: solid;
border-color: #e84100 transparent transparent transparent;
position: relative;
left: -29%;
top: 63%;
}
.declaration-form-configuration .menu-tab .tab-container:hover .tab.active:after {
border-color: #fe8400 transparent transparent transparent;
}
.declaration-form-configuration .menu-tab .tab-container .tab:hover {
background-color: #fe8400;
}
.declaration-form-configuration .tab-content-container {
background-color: #fff;
border-radius: 5px;
margin: 10px;
padding-right: 5px;
min-height: calc(100% - 80px);
/*#report-view {
height: 650px;
}*/
}
.modal-open .declaration-form-configuration .tab-content-container .modal {
overflow-y: hidden;
}
.declaration-form-configuration .tab-content-container .templates-top {
height: 60px;
padding: 15px 0;
margin-left: 10px;
position: relative;
}
.declaration-form-configuration .tab-content-container .templates-top .switch {
display: inline-block;
background-color: white;
color: #FF4D00;
float: left;
cursor: pointer;
margin-right: 20px;
margin-top: 7px;
}
.declaration-form-configuration .tab-content-container .templates-top .switch i {
font-size: 20px;
}
.declaration-form-configuration .tab-content-container .templates-top select {
margin-right: 10px;
outline: none;
border-radius: 4px;
height: 32px;
width: 200px;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group {
min-width: 1100px;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group .tab-content-select-lable {
line-height: 35px;
float: left;
width: auto;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group .tab-content-select {
margin-right: 10px;
outline: none;
display: inline-block;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group .tab-content-select.industry {
width: 100px;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group .tab-content-select.reportType {
width: 130px;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group .tab-content-select.selectTemplateGroup {
width: 200px;
}
.declaration-form-configuration .tab-content-container .templates-top .form-group .tab-content-select.selectReport {
width: 200px;
}
.declaration-form-configuration .tab-content-container .templates-top .templates-save-form {
padding-left: 10px;
background-color: #FFF;
border: 1px solid #BCBCBC;
border-radius: 4px;
width: 388px;
height: 62px;
box-shadow: #9E9C9C 5px 5px 5px;
position: absolute;
padding-top: 13px;
top: 52px;
left: 442px;
z-index: 999;
display: none;
}
.declaration-form-configuration .tab-content-container .templates-top .templates-save-form input {
width: 194px;
height: 30px;
border-radius: 3px;
outline: none;
border: 1px solid #AEAEAE;
padding-left: 5px;
margin-right: 10px;
line-height: 30px;
}
.declaration-form-configuration .tab-content-container .templates-top .templates-save-form .btn-confirm {
color: #FFF;
background-color: #dc6900;
width: 59px;
margin-right: 10px;
}
.declaration-form-configuration .tab-content-container .templates-top .templates-save-form .btn-confirm:hover {
background-color: #eb8c00;
}
.declaration-form-configuration .tab-content-container .templates-top .templates-save-form .btn-cancel {
color: #333;
background-color: #FFF;
border: 1px solid #AEAEAE;
width: 59px;
}
.declaration-form-configuration .tab-content-container .templates-body {
margin-top: 10px;
flex-grow: 1 !important;
display: flex;
}
.declaration-form-configuration .tab-content-container .templates-body .left {
border: 1px solid #E4E4E4;
border-bottom: none;
position: absolute;
z-index: 2;
width: 20%;
background-color: #FFF;
display: none;
}
.declaration-form-configuration .tab-content-container .templates-body .left .templates-menus {
display: table;
width: 100%;
height: 50px;
position: relative;
overflow: hidden;
}
.declaration-form-configuration .tab-content-container .templates-body .left .templates-menus .templates-menu {
height: 50px;
border-bottom: 1px solid #E4E4E4;
cursor: pointer;
padding: 0 25px;
vertical-align: middle;
display: table-cell;
_position: absolute;
_top: 50%;
}
.declaration-form-configuration .tab-content-container .templates-body .left .templates-menus .templates-menu .template-menu {
_position: relative;
_top: -50%;
}
.declaration-form-configuration .tab-content-container .templates-body .left .templates-menus:hover {
background-color: #eeeeee;
}
.declaration-form-configuration .tab-content-container .templates-body .left .active {
color: #D04A02;
background-color: #FFF9EF;
}
.declaration-form-configuration .tab-content-container .templates-body .right {
width: 100%;
flex-grow: 1 !important;
border: 1px solid #E4E4E4;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop {
cursor: move;
font-family: 'Microsoft YaHei Regular', 'Microsoft YaHei';
font-weight: bold;
font-size: 14px;
display: none;
position: relative;
background-color: white;
width: 630px;
border: 1px solid #ccc;
border-radius: 4px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .header {
background-color: #555;
height: 40px;
line-height: 40px;
padding: 0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .header .icon-common {
color: #fff;
margin: 0 10px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .header .drag-icon {
float: left;
color: #fff;
margin: 0 10px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .header .close-icon {
float: right;
color: #fff;
margin: 0 10px;
cursor: pointer;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .header .expand-icon {
color: #fff;
margin: 0 10px;
float: right;
cursor: pointer;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .modal-header .title-separator {
font-weight: normal;
font-size: 16px;
margin: 0 10px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .modal-header .title-info {
font-family: 'Microsoft YaHei';
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .modal-header .edit-input {
max-width: 10em;
border: none;
min-width: 40px;
box-shadow: none;
display: inline-block;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .modal-header .edit-input:hover,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .modal-header .edit-input:focus {
border: 1px solid #CCCCCC;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body {
min-height: 430px;
/*.check-invoice {
border: 1px solid @color-light-gray-e4;
border-radius: 4px;
display: inline-block;
font-weight: normal;
height: 32px;
margin-right: 10px;
padding: 0 10px;
vertical-align: top;
.checkbox-inline {
padding-top: 5px;
}
}*/
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .fa-trash {
color: #eb8c00;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .dx-tabs {
margin: 0 0 30px -35px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body textarea {
font-weight: normal;
font-size: 14px;
height: 80px;
outline: none;
padding: 0px;
resize: none;
width: calc(100% - 50px);
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container {
margin: 0 34px 10px -15px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row1 {
height: 71px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row1 .dx-datagrid-rowsview {
height: 36px !important;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row2 {
height: 105px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row3 {
height: 139px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row4 {
height: 173px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row5 {
height: 207px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.row5 {
height: 241px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container.last-grid {
margin-bottom: 10px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .grid-container .dx-datagrid-headers {
background-color: #F3F3F3;
color: #333;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .checkbox {
margin: 0 0 10px -35px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .control-right {
font-weight: normal;
padding: 0;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .row {
margin-left: 0px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .form-group {
margin-bottom: 8px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body div.label {
padding-left: 0;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body label,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body div.label {
cursor: default;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body label.bold,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body div.label.bold {
font-weight: bold;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .invoice-group {
margin-bottom: 5px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .formula-group .checkbox-inline,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .validation-group .checkbox-inline {
padding: 3px 0 0;
margin: 0 0 5px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .formula-group .inputer,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .validation-group .inputer {
cursor: text;
line-height: 34px;
width: calc(100% - 50px);
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .formula-group .inputer .mention-input-content,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .validation-group .inputer .mention-input-content {
z-index: 1045;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .formula-group .formula-translator-wrapper div.label,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .validation-group .formula-translator-wrapper div.label {
cursor: text;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group {
margin-bottom: 0;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group .checkbox-inline,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group .checkbox-inline {
padding: 3px 0 0;
margin: 0 0 5px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group .has-error,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group .has-error {
cursor: text;
vertical-align: baseline;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group .options-row,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group .options-row {
height: 40px;
margin-top: 10px;
vertical-align: middle;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group .options-row .btn-edit,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group .options-row .btn-edit {
background: none;
margin: 0;
outline: none;
padding: 3px 6px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group .options-row .btn-edit i.material-icons,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group .options-row .btn-edit i.material-icons {
color: #797979;
font-size: 18px;
vertical-align: top;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .voucher-group .options-row .input-summary,
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .model-group .options-row .input-summary {
display: inline;
font-weight: normal;
width: 25%;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] {
display: inline-block;
vertical-align: top;
width: 156px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect > button {
height: 32px;
min-height: 32px !important;
outline: none;
padding: 0;
width: 100%;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .checkboxLayer {
min-width: 120px;
width: 156px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .buttonLabel {
font-weight: normal;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .multiSelectItem {
min-width: 138px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .multiSelectItem label {
font-weight: normal;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .multiSelectItem input.checkbox {
display: inline-block;
left: 0;
margin: 0;
outline: none;
position: relative;
vertical-align: middle;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .multiSelectItem input.checkbox + span {
vertical-align: middle;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body span[isteven-multi-select] .multiSelect .multiSelectItem .tickMark {
display: none;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .btn-group.switch-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .btn-group.switch-group > .btn {
line-height: 30px;
height: 30px;
min-width: 50px;
vertical-align: middle;
border: 1px solid #ddd;
color: #666;
background-color: #eae6e6;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .btn-group.switch-group > .btn.active {
background-color: #fff;
color: #fff;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .editReportFormulaPop-modal-body .select-invoice-amount-type {
border-radius: 4px;
display: inline-block;
font-weight: normal;
height: 32px;
outline: none;
padding: 0 12px;
width: 110px;
}
.declaration-form-configuration .tab-content-container #editReportFormulaPop .modal-footer button {
width: 115px;
height: 37px;
outline: none;
}
.declaration-form-configuration .tab-content-container #selectFormulaPop {
top: 145px;
}
.dx-dropdowneditor-button-visible .dx-texteditor-input {
padding-right: 30px;
}
.fixed-assets-rule-enginee {
/*margin-top:5px;*/
padding-top: 20px;
......@@ -81,44 +702,6 @@
cursor: pointer;
font-size: 12px;
}
/* 1 define color */
/*white*/
/*gray*/
/*gray*/
/*gray tr even background-color*/
/*gray*/
/*orange:business-unit tr selected*/
/* org view ui color deep*/
/* org view ui color light*/
/* 红色系列 */
/* 橙色系列 PWC标准色 */
.highlight-tag {
color: #ed6e3c !important;
}
.no-permission {
cursor: not-allowed;
color: #333333;
}
.no-permission a {
cursor: not-allowed;
color: #333333;
text-decoration: none;
}
.ellipsis {
white-space: nowrap !important;
-ms-text-overflow: ellipsis !important;
-o-text-overflow: ellipsis !important;
text-overflow: ellipsis !important;
overflow-x: hidden !important;
}
/*dx 控件颜色设置*/
.dx-treeview .dx-treeview-node:not(dx-treeview-item-with-checkbox).dx-state-focused > .dx-treeview-item {
background-color: #f16100 !important;
}
.dx-treeview .dx-treeview-node:not(.dx-treeview-item-with-checkbox).dx-state-selected > .dx-treeview-item {
background-color: #f16100 !important;
color: #fff;
}
/*@little-white: @color-light-gray-f2;*/
.admin-wrapper .page-wrapper .main-content {
background-color: #F2F2F2;
......
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