fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-15 13:17:42
|
* @Date : 2021-12-15 13:17:42
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-01 15:48:01
|
* @LastEditTime : 2022-04-21 13:29:36
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\audit\\voucher-view\\voucher-view.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\audit\\voucher-view\\voucher-view.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|||||||
@ -559,7 +559,13 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
|||||||
this.modal.destroy(true);
|
this.modal.destroy(true);
|
||||||
}
|
}
|
||||||
openlaod(value: any) {
|
openlaod(value: any) {
|
||||||
|
|
||||||
if (value === 1) {
|
if (value === 1) {
|
||||||
|
if(this.datas?.esignFlowStatus == '1') {
|
||||||
|
this.service.request(this.service.$api_getBillTakeEsignFile, [this.datas?.id]).subscribe((res) => {
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
|
}
|
||||||
const a = document.createElement('a');
|
const a = document.createElement('a');
|
||||||
a.href = this.datas?.loadingElectronicsLadingBillFilePath;
|
a.href = this.datas?.loadingElectronicsLadingBillFilePath;
|
||||||
document.body.appendChild(a);
|
document.body.appendChild(a);
|
||||||
@ -567,6 +573,11 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
|||||||
a.click(); //点击下载
|
a.click(); //点击下载
|
||||||
document.body.removeChild(a); //下载完成移除元素
|
document.body.removeChild(a); //下载完成移除元素
|
||||||
} else {
|
} else {
|
||||||
|
if(this.datas?.esignFlowStatus == '1') {
|
||||||
|
this.service.request(this.service.$api_getBillTakeEsignFile, [this.datas?.id]).subscribe((res) => {
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
|
}
|
||||||
const a = document.createElement('a');
|
const a = document.createElement('a');
|
||||||
a.href = this.datas?.unloadingElectronicsLadingBillFilePath;
|
a.href = this.datas?.unloadingElectronicsLadingBillFilePath;
|
||||||
document.body.appendChild(a);
|
document.body.appendChild(a);
|
||||||
|
|||||||
@ -204,10 +204,16 @@ export class OrderManagementService extends ShipperBaseService {
|
|||||||
$api_abnormalWarning_asyncExport = `/api/sdc/abnormalWarning/asyncExport`;
|
$api_abnormalWarning_asyncExport = `/api/sdc/abnormalWarning/asyncExport`;
|
||||||
// 异步导出投诉管理导出
|
// 异步导出投诉管理导出
|
||||||
$api_asyncExportComplaintListDrv = `/api/sdc/complaint/operate/asyncExportComplaintListDrv`;
|
$api_asyncExportComplaintListDrv = `/api/sdc/complaint/operate/asyncExportComplaintListDrv`;
|
||||||
//操作日志
|
//操作日志
|
||||||
public $api_get_log_list = `/api/mdc/pbc/operationLogRecords/getOperationLogRecordsList`;
|
public $api_get_log_list = `/api/mdc/pbc/operationLogRecords/getOperationLogRecordsList`;
|
||||||
// 查看补充协议
|
// 查看补充协议
|
||||||
public $api_getSupplementaryAgreement = `/api/sdc/billShipper/getSupplementaryAgreement`;
|
public $api_getSupplementaryAgreement = `/api/sdc/billShipper/getSupplementaryAgreement`;
|
||||||
|
|
||||||
|
|
||||||
|
// 获取电子提货单签章附件
|
||||||
|
public $api_getBillTakeEsignFile = `/api/sdc/billOperate/getBillTakeEsignFile`;
|
||||||
|
// 获取电子卸货单签章附件
|
||||||
|
public $api_getBillDischargeEsignFile = `/api/sdc/billOperate/getBillDischargeEsignFile`;
|
||||||
/**
|
/**
|
||||||
* 根据企业ID,获取企业历史网络货运人
|
* 根据企业ID,获取企业历史网络货运人
|
||||||
* @returns
|
* @returns
|
||||||
|
|||||||
Reference in New Issue
Block a user