You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
661 B

var u=(B,l,t)=>new Promise((n,c)=>{var s=a=>{try{x(t.next(a))}catch(e){c(e)}},o=a=>{try{x(t.throw(a))}catch(e){c(e)}},x=a=>a.done?n(a.value):Promise.resolve(a.value).then(s,o);x((t=t.apply(B,l)).next())});class r{constructor(){}static TextBoxChange(l,t,n,c,s,o){return u(this,null,function*(){return null})}static Blur(l,t,n,c,s,o){return u(this,null,function*(){if(t=="ND101Dtl1"&&(c=="SLXX"||c=="SLSX")){const x=r.GetTextBoxVal(s,"BatchID"),a=r.GetTextBoxVal(s,c);return o.forEach(e=>{e.BatchID===x&&e.OID!=n&&r.SetTextBoxVal(e,c,a)}),o}return null})}static SetTextBoxVal(l,t,n){l[t]=n}static GetTextBoxVal(l,t){return l[t]}}export{r as FrmDtlTextBoxChange};