车辆对接

This commit is contained in:
wangshiming
2022-01-12 13:35:52 +08:00
parent eaef5be8ff
commit 4c544cbcd0
6 changed files with 55 additions and 24 deletions

View File

@ -658,6 +658,9 @@ tabs = {
},
nzFooter: null
});
modalRef.afterClose.subscribe((result: any) => {
this.st.load(1);
});
}
userAction() {
let params: any[] = [];
@ -668,6 +671,7 @@ tabs = {
console.log(params)
this.service.request(this.service.$api_get_batchSignBulkOrder, params).subscribe(res => {
if (res) {
this.st.load(1);
console.log(res);
} else {
this.service.msgSrv.error(res.msg);
@ -684,7 +688,7 @@ tabs = {
this.service.request(this.service.$api_get_cancelAnOrder, {id: item.id}).subscribe((res) => {
if (res === true) {
this.service.msgSrv.success('操作成功!');
this.st?.reload();
this.st?.reload(1);
this.initST();
}
}),
@ -699,6 +703,7 @@ tabs = {
if(res) {
this.service.msgSrv.success('撤销成功!')
this.stFloat.reload()
this.st?.reload(1);
} else {
this.service.msgSrv.error(res.msg)
}

View File

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-12-03 11:10:14
* @LastEditTime: 2021-12-29 15:00:48
* @LastEditTime: 2022-01-12 13:30:48
* @LastEditors: Please set LastEditors
* @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
@ -116,15 +116,12 @@
<span class="mr-xs">{{111111}}</span>
<a (click)="editEnternalSn(item)">编辑</a>
</ng-template> -->
<ng-template st-row="enStatusStr27878" let-item let-index="index">
<div class="mr-xs" nzPopoverTitle="Title" nz-popover [nzPopoverContent]="contentTemplate">{{item.no}}</div>
</ng-template>
<!-- <ng-template st-row="feiong" let-item let-index="index">
<div style="color: aqua;" (click)="OpenPrice()">
{{item.no}}
</div>
</ng-template> -->
<ng-template #contentTemplate>
<!-- <ng-template #contentTemplate>
<div>
<p>预付¥200.00</p>
<p>到付¥200.00</p>
@ -133,7 +130,7 @@
<p>小计¥200.00</p>
<p>附加费¥200.00</p>
</div>
</ng-template>
</ng-template> -->
</st>
</div>
</nz-card>