binxie
2023-06-26 b5c5eb130ca0848124f9d136af4be142ad5aac07
force-app/main/default/lwc/lexCustomDiffReasonComp/lexCustomDiffReasonComp.js
@@ -5,27 +5,24 @@
    @api boxPiece;
    @track DiffReason = '';
    connectedCallback() {
        console.log('ProdId' + this.prodId);
    }
    diffReasonBlur(event) {
        console.log('LexCustomDiffReasonComp');
        console.log('LexCustomDiffReasonComp')
        this.DiffReason = event.target.value;
        this.dispatchEvent(
            new CustomEvent('diffreasons', {
        this.dispatchEvent(new CustomEvent('diffreasons', {
                composed: true,
                bubbles: true,
                cancelable: true,
                detail: {
                    data: {
                        DiffReason: this.DiffReason,
                        ProdId: this.prodId,
                        boxPiece: this.boxPiece
                data: { DiffReason: this.DiffReason, ProdId: this.prodId ,boxPiece:this.boxPiece}
                    }
        }));
                }
            })
        );
    }
}