This commit is contained in:
wangshiming
2022-03-08 13:48:02 +08:00
parent e6efbd0d20
commit 3db73b9509
3 changed files with 22 additions and 13 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-24 16:58:02
* @LastEditors : Shiming
* @LastEditTime : 2022-03-07 17:56:10
* @LastEditTime : 2022-03-08 13:47:15
* @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.
*/
@ -99,10 +99,9 @@ loadTime: any; // 货源单设置回显
}
ngOnInit(): void {
this.initSF();
this.initData()
this.initSF3();
this.initSF4();
this.initData()
}
initSF() {
this.schema = {
@ -110,6 +109,7 @@ loadTime: any; // 货源单设置回显
loadingLadingBillFilePath: {
type: 'string',
title: '装货凭证',
readOnly: this.i.billStatus !== '4' || this.i.billStatus !== '3',
ui: {
widget: 'upload',
action: apiConf.fileUpload,
@ -148,6 +148,7 @@ loadTime: any; // 货源单设置回显
loadingPeopleVehiclesGoodsFilePath: {
type: 'string',
title: '',
readOnly: this.i.billStatus !== '4' || this.i.billStatus !== '3',
ui: {
widget: 'upload',
action: apiConf.fileUpload,
@ -202,6 +203,7 @@ loadTime: any; // 货源单设置回显
unloadingLadingBillFilePath: {
type: 'string',
title: '卸货凭证',
readOnly: this.i.billStatus !== '4' || this.i.billStatus !== '3',
ui: {
widget: 'upload',
action: apiConf.fileUpload,
@ -240,6 +242,7 @@ loadTime: any; // 货源单设置回显
unloadingPeopleVehiclesGoodsFilePath: {
type: 'string',
title: '',
readOnly: this.i.billStatus !== '4' || this.i.billStatus !== '3',
ui: {
widget: 'upload',
action: apiConf.fileUpload,
@ -311,6 +314,7 @@ loadTime: any; // 货源单设置回显
if (res) {
this.i = res;
this.billExpenses = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'TRA');
this.initSF();
// 对装货凭证进行初始化
let arr : any= []
res?.receiptFilePath.forEach((element: any, index: any) => {