fix bug
This commit is contained in:
@ -397,25 +397,25 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
|
||||
{
|
||||
text: '生成电子单据',
|
||||
click: _record => this.generate(_record, 2),
|
||||
iif: item => !item.loadingLadingBillFilePath,
|
||||
iif: item => !item?.loadingLadingBillFilePath,
|
||||
acl: { ability: ['ORDER-RECEIPTS-electronicBillingOne'] },
|
||||
},
|
||||
{
|
||||
text: '通过',
|
||||
click: _record => this.sign(_record),
|
||||
iif: item => !item.loadingLadingBillFilePath,
|
||||
iif: item => !item?.loadingLadingBillFilePath,
|
||||
acl: { ability: ['ORDER-RECEIPTS-billAuditPassBatch'] },
|
||||
},
|
||||
{
|
||||
text: '修改',
|
||||
click: _record => this.modification(_record),
|
||||
iif: item => !item.loadingLadingBillFilePath,
|
||||
iif: item => !item?.loadingLadingBillFilePath,
|
||||
acl: { ability: ['ORDER-RECEIPTS-updateBillExamine'] },
|
||||
},
|
||||
{
|
||||
text: '查看凭证',
|
||||
click: _record => this.generate(_record, 3),
|
||||
iif: item => item.loadingLadingBillFilePath,
|
||||
iif: item => item?.loadingLadingBillFilePath,
|
||||
acl: { ability: ['ORDER-RECEIPTS-view'] },
|
||||
},
|
||||
]
|
||||
@ -491,8 +491,10 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
|
||||
nzFooter: null
|
||||
});
|
||||
modalRef.afterClose.subscribe((result: any) => {
|
||||
this.st.load(1);
|
||||
this.getGoodsSourceStatistical()
|
||||
if(result) {
|
||||
this.st.load();
|
||||
this.getGoodsSourceStatistical()
|
||||
}
|
||||
});
|
||||
}
|
||||
// 通过
|
||||
|
||||
Reference in New Issue
Block a user