Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
wangshiming
2022-04-11 16:42:29 +08:00
5 changed files with 15 additions and 23 deletions

View File

@ -6,7 +6,6 @@ import { ShipperBaseService } from '@shared';
import { NzModalService } from 'ng-zorro-antd/modal';
import { ReportingService } from '../../services/reporting.service';
import { DatatableReportingFundInfoComponent } from '../fund-info/fund-info.component';
import { DatatableReportingUploadSettingComponent } from '../upload-setting/upload-setting.component';
@Component({
selector: 'app-datatable-fund-reporting',
@ -353,21 +352,7 @@ export class DatatableFundReportingComponent implements OnInit {
}
/**
*
* @param params 上传设置
*/
uploadSetting() {
const modalRef = this.modal.create({
nzTitle: '上传设置',
nzWidth: 600,
nzContent: DatatableReportingUploadSettingComponent,
nzComponentParams: {},
nzFooter: null
});
modalRef.afterClose.subscribe(res => {
})
}
/**
* 查看校验结果

View File

@ -7,7 +7,7 @@
<div style="width: 90%;">
<st #st [scroll]="{x:'1000px',y:'600px'}" [data]="service.$api_get_order_valid_result" [columns]="columns"
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
[res]="{ reName: { list: 'data', total: 'data.total' } }" [page]="{ show: false,showSize:false}" [loading]="false"
[res]="{ reName: { list: 'data', total: 'data.total' } }" [page]="{ show: false,showSize:false}"
[bordered]="true">
<ng-template st-row="checkStatus" let-item>
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>

View File

@ -23,7 +23,7 @@ export class DatatableReportingVerifyResultComponent implements OnInit {
get reqParams() {
return {
subjectType: this.subjectType,
subjectId: this.record?.id
subjectId: this.record?.orderId
};
}
constructor(public service: ReportingService, private modalRef: NzModalRef, public router: Router) {

View File

@ -14,12 +14,12 @@
<!-- 搜索表单 -->
<div nz-row nzGutter="8">
<div nz-col [nzSpan]="_$expand ? 24 : 18">
<sf #sf [schema]="schema" [ui]="{ '*': { spanLabelFixed: 100,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
[button]="'none'"></sf>
<sf #sf [schema]="schema" [ui]="{ '*': { spanLabelFixed: 100,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}"
[compact]="true" [button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.expend-options]="_$expand" class="text-right">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()"
acl [acl-ability]="['RiskOrder-Search']">查询</button>
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="search()">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="resetSF()">导出</button>
<button nz-button nzType="link" (click)="expandToggle()">

View File

@ -246,7 +246,14 @@ export class TaxManagementIndividualIncomeComponent implements OnInit {
width: '250px',
format: item => `${item.yssdl ? ((item.yssdl as number) * 100).toFixed(2) : 0}%`
},
{ title: '计税依据', index: 'jsyj', className: 'text-right', width: '150px' },
{
title: '计税依据',
index: 'jsyj',
width: '150px',
type: 'widget',
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.jsyj }) }
},
{
title: '税率',
index: 'sl',