This commit is contained in:
wangshiming
2022-03-07 10:43:36 +08:00
parent ac5bb6ab7e
commit 740d7317d4
2 changed files with 41 additions and 26 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-28 14:42:03
* @LastEditors : Shiming
* @LastEditTime : 2022-03-02 16:28:37
* @LastEditTime : 2022-03-04 17:48:27
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@ -46,6 +46,10 @@
<sv label="服务类型">{{ i?.goodsResource?.serviceTypeLabel }}</sv>
<sv label="录单员">{{ i?.createUserName || i?.goodsResource?.createUserName }} /{{ i?.createUserPhone || i?.goodsResource?.createUserPhone }} </sv>
<sv label="调度员">{{ i?.goodsResource?.dispatchName }}/{{ i?.goodsResource?.dispatchPhone }} </sv>
<sv label="外部订单号">{{ i?.wayBillCode }}</sv>
<sv label="货源编号">{{ i?.resourceCode }} </sv>
<sv label="运单号">{{ i?.wayBillId }}</sv>
<sv label="承诺付款天数">{{ i?.goodsResource?.dispatchName }}</sv>
</div>
<nz-tabset style="margin-top: 15px">

View File

@ -4,8 +4,9 @@ import { SFComponent, SFSchema, SFUISchema, SFUploadWidgetSchema } from '@delon/
import { _HttpClient } from '@delon/theme';
import { EAEnvironmentService } from '@shared';
import { NzModalRef } from 'ng-zorro-antd/modal';
import { Observable, Observer } from 'rxjs';
import { Observable, Observer, Subject } from 'rxjs';
import { UsermanageService } from 'src/app/routes/usercenter/services/usercenter.service';
import { debounceTime } from 'rxjs/operators';
@Component({
@ -21,6 +22,7 @@ export class CtcCaptatinAddComponent implements OnInit {
schema!: SFSchema;
ui!: SFUISchema;
readFlag = false;
changeSub = new Subject<string>();
detailData: any = {
bankCardNo: '',
bankName: '',
@ -45,6 +47,7 @@ export class CtcCaptatinAddComponent implements OnInit {
ngOnInit(): void {
this.initData()
this.initSF();
this.changeEndKmAction();
}
initData() {
if (this.i && this.i.id) {
@ -352,7 +355,11 @@ export class CtcCaptatinAddComponent implements OnInit {
close(): void {
this.modal.destroy();
}
sure() {
changeEndKmAction() {
this.changeSub.pipe(debounceTime(500)).subscribe((res: string) => {
if (res) {
console.log('44444')
console.log(res)
const params: any = {
bankCardNo: this.sf.value.bankCardNo,
bankName: this.sf.value.bankName,
@ -377,6 +384,10 @@ export class CtcCaptatinAddComponent implements OnInit {
this.modal.close(true)
}
})
}
});
}
sure() {
this.changeSub.next('500');
}
}