车辆对接

This commit is contained in:
wangshiming
2021-12-17 16:43:44 +08:00
parent fbab4f6b57
commit da45d8ec04
4 changed files with 57 additions and 72 deletions

View File

@ -34,6 +34,7 @@ export class WaybillManagementBulkComponent implements OnInit {
columnsFloat: STColumn[] = [];
columnsFloatView: STColumn[] = [];
demoValue: any;
resourceStatus: any;
datass: any = [
{
one: '1',
@ -48,44 +49,24 @@ export class WaybillManagementBulkComponent implements OnInit {
id: 2
},
];
tabs = [ {
name: '全部',
type: 5,
count: 0,
},
{
name: '待发车',
type: 5,
count: 0,
},
{
name: '运输中',
type: 5,
count: 0,
},
{
name: '代签收',
type: 5,
count: 0,
},
{
name: '已完成',
type: 5,
count: 0,
},
{
name: '已取消',
type: 5,
count: 0,
},
];
tabs = {
totalQuantity: 0,
cancelQuantity: 0,
receivedQuantity: 0,
stayQuantity: 0
};
constructor(public service: SupplyManagementService, private modal: NzModalService, public service2: ShipperBaseService) { }
/**
* 查询参数
*/
get reqParams() {
const a:any = {};
if(this.resourceStatus) {
a.wayBillStatus = this.resourceStatus
}
return {
...a,
...this.sf?.value,
};
}
@ -537,6 +518,13 @@ export class WaybillManagementBulkComponent implements OnInit {
selectChange(e: number) {
console.log(e);
if(e>=1) {
this.resourceStatus = e + 1;
}
this.initST();
setTimeout(() => {
this.st.load();
}, 500);
}
/**
* 导入货源