This commit is contained in:
wangshiming
2022-03-04 13:53:09 +08:00
parent 0270e41c4a
commit 9bc65559a1
3 changed files with 7 additions and 8 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-24 16:58:02
* @LastEditors : Shiming
* @LastEditTime : 2022-03-04 13:26:50
* @LastEditTime : 2022-03-04 13:53:04
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail-change\\bulk-detail-change.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -66,6 +66,7 @@ loadTime: any; // 货源单设置回显
@ViewChild('sf4', { static: false }) sf4!: SFComponent;
schema4: SFSchema = {};
isVisible = false;
billExpenses: any[] = []; //运费信息表格信息
ui4!: SFUISchema;
formData: any;
@ViewChild('sf', { static: false }) sf!: SFComponent;
@ -319,8 +320,7 @@ loadTime: any; // 货源单设置回显
this.service.request(this.service.$api_getBulkBillDetail, {id: this.id}).subscribe(res => {
if (res) {
this.i = res;
this.attObj = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'ATT')[0];
this.totalObj = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'TOTAL')[0];
this.billExpenses = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'TRA');
// 对装货凭证进行初始化
let arr : any= []
res?.receiptFilePath.forEach((element: any, index: any) => {