diff --git a/src/app/routes/financial-management/components/cost-management/cost-management.component.ts b/src/app/routes/financial-management/components/cost-management/cost-management.component.ts
index 8b863b6d..c361456b 100644
--- a/src/app/routes/financial-management/components/cost-management/cost-management.component.ts
+++ b/src/app/routes/financial-management/components/cost-management/cost-management.component.ts
@@ -268,19 +268,19 @@ export class CostManagementComponent implements OnInit {
title: '操作',
fixed: 'right',
className: 'text-center',
- width: 90,
+ width: '90px',
buttons: [
{
text: '浏览',
click: item => this.routeTo('/financial-management/cost-management/detail/' + item.id)
},
{
- text: '审核',
+ text: '审核 ',
click: item => this.auditAction(item),
iif: item => item.sts === 2
},
{
- text: '修改',
+ text: '修改 ',
click: item => this.router.navigate(['/financial-management/cost-management/expenses-receivable/1'], { queryParams: { id: 1 } })
}
]
diff --git a/src/app/routes/financial-management/components/payment-order/payment-order.component.ts b/src/app/routes/financial-management/components/payment-order/payment-order.component.ts
index e5668635..a33ede6e 100644
--- a/src/app/routes/financial-management/components/payment-order/payment-order.component.ts
+++ b/src/app/routes/financial-management/components/payment-order/payment-order.component.ts
@@ -241,6 +241,7 @@ export class PaymentOrderComponent implements OnInit {
{ title: '付款备注', index: 'callNo' },
{
title: '操作',
+ width: '90px',
buttons: [
{
text: '浏览',
diff --git a/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts b/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts
index a34465c0..cc042cbf 100644
--- a/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts
+++ b/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts
@@ -296,6 +296,7 @@ export class VoucherManagementComponent implements OnInit {
{ title: '创建人', index: 'sts' },
{
title: '操作',
+ width: '90px',
buttons: [
{
text: '浏览'
diff --git a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.less b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.less
index cd8c3436..7f0f8379 100644
--- a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.less
+++ b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.less
@@ -16,8 +16,8 @@
}
.ant-tabs-tab-btn {
- padding-left : 16px;
padding-right: 16px;
+ padding-left : 16px;
}
.text-truncate {
@@ -26,16 +26,16 @@
}
.expend-options {
- margin-top: 0px;
+ margin-top: 0;
}
@media (min-width: 1200px) {
.expend-options {
- max-width: 400px;
position : absolute;
right : 0;
bottom : 25px;
+ max-width: 400px;
}
}
\ No newline at end of file
diff --git a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts
index a3565c95..416ef781 100644
--- a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts
+++ b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts
@@ -254,10 +254,10 @@ export class WithdrawalsRecordComponent implements OnInit {
{ title: '失败原因', index: 'failCause', width: 150 },
{
title: '操作',
- width: 120,
+ width: '110px',
buttons: [
{
- text: '审核',
+ text: '审核 ',
iif: item => item.refundStatus === '1',
click: item => this.auditAction(item)
},
@@ -267,7 +267,7 @@ export class WithdrawalsRecordComponent implements OnInit {
// click: item => this.auditAction(item)
},
{
- text: '详情',
+ text: '详情 ',
click: item => this.router.navigate(['/financial-management/withdrawals-record/detail/' + item.id])
}
]
diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts
index f0daa813..0df8b3e4 100644
--- a/src/app/routes/order-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/order-management/components/bulk/bulk.component.ts
@@ -99,7 +99,16 @@ tabs = {
this.getGoodsSourceStatistical()
}
getGoodsSourceStatistical() {
- this.service.request(this.service.$api_getBulkStatistical).subscribe(res => {
+ this.tabs = {
+ cancelQuantity: 0,
+ receivedQuantity: 0,
+ stayQuantity: 0,
+ signQuantity: 0,
+ compolatelQuantity: 0,
+ GoingQuantity: 0,
+ totalCount: 0
+ };
+ this.service.request(this.service.$api_getBulkStatistical, {...this.reqParams}).subscribe(res => {
if (res) {
let totalCount = 0;
res.forEach((element: any) => {
@@ -129,7 +138,6 @@ tabs = {
setTimeout(() => {
this.st.load();
this.getGoodsSourceStatistical()
-
}, 500);
}
ngOnInit(): void {
@@ -474,11 +482,11 @@ tabs = {
{
title: '操作',
fixed: 'right',
- width: '200px',
+ width: '120px',
className: 'text-left',
buttons: [
{
- text: '查看评价',
+ text: '查看评价 ',
click: (_record) => this.viewEvaluate(_record),
iif: item => item.billStatus == '5',
},
@@ -488,22 +496,22 @@ tabs = {
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6',
},
{
- text: '变更运费',
+ text: '变更运费 ',
click: (_record) => this.updateFreight(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
},
{
- text: '确认签收',
+ text: '确认签收 ',
click: (_record) => this.confirmReceipt(_record),
iif: item => item.billStatus == '4',
},
{
- text: '取消订单',
+ text: '取消订单 ',
click: (_record) => this.cancellation(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1',
},
{
- text: '修改订单',
+ text: '修改订单 ',
click: (_record) => this.changeOrder(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
},
diff --git a/src/app/routes/order-management/components/complaint/complaint.component.html b/src/app/routes/order-management/components/complaint/complaint.component.html
index 02cffe43..f55df62d 100644
--- a/src/app/routes/order-management/components/complaint/complaint.component.html
+++ b/src/app/routes/order-management/components/complaint/complaint.component.html
@@ -1,7 +1,7 @@
-
-
diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts
index c5821a87..39e964e7 100644
--- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts
+++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts
@@ -112,7 +112,17 @@ resourceStatus: any;
this.getGoodsSourceStatistical()
}
getGoodsSourceStatistical() {
- this.service.request(this.service.$api_statisticalStatus).subscribe(res => {
+ this.tabs = {
+ cancelQuantity: 0,
+ receivedQuantity: 0,
+ stayQuantity: 0,
+ signQuantity: 0,
+ compolatelQuantity: 0,
+ GoingQuantity: 0,
+ totalCount: 0
+ };
+ console.log(this.tabs)
+ this.service.request(this.service.$api_statisticalStatus,{...this.reqParams}).subscribe(res => {
if (res) {
let totalCount = 0;
res.forEach((element: any) => {
@@ -414,11 +424,11 @@ resourceStatus: any;
{
title: '操作',
fixed: 'right',
- width: '200px',
+ width: '120px',
className: 'text-left',
buttons: [
{
- text: '查看评价',
+ text: '查看评价 ',
click: (_record) => this.viewEvaluate(_record),
iif: item => item.billStatus == '5',
},
@@ -428,27 +438,27 @@ resourceStatus: any;
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6',
},
{
- text: '变更运费',
+ text: '变更运费 ',
click: (_record) => this.updateFreight(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
},
{
- text: '确认签收',
+ text: '确认签收 ',
click: (_record) => this.confirmReceipt(_record),
iif: item => item.billStatus == '4',
},
{
- text: '取消订单',
+ text: '取消订单 ',
click: (_record) => this.cancellation(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1',
},
{
- text: '修改订单',
+ text: '修改订单 ',
click: (_record) => this.changeOrder(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
},
{
- text: '查看轨迹',
+ text: '查看轨迹 ',
click: (_record) => this.cancellation(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
},
@@ -556,6 +566,7 @@ resourceStatus: any;
this.initST();
setTimeout(() => {
this.st.load();
+ this.getGoodsSourceStatistical()
}, 500);
}
/**
diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.html b/src/app/routes/supply-management/components/bulk/bulk.component.html
index 679c890e..a75fd18e 100644
--- a/src/app/routes/supply-management/components/bulk/bulk.component.html
+++ b/src/app/routes/supply-management/components/bulk/bulk.component.html
@@ -22,7 +22,7 @@
+ (click)="search()">查询
diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.ts b/src/app/routes/supply-management/components/bulk/bulk.component.ts
index 4a807c4e..78367202 100644
--- a/src/app/routes/supply-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/supply-management/components/bulk/bulk.component.ts
@@ -57,6 +57,10 @@ export class SupplyManagementBulkComponent implements OnInit {
...this.sf?.value,
};
}
+ search() {
+ this.st?.load(1);
+ this.getGoodsSourceStatistical()
+ }
/**
* 初始化查询表单
*/
@@ -272,7 +276,7 @@ export class SupplyManagementBulkComponent implements OnInit {
{
title: '操作',
fixed: 'right',
- width: '200px',
+ width: '110px',
className: 'text-left',
buttons: [
{
@@ -281,7 +285,7 @@ export class SupplyManagementBulkComponent implements OnInit {
iif: item => item.auditStatus == 1,
},
{
- text: '二维码',
+ text: '二维码 ',
click: (_record) => this.assignedQrcode(_record),
iif: item => item.auditStatus == 1 || item.auditStatus == 2,
},
@@ -364,6 +368,7 @@ export class SupplyManagementBulkComponent implements OnInit {
this.initST();
setTimeout(() => {
this.st.load();
+ this.getGoodsSourceStatistical();
}, 500);
}
@@ -488,7 +493,13 @@ export class SupplyManagementBulkComponent implements OnInit {
}
// 获取货源状态统计
getGoodsSourceStatistical() {
- this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 2 }).subscribe(res => {
+ this.tabs = {
+ totalQuantity: 0,
+ cancelQuantity: 0,
+ receivedQuantity: 0,
+ stayQuantity: 0
+ };
+ this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 2, ...this.reqParams }).subscribe(res => {
if (res) {
console.log(res)
this.tabs = res;
diff --git a/src/app/routes/supply-management/components/vehicle/vehicle.component.html b/src/app/routes/supply-management/components/vehicle/vehicle.component.html
index 44a969c5..811ab758 100644
--- a/src/app/routes/supply-management/components/vehicle/vehicle.component.html
+++ b/src/app/routes/supply-management/components/vehicle/vehicle.component.html
@@ -19,7 +19,7 @@
>
-
+