edit
This commit is contained in:
		@ -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>
 | 
			
		||||
@ -47,7 +47,6 @@ export class VoucherDetailComponent implements OnInit {
 | 
			
		||||
      if (res) {
 | 
			
		||||
        this.info = res;
 | 
			
		||||
      }
 | 
			
		||||
      console.log(res);
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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',
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user