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': {
target: {
host: 'tms-api-dev.eascs.com',
host: 'tms-api-test.eascs.com',
protocol: 'https:',
port: 443
},

View File

@ -27,7 +27,7 @@
<ng-template #footerTpl let-s>
<ng-container *ngIf="st.count > 0">
<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?.crmoney | currency}}</div>
</div>
@ -36,21 +36,21 @@
<ng-template st-row="auxVOList" let-item let-index="index" let-column="column">
<ng-container *ngFor="let auxVO of item.auxVOList">
{{ auxVO.auxLabel }}: {{ auxVO.auxValue }} <br>
{{ auxVO.auxLabel }}: {{ auxVO.auxValue }} <br>
</ng-container>
</ng-template>
</st>
<div se-container labelWidth="150" gutter="32" col="3" class="mt-md">
<se label="摘要">
<sv-container labelWidth="150" gutter="32" class="mt-md">
<sv label="摘要">
{{info?.remarks}}
</se>
<se label="凭证流水号">
</sv>
<sv label="凭证流水号">
{{info?.createUserId}}
</se>
<se label="创建人">
</sv>
<sv label="创建人">
{{info?.createUserId}}
</se>
</div>
</sv>
</sv-container>
</nz-card>

View File

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

View File

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

View File

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