통합정산_정산환경설정
cellEditEnd(events: any){
if (events.value != "" || events.value != 0) {
setTimeout(() => {
for(let event of events) {
if ( event.item.BizMD ) {
//BizMD가 안넘어가는경우가 있어서 따로 나눠서 걸어줌
setTimeout(()=>{
this.eventBizMD = event.item.BizMD
this.toolbar.ApplyChanges(); //화면 변경사항 적용
},100);
setTimeout(()=>{
console.log(event.item.BizMD, event.rowIndex);
this.dcs.m_post("S_PAY_TaxAdjTotSetBizInfo_Reg_RowQuery", [{'BizMD' : this.eventBizMD,'DataSet' : 'DataSet1'}])
.subscribe(
result => {
if (result){
if (result[0][0].length !== 0) {
this.Rowdata = result[0][0];
this.ss1.updateRow(this.Rowdata,event.rowIndex);
// console.log('result[0][0]',result[0][0]);
this.toolbar.ApplyChanges();
}
}
}
);
this.toolbar.ApplyChanges(); //화면 변경사항 적용
},300);
}
}
this.toolbar.ApplyChanges(); //화면 변경사항 적용
},300);
}
}