批量审核
This commit is contained in:
@ -1,18 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 19:42:53
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-14 16:05:45
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\proxy.conf.js
|
* @LastEditTime : 2022-01-18 17:13:58
|
||||||
*/
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
/**
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
* For more configuration, please refer to https://angular.io/guide/build#proxying-to-a-backend-server
|
|
||||||
*
|
|
||||||
* 更多配置描述请参考 https://angular.cn/guide/build#proxying-to-a-backend-server
|
|
||||||
*
|
|
||||||
* Note: The proxy is only valid for real requests, Mock does not actually generate requests, so the priority of Mock will be higher than the proxy
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
/**
|
/**
|
||||||
* The following means that all requests are directed to the backend `https://localhost:9000/`
|
* The following means that all requests are directed to the backend `https://localhost:9000/`
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 11:06:01
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-11-29 14:21:56
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-05 20:15:41
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\account\account-routing.module.ts
|
* @LastEditTime : 2022-01-18 17:14:30
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\account-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { AccountComponentsCenterComponent } from './components/center/center.component';
|
import { AccountComponentsCenterComponent } from './components/center/center.component';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 11:06:01
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-11-29 15:42:10
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-11-29 11:06:01
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\account\account.module.ts
|
* @LastEditTime : 2022-01-18 17:14:34
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\account.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '@shared';
|
import { SharedModule } from '@shared';
|
||||||
import { AccountRoutingModule } from './account-routing.module';
|
import { AccountRoutingModule } from './account-routing.module';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 11:06:01
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 17:01:56
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-11-29 11:06:01
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\account\components\edit-name\edit-name.component.html
|
* @LastEditTime : 2022-01-18 17:14:39
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\components\\edit-name\\edit-name.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="formData">
|
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="formData">
|
||||||
<ng-template sf-template="smsVerifyCode" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="smsVerifyCode" let-me let-ui="ui" let-schema="schema">
|
||||||
<div class="valid-code">
|
<div class="valid-code">
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 11:06:01
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-11-29 11:08:35
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-11-29 11:06:01
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\account\components\edit-name\edit-name.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:14:44
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\components\\edit-name\\edit-name.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { AccountComponentsEditNameComponent } from './edit-name.component';
|
import { AccountComponentsEditNameComponent } from './edit-name.component';
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 13:50:46
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 16:51:33
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-11-29 13:50:46
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\account\components\edit\edit.component.html
|
* @LastEditTime : 2022-01-18 17:14:50
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\components\\edit-password\\edit-password.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<nz-alert style="margin-bottom: 15px;" nzType="info" nzMessage="密码为字母和数字组成的8-16个字符,支持符号“_”和“-”。" nzShowIcon></nz-alert>
|
<nz-alert style="margin-bottom: 15px;" nzType="info" nzMessage="密码为字母和数字组成的8-16个字符,支持符号“_”和“-”。" nzShowIcon></nz-alert>
|
||||||
<form nz-form [formGroup]="validateForm">
|
<form nz-form [formGroup]="validateForm">
|
||||||
<nz-form-item>
|
<nz-form-item>
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 13:50:46
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 16:37:42
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-27 10:30:56
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\account\components\edit\edit.component.ts
|
* @LastEditTime : 2022-01-18 17:14:54
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\components\\edit-password\\edit-password.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, Inject, OnInit, ViewChild } from '@angular/core';
|
import { Component, Inject, OnInit, ViewChild } from '@angular/core';
|
||||||
import { FormBuilder, FormControl, FormGroup, ValidatorFn, Validators } from '@angular/forms';
|
import { FormBuilder, FormControl, FormGroup, ValidatorFn, Validators } from '@angular/forms';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-02 11:12:21
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-28 13:52:35
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-27 10:30:56
|
||||||
* @Description: In User Settings Edit
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \scm-ows-ui\src\app\routes\account\services\account.service.ts
|
* @LastEditTime : 2022-01-18 17:14:59
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\account\\services\\account.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-05 11:01:55
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 15:55:59
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-10 14:44:57
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-template-detail\contract-template-detail.component.html
|
* @LastEditTime : 2022-01-18 17:15:13
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-detail\\contract-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- 页头 -->
|
<!-- 页头 -->
|
||||||
<page-header-wrapper [logo]="logo" [title]="textStatus" >
|
<page-header-wrapper [logo]="logo" [title]="textStatus" >
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
|
|||||||
@ -1,26 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 20:19:08
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-11-29 20:31:00
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-10 14:44:57
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\usercenter\components\freight\list\detail\detail.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:15:18
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-detail\\contract-detail.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
||||||
import { UserCenterComponentsDriverDetailComponent } from './contract-detail.component';
|
|
||||||
|
|
||||||
describe('UserCenterComponentsDriverDetailComponent', () => {
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
let component: UserCenterComponentsDriverDetailComponent;
|
import { ContractManagementDetailComponent } from './contract-detail.component';
|
||||||
let fixture: ComponentFixture<UserCenterComponentsDriverDetailComponent>;
|
|
||||||
|
describe('ContractManagementDetailComponent', () => {
|
||||||
|
let component: ContractManagementDetailComponent;
|
||||||
|
let fixture: ComponentFixture<ContractManagementDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(async(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserCenterComponentsDriverDetailComponent],
|
declarations: [ContractManagementDetailComponent],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fixture = TestBed.createComponent(UserCenterComponentsDriverDetailComponent);
|
fixture = TestBed.createComponent(ContractManagementDetailComponent);
|
||||||
component = fixture.componentInstance;
|
component = fixture.componentInstance;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,24 +1,17 @@
|
|||||||
import { Router } from '@angular/router';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-05 11:01:55
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 16:37:53
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-10 14:44:57
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-template-detail\contract-template-detail.component.ts
|
* @LastEditTime : 2022-01-18 17:15:43
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-detail\\contract-detail.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { DatePipe } from '@angular/common';
|
import { DatePipe } from '@angular/common';
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { apiConf } from '@conf/api.conf';
|
|
||||||
import { STColumn, STComponent } from '@delon/abc/st';
|
|
||||||
import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFTagWidgetSchema, SFTextWidgetSchema, SFUISchema } from '@delon/form';
|
|
||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { of } from 'rxjs';
|
|
||||||
import { map } from 'rxjs/operators';
|
|
||||||
import { ImageViewComponent } from 'src/app/shared/components/imagelist';
|
|
||||||
import { ContractManagementService } from '../../services/contract-management.service';
|
import { ContractManagementService } from '../../services/contract-management.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -28,7 +21,6 @@ import { ContractManagementService } from '../../services/contract-management.se
|
|||||||
providers: [DatePipe]
|
providers: [DatePipe]
|
||||||
})
|
})
|
||||||
export class ContractManagementDetailComponent implements OnInit {
|
export class ContractManagementDetailComponent implements OnInit {
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private nzModalService: NzModalService,
|
private nzModalService: NzModalService,
|
||||||
public service: ContractManagementService,
|
public service: ContractManagementService,
|
||||||
@ -36,7 +28,7 @@ export class ContractManagementDetailComponent implements OnInit {
|
|||||||
private datePipe: DatePipe,
|
private datePipe: DatePipe,
|
||||||
private router: Router
|
private router: Router
|
||||||
) {}
|
) {}
|
||||||
textStatus = '合同详情'
|
textStatus = '合同详情';
|
||||||
name: any;
|
name: any;
|
||||||
code: any;
|
code: any;
|
||||||
templateHTML: any;
|
templateHTML: any;
|
||||||
@ -44,24 +36,24 @@ export class ContractManagementDetailComponent implements OnInit {
|
|||||||
templateName: ''
|
templateName: ''
|
||||||
};
|
};
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.initData(this.service.$api_contract_get)
|
this.initData(this.service.$api_contract_get);
|
||||||
}
|
}
|
||||||
goBack() {
|
goBack() {
|
||||||
window.history.go(-1)
|
window.history.go(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
initData(url: string) {
|
initData(url: string) {
|
||||||
this.service.request(url, {id: this.route.snapshot.params.id}).subscribe((res) => {
|
this.service.request(url, { id: this.route.snapshot.params.id }).subscribe(res => {
|
||||||
if(res) {
|
if (res) {
|
||||||
this.detailList = res;
|
this.detailList = res;
|
||||||
this.detailList = res;
|
this.detailList = res;
|
||||||
let value :any= JSON.parse(res.contractParameter)
|
let value: any = JSON.parse(res.contractParameter);
|
||||||
this.code = value['${code}']
|
this.code = value['${code}'];
|
||||||
this.name =value['${name}']
|
this.name = value['${name}'];
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
cancel() {
|
cancel() {
|
||||||
window.history.go(-1)
|
window.history.go(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 15:57:49
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:54:53
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-07 13:29:57
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-list\contract-list.component.html
|
* @LastEditTime : 2022-01-18 17:16:04
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-frame\\contract-frame.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 15:57:49
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:54:33
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-07 15:57:49
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-list\contract-list.component.html
|
* @LastEditTime : 2022-01-18 17:16:12
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-list\\contract-list.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-05 11:01:55
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-06 20:47:40
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-05 11:01:55
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-template-detail\contract-template-detail.component.html
|
* @LastEditTime : 2022-01-18 17:16:27
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template-detail\\contract-template-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- 页头 -->
|
<!-- 页头 -->
|
||||||
<page-header-wrapper [logo]="logo" [title]="textStatus" [content]="headerContent">
|
<page-header-wrapper [logo]="logo" [title]="textStatus" [content]="headerContent">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 20:19:08
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:49:21
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-05 11:01:55
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\usercenter\components\freight\list\detail\detail.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:16:31
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template-detail\\contract-template-detail.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { ContractManagementTemplateDetailComponent } from './contract-template-detail.component';
|
import { ContractManagementTemplateDetailComponent } from './contract-template-detail.component';
|
||||||
|
|
||||||
|
|||||||
@ -1,24 +1,18 @@
|
|||||||
import { Router } from '@angular/router';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-05 11:01:55
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 16:38:01
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-05 11:01:55
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-template-detail\contract-template-detail.component.ts
|
* @LastEditTime : 2022-01-18 17:16:49
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template-detail\\contract-template-detail.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { DatePipe } from '@angular/common';
|
import { DatePipe } from '@angular/common';
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { apiConf } from '@conf/api.conf';
|
import { SFComponent, SFSchema, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
|
||||||
import { STColumn, STComponent } from '@delon/abc/st';
|
|
||||||
import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFTagWidgetSchema, SFTextWidgetSchema, SFUISchema } from '@delon/form';
|
|
||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { of } from 'rxjs';
|
|
||||||
import { map } from 'rxjs/operators';
|
|
||||||
import { ImageViewComponent } from 'src/app/shared/components/imagelist';
|
|
||||||
import { ContractManagementService } from '../../services/contract-management.service';
|
import { ContractManagementService } from '../../services/contract-management.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -28,7 +22,6 @@ import { ContractManagementService } from '../../services/contract-management.se
|
|||||||
providers: [DatePipe]
|
providers: [DatePipe]
|
||||||
})
|
})
|
||||||
export class ContractManagementTemplateDetailComponent implements OnInit {
|
export class ContractManagementTemplateDetailComponent implements OnInit {
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private nzModalService: NzModalService,
|
private nzModalService: NzModalService,
|
||||||
public service: ContractManagementService,
|
public service: ContractManagementService,
|
||||||
@ -36,7 +29,7 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
private datePipe: DatePipe,
|
private datePipe: DatePipe,
|
||||||
private router: Router
|
private router: Router
|
||||||
) {}
|
) {}
|
||||||
textStatus = '新建模板'
|
textStatus = '新建模板';
|
||||||
@ViewChild('sf', { static: false }) sf!: SFComponent;
|
@ViewChild('sf', { static: false }) sf!: SFComponent;
|
||||||
schema: SFSchema = {};
|
schema: SFSchema = {};
|
||||||
@ViewChild('sf2', { static: false }) sf2!: SFComponent;
|
@ViewChild('sf2', { static: false }) sf2!: SFComponent;
|
||||||
@ -51,32 +44,32 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
isUpdate = false;
|
isUpdate = false;
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.initSF()
|
this.initSF();
|
||||||
this.initSF2()
|
this.initSF2();
|
||||||
if(this.route.snapshot.queryParams.status == 1) {
|
if (this.route.snapshot.queryParams.status == 1) {
|
||||||
// 新建
|
// 新建
|
||||||
this.isUpdate = true;
|
this.isUpdate = true;
|
||||||
} else if(this.route.snapshot.queryParams.status == 2) {
|
} else if (this.route.snapshot.queryParams.status == 2) {
|
||||||
// 编辑
|
// 编辑
|
||||||
this.textStatus = '编辑模板';
|
this.textStatus = '编辑模板';
|
||||||
this.isUpdate =true;
|
this.isUpdate = true;
|
||||||
this.initData(this.service.$api_get_contractTemplate)
|
this.initData(this.service.$api_get_contractTemplate);
|
||||||
}else if(this.route.snapshot.queryParams.status == 3) {
|
} else if (this.route.snapshot.queryParams.status == 3) {
|
||||||
// 编辑
|
// 编辑
|
||||||
this.textStatus = '查看模板';
|
this.textStatus = '查看模板';
|
||||||
this.isUpdate =false;
|
this.isUpdate = false;
|
||||||
this.initData(this.service.$api_get_contractTemplate)
|
this.initData(this.service.$api_get_contractTemplate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
goBack() {
|
goBack() {
|
||||||
window.history.go(-1)
|
window.history.go(-1);
|
||||||
}
|
}
|
||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
templateName: {
|
templateName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '模版名称',
|
title: '模版名称'
|
||||||
},
|
},
|
||||||
templateType: {
|
templateType: {
|
||||||
title: '模板类型',
|
title: '模板类型',
|
||||||
@ -85,11 +78,11 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'contract:template:type' },
|
params: { dictKey: 'contract:template:type' },
|
||||||
containAllLable:true,
|
containAllLable: true,
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value,
|
_$expand: (value: boolean) => value
|
||||||
},
|
}
|
||||||
} as SFSelectWidgetSchema,
|
} as SFSelectWidgetSchema
|
||||||
},
|
},
|
||||||
contractType: {
|
contractType: {
|
||||||
title: '单据类型',
|
title: '单据类型',
|
||||||
@ -98,14 +91,14 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'contract:type' },
|
params: { dictKey: 'contract:type' },
|
||||||
containAllLable:true,
|
containAllLable: true,
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
templateType: value => value === "MX"
|
templateType: value => value === 'MX'
|
||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema,
|
} as SFSelectWidgetSchema
|
||||||
},
|
}
|
||||||
}
|
},
|
||||||
,required: ['templateName','templateType']
|
required: ['templateName', 'templateType']
|
||||||
};
|
};
|
||||||
this.ui = {
|
this.ui = {
|
||||||
'*': {
|
'*': {
|
||||||
@ -133,26 +126,26 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
initData(url: string) {
|
initData(url: string) {
|
||||||
this.service.request(url, {id: this.route.snapshot.params.id}).subscribe((res) => {
|
this.service.request(url, { id: this.route.snapshot.params.id }).subscribe(res => {
|
||||||
if(res) {
|
if (res) {
|
||||||
this.detailList = res;
|
this.detailList = res;
|
||||||
this.sfdata = res;
|
this.sfdata = res;
|
||||||
this.sfdata2 = res;
|
this.sfdata2 = res;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
cancel() {
|
cancel() {
|
||||||
window.history.go(-1)
|
window.history.go(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
save () {
|
save() {
|
||||||
if( !this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) {
|
if (!this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) {
|
||||||
this.service.msgSrv.error("必填参数为空,请检查再重新保存!");
|
this.service.msgSrv.error('必填参数为空,请检查再重新保存!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(this.sf.value.templateType == 'MX' ) {
|
if (this.sf.value.templateType == 'MX') {
|
||||||
if(this.sf.value.contractType == '') {
|
if (this.sf.value.contractType == '') {
|
||||||
this.service.msgSrv.error("必填参数为空,请检查再重新保存!");
|
this.service.msgSrv.error('必填参数为空,请检查再重新保存!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,12 +153,12 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
...this.sf.value,
|
...this.sf.value,
|
||||||
...this.sf2.value,
|
...this.sf2.value,
|
||||||
templateTitle: this.title
|
templateTitle: this.title
|
||||||
}
|
};
|
||||||
this.service.request(this.service.$api_save_contractTemplate, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_save_contractTemplate, params).subscribe((res: any) => {
|
||||||
if(res) {
|
if (res) {
|
||||||
this.service.msgSrv.success("保存成功!")
|
this.service.msgSrv.success('保存成功!');
|
||||||
this.router.navigate(['/contract-management/template'])
|
this.router.navigate(['/contract-management/template']);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-06 20:38:46
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @LastEditTime : 2022-01-18 17:16:18
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template\\contract-template.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<page-header-wrapper [title]="'合同模板'">
|
<page-header-wrapper [title]="'合同模板'">
|
||||||
</page-header-wrapper>
|
</page-header-wrapper>
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 14:27:59
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:47:47
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-05 09:45:47
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk\risk.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:16:22
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template\\contract-template.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { ContractManagementTemplateComponent } from './contract-template.component';
|
import { ContractManagementTemplateComponent } from './contract-template.component';
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-07 13:27:10
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-07 13:50:55
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-07 13:27:10
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\index\index.component.html
|
* @LastEditTime : 2022-01-18 17:16:56
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\index\\index.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<page-header-wrapper title="合同管理" [tab]="tpTab">
|
<page-header-wrapper title="合同管理" [tab]="tpTab">
|
||||||
</page-header-wrapper>
|
</page-header-wrapper>
|
||||||
<ng-template #tpTab>
|
<ng-template #tpTab>
|
||||||
|
|||||||
@ -1,14 +1,15 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-07 13:27:10
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-07 13:28:59
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-07 13:27:10
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\components\index\index.component.ts
|
* @LastEditTime : 2022-01-18 17:17:01
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\index\\index.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
|
||||||
import { STColumn, STComponent } from '@delon/abc/st';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { SFSchema } from '@delon/form';
|
|
||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 15:57:49
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:50:40
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-04 21:05:49
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\contract-management-routing.module.ts
|
* @LastEditTime : 2022-01-18 17:15:03
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\contract-management-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { ContractManagementDetailComponent } from './components/contract-detail/contract-detail.component';
|
import { ContractManagementDetailComponent } from './components/contract-detail/contract-detail.component';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 15:57:49
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:50:00
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-04 21:05:49
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\contract-management.module.ts
|
* @LastEditTime : 2022-01-18 17:15:08
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\contract-management.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { SharedModule } from '@shared';
|
import { SharedModule } from '@shared';
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-04 21:05:49
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 14:53:10
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-04 21:05:49
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\contract-management\services\contract-management.service.ts
|
* @LastEditTime : 2022-01-18 17:17:10
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\services\\contract-management.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { BaseService } from 'src/app/shared/services';
|
import { BaseService } from 'src/app/shared/services';
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-05 20:15:41
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 14:41:17
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-05 20:15:41
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\financial-management\components\withdrawals-record\withdrawals-detail\withdrawals-detail.component.html
|
* @LastEditTime : 2022-01-18 17:17:19
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\withdrawals-record\\withdrawals-detail\\withdrawals-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="'提现详情'" [logo]="logo">
|
<page-header-wrapper [title]="'提现详情'" [logo]="logo">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-30 19:36:30
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-04 10:34:31
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-18 15:57:44
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\financial-management\services\freight-account.service.ts
|
* @LastEditTime : 2022-01-18 17:17:26
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\services\\freight-account.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { BaseService, EACacheService, ShipperBaseService } from '@shared';
|
import { BaseService, EACacheService, ShipperBaseService } from '@shared';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 15:29:33
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-24 16:58:02
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html
|
* @LastEditTime : 2022-01-18 17:18:29
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail-change\\bulk-detail-change.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
|
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
|
||||||
|
|||||||
@ -1,12 +1,14 @@
|
|||||||
import { ViewChild } from '@angular/core';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-05 14:33:56
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-24 16:58:02
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
|
* @LastEditTime : 2022-01-18 17:18:37
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail-change\\bulk-detail-change.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
import { ViewChild } from '@angular/core';
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
|
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 19:44:00
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-06 20:20:26
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html
|
* @LastEditTime : 2022-01-18 17:18:12
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
|
|||||||
@ -1,12 +1,14 @@
|
|||||||
import { Router } from '@angular/router';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 10:10:21
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-06 20:20:26
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
|
* @LastEditTime : 2022-01-18 17:18:24
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
import { Router } from '@angular/router';
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { STColumn } from '@delon/abc/st';
|
import { STColumn } from '@delon/abc/st';
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 14:43:58
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @LastEditTime : 2022-01-18 17:17:56
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<page-header-wrapper [title]="''">
|
<page-header-wrapper [title]="''">
|
||||||
|
|||||||
@ -1,19 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-06 20:03:28
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-06 20:03:29
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-06 20:03:28
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\bulk\bulk.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:18:06
|
||||||
*/
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.spec.ts
|
||||||
/*
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
* @Author: your name
|
|
||||||
* @Date: 2021-12-06 19:39:49
|
|
||||||
* @LastEditTime: 2021-12-06 19:41:08
|
|
||||||
* @LastEditors: your name
|
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\bulk\bulk.component.spec.ts
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { OrderManagementBulkComponent } from './bulk.component';
|
import { OrderManagementBulkComponent } from './bulk.component';
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-16 10:19:08
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 14:44:29
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-04 17:29:18
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk-detail\risk-detail.component.html
|
* @LastEditTime : 2022-01-18 17:18:54
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint-detail\\complaint-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="'投诉管理'" [logo]="logo">
|
<page-header-wrapper [title]="'投诉管理'" [logo]="logo">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-04 17:29:18
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-04 17:31:21
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-04 17:29:18
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\complaint-detail\complaint-detail.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:19:01
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint-detail\\complaint-detail.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { OrderManagementComplaintDetailComponent } from './complaint-detail.component';
|
import { OrderManagementComplaintDetailComponent } from './complaint-detail.component';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 20:59:08
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @LastEditTime : 2022-01-18 17:18:42
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint\\complaint.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<page-header-wrapper [title]="''">
|
<page-header-wrapper [title]="''">
|
||||||
</page-header-wrapper>
|
</page-header-wrapper>
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 14:27:59
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-07 14:28:59
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-07 14:46:19
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk\risk.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:18:47
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint\\complaint.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { OrderManagementComplaintComponent } from './complaint.component';
|
import { OrderManagementComplaintComponent } from './complaint.component';
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-16 10:19:08
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-17 11:21:28
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-16 10:19:08
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk-detail\risk-detail.component.html
|
* @LastEditTime : 2022-01-18 17:19:25
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk-detail\\risk-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="''" [logo]="logo">
|
<page-header-wrapper [title]="''" [logo]="logo">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
@ -31,16 +33,11 @@
|
|||||||
<sv label="异常原因" col="1">
|
<sv label="异常原因" col="1">
|
||||||
<div class="bg-grey-lighter p-sm">
|
<div class="bg-grey-lighter p-sm">
|
||||||
{{datailList?.abnormalCause}}
|
{{datailList?.abnormalCause}}
|
||||||
<!-- <div *ngFor="let item of abnormalReason">{{item}}</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</sv>
|
</sv>
|
||||||
</sv-container>
|
</sv-container>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
<!-- [nzExtra]="extraTemplate" -->
|
|
||||||
<nz-card nzTitle="申诉信息" >
|
<nz-card nzTitle="申诉信息" >
|
||||||
<!-- <ng-template #extraTemplate>
|
|
||||||
<button nzType="primary" (click)="edit(i)" nzGhost nz-button>编辑</button>
|
|
||||||
</ng-template> -->
|
|
||||||
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema" [formData]="datailList">
|
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema" [formData]="datailList">
|
||||||
<ng-template sf-template="enterpriseQualificationCe" let-schema="schema" let-item let-ui="ui">
|
<ng-template sf-template="enterpriseQualificationCe" let-schema="schema" let-item let-ui="ui">
|
||||||
<app-imagelist [imgList]="datailList?.fileArr"></app-imagelist>
|
<app-imagelist [imgList]="datailList?.fileArr"></app-imagelist>
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-24 15:36:09
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @LastEditTime : 2022-01-18 17:19:12
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<page-header-wrapper [title]="''">
|
<page-header-wrapper [title]="''">
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-07 14:27:59
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-07 14:28:59
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-07 14:27:59
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk\risk.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:19:18
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { OrderManagementRiskComponent } from './risk.component';
|
import { OrderManagementRiskComponent } from './risk.component';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 15:01:35
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-23 13:39:58
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html
|
* @LastEditTime : 2022-01-18 17:20:14
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail-change\\vehicle-detail-change.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
|
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
|
||||||
@ -14,10 +17,10 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #headerContent>
|
<ng-template #headerContent>
|
||||||
<div class="mb-xs" nz-row>
|
<div class="mb-xs" nz-row>
|
||||||
<button nz-button nzType="primary" nzSize="small" nzDanger>{{i?.billStatusLabel}}</button>
|
<button nz-button nzType="primary" nzSize="small" nzDanger>{{ i?.billStatusLabel }}</button>
|
||||||
<h4 class="ml-md" style="font-size: 18px;">订单号: {{ i?.billCode }}</h4>
|
<h4 class="ml-md" style="font-size: 18px">订单号: {{ i?.billCode }}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div nz-row style="display: flex; justify-content: end;">
|
<div nz-row style="display: flex; justify-content: end">
|
||||||
<div nz-col nzSpan="10">
|
<div nz-col nzSpan="10">
|
||||||
<button nz-button (click)="cancelChange()">取消修改</button>
|
<button nz-button (click)="cancelChange()">取消修改</button>
|
||||||
<button nz-button nzType="primary" (click)="save()" nzGhost>保存修改</button>
|
<button nz-button nzType="primary" (click)="save()" nzGhost>保存修改</button>
|
||||||
@ -28,25 +31,19 @@
|
|||||||
<div sv-container>
|
<div sv-container>
|
||||||
<sv label="网络货运人">{{ i?.goodsResource?.enterpriseInfoName }} </sv>
|
<sv label="网络货运人">{{ i?.goodsResource?.enterpriseInfoName }} </sv>
|
||||||
<sv label="货主">{{ i?.goodsResource?.shipperAppUserName }} </sv>
|
<sv label="货主">{{ i?.goodsResource?.shipperAppUserName }} </sv>
|
||||||
<sv label="所属项目">{{i?.goodsResource?.enterpriseProjectName}}</sv>
|
<sv label="所属项目">{{ i?.goodsResource?.enterpriseProjectName }}</sv>
|
||||||
<sv label="服务类型">{{i?.goodsResource?.serviceTypeLabel}}</sv>
|
<sv label="服务类型">{{ i?.goodsResource?.serviceTypeLabel }}</sv>
|
||||||
<sv label="录单员">{{i?.goodsResource?.createUserName}} /{{i?.goodsResource?.createUserPhone}} </sv>
|
<sv label="录单员">{{ i?.goodsResource?.createUserName }} /{{ i?.goodsResource?.createUserPhone }} </sv>
|
||||||
<sv label="调度员">{{i?.goodsResource?.dispatchName}}/{{i?.goodsResource?.dispatchName}} </sv>
|
<sv label="调度员">{{ i?.goodsResource?.dispatchName }}/{{ i?.goodsResource?.dispatchName }} </sv>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nz-tabset style="margin-top: 15px;">
|
<nz-tabset style="margin-top: 15px">
|
||||||
<nz-tab nzTitle="装卸货信息" (nzClick)="goDistance(distannce1)">
|
<nz-tab nzTitle="装卸货信息" (nzClick)="goDistance(distannce1)"> </nz-tab>
|
||||||
</nz-tab>
|
<nz-tab nzTitle="基本信息" (nzClick)="goDistance(distannce2)"> </nz-tab>
|
||||||
<nz-tab nzTitle="基本信息" (nzClick)="goDistance(distannce2)">
|
<nz-tab nzTitle="运费信息" (nzClick)="goDistance(distannce3)"> </nz-tab>
|
||||||
</nz-tab>
|
<nz-tab nzTitle="附件信息" (nzClick)="goDistance(distannce4)"> </nz-tab>
|
||||||
<nz-tab nzTitle="运费信息" (nzClick)="goDistance(distannce3)">
|
<nz-tab nzTitle="轨迹信息" (nzClick)="goDistance(distannce5)"> </nz-tab>
|
||||||
</nz-tab>
|
|
||||||
<nz-tab nzTitle="附件信息" (nzClick)="goDistance(distannce4)">
|
|
||||||
</nz-tab>
|
|
||||||
<nz-tab nzTitle="轨迹信息" (nzClick)="goDistance(distannce5)">
|
|
||||||
</nz-tab>
|
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</page-header-wrapper>
|
</page-header-wrapper>
|
||||||
@ -54,21 +51,28 @@
|
|||||||
<div class="approval-status">
|
<div class="approval-status">
|
||||||
<div style="width: 60%; margin: 0 auto">
|
<div style="width: 60%; margin: 0 auto">
|
||||||
<nz-steps [nzLabelPlacement]="'vertical'">
|
<nz-steps [nzLabelPlacement]="'vertical'">
|
||||||
<nz-step [nzStatus]="i?.resourceStatus !== '1'?'finish':'process'" nzIcon="solution"
|
<nz-step
|
||||||
[nzDescription]="i?.createAt" nzTitle="下单"></nz-step>
|
[nzStatus]="i?.resourceStatus !== '1' ? 'finish' : 'process'"
|
||||||
|
nzIcon="solution"
|
||||||
|
[nzDescription]="i?.createAt"
|
||||||
|
nzTitle="下单"
|
||||||
|
></nz-step>
|
||||||
|
|
||||||
|
<nz-step
|
||||||
|
*ngIf="i?.resourceStatus === '1' || i?.resourceStatus === '2'"
|
||||||
|
[nzStatus]="i?.resourceStatus === '1' ? 'wait' : 'finish'"
|
||||||
|
nzIcon="file-done"
|
||||||
|
[nzTitle]="'接单'"
|
||||||
|
></nz-step>
|
||||||
|
|
||||||
<nz-step *ngIf="i?.resourceStatus === '1' || i?.resourceStatus === '2' "
|
|
||||||
[nzStatus]="i?.resourceStatus=== '1'? 'wait':'finish'" nzIcon="file-done" [nzTitle]="'接单'"></nz-step>
|
|
||||||
|
|
||||||
<nz-step nzStatus="finish" nzIcon="close-circle" nzTitle="取消货源" *ngIf="i?.resourceStatus === '3'"></nz-step>
|
<nz-step nzStatus="finish" nzIcon="close-circle" nzTitle="取消货源" *ngIf="i?.resourceStatus === '3'"></nz-step>
|
||||||
</nz-steps>
|
</nz-steps>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div class="card-title"
|
<div class="card-title"
|
||||||
>装卸货信息<span class="tip-font">预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时</span></div
|
>装卸货信息<span class="tip-font">预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时</span></div
|
||||||
>
|
>
|
||||||
<form nz-form [formGroup]="validateForm1" role="form">
|
<form nz-form [formGroup]="validateForm1" role="form">
|
||||||
@ -88,7 +92,7 @@
|
|||||||
placeholder="请输入装货地"
|
placeholder="请输入装货地"
|
||||||
/>
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
<span style="padding: 0 10px"
|
<span style="padding: 0 10px"
|
||||||
><i nz-icon nzType="menu" nzTheme="outline" style="color: #1890ff" (click)="openMap('start', idx)"></i
|
><i nz-icon nzType="menu" nzTheme="outline" style="color: #1890ff" (click)="openMap('start', idx)"></i
|
||||||
></span>
|
></span>
|
||||||
</div>
|
</div>
|
||||||
@ -99,7 +103,13 @@
|
|||||||
<nz-form-control [nzErrorTip]="'请输入联系人信息'">
|
<nz-form-control [nzErrorTip]="'请输入联系人信息'">
|
||||||
<div class="align-center">
|
<div class="align-center">
|
||||||
<input nz-input [(ngModel)]="data.appUserName" [ngModelOptions]="{ standalone: true }" maxlength="30" />
|
<input nz-input [(ngModel)]="data.appUserName" [ngModelOptions]="{ standalone: true }" maxlength="30" />
|
||||||
<input style="margin-left: 12px" nz-input [(ngModel)]="data.contractTelephone" [ngModelOptions]="{ standalone: true }" maxlength="11" />
|
<input
|
||||||
|
style="margin-left: 12px"
|
||||||
|
nz-input
|
||||||
|
[(ngModel)]="data.contractTelephone"
|
||||||
|
[ngModelOptions]="{ standalone: true }"
|
||||||
|
maxlength="11"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</nz-form-control>
|
</nz-form-control>
|
||||||
</nz-form-item>
|
</nz-form-item>
|
||||||
@ -125,7 +135,7 @@
|
|||||||
placeholder="请输入卸货地"
|
placeholder="请输入卸货地"
|
||||||
/>
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
<span style="padding: 0 10px"><i nz-icon nzType="menu" nzTheme="outline" style="color: #1890ff"></i></span>
|
<span style="padding: 0 10px"><i nz-icon nzType="menu" nzTheme="outline" style="color: #1890ff"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</nz-form-control>
|
</nz-form-control>
|
||||||
</nz-form-item>
|
</nz-form-item>
|
||||||
@ -134,19 +144,25 @@
|
|||||||
<nz-form-control [nzErrorTip]="'请输入联系人信息'">
|
<nz-form-control [nzErrorTip]="'请输入联系人信息'">
|
||||||
<div class="align-center">
|
<div class="align-center">
|
||||||
<input nz-input [(ngModel)]="data.appUserName" [ngModelOptions]="{ standalone: true }" maxlength="30" />
|
<input nz-input [(ngModel)]="data.appUserName" [ngModelOptions]="{ standalone: true }" maxlength="30" />
|
||||||
<input style="margin-left: 12px" nz-input [(ngModel)]="data.contractTelephone" [ngModelOptions]="{ standalone: true }" maxlength="11" />
|
<input
|
||||||
|
style="margin-left: 12px"
|
||||||
|
nz-input
|
||||||
|
[(ngModel)]="data.contractTelephone"
|
||||||
|
[ngModelOptions]="{ standalone: true }"
|
||||||
|
maxlength="11"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</nz-form-control>
|
</nz-form-control>
|
||||||
</nz-form-item>
|
</nz-form-item>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div nz-row [nzGutter]="24" style="margin-top: 24px">
|
<div nz-row [nzGutter]="24" style="margin-top: 24px">
|
||||||
<div nz-col [nzSpan]="9">
|
<div nz-col [nzSpan]="9">
|
||||||
<p class="time-info">计划装货时间:{{i?.loadPlanTime}}</p>
|
<p class="time-info">计划装货时间:{{ i?.loadPlanTime }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="8">
|
<div nz-col [nzSpan]="8">
|
||||||
<p class="time-info">计划卸货时间:{{i?.unloadPlanTime}}</p>
|
<p class="time-info">计划卸货时间:{{ i?.unloadPlanTime }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ng-template #endInconTemp1><i nz-icon nzType="global"></i></ng-template>
|
<ng-template #endInconTemp1><i nz-icon nzType="global"></i></ng-template>
|
||||||
@ -183,7 +199,7 @@
|
|||||||
/>
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template sf-template="number" let-item let-ui="ui">
|
<ng-template sf-template="number" let-item let-ui="ui">
|
||||||
<nz-input-group [nzAddOnAfter]="'车'">
|
<nz-input-group [nzAddOnAfter]="'车'">
|
||||||
<input
|
<input
|
||||||
@ -199,35 +215,31 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template sf-template="carmand" let-item let-ui="ui">
|
<ng-template sf-template="carmand" let-item let-ui="ui">
|
||||||
{{i?.goodsInfoList?.[0]?.maxWeightLabel}}/{{i?.goodsInfoList?.[0]?.maxCubeLabel}}
|
{{i?.goodsInfoList?.[0]?.maxWeightLabel}}/{{i?.goodsInfoList?.[0]?.maxCubeLabel}}
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template sf-template="drivers" let-item let-ui="ui">
|
<ng-template sf-template="drivers" let-item let-ui="ui">
|
||||||
{{i?.driverId}}
|
{{ i?.driverId }}
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template sf-template="weightModel" let-item let-ui="ui">
|
<ng-template sf-template="weightModel" let-item let-ui="ui">
|
||||||
{{i?.goodsInfoList?.[0]?.weight}}顿,{{i?.goodsInfoList?.[0]?.volume}}方,{{i?.goodsInfoList?.[0]?.number}}件
|
{{i?.goodsInfoList?.[0]?.weight}}顿,{{i?.goodsInfoList?.[0]?.volume}}方,{{i?.goodsInfoList?.[0]?.number}}件
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template sf-template="loadTime" let-item let-ui="ui">
|
<ng-template sf-template="loadTime" let-item let-ui="ui">
|
||||||
<nz-date-picker nzShowTime nzFormat="yyyy-MM-dd HH:mm:ss" [(ngModel)]="loadTime"></nz-date-picker>
|
<nz-date-picker nzShowTime nzFormat="yyyy-MM-dd HH:mm:ss" [(ngModel)]="loadTime"></nz-date-picker>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="unloadTime" let-item let-ui="ui">
|
<ng-template sf-template="unloadTime" let-item let-ui="ui">
|
||||||
<nz-date-picker nzShowTime nzFormat="yyyy-MM-dd HH:mm:ss" [(ngModel)]="unloadTime"></nz-date-picker>
|
<nz-date-picker nzShowTime nzFormat="yyyy-MM-dd HH:mm:ss" [(ngModel)]="unloadTime"></nz-date-picker>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
</sf>
|
</sf>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-card nzTitle="运费信息" #distannce3>
|
<nz-card nzTitle="运费信息" #distannce3>
|
||||||
<st #st [data]="i?.billExpenseDetails" [columns]="logColumns" [ps]="0" [page]="{ show: false, showSize: false }">
|
<st #st [data]="i?.billExpenseDetails" [columns]="logColumns" [ps]="0" [page]="{ show: false, showSize: false }"> </st>
|
||||||
|
<div>总计:{{ i?.total | currency: '¥' }}(运费¥3500.00,附加运费¥191.98,附加费率3.5%)</div>
|
||||||
</st>
|
|
||||||
<div>总计:{{i?.total | currency: '¥'}}(运费¥3500.00,附加运费¥191.98,附加费率3.5%)</div>
|
|
||||||
<div>收款人:</div>
|
<div>收款人:</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
@ -246,72 +258,70 @@
|
|||||||
<nz-card nzTitle="补充信息">
|
<nz-card nzTitle="补充信息">
|
||||||
<sv-container>
|
<sv-container>
|
||||||
<sv label="是否回单">
|
<sv label="是否回单">
|
||||||
{{i?.goodsResource?.stateReceipt ?'是':'否'}}
|
{{ i?.goodsResource?.stateReceipt ? '是' : '否' }}
|
||||||
</sv>
|
</sv>
|
||||||
<sv label="回单类型">
|
<sv label="回单类型">
|
||||||
{{i?.goodsResource?.receiptTypeLabel}}
|
{{ i?.goodsResource?.receiptTypeLabel }}
|
||||||
</sv>
|
|
||||||
<sv label="联系人">
|
|
||||||
{{i?.goodsResource?.receiptUserId}} / {{i?.supplementaryInformationVO?.phon}}
|
|
||||||
</sv>
|
</sv>
|
||||||
|
<sv label="联系人"> {{ i?.goodsResource?.receiptUserId }} / {{ i?.supplementaryInformationVO?.phon }} </sv>
|
||||||
<sv label="所在地区">
|
<sv label="所在地区">
|
||||||
{{i?.goodsResource?.receiptAddress}}
|
{{ i?.goodsResource?.receiptAddress }}
|
||||||
</sv>
|
</sv>
|
||||||
<sv label="详细地址">
|
<sv label="详细地址">
|
||||||
{{i?.goodsResource?.receiptAddress}}
|
{{ i?.goodsResource?.receiptAddress }}
|
||||||
</sv>
|
</sv>
|
||||||
</sv-container>
|
</sv-container>
|
||||||
<sv-container col="1" class="mt-md">
|
<sv-container col="1" class="mt-md">
|
||||||
<sv label="回单凭证">
|
<sv label="回单凭证">
|
||||||
<nz-upload
|
<nz-upload
|
||||||
class="avatar-uploader"
|
class="avatar-uploader"
|
||||||
[nzAction]="service.$api_upload_url"
|
[nzAction]="service.$api_upload_url"
|
||||||
[nzName]="'multipartFile'"
|
[nzName]="'multipartFile'"
|
||||||
nzListType="picture-card"
|
nzListType="picture-card"
|
||||||
[(nzFileList)]="listImagUrls"
|
[(nzFileList)]="listImagUrls"
|
||||||
[nzShowButton]="listImagUrls.length < 5"
|
[nzShowButton]="listImagUrls.length < 5"
|
||||||
[nzPreview]="handlePreview1"
|
[nzPreview]="handlePreview1"
|
||||||
[nzBeforeUpload]="beforeUpload"
|
[nzBeforeUpload]="beforeUpload"
|
||||||
(nzChange)="handleChange1($event)"
|
(nzChange)="handleChange1($event)"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<i nz-icon nzType="plus"></i>
|
<i nz-icon nzType="plus"></i>
|
||||||
<div style="margin-top: 8px">请上传图片</div>
|
<div style="margin-top: 8px">请上传图片</div>
|
||||||
</div>
|
</div>
|
||||||
</nz-upload>
|
</nz-upload>
|
||||||
<nz-modal [nzVisible]="previewVisible1" [nzContent]="modalContent" [nzFooter]="null" (nzOnCancel)="previewVisible1 = false">
|
<nz-modal [nzVisible]="previewVisible1" [nzContent]="modalContent" [nzFooter]="null" (nzOnCancel)="previewVisible1 = false">
|
||||||
<ng-template #modalContent>
|
<ng-template #modalContent>
|
||||||
<img [src]="previewImage1" [ngStyle]="{ width: '100%' }" />
|
<img [src]="previewImage1" [ngStyle]="{ width: '100%' }" />
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</nz-modal>
|
</nz-modal>
|
||||||
</sv>
|
</sv>
|
||||||
<sv label="备注">
|
<sv label="备注">
|
||||||
{{i?.goodsResource?.remarks}}
|
{{ i?.goodsResource?.remarks }}
|
||||||
</sv>
|
</sv>
|
||||||
</sv-container>
|
</sv-container>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div nz-row>
|
<div nz-row>
|
||||||
<nz-card nzTitle="轨迹信息" style="width: 100%;" #distannce5>
|
<nz-card nzTitle="轨迹信息" style="width: 100%" #distannce5>
|
||||||
<div nz-row >
|
<div nz-row>
|
||||||
<div nz-col [nzSpan]='12'>
|
<div nz-col [nzSpan]="12">
|
||||||
<!-- <st #st [data]="i?.auditRecordList" [columns]="logColumns" [ps]="0" [page]="{ show: false, showSize: false }">
|
<!-- <st #st [data]="i?.auditRecordList" [columns]="logColumns" [ps]="0" [page]="{ show: false, showSize: false }">
|
||||||
</st> -->
|
</st> -->
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]='12'>
|
<div nz-col [nzSpan]="12">
|
||||||
<amap-path-simplifier></amap-path-simplifier>
|
<amap-path-simplifier></amap-path-simplifier>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="附件信息" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="附件信息" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<app-imagelist [imgList]="imges"></app-imagelist>
|
<app-imagelist [imgList]="imges"></app-imagelist>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #nzModalFooter>
|
<ng-template #nzModalFooter>
|
||||||
<button nz-button nzType="primary" (click)="handleOK()" [disabled]="">取消</button>
|
<button nz-button nzType="primary" (click)="handleOK()" [disabled]="">取消</button>
|
||||||
<button nz-button nzType="default" (click)="handleCancel()">确定 </button>
|
<button nz-button nzType="default" (click)="handleCancel()">确定 </button>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</nz-modal>
|
</nz-modal>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 14:41:30
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html
|
* @LastEditTime : 2022-01-18 17:19:41
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
<page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent">
|
||||||
<ng-template #logo>
|
<ng-template #logo>
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
import { ViewChild } from '@angular/core';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 14:41:28
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
|
* @LastEditTime : 2022-01-18 17:20:08
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { STColumn } from '@delon/abc/st';
|
import { STColumn } from '@delon/abc/st';
|
||||||
import { _HttpClient } from '@delon/theme';
|
|
||||||
import { NzCardComponent } from 'ng-zorro-antd/card';
|
import { NzCardComponent } from 'ng-zorro-antd/card';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 14:38:28
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @LastEditTime : 2022-01-18 17:12:59
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<page-header-wrapper [title]="''">
|
<page-header-wrapper [title]="''">
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-12 14:01:33
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-14 15:02:52
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.html
|
* @LastEditTime : 2022-01-18 17:20:49
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\bulk\\confir-receipt\\confir-receipt.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<nz-alert
|
<nz-alert
|
||||||
style="padding-bottom: 15px;"
|
style="padding-bottom: 15px;"
|
||||||
nzType="warning"
|
nzType="warning"
|
||||||
|
|||||||
@ -1,29 +1,20 @@
|
|||||||
import { preloaderFinished } from '@delon/theme';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 16:34:59
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-14 15:02:52
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
* @LastEditTime : 2022-01-18 17:20:58
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\bulk\\confir-receipt\\confir-receipt.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {
|
|
||||||
SFComponent,
|
|
||||||
SFCustomWidgetSchema,
|
|
||||||
SFNumberWidgetSchema,
|
|
||||||
SFRadioWidgetSchema,
|
|
||||||
SFSchema,
|
|
||||||
SFSelectWidgetSchema,
|
|
||||||
SFTextareaWidgetSchema,
|
|
||||||
SFUISchema
|
|
||||||
} from '@delon/form';
|
|
||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
|
||||||
import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload';
|
import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload';
|
||||||
import { Observable, Observer } from 'rxjs';
|
import { Observable, Observer } from 'rxjs';
|
||||||
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
@ -38,9 +29,9 @@ function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
|||||||
styleUrls: ['./confir-receipt.component.less']
|
styleUrls: ['./confir-receipt.component.less']
|
||||||
})
|
})
|
||||||
export class ConfirReceiptComponent implements OnInit {
|
export class ConfirReceiptComponent implements OnInit {
|
||||||
i:any;
|
i: any;
|
||||||
Status:any;
|
Status: any;
|
||||||
detailList:any;
|
detailList: any;
|
||||||
data: any = {};
|
data: any = {};
|
||||||
driverList: any;
|
driverList: any;
|
||||||
payeeList: any;
|
payeeList: any;
|
||||||
@ -48,63 +39,63 @@ export class ConfirReceiptComponent implements OnInit {
|
|||||||
listImagUrls: any[] = [];
|
listImagUrls: any[] = [];
|
||||||
previewImage1 = '';
|
previewImage1 = '';
|
||||||
previewVisible1 = false;
|
previewVisible1 = false;
|
||||||
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public http: _HttpClient, public service: OrderManagementService) {}
|
constructor(
|
||||||
|
private modal: NzModalRef,
|
||||||
|
private msgSrv: NzMessageService,
|
||||||
|
public http: _HttpClient,
|
||||||
|
public service: OrderManagementService
|
||||||
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.initData()
|
this.initData();
|
||||||
}
|
}
|
||||||
|
|
||||||
save(): void {
|
save(): void {
|
||||||
// 大宗
|
// 大宗
|
||||||
console.log(this.listImagUrls)
|
console.log(this.listImagUrls);
|
||||||
let imgList : any= [];
|
let imgList: any = [];
|
||||||
if(this.listImagUrls.length > 0) {
|
if (this.listImagUrls.length > 0) {
|
||||||
this.listImagUrls.forEach((res :any) => {
|
this.listImagUrls.forEach((res: any) => {
|
||||||
if(res.url) {
|
if (res.url) {
|
||||||
imgList.push(res.url)
|
imgList.push(res.url);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
console.log(imgList)
|
console.log(imgList);
|
||||||
const params = {
|
const params = {
|
||||||
id: this.i?.id,
|
id: this.i?.id,
|
||||||
filePathList: imgList,
|
filePathList: imgList
|
||||||
}
|
};
|
||||||
console.log(params)
|
console.log(params);
|
||||||
this.service.request(this.service.$api_get_signBulkOrder, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_signBulkOrder, params).subscribe((res: any) => {
|
||||||
console.log(res.success)
|
console.log(res.success);
|
||||||
if(res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('确认签收成功!')
|
this.service.msgSrv.success('确认签收成功!');
|
||||||
this.modal.destroy(true);
|
this.modal.destroy(true);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
initData() {
|
initData() {
|
||||||
// 大宗
|
// 大宗
|
||||||
this.service.request(this.service.$api_get_getBulkSignForDetail, {id: this.i?.id}).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_getBulkSignForDetail, { id: this.i?.id }).subscribe((res: any) => {
|
||||||
console.log(res)
|
console.log(res);
|
||||||
this.detailList = res;
|
this.detailList = res;
|
||||||
let arr : any= []
|
let arr: any = [];
|
||||||
res.filePathList.forEach((element: any, index: any) => {
|
res.filePathList.forEach((element: any, index: any) => {
|
||||||
console.log(index)
|
console.log(index);
|
||||||
arr.push( {
|
arr.push({
|
||||||
url: element,
|
url: element,
|
||||||
status: 'done',
|
status: 'done',
|
||||||
uid: index
|
uid: index
|
||||||
})
|
|
||||||
});
|
});
|
||||||
this.listImagUrls = arr;
|
});
|
||||||
})
|
this.listImagUrls = arr;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
close(): void {
|
close(): void {
|
||||||
this.modal.destroy(true);
|
this.modal.destroy(true);
|
||||||
}
|
}
|
||||||
userAction() {
|
userAction() {}
|
||||||
|
|
||||||
}
|
|
||||||
handlePreview1 = async (file: NzUploadFile) => {
|
handlePreview1 = async (file: NzUploadFile) => {
|
||||||
if (!file.url && !file.preview) {
|
if (!file.url && !file.preview) {
|
||||||
file.preview = await getBase64(file.originFileObj!);
|
file.preview = await getBase64(file.originFileObj!);
|
||||||
@ -119,14 +110,14 @@ export class ConfirReceiptComponent implements OnInit {
|
|||||||
case 'done':
|
case 'done':
|
||||||
let fileList = [...info.fileList];
|
let fileList = [...info.fileList];
|
||||||
// 2. Read from response and show file link
|
// 2. Read from response and show file link
|
||||||
console.log(fileList)
|
console.log(fileList);
|
||||||
fileList = fileList.map((file: any) => {
|
fileList = fileList.map((file: any) => {
|
||||||
if (file.response) {
|
if (file.response) {
|
||||||
file.url = file.response.data.fullFilePath;
|
file.url = file.response.data.fullFilePath;
|
||||||
}
|
}
|
||||||
return file;
|
return file;
|
||||||
});
|
});
|
||||||
console.log(this.listImagUrls)
|
console.log(this.listImagUrls);
|
||||||
break;
|
break;
|
||||||
case 'error':
|
case 'error':
|
||||||
this.service.msgSrv.error('网络错误');
|
this.service.msgSrv.error('网络错误');
|
||||||
|
|||||||
@ -1,20 +1,22 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 17:02:31
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-14 14:03:07
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.html
|
* @LastEditTime : 2022-01-18 17:21:21
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\bulk\\update-freight\\update-freight.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<sf #sf [schema]="schema" [ui]="{ '*': { spanLabelFixed: 90, grid: { span: 24 } } }" [button]="'none'"> </sf>
|
<sf #sf [schema]="schema" [ui]="{ '*': { spanLabelFixed: 90, grid: { span: 24 } } }" [button]="'none'"> </sf>
|
||||||
<nz-divider style="margin-top: 0"></nz-divider>
|
<nz-divider style="margin-top: 0"></nz-divider>
|
||||||
<div>
|
<div>
|
||||||
<p style="font-size: 16px">
|
<p style="font-size: 16px">
|
||||||
<span style="font-weight: bolder"
|
<span style="font-weight: bolder"
|
||||||
>总运费:<span style="color: #dc112a">{{ data.totalFreight |currency }}</span></span
|
>总运费:<span style="color: #dc112a">{{ data.totalFreight | currency }}</span></span
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
<p style="margin-bottom: 0"> 运输费:{{ data.freight |currency }},附加费:{{ data.surcharge |currency}}</p>
|
<p style="margin-bottom: 0"> 运输费:{{ data.freight | currency }},附加费:{{ data.surcharge | currency }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
|
|||||||
@ -1,17 +1,15 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 17:02:25
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-14 14:03:07
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
* @LastEditTime : 2022-01-18 17:21:33
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\bulk\\update-freight\\update-freight.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
||||||
import {
|
import { SFComponent, SFNumberWidgetSchema, SFSchema, SFSelectWidgetSchema, SFStringWidgetSchema, SFTextWidgetSchema } from '@delon/form';
|
||||||
SFComponent, SFNumberWidgetSchema, SFSchema,
|
|
||||||
SFSelectWidgetSchema,
|
|
||||||
SFStringWidgetSchema, SFTextWidgetSchema
|
|
||||||
} from '@delon/form';
|
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { Subscription } from 'rxjs';
|
import { Subscription } from 'rxjs';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
@ -29,7 +27,7 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
calculateSub!: Subscription;
|
calculateSub!: Subscription;
|
||||||
constructor(private service: OrderManagementService,private modal: NzModalRef, ) {}
|
constructor(private service: OrderManagementService, private modal: NzModalRef) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.schema = this.initSF(this.data);
|
this.schema = this.initSF(this.data);
|
||||||
@ -47,8 +45,8 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
freightPrice: {
|
freightPrice: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
title: '运费单价',
|
title: '运费单价',
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
ui: {
|
ui: {
|
||||||
addOnAfter: data.freightTypeLabel,
|
addOnAfter: data.freightTypeLabel,
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
@ -107,8 +105,8 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
title: '装货重量',
|
title: '装货重量',
|
||||||
default: data.acceptWeight,
|
default: data.acceptWeight,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
ui: {
|
ui: {
|
||||||
unit: '吨',
|
unit: '吨',
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
@ -123,8 +121,8 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
title: '装货体积',
|
title: '装货体积',
|
||||||
default: data.acceptVolume,
|
default: data.acceptVolume,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
ui: {
|
ui: {
|
||||||
unit: '吨',
|
unit: '吨',
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
@ -139,8 +137,8 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
title: '卸货重量',
|
title: '卸货重量',
|
||||||
default: data.settlementWeight,
|
default: data.settlementWeight,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
ui: {
|
ui: {
|
||||||
unit: '吨',
|
unit: '吨',
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
@ -155,8 +153,8 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
title: '卸货体积',
|
title: '卸货体积',
|
||||||
default: data.settlementVolume,
|
default: data.settlementVolume,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
ui: {
|
ui: {
|
||||||
unit: '吨',
|
unit: '吨',
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
@ -207,10 +205,10 @@ export class UpdateFreightComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
if(!this.sf.valid){
|
if (!this.sf.valid) {
|
||||||
this.sf.validator({ emitError: true });
|
this.sf.validator({ emitError: true });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.service.request(this.service.$api_change_bulk, { billId: this.data.billId, ...this.sf.value }).subscribe(res => {
|
this.service.request(this.service.$api_change_bulk, { billId: this.data.billId, ...this.sf.value }).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('变更运费成功');
|
this.service.msgSrv.success('变更运费成功');
|
||||||
|
|||||||
@ -1,27 +1,22 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-21 10:14:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 16:35:03
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-21 10:14:52
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\cancel\cancel.component.ts
|
* @LastEditTime : 2022-01-18 17:21:43
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\cancel\\cancel.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import {
|
import {
|
||||||
SFComponent,
|
SFComponent, SFSchema,
|
||||||
SFCustomWidgetSchema,
|
|
||||||
SFNumberWidgetSchema,
|
|
||||||
SFRadioWidgetSchema,
|
|
||||||
SFSchema,
|
|
||||||
SFTextareaWidgetSchema,
|
SFTextareaWidgetSchema,
|
||||||
SFUISchema
|
SFUISchema
|
||||||
} from '@delon/form';
|
} from '@delon/form';
|
||||||
import { _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
||||||
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-order-management-cancel',
|
selector: 'app-order-management-cancel',
|
||||||
templateUrl: './cancel.component.html'
|
templateUrl: './cancel.component.html'
|
||||||
@ -36,7 +31,7 @@ export class OneCarOrderCancelComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.initSF();
|
this.initSF();
|
||||||
console.log(this.i.billStatusLabel)
|
console.log(this.i.billStatusLabel);
|
||||||
}
|
}
|
||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-15 13:17:42
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-12 14:04:38
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\confir-receipt\confir-receipt.component.html
|
* @LastEditTime : 2022-01-18 17:21:57
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\confir-receipt\\confir-receipt.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<nz-alert
|
<nz-alert
|
||||||
style="padding-bottom: 15px"
|
style="padding-bottom: 15px"
|
||||||
@ -18,10 +20,10 @@
|
|||||||
<st #st [widthMode]="{ type: 'strict' }" [data]="costDetail" [columns]="columns" bordered="true" [page]="{ show: false }"></st>
|
<st #st [widthMode]="{ type: 'strict' }" [data]="costDetail" [columns]="columns" bordered="true" [page]="{ show: false }"></st>
|
||||||
</sv>
|
</sv>
|
||||||
<sv label="司机车辆">
|
<sv label="司机车辆">
|
||||||
<div>{{dataInfo?.driverName}} / {{dataInfo?.driverPhone}}/ {{dataInfo?.carNo}}</div>
|
<div>{{ dataInfo?.driverName }} / {{ dataInfo?.driverPhone }}/ {{ dataInfo?.carNo }}</div>
|
||||||
</sv>
|
</sv>
|
||||||
<sv label="收款人">
|
<sv label="收款人">
|
||||||
<div>{{dataInfo?.payeeName}} / {{dataInfo?.payeePhone}}</div>
|
<div>{{ dataInfo?.payeeName }} / {{ dataInfo?.payeePhone }}</div>
|
||||||
</sv>
|
</sv>
|
||||||
<sv label="回单凭证">
|
<sv label="回单凭证">
|
||||||
<nz-upload
|
<nz-upload
|
||||||
|
|||||||
@ -1,30 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-15 13:17:42
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-18 16:35:11
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\confir-receipt\confir-receipt.component.ts
|
* @LastEditTime : 2022-01-18 17:22:10
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\confir-receipt\\confir-receipt.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { STColumn } from '@delon/abc/st';
|
||||||
import {
|
|
||||||
SFComponent,
|
|
||||||
SFCustomWidgetSchema,
|
|
||||||
SFNumberWidgetSchema,
|
|
||||||
SFRadioWidgetSchema,
|
|
||||||
SFSchema,
|
|
||||||
SFSelectWidgetSchema,
|
|
||||||
SFTextareaWidgetSchema,
|
|
||||||
SFUISchema
|
|
||||||
} from '@delon/form';
|
|
||||||
import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload';
|
|
||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload';
|
||||||
import { Observable, Observer } from 'rxjs';
|
import { Observable, Observer } from 'rxjs';
|
||||||
import { STColumn } from '@delon/abc/st';
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
@ -40,47 +31,52 @@ function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
|||||||
})
|
})
|
||||||
export class VehicleConfirReceiptComponent implements OnInit {
|
export class VehicleConfirReceiptComponent implements OnInit {
|
||||||
record: any = {};
|
record: any = {};
|
||||||
i:any;
|
i: any;
|
||||||
Status: any
|
Status: any;
|
||||||
costDetail: any // 费用明细
|
costDetail: any; // 费用明细
|
||||||
columns!: STColumn[];
|
columns!: STColumn[];
|
||||||
previewVisible1 = false;
|
previewVisible1 = false;
|
||||||
dataInfo: any;
|
dataInfo: any;
|
||||||
detailList: any
|
detailList: any;
|
||||||
data: any = {};
|
data: any = {};
|
||||||
previewImage1 = '';
|
previewImage1 = '';
|
||||||
listImagUrls: any[] = [];
|
listImagUrls: any[] = [];
|
||||||
payeeList: any;
|
payeeList: any;
|
||||||
driverList: any;
|
driverList: any;
|
||||||
carList: any;
|
carList: any;
|
||||||
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public http: _HttpClient,public service: OrderManagementService) {}
|
constructor(
|
||||||
|
private modal: NzModalRef,
|
||||||
|
private msgSrv: NzMessageService,
|
||||||
|
public http: _HttpClient,
|
||||||
|
public service: OrderManagementService
|
||||||
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.initST()
|
this.initST();
|
||||||
this.initData()
|
this.initData();
|
||||||
}
|
}
|
||||||
|
|
||||||
save(): void {
|
save(): void {
|
||||||
let imgList : any= [];
|
let imgList: any = [];
|
||||||
if(this.listImagUrls.length > 0) {
|
if (this.listImagUrls.length > 0) {
|
||||||
this.listImagUrls.forEach((res :any) => {
|
this.listImagUrls.forEach((res: any) => {
|
||||||
if(res.url) {
|
if (res.url) {
|
||||||
imgList.push(res.url)
|
imgList.push(res.url);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
console.log(imgList)
|
console.log(imgList);
|
||||||
const params = {
|
const params = {
|
||||||
id: this.i?.id,
|
id: this.i?.id,
|
||||||
filePathList: imgList,
|
filePathList: imgList
|
||||||
}
|
};
|
||||||
this.service.request(this.service.$api_get_signWholeOrder, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_signWholeOrder, params).subscribe((res: any) => {
|
||||||
console.log(res)
|
console.log(res);
|
||||||
if(res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('确认签收成功!')
|
this.service.msgSrv.success('确认签收成功!');
|
||||||
this.modal.destroy();
|
this.modal.destroy();
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
handlePreview1 = async (file: NzUploadFile) => {
|
handlePreview1 = async (file: NzUploadFile) => {
|
||||||
if (!file.url && !file.preview) {
|
if (!file.url && !file.preview) {
|
||||||
@ -92,7 +88,7 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
|||||||
close(): void {
|
close(): void {
|
||||||
this.modal.destroy();
|
this.modal.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
beforeUpload = (file: NzUploadFile, _fileList: NzUploadFile[]) => {
|
beforeUpload = (file: NzUploadFile, _fileList: NzUploadFile[]) => {
|
||||||
return new Observable((observer: Observer<boolean>) => {
|
return new Observable((observer: Observer<boolean>) => {
|
||||||
const isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/gif' || file.type === 'image/bmp';
|
const isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/gif' || file.type === 'image/bmp';
|
||||||
@ -114,35 +110,35 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
initData() {
|
initData() {
|
||||||
// 大宗
|
// 大宗
|
||||||
this.service.request(this.service.$api_get_getWholeSignForDetail, {id: this.i?.id}).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_getWholeSignForDetail, { id: this.i?.id }).subscribe((res: any) => {
|
||||||
console.log(res)
|
console.log(res);
|
||||||
this.dataInfo = res;
|
this.dataInfo = res;
|
||||||
const cost: any = {}
|
const cost: any = {};
|
||||||
res.mybidDetailInfo.forEach((element: any) => {
|
res.mybidDetailInfo.forEach((element: any) => {
|
||||||
if(element.expenseName === "预付" || element.expenseCode === 'PRE') {
|
if (element.expenseName === '预付' || element.expenseCode === 'PRE') {
|
||||||
cost.PRE = element.price
|
cost.PRE = element.price;
|
||||||
} else if(element.expenseName === "到付" || element.expenseCode === 'RECE') {
|
} else if (element.expenseName === '到付' || element.expenseCode === 'RECE') {
|
||||||
cost.RECE = element.price
|
cost.RECE = element.price;
|
||||||
} else if(element.expenseName === "回单付" || element.expenseCode === 'BACK') {
|
} else if (element.expenseName === '回单付' || element.expenseCode === 'BACK') {
|
||||||
cost.BACK = element.price
|
cost.BACK = element.price;
|
||||||
} else if(element.expenseName === "油卡" || element.expenseCode === 'OIL') {
|
} else if (element.expenseName === '油卡' || element.expenseCode === 'OIL') {
|
||||||
cost.OIL = element.price
|
cost.OIL = element.price;
|
||||||
} else if(element.expenseName === "总费用") {
|
} else if (element.expenseName === '总费用') {
|
||||||
cost.traiPrice = element.price
|
cost.traiPrice = element.price;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
let arr : any= []
|
let arr: any = [];
|
||||||
res.filePathList.forEach((element: any, index: any) => {
|
res.filePathList.forEach((element: any, index: any) => {
|
||||||
console.log(index)
|
console.log(index);
|
||||||
arr.push( {
|
arr.push({
|
||||||
url: element,
|
url: element,
|
||||||
status: 'done',
|
status: 'done',
|
||||||
uid: index
|
uid: index
|
||||||
})
|
|
||||||
});
|
});
|
||||||
this.listImagUrls = arr;
|
});
|
||||||
this.costDetail = [cost];
|
this.listImagUrls = arr;
|
||||||
})
|
this.costDetail = [cost];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
initST() {
|
initST() {
|
||||||
@ -169,7 +165,7 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
handleChange1(info: NzUploadChangeParam): void {
|
handleChange1(info: NzUploadChangeParam): void {
|
||||||
switch (info.file.status) {
|
switch (info.file.status) {
|
||||||
case 'uploading':
|
case 'uploading':
|
||||||
@ -177,19 +173,18 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
|||||||
case 'done':
|
case 'done':
|
||||||
let fileList = [...info.fileList];
|
let fileList = [...info.fileList];
|
||||||
// 2. Read from response and show file link
|
// 2. Read from response and show file link
|
||||||
console.log(fileList)
|
console.log(fileList);
|
||||||
fileList = fileList.map((file: any) => {
|
fileList = fileList.map((file: any) => {
|
||||||
if (file.response) {
|
if (file.response) {
|
||||||
file.url = file.response.data.fullFilePath;
|
file.url = file.response.data.fullFilePath;
|
||||||
}
|
}
|
||||||
return file;
|
return file;
|
||||||
});
|
});
|
||||||
console.log(this.listImagUrls)
|
console.log(this.listImagUrls);
|
||||||
break;
|
break;
|
||||||
case 'error':
|
case 'error':
|
||||||
this.service.msgSrv.error('网络错误');
|
this.service.msgSrv.error('网络错误');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,13 +1,15 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-15 13:17:42
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-29 20:23:18
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-29 16:48:16
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\update-freight\update-freight.component.html
|
* @LastEditTime : 2022-01-18 17:22:24
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '已选择条订单'" nzShowIcon></nz-alert>
|
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '已选择条订单'" nzShowIcon></nz-alert>
|
||||||
<sf style="margin-top: 15px;" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
<sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save(sf?.value)" [disabled]="sf?.valid">确定</button>
|
<button nz-button type="submit" nzType="primary" (click)="save(sf?.value)" [disabled]="sf?.valid">确定</button>
|
||||||
|
|||||||
@ -1,19 +1,19 @@
|
|||||||
import { Params } from '@angular/router';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 16:20:06
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-29 16:48:16
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
* @LastEditTime : 2022-01-18 17:22:37
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import {SFComponent, SFNumberWidgetSchema, SFSchema, SFUISchema} from '@delon/form';
|
import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
|
||||||
|
import { ShipperBaseService } from '@shared';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
import { ShipperBaseService } from '@shared';
|
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-order-management-vehicle-freight-people',
|
selector: 'app-order-management-vehicle-freight-people',
|
||||||
@ -33,11 +33,11 @@ export class VehicleFreightPeopleComponent implements OnInit {
|
|||||||
private modal: NzModalRef,
|
private modal: NzModalRef,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
public service: OrderManagementService,
|
public service: OrderManagementService,
|
||||||
public shipperservice: ShipperBaseService,
|
public shipperservice: ShipperBaseService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
console.log(this.data)
|
console.log(this.data);
|
||||||
this.initSF();
|
this.initSF();
|
||||||
}
|
}
|
||||||
initSF() {
|
initSF() {
|
||||||
@ -50,12 +50,12 @@ export class VehicleFreightPeopleComponent implements OnInit {
|
|||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value,
|
_$expand: (value: boolean) => value
|
||||||
},
|
},
|
||||||
allowClear: true,
|
allowClear: true,
|
||||||
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
|
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
required: ['enterpriseInfoName']
|
required: ['enterpriseInfoName']
|
||||||
};
|
};
|
||||||
@ -68,12 +68,12 @@ export class VehicleFreightPeopleComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
console.log(this.sf.value)
|
console.log(this.sf.value);
|
||||||
const params = {
|
const params = {
|
||||||
billIds: this.data?.ids,
|
billIds: this.data?.ids,
|
||||||
enterpriseInfoId: this.sf.value?.enterpriseInfoName
|
enterpriseInfoId: this.sf.value?.enterpriseInfoName
|
||||||
};
|
};
|
||||||
console.log(params)
|
console.log(params);
|
||||||
this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.modal.destroy();
|
this.modal.destroy();
|
||||||
@ -85,5 +85,4 @@ export class VehicleFreightPeopleComponent implements OnInit {
|
|||||||
close(): void {
|
close(): void {
|
||||||
this.modal.destroy();
|
this.modal.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,45 +1,38 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-15 13:17:42
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-05 16:38:21
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-29 17:27:37
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\update-freight\update-freight.component.html
|
* @LastEditTime : 2022-01-18 17:22:55
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '条订单,未认证司机不可设置为车队长,合同单车队长需绑定收款账户!'" nzShowIcon></nz-alert>
|
<nz-alert
|
||||||
|
nzType="info"
|
||||||
|
[nzMessage]="'已选择' + data?.ids?.length + '条订单,未认证司机不可设置为车队长,合同单车队长需绑定收款账户!'"
|
||||||
|
nzShowIcon
|
||||||
|
></nz-alert>
|
||||||
<div nz-row>
|
<div nz-row>
|
||||||
<div nz-col [nzSpan]="16">
|
<div nz-col [nzSpan]="16">
|
||||||
<sf style="margin-top: 15px;" #sf mode="edit" [schema]="schema" [ui]="ui" button='none'>
|
<sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"> </sf>
|
||||||
</sf>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div nz-col [nzSpan]="1" style="margin-top: 15px">
|
||||||
<div nz-col [nzSpan]="1" style="margin-top: 15px;" >
|
<button style="display: inline-block" nz-button nzType="primary" (click)="initDate()">搜索</button>
|
||||||
<button style="display: inline-block;" nz-button nzType="primary" (click)="initDate()">搜索</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<st #st
|
<st #st [data]="dataList" [columns]="Columns" [loadingDelay]="500">
|
||||||
[data]="dataList"
|
|
||||||
[columns]="Columns"
|
|
||||||
[loadingDelay]="500"
|
|
||||||
>
|
|
||||||
<ng-template st-row="avatar" let-item let-index="index">
|
<ng-template st-row="avatar" let-item let-index="index">
|
||||||
<img style="height: 20px;" [src]="item?.avatar" alt="">
|
<img style="height: 20px" [src]="item?.avatar" alt="" />
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="bankList" let-item let-index="index">
|
<ng-template st-row="bankList" let-item let-index="index">
|
||||||
<nz-select [(ngModel)]="bankData" style="width: 200px;">
|
<nz-select [(ngModel)]="bankData" style="width: 200px">
|
||||||
<nz-option
|
<nz-option *ngFor="let i of item.bankList" [nzLabel]="i.bankCardNumber" [nzValue]="i.id"></nz-option>
|
||||||
*ngFor="let i of item.bankList"
|
|
||||||
[nzLabel]="i.bankCardNumber"
|
|
||||||
[nzValue]="i.id"
|
|
||||||
></nz-option>
|
|
||||||
</nz-select>
|
</nz-select>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="paymentMethodRate" let-item let-index="index">
|
<ng-template st-row="paymentMethodRate" let-item let-index="index">
|
||||||
<input nz-input [ngModel]="item?.paymentMethodRate" (ngModelChange)="st.setRow(index, { paymentMethodRate: $event })" />
|
<input nz-input [ngModel]="item?.paymentMethodRate" (ngModelChange)="st.setRow(index, { paymentMethodRate: $event })" />
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
<!-- <div class="modal-footer">
|
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="sf.valid">确定</button>
|
|
||||||
</div> -->
|
|
||||||
@ -1,14 +1,16 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-05 16:27:22
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-30 14:45:39
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
* @LastEditTime : 2022-01-18 17:23:11
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { STColumn, STComponent } from '@delon/abc/st';
|
import { STColumn, STComponent } from '@delon/abc/st';
|
||||||
import {SFComponent, SFNumberWidgetSchema, SFSchema, SFUISchema} from '@delon/form';
|
import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
@ -23,16 +25,16 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
|||||||
@ViewChild('st', { static: false }) st!: STComponent;
|
@ViewChild('st', { static: false }) st!: STComponent;
|
||||||
schema: SFSchema = {};
|
schema: SFSchema = {};
|
||||||
ui: SFUISchema = {};
|
ui: SFUISchema = {};
|
||||||
Columns: STColumn[] =[]
|
Columns: STColumn[] = [];
|
||||||
aggreechecked = false;
|
aggreechecked = false;
|
||||||
dataList: any =[]
|
dataList: any = [];
|
||||||
data: any;
|
data: any;
|
||||||
bankData: any;
|
bankData: any;
|
||||||
|
|
||||||
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService, ) {}
|
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
console.log(this.data)
|
console.log(this.data);
|
||||||
this.initSF();
|
this.initSF();
|
||||||
this.initST();
|
this.initST();
|
||||||
}
|
}
|
||||||
@ -43,7 +45,7 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
title: '车队长手机号',
|
title: '车队长手机号',
|
||||||
maxLength: 11
|
maxLength: 11
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
required: ['mobile']
|
required: ['mobile']
|
||||||
};
|
};
|
||||||
@ -56,9 +58,9 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
initST() {
|
initST() {
|
||||||
this.Columns = [
|
this.Columns = [
|
||||||
{ title: '司机头像', render: 'avatar',width: '120px', },
|
{ title: '司机头像', render: 'avatar', width: '120px' },
|
||||||
{ title: '司机姓名', index: 'name' ,width: '120px',},
|
{ title: '司机姓名', index: 'name', width: '120px' },
|
||||||
{
|
{
|
||||||
title: '实名认证状态',
|
title: '实名认证状态',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'certificationStatus',
|
index: 'certificationStatus',
|
||||||
@ -68,11 +70,11 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
|||||||
'-1': { text: '未提交', color: 'warning' },
|
'-1': { text: '未提交', color: 'warning' },
|
||||||
'0': { text: '待审核', color: 'warning' },
|
'0': { text: '待审核', color: 'warning' },
|
||||||
'1': { text: '通过', color: 'success' },
|
'1': { text: '通过', color: 'success' },
|
||||||
'2': { text: '驳回', color: 'error' },
|
'2': { text: '驳回', color: 'error' }
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
{ title: '收款账户',width: '200px', render: 'bankList' },
|
{ title: '收款账户', width: '200px', render: 'bankList' },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
width: '120px',
|
width: '120px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
@ -80,19 +82,18 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
text: '设置',
|
text: '设置',
|
||||||
click: item => {
|
click: item => {
|
||||||
this.set(item)
|
this.set(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
];
|
||||||
];
|
}
|
||||||
}
|
set(value: any): void {
|
||||||
set(value: any): void {
|
console.log(this.st?._data);
|
||||||
console.log(this.st?._data)
|
console.log(this.data);
|
||||||
console.log(this.data)
|
console.log(value);
|
||||||
console.log(value)
|
console.log(this.bankData);
|
||||||
console.log(this.bankData)
|
|
||||||
const params = {
|
const params = {
|
||||||
billIds: this.data?.ids,
|
billIds: this.data?.ids,
|
||||||
carCaptainId: value.id,
|
carCaptainId: value.id,
|
||||||
@ -110,12 +111,12 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
|||||||
initDate() {
|
initDate() {
|
||||||
const params = {
|
const params = {
|
||||||
fetchBank: 1,
|
fetchBank: 1,
|
||||||
...this.sf?.value,
|
...this.sf?.value
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_getCarCaptainByMobile, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_getCarCaptainByMobile, params).subscribe((res: any) => {
|
||||||
console.log(res)
|
console.log(res);
|
||||||
if (res) {
|
if (res) {
|
||||||
this.dataList = [res]
|
this.dataList = [res];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,14 +1,16 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-15 13:17:42
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-04 11:10:46
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-29 14:51:07
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\update-freight\update-freight.component.html
|
* @LastEditTime : 2022-01-18 17:23:25
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '已选择条订单'" nzShowIcon></nz-alert>
|
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '已选择条订单'" nzShowIcon></nz-alert>
|
||||||
<sf style="margin-top: 15px;" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
<sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" >确定</button>
|
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)">确定</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,24 +1,16 @@
|
|||||||
import { preloaderFinished } from '@delon/theme';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-04 11:21:29
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-29 14:51:07
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
* @LastEditTime : 2022-01-18 17:23:46
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
||||||
import {
|
import { SFComponent, SFNumberWidgetSchema, SFSchema, SFUISchema } from '@delon/form';
|
||||||
SFComponent,
|
|
||||||
SFCustomWidgetSchema,
|
|
||||||
SFNumberWidgetSchema,
|
|
||||||
SFRadioWidgetSchema,
|
|
||||||
SFSchema,
|
|
||||||
SFSelectWidgetSchema,
|
|
||||||
SFTextareaWidgetSchema,
|
|
||||||
SFUISchema
|
|
||||||
} from '@delon/form';
|
|
||||||
import { _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
@ -41,7 +33,7 @@ export class VehicleModifyRateComponent implements OnInit {
|
|||||||
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService) {}
|
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
console.log(this.data)
|
console.log(this.data);
|
||||||
this.initSF();
|
this.initSF();
|
||||||
}
|
}
|
||||||
initSF() {
|
initSF() {
|
||||||
@ -53,9 +45,9 @@ export class VehicleModifyRateComponent implements OnInit {
|
|||||||
ui: {
|
ui: {
|
||||||
unit: '%',
|
unit: '%',
|
||||||
widgetWidth: 200,
|
widgetWidth: 200,
|
||||||
precision: 2,
|
precision: 2
|
||||||
} as SFNumberWidgetSchema
|
} as SFNumberWidgetSchema
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
required: ['additionalRate']
|
required: ['additionalRate']
|
||||||
};
|
};
|
||||||
@ -68,23 +60,22 @@ export class VehicleModifyRateComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
if(!this.sf.value?.additionalRate) {
|
if (!this.sf.value?.additionalRate) {
|
||||||
this.service.msgSrv.warning('请填写附加费!')
|
this.service.msgSrv.warning('请填写附加费!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(this.sf.value)
|
console.log(this.sf.value);
|
||||||
const params = {
|
const params = {
|
||||||
ids: this.data?.ids,
|
ids: this.data?.ids,
|
||||||
...this.sf.value
|
...this.sf.value
|
||||||
|
|
||||||
};
|
};
|
||||||
console.log(params)
|
console.log(params);
|
||||||
this.service.request(this.service.$api_set_updateAdditionalRateBatch, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_set_updateAdditionalRateBatch, params).subscribe((res: any) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.modal.close(true);
|
this.modal.close(true);
|
||||||
this.service.msgSrv.success('变更运费成功');
|
this.service.msgSrv.success('变更运费成功');
|
||||||
} else {
|
} else {
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -92,5 +83,4 @@ export class VehicleModifyRateComponent implements OnInit {
|
|||||||
close(): void {
|
close(): void {
|
||||||
this.modal.destroy();
|
this.modal.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,29 +1,30 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 15:53:03
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-20 19:53:23
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\sure-depart\sure-depart.component.html
|
* @LastEditTime : 2022-01-18 17:23:52
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\sure-arrive\\sure-arrive.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<sf #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="formData" button="none">
|
<sf #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="formData" button="none">
|
||||||
<ng-template sf-template="weight" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="weight" let-me let-ui="ui" let-schema="schema">
|
||||||
<div style="display: flex;">
|
<div style="display: flex">
|
||||||
<nz-input-number [(ngModel)]="data.weight" [nzMin]="1" [nzMax]="10" [nzStep]="1"></nz-input-number>
|
<nz-input-number [(ngModel)]="data.weight" [nzMin]="1" [nzMax]="10" [nzStep]="1"></nz-input-number>
|
||||||
<div class="left_btn">吨</div>
|
<div class="left_btn">吨</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="volume" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="volume" let-me let-ui="ui" let-schema="schema">
|
||||||
<div style="display: flex;">
|
<div style="display: flex">
|
||||||
<nz-input-number [(ngModel)]="data.volume" [nzMin]="1" [nzMax]="10" [nzStep]="1"></nz-input-number>
|
<nz-input-number [(ngModel)]="data.volume" [nzMin]="1" [nzMax]="10" [nzStep]="1"></nz-input-number>
|
||||||
<div class="left_btn">方</div>
|
<div class="left_btn">方</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</sf>
|
</sf>
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [nzLoading]="http.loading"
|
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [nzLoading]="http.loading">确认到车</button>
|
||||||
>确认到车</button
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,29 +1,30 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 15:53:03
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-21 18:55:37
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\sure-depart\sure-depart.component.html
|
* @LastEditTime : 2022-01-18 17:24:01
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\sure-depart\\sure-depart.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<sf #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="i" button="none">
|
<sf #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="i" button="none">
|
||||||
<ng-template sf-template="weight" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="weight" let-me let-ui="ui" let-schema="schema">
|
||||||
<div style="display: flex;">
|
<div style="display: flex">
|
||||||
<nz-input-number [(ngModel)]="data.weight" [nzMin]="1" [nzMax]="999999" [nzStep]="1"></nz-input-number>
|
<nz-input-number [(ngModel)]="data.weight" [nzMin]="1" [nzMax]="999999" [nzStep]="1"></nz-input-number>
|
||||||
<div class="left_btn">吨</div>
|
<div class="left_btn">吨</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="volume" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="volume" let-me let-ui="ui" let-schema="schema">
|
||||||
<div style="display: flex;">
|
<div style="display: flex">
|
||||||
<nz-input-number [(ngModel)]="data.volume" [nzMin]="1" [nzMax]="999999" [nzStep]="1"></nz-input-number>
|
<nz-input-number [(ngModel)]="data.volume" [nzMin]="1" [nzMax]="999999" [nzStep]="1"></nz-input-number>
|
||||||
<div class="left_btn">方</div>
|
<div class="left_btn">方</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</sf>
|
</sf>
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [nzLoading]="http.loading"
|
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [nzLoading]="http.loading">确认发车</button>
|
||||||
>确认发车</button
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-15 13:17:42
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 14:52:34
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\update-freight\update-freight.component.html
|
* @LastEditTime : 2022-01-18 17:24:08
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<sf #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
<sf #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
||||||
<nz-divider></nz-divider>
|
<nz-divider></nz-divider>
|
||||||
<div>
|
<div>
|
||||||
@ -13,7 +16,7 @@
|
|||||||
<span style="font-weight: bolder"
|
<span style="font-weight: bolder"
|
||||||
>总运费:<span style="color: #dc112a">{{ data.totalFreight | currency }}</span></span
|
>总运费:<span style="color: #dc112a">{{ data.totalFreight | currency }}</span></span
|
||||||
>
|
>
|
||||||
(运输费:{{ data.freight | currency }},附加费:{{ data.surcharge | currency}})
|
(运输费:{{ data.freight | currency }},附加费:{{ data.surcharge | currency }})
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<label nz-checkbox [(ngModel)]="aggreechecked">确认已阅读并知晓<a>《变更协议》</a></label>
|
<label nz-checkbox [(ngModel)]="aggreechecked">确认已阅读并知晓<a>《变更协议》</a></label>
|
||||||
|
|||||||
@ -1,28 +1,19 @@
|
|||||||
import { preloaderFinished } from '@delon/theme';
|
|
||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 14:03:07
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 15:26:14
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
* @LastEditTime : 2022-01-18 17:24:18
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
||||||
import {
|
import { SFComponent, SFNumberWidgetSchema, SFSchema, SFTextareaWidgetSchema, SFUISchema } from '@delon/form';
|
||||||
SFComponent,
|
|
||||||
SFCustomWidgetSchema,
|
|
||||||
SFNumberWidgetSchema,
|
|
||||||
SFRadioWidgetSchema,
|
|
||||||
SFSchema,
|
|
||||||
SFSelectWidgetSchema,
|
|
||||||
SFTextareaWidgetSchema,
|
|
||||||
SFUISchema
|
|
||||||
} from '@delon/form';
|
|
||||||
import { _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { OrderManagementService } from '../../../services/order-management.service';
|
|
||||||
import { Subscription } from 'rxjs';
|
import { Subscription } from 'rxjs';
|
||||||
|
import { OrderManagementService } from '../../../services/order-management.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-order-management-vehicle-update-freight',
|
selector: 'app-order-management-vehicle-update-freight',
|
||||||
@ -58,8 +49,8 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
title: '预付',
|
title: '预付',
|
||||||
default: info.prePay?.price || 0,
|
default: info.prePay?.price || 0,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
readOnly: info.prePay?.paymentStatus === '2' || info.prePay?.paymentStatus === '4',
|
readOnly: info.prePay?.paymentStatus === '2' || info.prePay?.paymentStatus === '4',
|
||||||
ui: {
|
ui: {
|
||||||
prefix: '¥',
|
prefix: '¥',
|
||||||
@ -72,8 +63,8 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
title: '到付',
|
title: '到付',
|
||||||
default: info.toPay?.price || 0,
|
default: info.toPay?.price || 0,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
readOnly: info.toPay?.paymentStatus === '2' || info.toPay?.paymentStatus === '4',
|
readOnly: info.toPay?.paymentStatus === '2' || info.toPay?.paymentStatus === '4',
|
||||||
ui: {
|
ui: {
|
||||||
prefix: '¥',
|
prefix: '¥',
|
||||||
@ -86,7 +77,7 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
|||||||
// type: 'number',
|
// type: 'number',
|
||||||
// title: '油卡',
|
// title: '油卡',
|
||||||
// default: 0.0,
|
// default: 0.0,
|
||||||
// minimum:0,
|
// minimum:0,
|
||||||
// readOnly: this.i.oilCardPayStatus === '1' || this.i.oilCardPayStatus === '3',
|
// readOnly: this.i.oilCardPayStatus === '1' || this.i.oilCardPayStatus === '3',
|
||||||
// ui: {
|
// ui: {
|
||||||
// prefix: '¥',
|
// prefix: '¥',
|
||||||
@ -98,9 +89,9 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
|||||||
receiptPay: {
|
receiptPay: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
title: '回单付',
|
title: '回单付',
|
||||||
maximum:99999,
|
maximum: 99999,
|
||||||
default: info.receiptPay?.price || 0,
|
default: info.receiptPay?.price || 0,
|
||||||
minimum:0,
|
minimum: 0,
|
||||||
readOnly: info.receiptPay?.paymentStatus === '2' || info.receiptPay?.paymentStatus === '4',
|
readOnly: info.receiptPay?.paymentStatus === '2' || info.receiptPay?.paymentStatus === '4',
|
||||||
ui: {
|
ui: {
|
||||||
prefix: '¥',
|
prefix: '¥',
|
||||||
@ -130,7 +121,7 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
if(!this.sf.valid) {
|
if (!this.sf.valid) {
|
||||||
this.service.msgSrv.error('请填写必填项!');
|
this.service.msgSrv.error('请填写必填项!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-04 17:31:44
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-06 09:24:00
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\order-management-routing.module.ts
|
* @LastEditTime : 2022-01-18 17:17:33
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\order-management-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-04 17:31:58
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-06 09:24:00
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\order-management.module.ts
|
* @LastEditTime : 2022-01-18 17:17:47
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\order-management.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule, Type } from '@angular/core';
|
import { NgModule, Type } from '@angular/core';
|
||||||
import { SharedModule } from '@shared';
|
import { SharedModule } from '@shared';
|
||||||
import { OrderManagementBulkDetailChangeComponent } from './components/bulk-detail-change/bulk-detail-change.component';
|
import { OrderManagementBulkDetailChangeComponent } from './components/bulk-detail-change/bulk-detail-change.component';
|
||||||
|
|||||||
@ -1,29 +1,31 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-13 14:08:57
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-03 15:31:52
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\services\order-management.service.ts
|
* @LastEditTime : 2022-01-18 17:24:32
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { map } from 'rxjs/operators';
|
|
||||||
import { EACacheService, ShipperBaseService } from '@shared';
|
import { EACacheService, ShipperBaseService } from '@shared';
|
||||||
|
import { map } from 'rxjs/operators';
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
export class OrderManagementService extends ShipperBaseService {
|
export class OrderManagementService extends ShipperBaseService {
|
||||||
|
|
||||||
$api_get_getEnterpriseNetTransHis = `/api/mdc/enterpriseNetTransHis/getEnterpriseNetTransHis`;
|
$api_get_getEnterpriseNetTransHis = `/api/mdc/enterpriseNetTransHis/getEnterpriseNetTransHis`;
|
||||||
$api_get_catalogue_member = `/user?_allow_anonymous=true`;
|
$api_get_catalogue_member = `/user?_allow_anonymous=true`;
|
||||||
$api_get_bulkPage_list = `/api/sdc/goodsResourceOperate/listBulkPage`;
|
$api_get_bulkPage_list = `/api/sdc/goodsResourceOperate/listBulkPage`;
|
||||||
// 据 手机号/姓名 查询 车队长/司机
|
// 据 手机号/姓名 查询 车队长/司机
|
||||||
$api_get_getDriverInfo = `/api/mdc/cuc/user/getDriverInfo`;
|
$api_get_getDriverInfo = `/api/mdc/cuc/user/getDriverInfo`;
|
||||||
$api_del_driver = ``;
|
$api_del_driver = ``;
|
||||||
// 获取货主企业列表
|
// 获取货主企业列表
|
||||||
public $api_getList = '/api/mdc/cuc/enterpriseInfo/cargoOwner/getList?_allow_anonymous=true';
|
public $api_getList = '/api/mdc/cuc/enterpriseInfo/cargoOwner/getList?_allow_anonymous=true';
|
||||||
// 风险单:
|
// 风险单:
|
||||||
// 风险单列表查询
|
// 风险单列表查询
|
||||||
$api_get_listRiskPage = `/api/sdc/billRiskOperate/listRiskPage`;
|
$api_get_listRiskPage = `/api/sdc/billRiskOperate/listRiskPage`;
|
||||||
// 风险单列表查询
|
// 风险单列表查询
|
||||||
@ -36,35 +38,35 @@ export class OrderManagementService extends ShipperBaseService {
|
|||||||
$api_get_listWholePage = `/api/sdc/billOperate/listWholePage`;
|
$api_get_listWholePage = `/api/sdc/billOperate/listWholePage`;
|
||||||
// 整车详情
|
// 整车详情
|
||||||
$api_get_getWholeBillDetail = `/api/sdc/billOperate/getWholeBillDetail`;
|
$api_get_getWholeBillDetail = `/api/sdc/billOperate/getWholeBillDetail`;
|
||||||
// 根据车牌号查询车辆信息
|
// 根据车牌号查询车辆信息
|
||||||
$api_get_getCarLicenseListByCarNo= `/api/mdc/cuc/carLicense/findCarLicenseByCarNo`;
|
$api_get_getCarLicenseListByCarNo = `/api/mdc/cuc/carLicense/findCarLicenseByCarNo`;
|
||||||
|
|
||||||
// 查询大宗订单列表
|
// 查询大宗订单列表
|
||||||
$api_get_listBulkPage = `/api/sdc/billOperate/listBulkPage`;
|
$api_get_listBulkPage = `/api/sdc/billOperate/listBulkPage`;
|
||||||
// 查看运费变更记录详情-整车
|
// 查看运费变更记录详情-整车
|
||||||
$api_get_getChangeRecordWholeDetail = `/api/sdc/billFreightChangeRecord/getChangeRecordWholeDetail`;
|
$api_get_getChangeRecordWholeDetail = `/api/sdc/billFreightChangeRecord/getChangeRecordWholeDetail`;
|
||||||
// 根据订单ID查看运费变更申请记录
|
// 根据订单ID查看运费变更申请记录
|
||||||
$api_get_listChangeApply = `/api/sdc/billFreightChangeApplication/listChangeApply`;
|
$api_get_listChangeApply = `/api/sdc/billFreightChangeApplication/listChangeApply`;
|
||||||
// 变更运费页面-整车-整车
|
// 变更运费页面-整车-整车
|
||||||
$api_get_getFreightChangeWholeDetail = `/api/sdc/billFreightChangeApplication/getFreightChangeWholeDetail`;
|
$api_get_getFreightChangeWholeDetail = `/api/sdc/billFreightChangeApplication/getFreightChangeWholeDetail`;
|
||||||
// 订单申请撤销
|
// 订单申请撤销
|
||||||
$api_get_revokeChangeRecord = `/api/sdc/billFreightChangeApplication/revokeChangeRecord`;
|
$api_get_revokeChangeRecord = `/api/sdc/billFreightChangeApplication/revokeChangeRecord`;
|
||||||
// 运费变更申请-整车
|
// 运费变更申请-整车
|
||||||
$api_get_insertFreightChangeWhole = `/api/sdc/billFreightChangeApplication/insertFreightChangeWhole`;
|
$api_get_insertFreightChangeWhole = `/api/sdc/billFreightChangeApplication/insertFreightChangeWhole`;
|
||||||
// 取消订单
|
// 取消订单
|
||||||
$api_get_cancelAnOrder = `/api/sdc/billOperate/cancelAnOrder`;
|
$api_get_cancelAnOrder = `/api/sdc/billOperate/cancelAnOrder`;
|
||||||
// 批量签收整车订单
|
// 批量签收整车订单
|
||||||
$api_get_batchSignWholeOrder = `/api/sdc/billOperate/batchSignWholeOrder`;
|
$api_get_batchSignWholeOrder = `/api/sdc/billOperate/batchSignWholeOrder`;
|
||||||
// 批量签收大宗订单
|
// 批量签收大宗订单
|
||||||
$api_get_batchSignBulkOrder = `/api/sdc/billOperate/batchSignBulkOrder`;
|
$api_get_batchSignBulkOrder = `/api/sdc/billOperate/batchSignBulkOrder`;
|
||||||
// 大宗签收详情
|
// 大宗签收详情
|
||||||
$api_get_getBulkSignForDetail = `/api/sdc/billOperate/getBulkSignForDetail`;
|
$api_get_getBulkSignForDetail = `/api/sdc/billOperate/getBulkSignForDetail`;
|
||||||
// 整车签收详情
|
// 整车签收详情
|
||||||
$api_get_getWholeSignForDetail = `/api/sdc/billOperate/getWholeSignForDetail`;
|
$api_get_getWholeSignForDetail = `/api/sdc/billOperate/getWholeSignForDetail`;
|
||||||
// 确认签收大宗订单
|
// 确认签收大宗订单
|
||||||
$api_get_signBulkOrder = `/api/sdc/billOperate/signBulkOrder`;
|
$api_get_signBulkOrder = `/api/sdc/billOperate/signBulkOrder`;
|
||||||
// 确认签收整车订单
|
// 确认签收整车订单
|
||||||
$api_get_signWholeOrder = `/api/sdc/billOperate/signWholeOrder`;
|
$api_get_signWholeOrder = `/api/sdc/billOperate/signWholeOrder`;
|
||||||
// 上传图片
|
// 上传图片
|
||||||
public $api_upload_url = `/api/mdc/pbc/upload/multipartFile/file`;
|
public $api_upload_url = `/api/mdc/pbc/upload/multipartFile/file`;
|
||||||
// 根据用户id查用户信息(注意:nickName才是用户名称)
|
// 根据用户id查用户信息(注意:nickName才是用户名称)
|
||||||
@ -89,66 +91,61 @@ export class OrderManagementService extends ShipperBaseService {
|
|||||||
$api_calculate_cost = `/api/sdc/billFreightChangeApplication/getBulkSurchargeDetail`;
|
$api_calculate_cost = `/api/sdc/billFreightChangeApplication/getBulkSurchargeDetail`;
|
||||||
//运费变更申请计算费用-整车
|
//运费变更申请计算费用-整车
|
||||||
$api_getWholeSurchargeDetail = `/api/sdc/billFreightChangeApplication/getWholeSurchargeDetail`;
|
$api_getWholeSurchargeDetail = `/api/sdc/billFreightChangeApplication/getWholeSurchargeDetail`;
|
||||||
//运费变更申请-大宗
|
//运费变更申请-大宗
|
||||||
$api_change_bulk = `/api/sdc/billFreightChangeApplication/insertFreightChangeBulk`;
|
$api_change_bulk = `/api/sdc/billFreightChangeApplication/insertFreightChangeBulk`;
|
||||||
// 删除装卸货信息
|
// 删除装卸货信息
|
||||||
$api_delete_Wholedeletebatch = `/api/sdc/unLoadingPlace/deletebatch`;
|
$api_delete_Wholedeletebatch = `/api/sdc/unLoadingPlace/deletebatch`;
|
||||||
// 修改-大宗订单
|
// 修改-大宗订单
|
||||||
$api_set_modifyBulkOrder = `/api/sdc/billOperate/modifyBulkOrder`;
|
$api_set_modifyBulkOrder = `/api/sdc/billOperate/modifyBulkOrder`;
|
||||||
// 修改-整车订单
|
// 修改-整车订单
|
||||||
$api_set_modifyWholeOrder = `/api/sdc/billOperate/modifyWholeOrder`;
|
$api_set_modifyWholeOrder = `/api/sdc/billOperate/modifyWholeOrder`;
|
||||||
// 修改-整车订单详情
|
// 修改-整车订单详情
|
||||||
$api_set_getWholeOrderDetail = `/api/sdc/billOperate/getWholeOrderDetail`;
|
$api_set_getWholeOrderDetail = `/api/sdc/billOperate/getWholeOrderDetail`;
|
||||||
// 修改--大宗订单详情
|
// 修改--大宗订单详情
|
||||||
$api_set_getBulkOrderDetail = `/api/sdc/billOperate/getBulkOrderDetail`;
|
$api_set_getBulkOrderDetail = `/api/sdc/billOperate/getBulkOrderDetail`;
|
||||||
// 批量修改网络货运人
|
// 批量修改网络货运人
|
||||||
$api_set_updateEnterpriseInfoBatch = `/api/sdc/billOperate/updateEnterpriseInfoBatch`;
|
$api_set_updateEnterpriseInfoBatch = `/api/sdc/billOperate/updateEnterpriseInfoBatch`;
|
||||||
// 批量修改附加费率
|
// 批量修改附加费率
|
||||||
$api_set_updateAdditionalRateBatch = `/api/sdc/billOperate/updateAdditionalRateBatch`;
|
$api_set_updateAdditionalRateBatch = `/api/sdc/billOperate/updateAdditionalRateBatch`;
|
||||||
|
|
||||||
|
// 查询投诉列表
|
||||||
// 查询投诉列表
|
|
||||||
$api_get_operate_listPage = `/api/sdc/complaint/operate/listPage`;
|
$api_get_operate_listPage = `/api/sdc/complaint/operate/listPage`;
|
||||||
// 获取投诉表详情
|
// 获取投诉表详情
|
||||||
$api_get_getComplaintDriverDetails = `/api/sdc/complaint/operate/getComplaintDriverDetails`;
|
$api_get_getComplaintDriverDetails = `/api/sdc/complaint/operate/getComplaintDriverDetails`;
|
||||||
// 处理投诉
|
// 处理投诉
|
||||||
$api_get_dealWithComplaint = `/api/sdc/complaint/operate/dealWithComplaint`;
|
$api_get_dealWithComplaint = `/api/sdc/complaint/operate/dealWithComplaint`;
|
||||||
// 撤销投诉
|
// 撤销投诉
|
||||||
$api_get_canelComplaint = `/api/sdc/complaint/operate/canelComplaint`;
|
$api_get_canelComplaint = `/api/sdc/complaint/operate/canelComplaint`;
|
||||||
|
|
||||||
|
// 批量修改车队长
|
||||||
// 批量修改车队长
|
|
||||||
$api_get_updateCarCaptainBatch = `/api/sdc/billOperate/updateCarCaptainBatch`;
|
$api_get_updateCarCaptainBatch = `/api/sdc/billOperate/updateCarCaptainBatch`;
|
||||||
// 根据手机号查询车队长/司机
|
// 根据手机号查询车队长/司机
|
||||||
$api_get_getCarCaptainByMobile = `/api/mdc/userDriverExpand/getCarCaptainByMobile`;
|
$api_get_getCarCaptainByMobile = `/api/mdc/userDriverExpand/getCarCaptainByMobile`;
|
||||||
|
|
||||||
|
// 获取货主企业列表
|
||||||
|
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
|
||||||
|
/**
|
||||||
// 获取货主企业列表
|
|
||||||
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
|
|
||||||
/**
|
|
||||||
* 根据企业ID,获取企业历史网络货运人
|
* 根据企业ID,获取企业历史网络货运人
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
getNetworkFreightForwarderHistory(params: any) {
|
getNetworkFreightForwarderHistory(params: any) {
|
||||||
const param = {
|
const param = {
|
||||||
enterpriseIds: params.enterpriseInfoIds
|
enterpriseIds: params.enterpriseInfoIds
|
||||||
}
|
};
|
||||||
return this.request(this.$api_get_getEnterpriseNetTransHis, param).pipe(
|
return this.request(this.$api_get_getEnterpriseNetTransHis, param).pipe(
|
||||||
map((res: any) => {
|
map((res: any) => {
|
||||||
if (!res) {
|
if (!res) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
const list = res.map((item: any) => ({
|
const list = res.map((item: any) => ({
|
||||||
label: item.networkTransporterName,
|
label: item.networkTransporterName,
|
||||||
value: item.networkTransporterId
|
value: item.networkTransporterId
|
||||||
}));
|
}));
|
||||||
return [{ value: '', label: '全部' }, ...list];
|
return [{ value: '', label: '全部' }, ...list];
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
constructor(public injector: Injector,public eaCacheSrv: EACacheService) {
|
constructor(public injector: Injector, public eaCacheSrv: EACacheService) {
|
||||||
super(injector,eaCacheSrv)
|
super(injector, eaCacheSrv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,19 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-10 19:33:37
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 19:56:52
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-10 19:33:37
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\passport\components\login\login.component.html
|
* @LastEditTime : 2022-01-18 17:24:43
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\passport\\components\\login\\login.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<div class="body-box">
|
<div class="body-box">
|
||||||
<div></div>
|
<div></div>
|
||||||
<div>
|
<div>
|
||||||
<div class="box-content d-flex">
|
<div class="box-content d-flex">
|
||||||
<img src="./assets/images/user/login-image.png" class="login-logo" alt="">
|
<img src="./assets/images/user/login-image.png" class="login-logo" alt="" />
|
||||||
<div class="login-box">
|
<div class="login-box">
|
||||||
<div class="login-box-content">
|
<div class="login-box-content">
|
||||||
<nz-tabset (nzSelectChange)="switch($event)">
|
<nz-tabset (nzSelectChange)="switch($event)">
|
||||||
@ -18,24 +21,57 @@
|
|||||||
<sf #accountSF [layout]="'vertical'" [schema]="accountSchema" [ui]="accountUI" [button]="'none'">
|
<sf #accountSF [layout]="'vertical'" [schema]="accountSchema" [ui]="accountUI" [button]="'none'">
|
||||||
<ng-template sf-template="username" let-i let-ui="ui" let-schema="schema">
|
<ng-template sf-template="username" let-i let-ui="ui" let-schema="schema">
|
||||||
<nz-input-group [nzSuffix]="inputClearTpl">
|
<nz-input-group [nzSuffix]="inputClearTpl">
|
||||||
<input type="text" nz-input [ngModel]="i.value" (ngModelChange)="i.setValue($event)"
|
<input
|
||||||
(keyup.enter)="submit()" placeholder="请输入手机号" />
|
type="text"
|
||||||
|
nz-input
|
||||||
|
[ngModel]="i.value"
|
||||||
|
(ngModelChange)="i.setValue($event)"
|
||||||
|
(keyup.enter)="submit()"
|
||||||
|
placeholder="请输入手机号"
|
||||||
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
<ng-template #inputClearTpl>
|
<ng-template #inputClearTpl>
|
||||||
<i nz-icon class="ant-input-clear-icon" nzTheme="fill" nzType="close-circle" *ngIf="i.value"
|
<i
|
||||||
style="font-size: 16px;" (click)="i.setValue(null)"></i>
|
nz-icon
|
||||||
|
class="ant-input-clear-icon"
|
||||||
|
nzTheme="fill"
|
||||||
|
nzType="close-circle"
|
||||||
|
*ngIf="i.value"
|
||||||
|
style="font-size: 16px"
|
||||||
|
(click)="i.setValue(null)"
|
||||||
|
></i>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="password" let-i let-ui="ui" let-schema="schema">
|
<ng-template sf-template="password" let-i let-ui="ui" let-schema="schema">
|
||||||
<nz-input-group [nzSuffix]="inputClearTpl">
|
<nz-input-group [nzSuffix]="inputClearTpl">
|
||||||
<input [type]="isPasswordType?'password':'text'" nz-input [ngModel]="i.value"
|
<input
|
||||||
(ngModelChange)="i.setValue($event)" placeholder="请输入密码" (keyup.enter)="submit()" />
|
[type]="isPasswordType ? 'password' : 'text'"
|
||||||
|
nz-input
|
||||||
|
[ngModel]="i.value"
|
||||||
|
(ngModelChange)="i.setValue($event)"
|
||||||
|
placeholder="请输入密码"
|
||||||
|
(keyup.enter)="submit()"
|
||||||
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
<ng-template #inputClearTpl>
|
<ng-template #inputClearTpl>
|
||||||
<i *ngIf="i.value && isPasswordType" nz-icon class="ant-input-clear-icon" style="font-size: 18px;"
|
<i
|
||||||
nzType="eye" nzTheme="fill" (click)="isPasswordType=false"></i>
|
*ngIf="i.value && isPasswordType"
|
||||||
<i *ngIf="i.value && !isPasswordType" nz-icon class="ant-input-clear-icon" style="font-size: 18px;"
|
nz-icon
|
||||||
nzType="eye-invisible" nzTheme="fill" (click)="isPasswordType=true"></i>
|
class="ant-input-clear-icon"
|
||||||
|
style="font-size: 18px"
|
||||||
|
nzType="eye"
|
||||||
|
nzTheme="fill"
|
||||||
|
(click)="isPasswordType = false"
|
||||||
|
></i>
|
||||||
|
<i
|
||||||
|
*ngIf="i.value && !isPasswordType"
|
||||||
|
nz-icon
|
||||||
|
class="ant-input-clear-icon"
|
||||||
|
style="font-size: 18px"
|
||||||
|
nzType="eye-invisible"
|
||||||
|
nzTheme="fill"
|
||||||
|
(click)="isPasswordType = true"
|
||||||
|
></i>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</sf>
|
</sf>
|
||||||
@ -44,26 +80,57 @@
|
|||||||
<sf #captchaSF [layout]="'vertical'" [schema]="captchaSchema" [ui]="captchaUI" [button]="'none'">
|
<sf #captchaSF [layout]="'vertical'" [schema]="captchaSchema" [ui]="captchaUI" [button]="'none'">
|
||||||
<ng-template sf-template="phone" let-i let-ui="ui" let-schema="schema">
|
<ng-template sf-template="phone" let-i let-ui="ui" let-schema="schema">
|
||||||
<nz-input-group [nzSuffix]="inputClearTpl">
|
<nz-input-group [nzSuffix]="inputClearTpl">
|
||||||
<input type="text" nz-input [ngModel]="i.value" (ngModelChange)="i.setValue($event)"
|
<input
|
||||||
(keyup.enter)="submit()" placeholder="请输入手机号" />
|
type="text"
|
||||||
|
nz-input
|
||||||
|
[ngModel]="i.value"
|
||||||
|
(ngModelChange)="i.setValue($event)"
|
||||||
|
(keyup.enter)="submit()"
|
||||||
|
placeholder="请输入手机号"
|
||||||
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
<ng-template #inputClearTpl>
|
<ng-template #inputClearTpl>
|
||||||
<i nz-icon class="ant-input-clear-icon" nzTheme="fill" nzType="close-circle" *ngIf="i.value"
|
<i
|
||||||
style="font-size: 16px;" (click)="i.setValue(null)"></i>
|
nz-icon
|
||||||
|
class="ant-input-clear-icon"
|
||||||
|
nzTheme="fill"
|
||||||
|
nzType="close-circle"
|
||||||
|
*ngIf="i.value"
|
||||||
|
style="font-size: 16px"
|
||||||
|
(click)="i.setValue(null)"
|
||||||
|
></i>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="smsCode" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="smsCode" let-me let-ui="ui" let-schema="schema">
|
||||||
<nz-input-group nzSearch [nzSuffix]="suffixTemplateInfo">
|
<nz-input-group nzSearch [nzSuffix]="suffixTemplateInfo">
|
||||||
<input nz-input type="text" [maxLength]="6" placeholder="验证码" [attr.id]="me.id" [disabled]="me.disabled"
|
<input
|
||||||
[attr.disabled]="me.disabled" [nzSize]="ui.size" [ngModel]="me.formProperty.value"
|
nz-input
|
||||||
(ngModelChange)="me.setValue($event)" (keyup.enter)="submit()" />
|
type="text"
|
||||||
|
[maxLength]="6"
|
||||||
|
placeholder="验证码"
|
||||||
|
[attr.id]="me.id"
|
||||||
|
[disabled]="me.disabled"
|
||||||
|
[attr.disabled]="me.disabled"
|
||||||
|
[nzSize]="ui.size"
|
||||||
|
[ngModel]="me.formProperty.value"
|
||||||
|
(ngModelChange)="me.setValue($event)"
|
||||||
|
(keyup.enter)="submit()"
|
||||||
|
/>
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</sf>
|
</sf>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
<button nz-button type="button" nzType="primary" nzSize="large" (click)="submit()"
|
<button
|
||||||
[nzLoading]="userSrv?.http?.loading" nzBlock class="mt-md">
|
nz-button
|
||||||
|
type="button"
|
||||||
|
nzType="primary"
|
||||||
|
nzSize="large"
|
||||||
|
(click)="submit()"
|
||||||
|
[nzLoading]="userSrv?.http?.loading"
|
||||||
|
nzBlock
|
||||||
|
class="mt-md"
|
||||||
|
>
|
||||||
登录
|
登录
|
||||||
</button>
|
</button>
|
||||||
<p class="forgetPwd mt-xl" routerLink="/passport/retrieve-password">忘记密码</p>
|
<p class="forgetPwd mt-xl" routerLink="/passport/retrieve-password">忘记密码</p>
|
||||||
@ -83,7 +150,7 @@
|
|||||||
|
|
||||||
<ng-template #suffixTemplateInfo>
|
<ng-template #suffixTemplateInfo>
|
||||||
<ng-container *ngIf="count < 1; else intervalTemplate">
|
<ng-container *ngIf="count < 1; else intervalTemplate">
|
||||||
<span class="msg-btn" style="color: #26282A; cursor: pointer;font-size: 14px;" (click)="getCaptcha()">获取验证码</span>
|
<span class="msg-btn" style="color: #26282a; cursor: pointer; font-size: 14px" (click)="getCaptcha()">获取验证码</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #intervalTemplate> 请等待{{ count }}s </ng-template>
|
<ng-template #intervalTemplate> 请等待{{ count }}s </ng-template>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|||||||
@ -1,16 +1,15 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-27 21:08:36
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 17:36:25
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-27 21:08:36
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\passport\services\passport.service.ts
|
* @LastEditTime : 2022-01-18 17:24:52
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\passport\\services\\passport.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
||||||
import { BaseService } from 'src/app/shared/services/core/base.service';
|
import { BaseService } from 'src/app/shared/services/core/base.service';
|
||||||
import { EAFileUtil } from 'src/app/shared/utils/file.util';
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 10:20:33
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-07 16:12:50
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-13 19:22:47
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\routes-routing.module.ts
|
* @LastEditTime : 2022-01-18 17:14:25
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\routes-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
// layout
|
// layout
|
||||||
|
|||||||
@ -1,28 +1,20 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-01 09:58:58
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 20:00:33
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-01 09:58:58
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\carload\carload.component.html
|
* @LastEditTime : 2022-01-18 17:25:29
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\components\\carload\\carload.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<!-- 搜索区 -->
|
<!-- 搜索区 -->
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf
|
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" (formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf>
|
||||||
#sf
|
|
||||||
[schema]="schema"
|
|
||||||
[ui]="ui"
|
|
||||||
[mode]="'search'"
|
|
||||||
[disabled]="!sf?.valid"
|
|
||||||
(formSubmit)="st?.load(1)"
|
|
||||||
(formReset)="resetSF()"
|
|
||||||
></sf>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- [loading]="service.http.loading" -->
|
<!-- [loading]="service.http.loading" -->
|
||||||
|
|
||||||
@ -32,8 +24,7 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||||
|
<button nz-button nzType="primary" [disabled]="!sf.valid" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" (click)="st?.load(1)">查询</button>
|
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
@ -69,7 +60,7 @@
|
|||||||
<ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
|
<ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nzAlign="center" nzWidth="100px">货源编号</th>
|
<th nzAlign="center" nzWidth="100px">货源编号</th>
|
||||||
<th nzWidth="100px" nzAlign="center">货源类型</th>
|
<th nzWidth="100px" nzAlign="center">货源类型</th>
|
||||||
<th nzWidth="100px" nzAlign="center">货主</th>
|
<th nzWidth="100px" nzAlign="center">货主</th>
|
||||||
<th nzWidth="100px" nzAlign="center">项目名称</th>
|
<th nzWidth="100px" nzAlign="center">项目名称</th>
|
||||||
@ -89,66 +80,66 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let data of nzTable.data">
|
<tr *ngFor="let data of nzTable.data">
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div><span style="color: #52c41a;">●</span>已接单</div>
|
<div><span style="color: #52c41a">●</span>已接单</div>
|
||||||
<div><span >●</span>已取消</div>
|
<div><span>●</span>已取消</div>
|
||||||
<div><span style="color: #f59a23;">●</span>待接单</div>
|
<div><span style="color: #f59a23">●</span>待接单</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
<div><span style="color: #52c41a;">●</span>审核通过</div>
|
<div><span style="color: #52c41a">●</span>审核通过</div>
|
||||||
<div><span style="color: #d9001b;">●</span>不通过</div>
|
<div><span style="color: #d9001b">●</span>不通过</div>
|
||||||
<div><span style="color: #f59a23;">●</span>待审核</div>
|
<div><span style="color: #f59a23">●</span>待审核</div>
|
||||||
<!-- <span>待审核</span> -->
|
<!-- <span>待审核</span> -->
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
<a nz-button nzType="link" (click)="showApply()">货源审核</a>
|
<a nz-button nzType="link" (click)="showApply()">货源审核</a>
|
||||||
<a nz-button nzType="link" (click)="showApply()">修改运费</a>
|
<a nz-button nzType="link" (click)="showApply()">修改运费</a>
|
||||||
<!-- <a nz-button nzType="link" nzDanger (click)="showAssign()">指派熟车</a> -->
|
<!-- <a nz-button nzType="link" nzDanger (click)="showAssign()">指派熟车</a> -->
|
||||||
<a nz-button nzType="link" nzDanger (click)="showApply()">修改单价</a>
|
<a nz-button nzType="link" nzDanger (click)="showApply()">修改单价</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</nz-table>
|
</nz-table>
|
||||||
@ -156,30 +147,34 @@
|
|||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="修改运费" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel('suppliersType')">
|
<nz-modal
|
||||||
|
[(nzVisible)]="isVisible"
|
||||||
|
[nzFooter]="nzModalFooter"
|
||||||
|
nzTitle="修改运费"
|
||||||
|
(nzOnOk)="handleOK()"
|
||||||
|
(nzOnCancel)="handleCancel('suppliersType')"
|
||||||
|
>
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfFre [schema]="freightSchema" [ui]="uiFre" [compact]="false" [button]="'none'">
|
<sf #sfFre [schema]="freightSchema" [ui]="uiFre" [compact]="false" [button]="'none'">
|
||||||
<ng-template sf-template="manys" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="manys" let-me let-ui="ui" let-schema="schema">
|
||||||
<div>
|
<div>
|
||||||
<span>{{this.sfFre.value.contactsName}}</span>
|
<span>{{ this.sfFre.value.contactsName }}</span>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="unifiedSocia" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="unifiedSocia" let-me let-ui="ui" let-schema="schema">
|
||||||
<nz-input-number
|
<nz-input-number
|
||||||
[(ngModel)]="ssdsad"
|
[(ngModel)]="ssdsad"
|
||||||
[nzMin]="0"
|
[nzMin]="0"
|
||||||
[nzMax]="30"
|
[nzMax]="30"
|
||||||
nzPlaceHolder="请输入1-30"
|
nzPlaceHolder="请输入1-30"
|
||||||
id="margin"
|
id="margin"
|
||||||
width=400
|
width="400"
|
||||||
ngDefaultControl
|
ngDefaultControl
|
||||||
required
|
required
|
||||||
></nz-input-number
|
></nz-input-number
|
||||||
> 天内支付运费。
|
> 天内支付运费。
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="fujia" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="fujia" let-me let-ui="ui" let-schema="schema"> 15.00(费率:<a href="javaccript:;">5.3</a> ) </ng-template>
|
||||||
15.00(费率:<a href="javaccript:;">5.3</a> )
|
|
||||||
</ng-template>
|
|
||||||
</sf>
|
</sf>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #nzModalFooter>
|
<ng-template #nzModalFooter>
|
||||||
@ -188,10 +183,16 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</nz-modal>
|
</nz-modal>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisibleAssign" [nzWidth]="900" [nzFooter]="nzModalFooter" nzTitle="指派熟车" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel('assign')">
|
<nz-modal
|
||||||
|
[(nzVisible)]="isVisibleAssign"
|
||||||
|
[nzWidth]="900"
|
||||||
|
[nzFooter]="nzModalFooter"
|
||||||
|
nzTitle="指派熟车"
|
||||||
|
(nzOnOk)="handleOK()"
|
||||||
|
(nzOnCancel)="handleCancel('assign')"
|
||||||
|
>
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfAssign [schema]="schemaAssign" [ui]="ui" [mode]="'search'" (formSubmit)="stAssign?.load(1)"
|
<sf #sfAssign [schema]="schemaAssign" [ui]="ui" [mode]="'search'" (formSubmit)="stAssign?.load(1)" (formReset)="resetSFAssign()"></sf>
|
||||||
(formReset)="resetSFAssign()"></sf>
|
|
||||||
<st
|
<st
|
||||||
#stAssign
|
#stAssign
|
||||||
multiSort
|
multiSort
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-01 09:58:58
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 20:00:41
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-01 14:58:57
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\carload\carload.component.html
|
* @LastEditTime : 2022-01-18 17:25:47
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\components\\large-amount\\large-amount.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
@ -13,16 +15,7 @@
|
|||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf
|
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" (formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf>
|
||||||
#sf
|
|
||||||
[schema]="schema"
|
|
||||||
[ui]="ui"
|
|
||||||
[mode]="'search'"
|
|
||||||
[disabled]="!sf?.valid"
|
|
||||||
(formSubmit)="st?.load(1)"
|
|
||||||
(formReset)="resetSF()"
|
|
||||||
></sf>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- [loading]="service.http.loading" -->
|
<!-- [loading]="service.http.loading" -->
|
||||||
|
|
||||||
@ -32,8 +25,7 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||||
|
<button nz-button nzType="primary" [disabled]="!sf.valid" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" (click)="st?.load(1)">查询</button>
|
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
@ -69,7 +61,7 @@
|
|||||||
<ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
|
<ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nzAlign="center" nzWidth="100px">货源编号</th>
|
<th nzAlign="center" nzWidth="100px">货源编号</th>
|
||||||
<th nzWidth="100px" nzAlign="center">货源类型</th>
|
<th nzWidth="100px" nzAlign="center">货源类型</th>
|
||||||
<th nzWidth="100px" nzAlign="center">货主</th>
|
<th nzWidth="100px" nzAlign="center">货主</th>
|
||||||
<th nzWidth="100px" nzAlign="center">项目名称</th>
|
<th nzWidth="100px" nzAlign="center">项目名称</th>
|
||||||
@ -91,73 +83,73 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let data of nzTable.data">
|
<tr *ngFor="let data of nzTable.data">
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div><span style="color: #52c41a;">●</span>已接单</div>
|
<div><span style="color: #52c41a">●</span>已接单</div>
|
||||||
<div><span >●</span>已取消</div>
|
<div><span>●</span>已取消</div>
|
||||||
<div><span style="color: #f59a23;">●</span>待接单</div>
|
<div><span style="color: #f59a23">●</span>待接单</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
{{data.id3}}
|
{{ data.id3 }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
<div><span style="color: #52c41a;">●</span>审核通过</div>
|
<div><span style="color: #52c41a">●</span>审核通过</div>
|
||||||
<div><span style="color: #d9001b;">●</span>不通过</div>
|
<div><span style="color: #d9001b">●</span>不通过</div>
|
||||||
<div><span style="color: #f59a23;">●</span>待审核</div>
|
<div><span style="color: #f59a23">●</span>待审核</div>
|
||||||
<!-- <span>待审核</span> -->
|
<!-- <span>待审核</span> -->
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
<a nz-button nzType="link" (click)="showApply()">货源审核</a>
|
<a nz-button nzType="link" (click)="showApply()">货源审核</a>
|
||||||
<a nz-button nzType="link" (click)="showApply()">修改运费</a>
|
<a nz-button nzType="link" (click)="showApply()">修改运费</a>
|
||||||
<!-- <a nz-button nzType="link" nzDanger (click)="showApply()">指派熟车</a> -->
|
<!-- <a nz-button nzType="link" nzDanger (click)="showApply()">指派熟车</a> -->
|
||||||
<a nz-button nzType="link" nzDanger (click)="showApply()">修改单价</a>
|
<a nz-button nzType="link" nzDanger (click)="showApply()">修改单价</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</nz-table>
|
</nz-table>
|
||||||
|
|||||||
@ -1,17 +1,20 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-01 09:25:32
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 10:55:15
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-01 09:25:32
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.html
|
* @LastEditTime : 2022-01-18 17:25:54
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\components\\list\\list.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="''" ></page-header-wrapper>
|
|
||||||
<nz-tabset [nzSelectedIndex]="nzSelectedIndex">
|
<page-header-wrapper [title]="''"></page-header-wrapper>
|
||||||
<nz-tab nzTitle="整车货源">
|
<nz-tabset [nzSelectedIndex]="nzSelectedIndex">
|
||||||
<app-supply-goods-components-list-carload></app-supply-goods-components-list-carload>
|
<nz-tab nzTitle="整车货源">
|
||||||
</nz-tab>
|
<app-supply-goods-components-list-carload></app-supply-goods-components-list-carload>
|
||||||
<nz-tab nzTitle="大宗货源">
|
</nz-tab>
|
||||||
<app-supply-goods-components-list-large-amount></app-supply-goods-components-list-large-amount>
|
<nz-tab nzTitle="大宗货源">
|
||||||
</nz-tab>
|
<app-supply-goods-components-list-large-amount></app-supply-goods-components-list-large-amount>
|
||||||
</nz-tabset>
|
</nz-tab>
|
||||||
|
</nz-tabset>
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-01 09:25:32
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 09:55:39
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-01 09:25:32
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.spec.ts
|
* @LastEditTime : 2022-01-18 17:26:01
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\components\\list\\list.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { SupplyGoodsComponentListComponent } from './list.component';
|
import { SupplyGoodsComponentListComponent } from './list.component';
|
||||||
|
|
||||||
@ -15,7 +18,7 @@ describe('SupplyGoodsComponentListComponent', () => {
|
|||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(async(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [SupplyGoodsComponentListComponent],
|
declarations: [SupplyGoodsComponentListComponent]
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
@ -1,17 +1,20 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-01 09:25:32
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 09:49:32
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-01 09:25:32
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.ts
|
* @LastEditTime : 2022-01-18 17:26:12
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\components\\list\\list.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-goods-components-list',
|
selector: 'app-supply-goods-components-list',
|
||||||
templateUrl: './list.component.html',
|
templateUrl: './list.component.html'
|
||||||
})
|
})
|
||||||
export class SupplyGoodsComponentListComponent implements OnInit {
|
export class SupplyGoodsComponentListComponent implements OnInit {
|
||||||
constructor(private ar: ActivatedRoute) {}
|
constructor(private ar: ActivatedRoute) {}
|
||||||
|
|||||||
@ -1,22 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 15:22:34
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 10:33:33
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-01 09:24:09
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\usercenter\services\usercenter.service.ts
|
* @LastEditTime : 2022-01-18 17:26:22
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\services\\supply-goods.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { _HttpClient } from '@delon/theme';
|
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
||||||
import { BaseService } from 'src/app/shared/services/core/base.service';
|
import { BaseService } from 'src/app/shared/services/core/base.service';
|
||||||
import { EAFileUtil } from 'src/app/shared/utils/file.util';
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root',
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
export class SupplyGoodsService extends BaseService {
|
export class SupplyGoodsService extends BaseService {
|
||||||
|
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,22 +1,22 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 15:22:34
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 09:52:45
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-01 09:24:09
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\usercenter\usercenter-routing.module.ts
|
* @LastEditTime : 2022-01-18 17:25:04
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\supply-goods-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { SupplyGoodsComponentListComponent } from './components/list/list.component';
|
import { SupplyGoodsComponentListComponent } from './components/list/list.component';
|
||||||
|
|
||||||
|
const routes: Routes = [{ path: 'list', component: SupplyGoodsComponentListComponent }];
|
||||||
const routes: Routes = [
|
|
||||||
{ path: 'list', component: SupplyGoodsComponentListComponent}
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forChild(routes)],
|
imports: [RouterModule.forChild(routes)],
|
||||||
exports: [RouterModule],
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
export class SupplyGoodsRoutingModule {}
|
export class SupplyGoodsRoutingModule {}
|
||||||
|
|||||||
@ -1,18 +1,22 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 15:22:34
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-01 15:03:22
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-01 09:24:09
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-01-18 17:25:15
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-goods\\supply-goods.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '@shared';
|
import { SharedModule } from '@shared';
|
||||||
import { SupplyGoodsComponentListCarloadComponent } from './components/carload/carload.component';
|
import { SupplyGoodsComponentListCarloadComponent } from './components/carload/carload.component';
|
||||||
import { SupplyGoodsComponentListLargeAmountComponent } from './components/large-amount/large-amount.component';
|
import { SupplyGoodsComponentListLargeAmountComponent } from './components/large-amount/large-amount.component';
|
||||||
import { SupplyGoodsComponentListComponent } from './components/list/list.component';
|
import { SupplyGoodsComponentListComponent } from './components/list/list.component';
|
||||||
|
|
||||||
import { SupplyGoodsRoutingModule } from './supply-goods-routing.module';
|
import { SupplyGoodsRoutingModule } from './supply-goods-routing.module';
|
||||||
|
|
||||||
|
|
||||||
const COMPONENTS = [
|
const COMPONENTS = [
|
||||||
SupplyGoodsComponentListComponent,
|
SupplyGoodsComponentListComponent,
|
||||||
SupplyGoodsComponentListCarloadComponent,
|
SupplyGoodsComponentListCarloadComponent,
|
||||||
@ -21,6 +25,6 @@ const COMPONENTS = [
|
|||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [SharedModule, SupplyGoodsRoutingModule],
|
imports: [SharedModule, SupplyGoodsRoutingModule],
|
||||||
declarations: [...COMPONENTS],
|
declarations: [...COMPONENTS]
|
||||||
})
|
})
|
||||||
export class SupplyGoodsModule {}
|
export class SupplyGoodsModule {}
|
||||||
|
|||||||
@ -1,43 +1,43 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-21 10:58:48
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-28 10:16:29
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-21 10:58:48
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\add-driver\add-driver.component.html
|
* @LastEditTime : 2022-01-18 17:26:52
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\add-driver\\add-driver.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<div class="modal-title">添加司机</div>
|
<div class="modal-title">添加司机</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <nz-spin *ngIf="!i" class="modal-spin"></nz-spin> -->
|
|
||||||
<div class="sfBox">
|
<div class="sfBox">
|
||||||
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema">
|
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema">
|
||||||
<ng-template sf-template="tipsA" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="tipsA" let-me let-ui="ui" let-schema="schema">
|
||||||
<div class="pr">
|
<div class="pr">
|
||||||
<dl class="tips">
|
<dl class="tips">
|
||||||
<dt>正面照</dt>
|
<dt>正面照</dt>
|
||||||
<dd>示例</dd>
|
<dd>示例</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div class="pa"><img height="104" src="/assets/images/eg01.png" /></div>
|
<div class="pa"><img height="104" src="/assets/images/eg01.png" /></div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
|
||||||
<div class="pr">
|
<div class="pr">
|
||||||
<dl class="tips">
|
<dl class="tips">
|
||||||
<dt>背面照</dt>
|
<dt>背面照</dt>
|
||||||
<dd>示例</dd>
|
<dd>示例</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div class="pa"><img height="104" src="/assets/images/eg02.png" /></div>
|
<div class="pa"><img height="104" src="/assets/images/eg02.png" /></div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</sf>
|
</sf>
|
||||||
<sf #sf1 [compact]="true" [ui]="ui" [schema]="schema1" [button]="'none'" *ngIf="schema1">
|
<sf #sf1 [compact]="true" [ui]="ui" [schema]="schema1" [button]="'none'" *ngIf="schema1"> </sf>
|
||||||
</sf>
|
<sf #sf2 [compact]="true" [ui]="ui" [schema]="schema2" [button]="'none'" *ngIf="schema2"> </sf>
|
||||||
<sf #sf2 [compact]="true" [ui]="ui" [schema]="schema2" [button]="'none'" *ngIf="schema2">
|
<img class="drivercard" height="104" src="/assets/images/drivercard.png" />
|
||||||
</sf>
|
<img class="jopcard" height="104" src="/assets/images/jopcard.png" />
|
||||||
<img class="drivercard" height="104" src="/assets/images/drivercard.png" />
|
<!-- <div class="example" (click)="showExample()">
|
||||||
<img class="jopcard" height="104" src="/assets/images/jopcard.png" />
|
|
||||||
<!-- <div class="example" (click)="showExample()">
|
|
||||||
查看示例
|
查看示例
|
||||||
<div class="popBox" *ngIf="showCardFlag">
|
<div class="popBox" *ngIf="showCardFlag">
|
||||||
<img src="https://ng.ant.design/assets/img/logo.svg" alt="">
|
<img src="https://ng.ant.design/assets/img/logo.svg" alt="">
|
||||||
@ -51,6 +51,6 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="button" nzType="primary" (click)="submitForm()">确定</button>
|
<button nz-button type="button" nzType="primary" (click)="submitForm()">确定</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,69 +1,88 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-21 10:57:48
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-06 16:51:38
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-21 10:57:48
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\addmodal\addmodal.component.html
|
* @LastEditTime : 2022-01-18 17:27:26
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\addmodal\\addmodal.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<div class="modal-title">添加熟车</div>
|
<div class="modal-title">添加熟车</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <nz-spin *ngIf="!i" class="modal-spin"></nz-spin> -->
|
|
||||||
<div>
|
<div>
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading" (formSubmit)="initData(true)" (formReset)="resetSF()"></sf>
|
<sf
|
||||||
|
#sf
|
||||||
|
[schema]="schema"
|
||||||
|
[ui]="ui"
|
||||||
|
[mode]="'search'"
|
||||||
|
[disabled]="!sf?.valid"
|
||||||
|
[loading]="service.http.loading"
|
||||||
|
(formSubmit)="initData(true)"
|
||||||
|
(formReset)="resetSF()"
|
||||||
|
></sf>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||||
|
<ng-container *ngIf="queryFieldCount > 4">
|
||||||
|
<div nz-col [nzSpan]="_$expand ? 24 : 18">
|
||||||
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
|
</div>
|
||||||
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||||
|
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="initData(true)">查询</button>
|
||||||
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
|
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</ng-container>
|
||||||
|
</div>
|
||||||
|
<!-- 数据列表 -->
|
||||||
|
<!-- [data]="service.$api_getCarCaptainByMobile" -->
|
||||||
|
<div *ngIf="sf?.value?.mobile && tableData?.length > 0">
|
||||||
|
<st
|
||||||
|
#st
|
||||||
|
multiSort
|
||||||
|
bordered
|
||||||
|
[columns]="columns"
|
||||||
|
[ps]="20"
|
||||||
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: '', ps: '' }, params: reqParams }"
|
||||||
|
[res]="{ reName: { list: 'data', total: 'data.total' } }"
|
||||||
|
[page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"
|
||||||
|
[loading]="service.http.loading"
|
||||||
|
[data]="tableData"
|
||||||
|
>
|
||||||
|
<ng-template st-row="certificationStatus" let-item let-index="index">
|
||||||
|
<div *ngIf="item.certificationStatus === -1">
|
||||||
|
<span class="ng-tns-c230-1239 ant-badge-status-dot ant-badge-status-processing ng-star-inserted"></span> 未认证
|
||||||
</div>
|
</div>
|
||||||
|
<div *ngIf="item.certificationStatus === 0">
|
||||||
|
<span class="ng-tns-c230-1239 ant-badge-status-dot ant-badge-status-processing ng-star-inserted"></span> 待审核
|
||||||
|
</div>
|
||||||
|
<div *ngIf="item.certificationStatus === 1">
|
||||||
|
<span class="ng-tns-c230-1239 ant-badge-status-dot ant-badge-status-success ng-star-inserted"></span> 已成功
|
||||||
|
</div>
|
||||||
|
<div *ngIf="item.certificationStatus === 2">
|
||||||
|
<span class="ng-tns-c230-1240 ant-badge-status-dot ant-badge-status-warning ng-star-inserted"></span> 已驳回
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
<ng-template st-row="carModel" let-item let-index="index">
|
||||||
|
<span>{{ item.carModelLabel }}-{{ item.carLengthLabel }}米-{{ item.carLoad }}吨</span>
|
||||||
|
</ng-template>
|
||||||
|
</st>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
<div class="noContent" *ngIf="sf?.value?.mobile && tableData?.length === 0 && flag">
|
||||||
<ng-container *ngIf="queryFieldCount > 4">
|
抱歉,该手机号还未注册,仍然需要添加请点击 <span (click)="addModal()">继续添加 </span>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 18">
|
</div>
|
||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
|
||||||
</div>
|
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="initData(true)">查询</button>
|
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
|
||||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</ng-container>
|
|
||||||
</div>
|
|
||||||
<!-- 数据列表 -->
|
|
||||||
<!-- [data]="service.$api_getCarCaptainByMobile" -->
|
|
||||||
<div *ngIf="sf?.value?.mobile && tableData?.length > 0">
|
|
||||||
<st #st multiSort bordered [columns]="columns" [ps]="20" [req]="{ method: 'POST', allInBody: true, reName: { pi: '', ps: '' }, params: reqParams }" [res]="{ reName: { list: 'data', total: 'data.total' } }" [page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"
|
|
||||||
[loading]="service.http.loading" [data]="tableData">
|
|
||||||
<ng-template st-row="certificationStatus" let-item let-index="index">
|
|
||||||
<div *ngIf="item.certificationStatus === -1">
|
|
||||||
<span class="ng-tns-c230-1239 ant-badge-status-dot ant-badge-status-processing ng-star-inserted"></span> 未认证
|
|
||||||
</div>
|
|
||||||
<div *ngIf="item.certificationStatus === 0">
|
|
||||||
<span class="ng-tns-c230-1239 ant-badge-status-dot ant-badge-status-processing ng-star-inserted"></span> 待审核
|
|
||||||
</div>
|
|
||||||
<div *ngIf="item.certificationStatus === 1">
|
|
||||||
<span class="ng-tns-c230-1239 ant-badge-status-dot ant-badge-status-success ng-star-inserted"></span> 已成功
|
|
||||||
</div>
|
|
||||||
<div *ngIf="item.certificationStatus === 2">
|
|
||||||
<span class="ng-tns-c230-1240 ant-badge-status-dot ant-badge-status-warning ng-star-inserted"></span> 已驳回
|
|
||||||
</div>
|
|
||||||
</ng-template>
|
|
||||||
<ng-template st-row="carModel" let-item let-index="index">
|
|
||||||
<span>{{item.carModelLabel}}-{{item.carLengthLabel}}米-{{item.carLoad}}吨</span>
|
|
||||||
</ng-template>
|
|
||||||
</st>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="noContent" *ngIf="sf?.value?.mobile && tableData?.length === 0 && flag">
|
|
||||||
抱歉,该手机号还未注册,仍然需要添加请点击 <span (click)="addModal()">继续添加
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,45 +1,53 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-06 14:55:47
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-03 11:10:14
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\assigned-car\assigned-car.component.html
|
* @LastEditTime : 2022-01-18 17:27:30
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\assigned-car\\assigned-car.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<div>
|
<div>
|
||||||
<div nz-row>
|
<div nz-row>
|
||||||
<div nz-col nzSpan="18">
|
<div nz-col nzSpan="18">
|
||||||
<sf #sf [schema]="schema" mode="search" [ui]="ui" [compact]="true" (formSubmit)="st.load(1)"
|
<sf #sf [schema]="schema" mode="search" [ui]="ui" [compact]="true" (formSubmit)="st.load(1)" (formReset)="reset()"></sf>
|
||||||
(formReset)="reset()"></sf>
|
|
||||||
</div>
|
</div>
|
||||||
<div nz-col nzSpan="6">
|
<div nz-col nzSpan="6">
|
||||||
<button nz-button nzType="primary" style="margin-bottom: 24px" (click)="addDriver()"><i nz-icon
|
<button nz-button nzType="primary" style="margin-bottom: 24px" (click)="addDriver()"><i nz-icon nzType="plus"></i>添加司机</button>
|
||||||
nzType="plus"></i>添加司机</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<st #st [data]="service.$api_get_practice_car_list"
|
<st
|
||||||
|
#st
|
||||||
|
[data]="service.$api_get_practice_car_list"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[columns]="columns" [res]="{ reName: { list: 'data.records', total: 'data.total' },process:dataProcess }"
|
[columns]="columns"
|
||||||
|
[res]="{ reName: { list: 'data.records', total: 'data.total' }, process: dataProcess }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
(change)="changeSt($event)">
|
(change)="changeSt($event)"
|
||||||
|
>
|
||||||
<ng-template st-row="carId" let-item let-index="index">
|
<ng-template st-row="carId" let-item let-index="index">
|
||||||
<nz-select [(ngModel)]="item.carId" style="width: 280px;">
|
<nz-select [(ngModel)]="item.carId" style="width: 280px">
|
||||||
<nz-option [nzValue]="''" nzLabel="不限"></nz-option>
|
<nz-option [nzValue]="''" nzLabel="不限"></nz-option>
|
||||||
<nz-option [nzValue]="car.carId" [nzLabel]="car.carNo"
|
<nz-option
|
||||||
*ngFor="let car of item.userCarLicenseDesensitizationVOList" [nzCustomContent]="true">
|
[nzValue]="car.carId"
|
||||||
<span>{{car.carNo}} -</span>
|
[nzLabel]="car.carNo"
|
||||||
<span>{{car.carLength}}米,{{car.carLoad}}顿 -</span>
|
*ngFor="let car of item.userCarLicenseDesensitizationVOList"
|
||||||
<span *ngIf="car?.approvalStatus === 20 && !car.carStatus " class="text-success-dark">空闲</span>
|
[nzCustomContent]="true"
|
||||||
<span *ngIf="car?.approvalStatus === 20 && car.carStatus " class="text-warning-dark">已被指派</span>
|
>
|
||||||
|
<span>{{ car.carNo }} -</span>
|
||||||
|
<span>{{ car.carLength }}米,{{ car.carLoad }}顿 -</span>
|
||||||
|
<span *ngIf="car?.approvalStatus === 20 && !car.carStatus" class="text-success-dark">空闲</span>
|
||||||
|
<span *ngIf="car?.approvalStatus === 20 && car.carStatus" class="text-warning-dark">已被指派</span>
|
||||||
<span *ngIf="car?.approvalStatus !== 20" class="text-red-dark">未认证</span>
|
<span *ngIf="car?.approvalStatus !== 20" class="text-red-dark">未认证</span>
|
||||||
<!-- <span [ngClass]="cardBADGE[car.carStatus]?.color">{{cardBADGE[car.carStatus]?.text}}</span> -->
|
<!-- <span [ngClass]="cardBADGE[car.carStatus]?.color">{{cardBADGE[car.carStatus]?.text}}</span> -->
|
||||||
</nz-option>
|
</nz-option>
|
||||||
</nz-select>
|
</nz-select>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="carCaptain" let-item let-index>
|
<ng-template st-row="carCaptain" let-item let-index>
|
||||||
<span>{{item.captainName}} {{item.captainPhone}}</span>
|
<span>{{ item.captainName }} {{ item.captainPhone }}</span>
|
||||||
<a (click)="setCarCaptain(item)">设置</a>
|
<a (click)="setCarCaptain(item)">设置</a>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="driverStatus" let-item let-index>
|
<ng-template st-row="driverStatus" let-item let-index>
|
||||||
@ -51,7 +59,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save()" [disabled]="!selectedRows"
|
<button nz-button type="submit" nzType="primary" (click)="save()" [disabled]="!selectedRows" [nzLoading]="service.http.loading"
|
||||||
[nzLoading]="service.http.loading">发布并指派给司机</button>
|
>发布并指派给司机</button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,18 +1,28 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 14:29:40
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\bulk\bulk.component.html
|
* @LastEditTime : 2022-01-18 17:27:39
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\bulk\\bulk.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading"
|
<sf
|
||||||
(formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf>
|
#sf
|
||||||
|
[schema]="schema"
|
||||||
|
[ui]="ui"
|
||||||
|
[mode]="'search'"
|
||||||
|
[disabled]="!sf?.valid"
|
||||||
|
[loading]="service.http.loading"
|
||||||
|
(formSubmit)="st?.load(1)"
|
||||||
|
(formReset)="resetSF()"
|
||||||
|
></sf>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||||
@ -21,11 +31,9 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()">查询</button>
|
||||||
(click)="search()">查询</button>
|
<button nz-button nzType="primary" [disabled]="service.http.loading">导入</button>
|
||||||
<button nz-button nzType="primary" [disabled]="service.http.loading"
|
<button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button>
|
||||||
>导入</button>
|
|
||||||
<button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button>
|
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||||
@ -36,16 +44,16 @@
|
|||||||
</nz-card>
|
</nz-card>
|
||||||
<ng-template #extraTemplate>
|
<ng-template #extraTemplate>
|
||||||
<div>
|
<div>
|
||||||
<button (click)="audit('',2)" nz-button nzType="primary">批量审核</button>
|
<button (click)="audit('', 2)" nz-button nzType="primary">批量审核</button>
|
||||||
<button (click)="releaseGoods()" nz-button nzType="primary">代发货源</button>
|
<button (click)="releaseGoods()" nz-button nzType="primary">代发货源</button>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<nz-tabset (nzSelectedIndexChange)="selectChange($event)" [nzTabBarExtraContent]="extraTemplate">
|
<nz-tabset (nzSelectedIndexChange)="selectChange($event)" [nzTabBarExtraContent]="extraTemplate">
|
||||||
<nz-tab [nzTitle]="'全部('+tabs?.totalQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'全部(' + tabs?.totalQuantity + ')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'进行中('+tabs?.stayQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'进行中(' + tabs?.stayQuantity + ')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已完结('+tabs?.receivedQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'已完结(' + tabs?.receivedQuantity + ')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已取消('+tabs?.cancelQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'已取消(' + tabs?.cancelQuantity + ')'"></nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
<div style="position: relative">
|
<div style="position: relative">
|
||||||
<nz-alert
|
<nz-alert
|
||||||
@ -56,25 +64,24 @@
|
|||||||
>
|
>
|
||||||
</nz-alert>
|
</nz-alert>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 15px;">
|
<div style="margin-top: 15px">
|
||||||
<st
|
<st
|
||||||
#st
|
#st
|
||||||
[scroll]="{ x: '2000px' }"
|
[scroll]="{ x: '2000px' }"
|
||||||
[data]="service.$api_get_bulkPage_list"
|
[data]="service.$api_get_bulkPage_list"
|
||||||
[columns]="columns"
|
[columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loading]="service.http.loading"
|
[loading]="service.http.loading"
|
||||||
>
|
>
|
||||||
<!--运费单价 -->
|
<!--运费单价 -->
|
||||||
<ng-template st-row="freightPrice" let-item let-index="index">
|
<ng-template st-row="freightPrice" let-item let-index="index">
|
||||||
<div class="mr-xs" >{{item.freightPrice | currency}}
|
<div class="mr-xs">{{ item.freightPrice | currency }} </div>
|
||||||
</div>
|
</ng-template>
|
||||||
</ng-template>
|
<!--货源编号 -->
|
||||||
<!--货源编号 -->
|
|
||||||
<ng-template st-row="resourceCode" let-item let-index="index">
|
<ng-template st-row="resourceCode" let-item let-index="index">
|
||||||
<a [routerLink]="'/supply-management/bulk-detail/'+item.id">{{item?.resourceCode}}</a>
|
<a [routerLink]="'/supply-management/bulk-detail/' + item.id">{{ item?.resourceCode }}</a>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<!-- 服务类型 -->
|
<!-- 服务类型 -->
|
||||||
<ng-template st-row="serviceType" let-item let-index="index">
|
<ng-template st-row="serviceType" let-item let-index="index">
|
||||||
@ -84,37 +91,32 @@
|
|||||||
<!-- 关联订单 -->
|
<!-- 关联订单 -->
|
||||||
<ng-template st-row="orderSn" let-item let-index="index">
|
<ng-template st-row="orderSn" let-item let-index="index">
|
||||||
<div *ngFor="let item of item?.wayBillClassifiedStatisticsVOList">
|
<div *ngFor="let item of item?.wayBillClassifiedStatisticsVOList">
|
||||||
<label>{{item.wayBillStatusLabel}}</label>
|
<label>{{ item.wayBillStatusLabel }}</label>
|
||||||
(<span [ngStyle]="{ color:item?.count>0?'#1890FF':''}">{{item?.count}}</span>)
|
(<span [ngStyle]="{ color: item?.count > 0 ? '#1890FF' : '' }">{{ item?.count }}</span
|
||||||
|
>)
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<!-- 货物信息 -->
|
<!-- 货物信息 -->
|
||||||
<ng-template st-row="goodsInfos" let-item let-index="index">
|
<ng-template st-row="goodsInfos" let-item let-index="index">
|
||||||
<div>{{item?.goodsInfos?.goodsName}}</div>
|
<div>{{ item?.goodsInfos?.goodsName }}</div>
|
||||||
<div>货源:{{item?.goodsInfos?.goodsResource}}</div>
|
<div>货源:{{ item?.goodsInfos?.goodsResource }}</div>
|
||||||
<div class="text-error-dark">剩余: {{item?.goodsInfos?.remainingAmount}}</div>
|
<div class="text-error-dark">剩余: {{ item?.goodsInfos?.remainingAmount }}</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<!-- 用车需求 -->
|
<!-- 用车需求 -->
|
||||||
<ng-template st-row="useCarDemand" let-item let-index="index">
|
<ng-template st-row="useCarDemand" let-item let-index="index">
|
||||||
<div>车型: {{item.carModelLabel}}</div>
|
<div>车型: {{ item.carModelLabel }}</div>
|
||||||
<div class="error">车长: {{item.carLenghtLabel}} 米</div>
|
<div class="error">车长: {{ item.carLenghtLabel }} 米</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="货源审核" (nzOnCancel)="handleCancel('suppliersType')">
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="货源审核" (nzOnCancel)="handleCancel('suppliersType')">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<div style="position: relative" *ngIf="auditMany">
|
<div style="position: relative" *ngIf="auditMany">
|
||||||
<nz-alert
|
<nz-alert nzType="info" [nzMessage]="'已选择' + selectedRows?.length + '项'" nzShowIcon [ngStyle]="{ margin: '0 0 1rem 0' }">
|
||||||
nzType="info"
|
|
||||||
[nzMessage]="'已选择' + selectedRows?.length + '项'"
|
|
||||||
nzShowIcon
|
|
||||||
[ngStyle]="{ margin: '0 0 1rem 0' }"
|
|
||||||
>
|
|
||||||
</nz-alert>
|
</nz-alert>
|
||||||
</div>
|
</div>
|
||||||
<sf #sfFre [schema]="freightSchema" [ui]="ui2" [compact]="false" [button]="'none'">
|
<sf #sfFre [schema]="freightSchema" [ui]="ui2" [compact]="false" [button]="'none'"> </sf>
|
||||||
</sf>
|
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #nzModalFooter>
|
<ng-template #nzModalFooter>
|
||||||
<button nz-button nzType="primary" (click)="handleOK(1)">通过</button>
|
<button nz-button nzType="primary" (click)="handleOK(1)">通过</button>
|
||||||
@ -126,4 +128,4 @@
|
|||||||
<button (click)="audit('',2)" nz-button nzType="primary">批量审核</button>
|
<button (click)="audit('',2)" nz-button nzType="primary">批量审核</button>
|
||||||
<button (click)="audit('')" nz-button nzType="primary">发布货源</button>
|
<button (click)="audit('')" nz-button nzType="primary">发布货源</button>
|
||||||
</div>
|
</div>
|
||||||
</ng-template> -->
|
</ng-template> -->
|
||||||
|
|||||||
@ -1,13 +1,15 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-06 15:17:52
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-06 16:42:37
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\choose-famifiar\choose-famifiar.component.html
|
* @LastEditTime : 2022-01-18 17:27:53
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\choose-famifiar\\choose-famifiar.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<button nz-button nzType="primary" style="margin-bottom: 24px" (click)="add()"><i nz-icon
|
|
||||||
nzType="plus"></i>添加司机</button>
|
<button nz-button nzType="primary" style="margin-bottom: 24px" (click)="add()"><i nz-icon nzType="plus"></i>添加司机</button>
|
||||||
<!-- 搜索区 -->
|
<!-- 搜索区 -->
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzSpan]="12">
|
<div nz-col [nzSpan]="12">
|
||||||
@ -25,18 +27,25 @@
|
|||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzSpan]="12">
|
<div nz-col [nzSpan]="12">
|
||||||
<!-- 数据列表 -->
|
<!-- 数据列表 -->
|
||||||
<st #st *ngIf="columns" [bordered]="true" [data]="service.$api_getList_card" [columns]="columns" size="small"
|
<st
|
||||||
|
#st
|
||||||
|
*ngIf="columns"
|
||||||
|
[bordered]="true"
|
||||||
|
[data]="service.$api_getList_card"
|
||||||
|
[columns]="columns"
|
||||||
|
size="small"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } , process: reqProcess}"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' }, process: reqProcess }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loading]="service.http.loading" [widthMode]="{ type: 'strict' }" [scroll]="{ x: '600px' }"
|
[loading]="service.http.loading"
|
||||||
style="margin-top: 22px;width: 100%;">
|
[widthMode]="{ type: 'strict' }"
|
||||||
|
[scroll]="{ x: '600px' }"
|
||||||
|
style="margin-top: 22px; width: 100%"
|
||||||
|
>
|
||||||
<ng-template st-row="userCarLicenseDesensitizationVOList" let-item let-index="index">
|
<ng-template st-row="userCarLicenseDesensitizationVOList" let-item let-index="index">
|
||||||
<nz-select [(ngModel)]="item.default" (ngModelChange)="carChange($event, item)" style="width: 100%;">
|
<nz-select [(ngModel)]="item.default" (ngModelChange)="carChange($event, item)" style="width: 100%">
|
||||||
<nz-option nzValue="" nzLabel="不限"></nz-option>
|
<nz-option nzValue="" nzLabel="不限"></nz-option>
|
||||||
<nz-option [nzValue]="cart" [nzLabel]="cart.carNo"
|
<nz-option [nzValue]="cart" [nzLabel]="cart.carNo" *ngFor="let cart of item.userCarLicenseDesensitizationVOList"> </nz-option>
|
||||||
*ngFor="let cart of item.userCarLicenseDesensitizationVOList">
|
|
||||||
</nz-option>
|
|
||||||
</nz-select>
|
</nz-select>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
@ -44,11 +53,20 @@
|
|||||||
<div nz-col [nzSpan]="12">
|
<div nz-col [nzSpan]="12">
|
||||||
<!-- 选中列表 -->
|
<!-- 选中列表 -->
|
||||||
<div>已选择{{ st2Data.length }}位司机</div>
|
<div>已选择{{ st2Data.length }}位司机</div>
|
||||||
<st #st2 *ngIf="columns2" [bordered]="true" [data]="st2Data" [columns]="columns2" size="small"
|
<st
|
||||||
[page]="{ show: false }" [scroll]="{ x: '600px',y:'300px' }" style="width: 100%;">
|
#st2
|
||||||
|
*ngIf="columns2"
|
||||||
|
[bordered]="true"
|
||||||
|
[data]="st2Data"
|
||||||
|
[columns]="columns2"
|
||||||
|
size="small"
|
||||||
|
[page]="{ show: false }"
|
||||||
|
[scroll]="{ x: '600px', y: '300px' }"
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
<ng-template st-row="captain" let-item let-index="index">
|
<ng-template st-row="captain" let-item let-index="index">
|
||||||
<span>{{ item.captainName }} {{ item.captainPhone }}</span>
|
<span>{{ item.captainName }} {{ item.captainPhone }}</span>
|
||||||
<a (click)="setCaptain(item,index)">设置</a>
|
<a (click)="setCaptain(item, index)">设置</a>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
@ -56,4 +74,4 @@
|
|||||||
<div *nzModalFooter>
|
<div *nzModalFooter>
|
||||||
<button nz-button nzType="default" (click)="cancel()">取消</button>
|
<button nz-button nzType="default" (click)="cancel()">取消</button>
|
||||||
<button nz-button nzType="primary" (click)="ok()">发布并指派给司机</button>
|
<button nz-button nzType="primary" (click)="ok()">发布并指派给司机</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 20:08:17
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-05 17:38:44
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\address-list\address-list.component.html
|
* @LastEditTime : 2022-01-18 17:27:59
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\onecar-publish\\address-list\\address-list.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<st
|
<st
|
||||||
#st
|
#st
|
||||||
[bordered]="true"
|
[bordered]="true"
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 20:08:17
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-05 17:35:37
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-14 20:08:17
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\address-list\address-list.component.ts
|
* @LastEditTime : 2022-01-18 17:28:07
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\onecar-publish\\address-list\\address-list.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { STChange, STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
|
import { STChange, STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 20:39:34
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-28 20:49:04
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-14 20:39:34
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\publish-success\publish-success.component.html
|
* @LastEditTime : 2022-01-18 17:28:17
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\onecar-publish\\publish-success\\publish-success.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<div style="margin-top: 64px">
|
<div style="margin-top: 64px">
|
||||||
<nz-result nzStatus="success" [nzTitle]="title">
|
<nz-result nzStatus="success" [nzTitle]="title">
|
||||||
<div nz-result-extra>
|
<div nz-result-extra>
|
||||||
|
|||||||
@ -1,12 +1,15 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-14 20:39:34
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-12 11:24:07
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-14 20:39:34
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\publish-success\publish-success.component.ts
|
* @LastEditTime : 2022-01-18 17:28:26
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\onecar-publish\\publish-success\\publish-success.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
|
import { Component } from '@angular/core';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
|
|
||||||
@ -24,10 +27,10 @@ export class PublishSuccessComponent {
|
|||||||
this.type = route.snapshot.queryParams.type || 'onecar';
|
this.type = route.snapshot.queryParams.type || 'onecar';
|
||||||
}
|
}
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
console.log(this.change)
|
console.log(this.change);
|
||||||
if(this.change == 1) {
|
if (this.change == 1) {
|
||||||
this.title = '保存成功!';
|
this.title = '保存成功!';
|
||||||
} else if(this.change == 2) {
|
} else if (this.change == 2) {
|
||||||
this.title = '下单成功!';
|
this.title = '下单成功!';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,22 +1,24 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-28 17:24:48
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-03 11:10:14
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\qrcode-page\qrcode-page.component.html
|
* @LastEditTime : 2022-01-18 17:28:37
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\qrcode-page\\qrcode-page.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<nz-spin *ngIf="!i" class="modal-spin"></nz-spin>
|
<nz-spin *ngIf="!i" class="modal-spin"></nz-spin>
|
||||||
<div style="width: 50%;margin: 0 auto;">
|
<div style="width: 50%; margin: 0 auto">
|
||||||
<div class="">
|
<div class="">
|
||||||
<h2>公司名称 : {{i?.enterpriseInfoName}}</h2>
|
<h2>公司名称 : {{ i?.enterpriseInfoName }}</h2>
|
||||||
<qr [value]="i.id" #qr></qr>
|
<qr [value]="i.id" #qr></qr>
|
||||||
<div class="mb-sm" *ngFor="let address of i?.loadingAddressArr">卸货地 : {{address}}</div>
|
<div class="mb-sm" *ngFor="let address of i?.loadingAddressArr">卸货地 : {{ address }}</div>
|
||||||
<div class="mb-sm" *ngFor="let address of i?.unloadingAddressArr">装货地 : {{address}}</div>
|
<div class="mb-sm" *ngFor="let address of i?.unloadingAddressArr">装货地 : {{ address }}</div>
|
||||||
<div class="mb-sm">截止时间 : {{i?.deadlineTime}}</div>
|
<div class="mb-sm">截止时间 : {{ i?.deadlineTime }}</div>
|
||||||
<div>Tips : 二维码用于司机扫码抢单</div>
|
<div>Tips : 二维码用于司机扫码抢单</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer text-center">
|
<div class="modal-footer text-center">
|
||||||
<button nz-button type="submit" nzType="primary" (click)="downLoadQrcode('二维码')">下载二维码</button>
|
<button nz-button type="submit" nzType="primary" (click)="downLoadQrcode('二维码')">下载二维码</button>
|
||||||
|
|||||||
@ -1,20 +1,22 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-28 17:24:54
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-03 11:10:14
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\qrcode-page\qrcode-page.component.ts
|
* @LastEditTime : 2022-01-18 17:28:46
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\qrcode-page\\qrcode-page.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { QRComponent } from '@delon/abc/qr';
|
import { QRComponent } from '@delon/abc/qr';
|
||||||
import { SFSchema, SFUISchema } from '@delon/form';
|
import { SFSchema, SFUISchema } from '@delon/form';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-management-qrcode-page',
|
selector: 'app-supply-management-qrcode-page',
|
||||||
templateUrl: './qrcode-page.component.html',
|
templateUrl: './qrcode-page.component.html'
|
||||||
})
|
})
|
||||||
export class SupplyManagementQrcodePageComponent implements OnInit {
|
export class SupplyManagementQrcodePageComponent implements OnInit {
|
||||||
@ViewChild('qr') qr!: QRComponent;
|
@ViewChild('qr') qr!: QRComponent;
|
||||||
@ -24,40 +26,36 @@ export class SupplyManagementQrcodePageComponent implements OnInit {
|
|||||||
ui: SFUISchema = {
|
ui: SFUISchema = {
|
||||||
'*': {
|
'*': {
|
||||||
spanLabelFixed: 100,
|
spanLabelFixed: 100,
|
||||||
grid: { span: 12 },
|
grid: { span: 12 }
|
||||||
},
|
},
|
||||||
$no: {
|
$no: {
|
||||||
widget: 'text'
|
widget: 'text'
|
||||||
},
|
},
|
||||||
$href: {
|
$href: {
|
||||||
widget: 'string',
|
widget: 'string'
|
||||||
},
|
},
|
||||||
$description: {
|
$description: {
|
||||||
widget: 'textarea',
|
widget: 'textarea',
|
||||||
grid: { span: 24 },
|
grid: { span: 24 }
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(
|
constructor(private modal: NzModalRef) {}
|
||||||
private modal: NzModalRef,
|
|
||||||
) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
console.log(this.i);
|
console.log(this.i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
downLoadQrcode(downloadName: any): void {
|
downLoadQrcode(downloadName: any): void {
|
||||||
let aLink = document.createElement('a');
|
let aLink = document.createElement('a');
|
||||||
const content = this.qr.dataURL;
|
const content = this.qr.dataURL;
|
||||||
let blob = this.base64ToBlob(content); //new Blob([content]);
|
let blob = this.base64ToBlob(content); //new Blob([content]);
|
||||||
let evt = document.createEvent("HTMLEvents");
|
let evt = document.createEvent('HTMLEvents');
|
||||||
evt.initEvent("click", true, true);//initEvent 不加后两个参数在IE下会报错 事件类型,是否冒泡,是否阻止浏览器的默认行为
|
evt.initEvent('click', true, true); //initEvent 不加后两个参数在IE下会报错 事件类型,是否冒泡,是否阻止浏览器的默认行为
|
||||||
aLink.download = downloadName;
|
aLink.download = downloadName;
|
||||||
aLink.href = URL.createObjectURL(blob);
|
aLink.href = URL.createObjectURL(blob);
|
||||||
// aLink.dispatchEvent(evt);
|
// aLink.dispatchEvent(evt);
|
||||||
aLink.click()
|
aLink.click();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//base64转blob
|
//base64转blob
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2022-01-06 15:01:40
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-10 11:20:22
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2022-01-06 15:01:40
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\tran-agreement\tran-agreement.component.ts
|
* @LastEditTime : 2022-01-18 17:29:05
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-22 11:28:28
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 14:14:00
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @LastEditTime : 2022-01-18 17:29:15
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\vehicle\\vehicle.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
@ -94,15 +97,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<nz-modal
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="货源审核" (nzOnCancel)="handleCancel('suppliersType')">
|
||||||
[(nzVisible)]="isVisible"
|
|
||||||
[nzFooter]="nzModalFooter"
|
|
||||||
nzTitle="货源审核"
|
|
||||||
(nzOnCancel)="handleCancel('suppliersType')"
|
|
||||||
>
|
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<div style="position: relative" *ngIf="auditMany">
|
<div style="position: relative" *ngIf="auditMany">
|
||||||
<nz-alert nzType="info" [nzMessage]="'已选择' + selectedRows?.length+ '项'" nzShowIcon [ngStyle]="{ margin: '0 0 1rem 0' }"> </nz-alert>
|
<nz-alert nzType="info" [nzMessage]="'已选择' + selectedRows?.length + '项'" nzShowIcon [ngStyle]="{ margin: '0 0 1rem 0' }">
|
||||||
|
</nz-alert>
|
||||||
</div>
|
</div>
|
||||||
<sf #sfFre [schema]="freightSchema" [ui]="ui2" [compact]="false" [button]="'none'"> </sf>
|
<sf #sfFre [schema]="freightSchema" [ui]="ui2" [compact]="false" [button]="'none'"> </sf>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-17 14:19:12
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-03 11:10:14
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\services\supply-management.service.ts
|
* @LastEditTime : 2022-01-18 17:29:25
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\services\\supply-management.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { BaseService } from 'src/app/shared/services';
|
import { BaseService } from 'src/app/shared/services';
|
||||||
@ -15,7 +17,7 @@ import { BaseService } from 'src/app/shared/services';
|
|||||||
export class SupplyManagementService extends BaseService {
|
export class SupplyManagementService extends BaseService {
|
||||||
$api_get_enterprise_project = `/api/mdc/cuc/enterpriseProject/getEnterpriseProjectList `; // 所属项目列表
|
$api_get_enterprise_project = `/api/mdc/cuc/enterpriseProject/getEnterpriseProjectList `; // 所属项目列表
|
||||||
// 取消货源
|
// 取消货源
|
||||||
$api_cancle_goods_source = `/api/sdc/goodsResourceOperate/cancelSource`;
|
$api_cancle_goods_source = `/api/sdc/goodsResourceOperate/cancelSource`;
|
||||||
// 整车获取货源表详情
|
// 整车获取货源表详情
|
||||||
$api_get_getCompleteVehicleDetail = `/api/sdc/goodsResourceOperate/getWholeDetail`;
|
$api_get_getCompleteVehicleDetail = `/api/sdc/goodsResourceOperate/getWholeDetail`;
|
||||||
// 大宗获取货源表详情
|
// 大宗获取货源表详情
|
||||||
@ -40,12 +42,12 @@ export class SupplyManagementService extends BaseService {
|
|||||||
$api_get_listModifyPrice = `/api/sdc/goodsInfo/listModifyPrice`;
|
$api_get_listModifyPrice = `/api/sdc/goodsInfo/listModifyPrice`;
|
||||||
$api_update_price = `/api/sdc/goodsResourceShipper/modifyPrice`; // 根据货物ID修改单价
|
$api_update_price = `/api/sdc/goodsResourceShipper/modifyPrice`; // 根据货物ID修改单价
|
||||||
$api_get_goods_resource_statistical = `/api/sdc/goodsResourceOperate/statisticalStatus`; // 统计整车、大宗货源状态数量
|
$api_get_goods_resource_statistical = `/api/sdc/goodsResourceOperate/statisticalStatus`; // 统计整车、大宗货源状态数量
|
||||||
// 获取货主企业列表
|
// 获取货主企业列表
|
||||||
public $api_getList = '/api/mdc/cuc/enterpriseInfo/cargoOwner/getList?_allow_anonymous=true';
|
public $api_getList = '/api/mdc/cuc/enterpriseInfo/cargoOwner/getList?_allow_anonymous=true';
|
||||||
public $api_commonAddress = '/api/sdc/commonAddress/list/page';
|
public $api_commonAddress = '/api/sdc/commonAddress/list/page';
|
||||||
// 获取货主企业列表
|
// 获取货主企业列表
|
||||||
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
|
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
|
||||||
// 取消货源
|
// 取消货源
|
||||||
public $api_cancelSource = '/api/sdc/goodsResourceOperate/cancelSource';
|
public $api_cancelSource = '/api/sdc/goodsResourceOperate/cancelSource';
|
||||||
// 整车计算附加费
|
// 整车计算附加费
|
||||||
$api_getCalculatedSurcharge = `/api/sdc/expense/getCalculatedSurcharge`;
|
$api_getCalculatedSurcharge = `/api/sdc/expense/getCalculatedSurcharge`;
|
||||||
@ -56,54 +58,51 @@ export class SupplyManagementService extends BaseService {
|
|||||||
// 代发大宗货源
|
// 代发大宗货源
|
||||||
$api_consignBulk = `/api/sdc/goodsResourceOperate/consignBulk`;
|
$api_consignBulk = `/api/sdc/goodsResourceOperate/consignBulk`;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$api_get_practice_car_list = `/api/mdc/cuc/enterpriseVehicle/getPracticeCarList`; // 获取熟车列表
|
$api_get_practice_car_list = `/api/mdc/cuc/enterpriseVehicle/getPracticeCarList`; // 获取熟车列表
|
||||||
$api_add_car_caption = `/api/mdc/userDriverExpand/addCarCaptainForShiper`; // 设置为车队长
|
$api_add_car_caption = `/api/mdc/userDriverExpand/addCarCaptainForShiper`; // 设置为车队长
|
||||||
$api_get_goods_resource_shipper = `/api/sdc/goodsResourceShipper/modifyPricePre`; // 修改单价页面根据货源ID获取货物表
|
$api_get_goods_resource_shipper = `/api/sdc/goodsResourceShipper/modifyPricePre`; // 修改单价页面根据货源ID获取货物表
|
||||||
$api_get_car_captain_by_mobile = `/api/mdc/userDriverExpand/getCarCaptainByMobile`; // 查询车队长或者司机列表
|
$api_get_car_captain_by_mobile = `/api/mdc/userDriverExpand/getCarCaptainByMobile`; // 查询车队长或者司机列表
|
||||||
$api_save_assign_vehicle = `/api/sdc/goodsResourceShipper/reAssignWhole`;// 货主端大宗货源重新指派
|
$api_save_assign_vehicle = `/api/sdc/goodsResourceShipper/reAssignWhole`; // 货主端大宗货源重新指派
|
||||||
|
|
||||||
$api_save_assign_bulk = `/api/sdc/goodsResourceShipper/reAssignBulk`; // 货主端大宗货源指派熟车
|
$api_save_assign_bulk = `/api/sdc/goodsResourceShipper/reAssignBulk`; // 货主端大宗货源指派熟车
|
||||||
// 整车再下一单指派熟车
|
// 整车再下一单指派熟车
|
||||||
$api_save_assign_whole = `/api/sdc/goodsResourceOperate/saveAnotherWholeOrderAssign`;
|
$api_save_assign_whole = `/api/sdc/goodsResourceOperate/saveAnotherWholeOrderAssign`;
|
||||||
// 代发整车货源指派熟车
|
// 代发整车货源指派熟车
|
||||||
$api_save_consignWholeAssign = `/api/sdc/goodsResourceOperate/consignWholeAssign`;
|
$api_save_consignWholeAssign = `/api/sdc/goodsResourceOperate/consignWholeAssign`;
|
||||||
// 货主端大宗货源指派熟车
|
// 货主端大宗货源指派熟车
|
||||||
$api_save_bulk_assign = `/api/sdc/goodsResourceOperate/saveAnotherBulkOrderAssign`;
|
$api_save_bulk_assign = `/api/sdc/goodsResourceOperate/saveAnotherBulkOrderAssign`;
|
||||||
// 代发大宗货源指派熟车
|
// 代发大宗货源指派熟车
|
||||||
$api_save_consignBulkAssign = `/api/sdc/goodsResourceOperate/consignBulkAssign`;
|
$api_save_consignBulkAssign = `/api/sdc/goodsResourceOperate/consignBulkAssign`;
|
||||||
|
|
||||||
$api_get_has_assigned_car_list = `/api/sdc/goodsResourceShipper/getCarDriverIdsByResourceId`;// 大宗货源根据货源id获取司机和车辆的id集合
|
$api_get_has_assigned_car_list = `/api/sdc/goodsResourceShipper/getCarDriverIdsByResourceId`; // 大宗货源根据货源id获取司机和车辆的id集合
|
||||||
|
|
||||||
// 根据手机号查询车队长/司机
|
// 根据手机号查询车队长/司机
|
||||||
$api_getCarCaptainByMobile = `/api/mdc/userDriverExpand/getCarCaptainByMobile`;
|
$api_getCarCaptainByMobile = `/api/mdc/userDriverExpand/getCarCaptainByMobile`;
|
||||||
// 新增熟车
|
// 新增熟车
|
||||||
$api_enterpriseVehicleSave = `/api/mdc/cuc/enterpriseVehicle/save`;
|
$api_enterpriseVehicleSave = `/api/mdc/cuc/enterpriseVehicle/save`;
|
||||||
// 删除熟车
|
// 删除熟车
|
||||||
$api_deletebatch = `/api/mdc/cuc/enterpriseVehicle/deletebatch`;
|
$api_deletebatch = `/api/mdc/cuc/enterpriseVehicle/deletebatch`;
|
||||||
// 熟车详情
|
// 熟车详情
|
||||||
$api_getMyDriverUserDetail = `/api/mdc/cuc/enterpriseVehicle/getMyDriverUserDetail`;
|
$api_getMyDriverUserDetail = `/api/mdc/cuc/enterpriseVehicle/getMyDriverUserDetail`;
|
||||||
|
|
||||||
// 获取指派熟车列表
|
// 获取指派熟车列表
|
||||||
$api_getList_card = '/api/mdc/cuc/enterpriseVehicle/getPracticeCarList';
|
$api_getList_card = '/api/mdc/cuc/enterpriseVehicle/getPracticeCarList';
|
||||||
|
|
||||||
|
// 根据地区code查询列表
|
||||||
// 根据地区code查询列表
|
$api_getRegionByCode = '/api/mdc/pbc/region/getRegionByCode';
|
||||||
$api_getRegionByCode = '/api/mdc/pbc/region/getRegionByCode';
|
// 识别身份证
|
||||||
// 识别身份证
|
|
||||||
$api_checkIdCard = '/api/mdc/pbc/hwc/ocr/recognizeIdCard';
|
$api_checkIdCard = '/api/mdc/pbc/hwc/ocr/recognizeIdCard';
|
||||||
// 驾驶证识别
|
// 驾驶证识别
|
||||||
$api_recognizeDriverLicense = `/api/mdc/pbc/hwc/ocr/recognizeDriverLicense`;
|
$api_recognizeDriverLicense = `/api/mdc/pbc/hwc/ocr/recognizeDriverLicense`;
|
||||||
// 查询系统配置项
|
// 查询系统配置项
|
||||||
public $api_get_config_item_page = '/api/mdc/pbc/sysConfigItem/list/page';
|
public $api_get_config_item_page = '/api/mdc/pbc/sysConfigItem/list/page';
|
||||||
|
|
||||||
// 货源审核
|
// 货源审核
|
||||||
public $api_goodsResourceAudit = '/api/sdc/goodsResourceOperate/goodsResourceAudit';
|
public $api_goodsResourceAudit = '/api/sdc/goodsResourceOperate/goodsResourceAudit';
|
||||||
// 货源审核【批量】
|
// 货源审核【批量】
|
||||||
public $api_batchGoodsResourceAudit = '/api/sdc/goodsResourceOperate/batchGoodsResourceAudit';
|
public $api_batchGoodsResourceAudit = '/api/sdc/goodsResourceOperate/batchGoodsResourceAudit';
|
||||||
|
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector)
|
super(injector);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,23 +1,24 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-28 20:07:09
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-03 11:10:14
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\supply-management-routing.module.ts
|
* @LastEditTime : 2022-01-18 17:26:31
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\supply-management-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { SupplyManagementIndexComponent } from './components/index/index.component';
|
|
||||||
import { SupplyManagementBulkComponent } from './components/bulk/bulk.component';
|
|
||||||
import { SupplyManagementVehicleComponent } from './components/vehicle/vehicle.component';
|
|
||||||
import { SupplyManagementVehicleDetailComponent } from './components/vehicle-detail/vehicle-detail.component';
|
|
||||||
import { SupplyManagementAddDriversComponent } from './components/add-drivers/add-drivers.component';
|
import { SupplyManagementAddDriversComponent } from './components/add-drivers/add-drivers.component';
|
||||||
import { SupplyManagementOnecarPublishComponent } from './components/onecar-publish/onecar-publish.component';
|
|
||||||
import { SupplyManagementBulkPublishComponent } from './components/bulk-publish/bulk-publish.component';
|
|
||||||
import { SupplyManagementBulkDetailComponent } from './components/bulk-detail/bulk-detail.component';
|
import { SupplyManagementBulkDetailComponent } from './components/bulk-detail/bulk-detail.component';
|
||||||
import { SupplyManagementReleasePublishComponent } from './components/release-publish/release-publish.component';
|
import { SupplyManagementBulkPublishComponent } from './components/bulk-publish/bulk-publish.component';
|
||||||
import { SupplyManagementBulkReleasePublishComponent } from './components/bulk-release-publish/bulk-release-publish.component';
|
import { SupplyManagementBulkReleasePublishComponent } from './components/bulk-release-publish/bulk-release-publish.component';
|
||||||
|
import { SupplyManagementIndexComponent } from './components/index/index.component';
|
||||||
|
import { SupplyManagementOnecarPublishComponent } from './components/onecar-publish/onecar-publish.component';
|
||||||
|
import { SupplyManagementReleasePublishComponent } from './components/release-publish/release-publish.component';
|
||||||
|
import { SupplyManagementVehicleDetailComponent } from './components/vehicle-detail/vehicle-detail.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'index', component: SupplyManagementIndexComponent },
|
{ path: 'index', component: SupplyManagementIndexComponent },
|
||||||
@ -28,11 +29,11 @@ const routes: Routes = [
|
|||||||
{ path: 'vehicle-amend/:id', component: SupplyManagementOnecarPublishComponent },
|
{ path: 'vehicle-amend/:id', component: SupplyManagementOnecarPublishComponent },
|
||||||
{ path: 'vehicle-release', component: SupplyManagementReleasePublishComponent },
|
{ path: 'vehicle-release', component: SupplyManagementReleasePublishComponent },
|
||||||
{ path: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
{ path: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
||||||
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent },
|
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forChild(routes)],
|
imports: [RouterModule.forChild(routes)],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
export class SupplyManagementRoutingModule { }
|
export class SupplyManagementRoutingModule {}
|
||||||
|
|||||||
@ -1,39 +1,41 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-06 16:19:21
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-20 10:13:02
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\supply-management.module.ts
|
* @LastEditTime : 2022-01-18 17:26:40
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\supply-management.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NgModule, Type } from '@angular/core';
|
import { NgModule, Type } from '@angular/core';
|
||||||
import { SharedModule } from '@shared';
|
import { SharedModule } from '@shared';
|
||||||
import { SupplyManagementRoutingModule } from './supply-management-routing.module';
|
import { CarAddDriverComponent } from './components/add-driver/add-driver.component';
|
||||||
import { SupplyManagementIndexComponent } from './components/index/index.component';
|
|
||||||
import { SupplyManagementBulkComponent } from './components/bulk/bulk.component';
|
|
||||||
import { SupplyManagementVehicleComponent } from './components/vehicle/vehicle.component';
|
|
||||||
import { SupplyManagementUpdatePriceComponent } from './components/update-price/update-price.component';
|
|
||||||
import { SupplyManagementUpdateFreightComponent } from './components/update-freight/update-freight.component';
|
|
||||||
import { SupplyManagementVehicleAssignedCarComponent } from './components/assigned-car/assigned-car.component';
|
|
||||||
import { SupplyManagementQrcodePageComponent } from './components/qrcode-page/qrcode-page.component';
|
|
||||||
import { SupplyManagementUpdateExternalSnComponent } from './components/update-external-sn/update-external-sn.component';
|
|
||||||
import { SupplyManagementVehicleDetailComponent } from './components/vehicle-detail/vehicle-detail.component';
|
|
||||||
import { SupplyManagementAddDriversComponent } from './components/add-drivers/add-drivers.component';
|
import { SupplyManagementAddDriversComponent } from './components/add-drivers/add-drivers.component';
|
||||||
import { SupplyManagementOnecarPublishComponent } from './components/onecar-publish/onecar-publish.component';
|
import { CarAddmodalComponent } from './components/addmodal/addmodal.component';
|
||||||
|
import { SupplyManagementBulkAssignedCarComponent } from './components/assigned-car-bulk/assigned-car-bulk.component';
|
||||||
|
import { SupplyManagementVehicleAssignedCarComponent } from './components/assigned-car/assigned-car.component';
|
||||||
|
import { SupplyManagementBulkDetailComponent } from './components/bulk-detail/bulk-detail.component';
|
||||||
|
import { SupplyManagementBulkPublishComponent } from './components/bulk-publish/bulk-publish.component';
|
||||||
|
import { SupplyManagementBulkReleasePublishComponent } from './components/bulk-release-publish/bulk-release-publish.component';
|
||||||
|
import { SupplyManagementBulkComponent } from './components/bulk/bulk.component';
|
||||||
|
import { PublishchooseFamifiarAddComponent } from './components/choose-famifiar/add/add.component';
|
||||||
import { PublishGoodsChooseFamifiarComponent } from './components/choose-famifiar/choose-famifiar.component';
|
import { PublishGoodsChooseFamifiarComponent } from './components/choose-famifiar/choose-famifiar.component';
|
||||||
import { PublishchooseFamifiarSetCaptainComponent } from './components/choose-famifiar/set-captain/set-captain.component';
|
import { PublishchooseFamifiarSetCaptainComponent } from './components/choose-famifiar/set-captain/set-captain.component';
|
||||||
import { PublishchooseFamifiarAddComponent } from './components/choose-famifiar/add/add.component';
|
import { SupplyManagementIndexComponent } from './components/index/index.component';
|
||||||
import { SupplyManagementBulkPublishComponent } from './components/bulk-publish/bulk-publish.component';
|
|
||||||
import { PublishAddressListComponent } from './components/onecar-publish/address-list/address-list.component';
|
import { PublishAddressListComponent } from './components/onecar-publish/address-list/address-list.component';
|
||||||
|
import { SupplyManagementOnecarPublishComponent } from './components/onecar-publish/onecar-publish.component';
|
||||||
import { PublishSuccessComponent } from './components/onecar-publish/publish-success/publish-success.component';
|
import { PublishSuccessComponent } from './components/onecar-publish/publish-success/publish-success.component';
|
||||||
import { CarAddDriverComponent } from './components/add-driver/add-driver.component';
|
import { SupplyManagementQrcodePageComponent } from './components/qrcode-page/qrcode-page.component';
|
||||||
import { CarAddmodalComponent } from './components/addmodal/addmodal.component';
|
|
||||||
import { SupplyManagementBulkDetailComponent } from './components/bulk-detail/bulk-detail.component';
|
|
||||||
import { SupplyManagementReleasePublishComponent } from './components/release-publish/release-publish.component';
|
import { SupplyManagementReleasePublishComponent } from './components/release-publish/release-publish.component';
|
||||||
import { SupplyManagementBulkReleasePublishComponent } from './components/bulk-release-publish/bulk-release-publish.component';
|
|
||||||
import { TranAgreementComponent } from './components/tran-agreement/tran-agreement.component';
|
import { TranAgreementComponent } from './components/tran-agreement/tran-agreement.component';
|
||||||
import { SupplyManagementBulkAssignedCarComponent } from './components/assigned-car-bulk/assigned-car-bulk.component';
|
import { SupplyManagementUpdateExternalSnComponent } from './components/update-external-sn/update-external-sn.component';
|
||||||
|
import { SupplyManagementUpdateFreightComponent } from './components/update-freight/update-freight.component';
|
||||||
|
import { SupplyManagementUpdatePriceComponent } from './components/update-price/update-price.component';
|
||||||
|
import { SupplyManagementVehicleDetailComponent } from './components/vehicle-detail/vehicle-detail.component';
|
||||||
|
import { SupplyManagementVehicleComponent } from './components/vehicle/vehicle.component';
|
||||||
|
import { SupplyManagementRoutingModule } from './supply-management-routing.module';
|
||||||
|
|
||||||
const COMPONENTS: Type<void>[] = [
|
const COMPONENTS: Type<void>[] = [
|
||||||
SupplyManagementIndexComponent,
|
SupplyManagementIndexComponent,
|
||||||
@ -60,14 +62,10 @@ const COMPONENTS: Type<void>[] = [
|
|||||||
SupplyManagementBulkReleasePublishComponent,
|
SupplyManagementBulkReleasePublishComponent,
|
||||||
TranAgreementComponent,
|
TranAgreementComponent,
|
||||||
SupplyManagementBulkAssignedCarComponent
|
SupplyManagementBulkAssignedCarComponent
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [SharedModule, SupplyManagementRoutingModule],
|
||||||
SharedModule,
|
declarations: COMPONENTS
|
||||||
SupplyManagementRoutingModule
|
|
||||||
],
|
|
||||||
declarations: COMPONENTS,
|
|
||||||
})
|
})
|
||||||
export class SupplyManagementModule { }
|
export class SupplyManagementModule {}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Date: 2021-12-03 11:10:14
|
||||||
* @LastEditTime: 2022-01-18 16:55:43
|
* @LastEditTime: 2022-01-18 16:57:54
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
||||||
@ -52,11 +52,6 @@
|
|||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loading]="service.http.loading">
|
[loading]="service.http.loading">
|
||||||
<!-- <ng-template st-row="billExpenseDetailVOList" let-item let-index="index">
|
|
||||||
<div *ngFor="let i of item?.billExpenseDetailVOList; let ii = index">
|
|
||||||
<span>{{i?.costName}}:{{i?.price}}</span>
|
|
||||||
</div>
|
|
||||||
</ng-template> -->
|
|
||||||
<ng-template st-row="billExpenseDetailVOList2" let-item let-index="index">
|
<ng-template st-row="billExpenseDetailVOList2" let-item let-index="index">
|
||||||
<div *ngIf="item.billExpenseDetailVOList.length > 0">
|
<div *ngIf="item.billExpenseDetailVOList.length > 0">
|
||||||
<p *ngFor="let data of item.billExpenseDetailVOList">
|
<p *ngFor="let data of item.billExpenseDetailVOList">
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-12-13 10:36:49
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-16 20:40:03
|
* @Author : Shiming
|
||||||
* @LastEditors: your name
|
* @Date : 2021-12-13 10:36:49
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\app\shared\widget\dict-select\dict-select.widget.ts
|
* @LastEditTime : 2022-01-18 17:13:29
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\shared\\widget\\dict-select\\dict-select.widget.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit } from "@angular/core";
|
import { Component, OnInit } from "@angular/core";
|
||||||
import { ControlWidget } from "@delon/form";
|
import { ControlWidget } from "@delon/form";
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 10:04:12
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2021-12-07 15:29:56
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-12-08 13:38:19
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\index.html
|
* @LastEditTime : 2022-01-18 17:14:09
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\index.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Description :
|
||||||
* @Date: 2021-11-29 20:03:55
|
* @Version : 1.0
|
||||||
* @LastEditTime: 2022-01-12 13:39:29
|
* @Author : Shiming
|
||||||
* @LastEditors: Please set LastEditors
|
* @Date : 2021-11-29 20:03:55
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @LastEditors : Shiming
|
||||||
* @FilePath: \tms-obc-web\src\style-icons.ts
|
* @LastEditTime : 2022-01-18 17:14:19
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\style-icons.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
// Custom icon static resources
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BulbOutline,
|
BulbOutline,
|
||||||
ExceptionOutline,
|
ExceptionOutline,
|
||||||
|
|||||||
Reference in New Issue
Block a user