This commit is contained in:
Taric Xin
2022-01-17 21:07:42 +08:00
parent 191301aa00
commit 7775b39bc6
5 changed files with 27 additions and 37 deletions

View File

@ -24,7 +24,7 @@ module.exports = {
// } // }
'//api': { '//api': {
target: { target: {
host: 'tms-api-dev.eascs.com', host: 'tms-api-test.eascs.com',
protocol: 'https:', protocol: 'https:',
port: 443 port: 443
}, },

View File

@ -27,7 +27,7 @@
<ng-template #footerTpl let-s> <ng-template #footerTpl let-s>
<ng-container *ngIf="st.count > 0"> <ng-container *ngIf="st.count > 0">
<div style="display: flex;justify-content: flex-end;"> <div style="display: flex;justify-content: flex-end;">
<div style="flex: 1;" class="text-left">合计:</div> <div style="flex: 1;" class="text-right font-weight-bold text-md">合计:</div>
<div style="width: 150px;" class="text-right">{{info?.drmoney | currency}}</div> <div style="width: 150px;" class="text-right">{{info?.drmoney | currency}}</div>
<div style="width: 150px;" class="text-right">{{info?.crmoney | currency}}</div> <div style="width: 150px;" class="text-right">{{info?.crmoney | currency}}</div>
</div> </div>
@ -36,21 +36,21 @@
<ng-template st-row="auxVOList" let-item let-index="index" let-column="column"> <ng-template st-row="auxVOList" let-item let-index="index" let-column="column">
<ng-container *ngFor="let auxVO of item.auxVOList"> <ng-container *ngFor="let auxVO of item.auxVOList">
{{ auxVO.auxLabel }}: {{ auxVO.auxValue }} <br> {{ auxVO.auxLabel }}: {{ auxVO.auxValue }} <br>
</ng-container> </ng-container>
</ng-template> </ng-template>
</st> </st>
<div se-container labelWidth="150" gutter="32" col="3" class="mt-md"> <sv-container labelWidth="150" gutter="32" class="mt-md">
<se label="摘要"> <sv label="摘要">
{{info?.remarks}} {{info?.remarks}}
</se> </sv>
<se label="凭证流水号"> <sv label="凭证流水号">
{{info?.createUserId}} {{info?.createUserId}}
</se> </sv>
<se label="创建人"> <sv label="创建人">
{{info?.createUserId}} {{info?.createUserId}}
</se> </sv>
</div> </sv-container>
</nz-card> </nz-card>

View File

@ -47,7 +47,6 @@ export class VoucherDetailComponent implements OnInit {
if (res) { if (res) {
this.info = res; this.info = res;
} }
console.log(res);
}); });
} }

View File

@ -167,20 +167,15 @@ export class VoucherManagementComponent implements OnInit {
vctype: { vctype: {
type: 'string', type: 'string',
title: '凭证类型', title: '凭证类型',
enum: [
{ value: null, label: '全部' },
{ value: 'WLW', label: 'WLW' },
{ value: 'CH', label: 'CH' },
{ value: 'YHY', label: 'YHY' },
{ value: 'KP', label: 'KP' }
],
ui: { ui: {
widget: 'select', widget: 'dict-select',
params: { dictKey: 'credential:type' },
placeholder: '请选择', placeholder: '请选择',
visibleIf: { visibleIf: {
expand: (value: boolean) => value expand: (value: boolean) => value
} }
} },
default: ''
}, },
subid: { subid: {
type: 'string', type: 'string',
@ -195,7 +190,7 @@ export class VoucherManagementComponent implements OnInit {
} }
}, },
drmoney: { drmoney: {
type: 'number', type: 'string',
title: '借方金额', title: '借方金额',
ui: { ui: {
placeholder: '请输入', placeholder: '请输入',
@ -205,7 +200,7 @@ export class VoucherManagementComponent implements OnInit {
} }
}, },
crmoney: { crmoney: {
type: 'number', type: 'string',
title: '贷方金额', title: '贷方金额',
ui: { ui: {
placeholder: '请输入', placeholder: '请输入',
@ -229,19 +224,15 @@ export class VoucherManagementComponent implements OnInit {
sts: { sts: {
type: 'string', type: 'string',
title: '凭证状态', title: '凭证状态',
enum: [
{ value: null, label: '全部' },
{ value: 0, label: '新建' },
{ value: 1, label: '待审核' },
{ value: 2, label: '已通过' }
],
ui: { ui: {
widget: 'select', widget: 'dict-select',
params: { dictKey: 'credential:status' },
placeholder: '请选择', placeholder: '请选择',
visibleIf: { visibleIf: {
expand: (value: boolean) => value expand: (value: boolean) => value
} }
} },
default: ''
}, },
importncnotes: { importncnotes: {
type: 'string', type: 'string',

View File

@ -37,13 +37,13 @@
</ng-template> </ng-template>
</st> </st>
<div se-container labelWidth="150" gutter="32" col="2" class="mt-md"> <sv-container labelWidth="150" gutter="32" col="2" class="mt-md">
<se label="摘要"> <sv label="摘要">
收取服务费XXXX 收取服务费XXXX
</se> </sv>
<se label="汇总凭证号"> <sv label="凭证流水号">
VC202112120001 VC202112120001
</se> </sv>
</div> </sv-container>
</nz-card> </nz-card>