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
652 B

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