fix bug
This commit is contained in:
@ -226,9 +226,24 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit {
|
||||
* @param record 当前行
|
||||
*/
|
||||
changeStalyAccount(record: any) {
|
||||
this.changeAccount = true;
|
||||
this.initSFNew();
|
||||
|
||||
this.changeRecord = record;
|
||||
let params:any = {
|
||||
partnerId: this.roleId ,
|
||||
ltdId: record.ltdId
|
||||
}
|
||||
this.service.request(this.service.$api_get_getPartnerLitAmountSummary, params).subscribe(res => {
|
||||
if (res) {
|
||||
this.changeAmount = Math.abs(res.waitRecordedAmount)
|
||||
if(res.waitRecordedAmount > 0) {
|
||||
this.addd = true;
|
||||
} else {
|
||||
this.addd = false;
|
||||
}
|
||||
this.changeAccount = true;
|
||||
this.initSFNew();
|
||||
}
|
||||
});
|
||||
// this.getBillDetail(record?.ltdId);
|
||||
}
|
||||
|
||||
@ -285,6 +300,7 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit {
|
||||
console.log(res);
|
||||
this.service.msgSrv.success('修改成功!')
|
||||
this.changeAccount = false;
|
||||
this.st.load()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user