车辆接口更新

This commit is contained in:
wangshiming
2022-01-20 16:59:58 +08:00
parent 267bf8a693
commit 96bdd7f602
7 changed files with 20 additions and 16 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
* @LastEditTime : 2022-01-20 16:35:47
* @LastEditTime : 2022-01-20 16:57:38
* @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-19 16:54:07
* @LastEditors : Shiming
* @LastEditTime : 2022-01-20 16:40:08
* @LastEditTime : 2022-01-20 16:57:24
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\payment-order\\payment-order-detail\\payment-order-detail.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@ -23,13 +23,13 @@
{{headerInfo?.ltdName}}
</se>
<se label="收款人" required>
{{headerInfo?.hrToName}}
{{headerInfo?.payBankTypeLabel}}
</se>
<se label="付款账户" required>
{{headerInfo?.ltdAccountId}}
</se>
<se label="应付已核销" required>
{{headerInfo?.invdate}}
{{headerInfo?.payMoney}}
</se>
</div>
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="100" col="1">

View File

@ -12,7 +12,7 @@
<button nz-button nzType="primary" [nzLoading]="service.http.loading" style="float: right;">打印</button>
</se-title>
<se label="帐套" required>
{{info?.vcltdcode}}
{{info?.ltdId}}
</se>
<se label="凭证类型" required>
{{info?.vctype}}

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 15:57:44
* @LastEditors : Shiming
* @LastEditTime : 2022-01-20 15:23:12
* @LastEditTime : 2022-01-20 16:58:27
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\voucher-management\\voucher-management.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -296,7 +296,7 @@ export class VoucherManagementComponent implements OnInit {
{ title: '凭证号', index: 'id', type: 'link', width: 150 },
{ title: '帐套', index: 'vcltdid', width: 150 },
{ title: '凭证时间', index: 'vctime', type: 'date', width: 150 },
{ title: '凭证类型', index: 'vctypeLabel', width: 150 },
{ title: '凭证类型', index: 'vctype', width: 150 },
{ title: '序号', index: 'invmoney', width: 150, format: _ => '1' },
{ title: '摘要', index: 'remarks', width: 300 },
{ title: '币种', index: 'currency', width: 100 },

View File

@ -186,7 +186,7 @@ export class VoucherListComponent implements OnInit {
{ title: '凭证号', index: 'id', type: 'link', width: 150 },
{ title: '帐套', index: 'vcltdid', width: 150 },
{ title: '凭证时间', index: 'vctime', type: 'date', width: 150 },
{ title: '凭证类型', index: 'vctypeLabel', width: 150 },
{ title: '凭证类型', index: 'vctype', width: 150 },
{ title: '序号', index: 'invmoney', width: 150, format: _ => '1' },
{ title: '摘要', index: 'remarks', width: 300 },
{ title: '币种', index: 'currency', width: 100 },

View File

@ -1,12 +1,11 @@
import { Component, OnInit, ViewChild, Type } from '@angular/core';
import { STComponent, STColumn, STChange } from '@delon/abc/st';
import { SFComponent, SFDateWidgetSchema, SFRadioWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
import { ShipperBaseService } from '@shared';
import { EAEnvironmentService, ShipperBaseService } from '@shared';
import { NzModalService } from 'ng-zorro-antd/modal';
import { of } from 'rxjs';
import { map } from 'rxjs/operators';
import { SystemService } from '../../services/system.service';
import { environment } from '@env/environment';
@Component({
selector: 'app-sys-setting-components-announcement-message',
@ -65,6 +64,7 @@ export class AnnouncementMessageComponent implements OnInit {
public service: SystemService,
private nzModalService: NzModalService,
public shipperservice: ShipperBaseService,
private envSrv: EAEnvironmentService,
) {}
ngOnInit(): void {
@ -126,9 +126,9 @@ export class AnnouncementMessageComponent implements OnInit {
type: 'string',
title: '发布平台',
enum: [
{ label: '运营后台', value: environment.appId },
{ label: '货主后台', value: 2 },
{ label: '司机端', value: 3 }
{ label: '运营后台', value: this.envSrv.env.appId },
// { label: '货主后台', value: this.envSrv.env.HzappId },
// { label: '司机端', value: this.envSrv.env.sjappId }
],
ui: {
widget: 'select',

View File

@ -1,8 +1,8 @@
/*
* @Author: Maple
* @Date: 2021-03-22 09:50:07
* @LastEditors: Do not edit
* @LastEditTime: 2021-05-27 11:37:17
* @LastEditors : Shiming
* @LastEditTime : 2022-01-20 16:54:57
* @Description:全局环境服务
*/
import { Injectable } from '@angular/core';
@ -11,8 +11,12 @@ import { Injectable } from '@angular/core';
providedIn: 'root',
})
export class EnvironmentService {
// 应用ID
// 运多星运营管理后台应用ID
private appId = `5800BF51DC9A494489700F09E3B81520`;
// 运多星货主后台应用ID
private HzappId = `A48F72F0A304427F921794BAD86B3522`;
// 运多星司机应用ID
private sjappId = `AB5EDFE8A46D46EBA69F2CBB6C94D226`;
// 租户ID
private tenantId = `1352892699355607041`;
private env: { appId: string; tenantId: string } = { appId: this.appId, tenantId: this.tenantId };