This commit is contained in:
wangshiming
2022-04-24 10:27:44 +08:00
parent 8626dcaabf
commit af9f6b1400
2 changed files with 21 additions and 22 deletions

View File

@ -525,8 +525,8 @@ export class orderManagementVoucherViewComponent implements OnInit {
}); });
this.service.request(this.service.$api_createBillEsignGoods, [this.datas?.id]).subscribe(res => { this.service.request(this.service.$api_createBillEsignGoods, [this.datas?.id]).subscribe(res => {
if (res) { if (res) {
switch (res[0]?.esignFlowStatus) { res.forEach((element:any) => {
case 1: switch (element?.esignFlowStatus) {
case '1': case '1':
setTimeout(() => { setTimeout(() => {
this.service.request(this.service.$api_getBillGoodsEsignFile, [this.datas?.id]).subscribe(res => { this.service.request(this.service.$api_getBillGoodsEsignFile, [this.datas?.id]).subscribe(res => {
@ -535,20 +535,17 @@ export class orderManagementVoucherViewComponent implements OnInit {
this.modal.destroy(true); this.modal.destroy(true);
} }
}); });
modal.destroy();
}, 9000); }, 9000);
return;
case 2:
modal.destroy();
return; return;
default: default:
this.service.msgSrv.error('电子卸货单签署异常!'); this.service.msgSrv.error('签署异常!');
modal.destroy(); modal.destroy();
return; return;
} }
});
} else { } else {
this.service.msgSrv.error('电子卸货单签署异常!'); this.service.msgSrv.error('签署异常!');
modal.destroy(); modal.destroy();
} }
}); });

View File

@ -208,6 +208,8 @@ export class ETCInvoicedLogsComponent implements OnInit {
className: 'text-right font-weight-bold', className: 'text-right font-weight-bold',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalAmount }) } widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalAmount }) }
}, },
{ title: '进站时间', index: 'trafficStartTime', type: 'date', width: 150 },
{ title: '出站时间', index: 'trafficEndTime', type: 'date', width: 150 },
{ title: '交易时间', index: 'exTime', type: 'date', width: 150 }, { title: '交易时间', index: 'exTime', type: 'date', width: 150 },
{ title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 }, { title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 },
{ title: '销售方', index: 'sellerName', width: 150 }, { title: '销售方', index: 'sellerName', width: 150 },