This commit is contained in:
wangshiming
2021-12-14 15:47:47 +08:00
parent 959773af11
commit 27ca6ba078
10 changed files with 406 additions and 14 deletions

View File

@ -5,6 +5,8 @@ import { ModalHelper, _HttpClient } from '@delon/theme';
import { NzModalService } from 'ng-zorro-antd/modal';
import { map } from 'rxjs/operators';
import { SupplyManagementService } from '../../services/order-management.service';
import { UpdateFreightComponent } from '../../modal/bulk/update-freight/update-freight.component';
import { ConfirReceiptComponent } from '../../modal/bulk/confir-receipt/confir-receipt.component';
@Component({
@ -321,6 +323,7 @@ export class OrderManagementBulkComponent implements OnInit {
{
title: '运费明细',
width: '100px',
index: 'externalSn',
className: 'text-center',
},
{ title: '网络货运人', index: 'externalSn', width: '120px', className: 'text-center' },
@ -393,7 +396,15 @@ export class OrderManagementBulkComponent implements OnInit {
},
{
text: '运费变更记录',
click: (_record) => this.viewEvaluate(_record),
click: (_record) => this.OpenPrice(_record),
},
{
text: '变更运费',
click: (_record) => this.updateFreight(_record),
},
{
text: '确认签收',
click: (_record) => this.confirmReceipt(_record),
},
],
},
@ -527,7 +538,7 @@ export class OrderManagementBulkComponent implements OnInit {
handleOK() {
}
OpenPrice() {
OpenPrice(item: any) {
this.isVisible = true
}
/**
@ -543,5 +554,36 @@ export class OrderManagementBulkComponent implements OnInit {
viewEvaluate(item: any) {
console.log(item)
this.isVisibleEvaluate = true
}
/**
*变更运费
*/
updateFreight(item: any) {
const modalRef = this.modal.create({
nzTitle: '变更运费',
nzWidth: '50%',
nzContent: UpdateFreightComponent,
nzComponentParams: {
i: item
},
nzFooter: null
});
}
// *变更运费
confirmReceipt(item: any) {
const modalRef = this.modal.create({
nzTitle: '确认签收',
nzWidth: '50%',
nzContent: ConfirReceiptComponent,
nzComponentParams: {
i: item
},
nzFooter: null
});
}
userAction() {
}
}