<div class="field-box">
       <cc-commoncode-search id="ccCodeSrchBrandCd" value="{{pkc.brand_cd}}" result-value="{{pkc.brand_nm}}" grp-cd="Q037" grp-nm="브랜드" placeholder="코드" class="w-110" on-result="onResult" required="true" readonly="[[!formula('isEditable')]]"></cc-commoncode-search>
       <div class="hspace-2"></div>
       <sc-text-field value="{{pkc.brand_nm}}" placeholder="명" required="true" readonly="true"></sc-text-field>
    </div>
            onResult : function(event)
            {
                var me = this;
                var data = event.detail;
                
                switch (event.target.id)
                {
                    case "ccCodeSrchBrandCd" :
                        var ajax = new SCAjax();
                        ajax.url = "/bp/iqi/packCommon/findBrandInfoList.do";
                        ajax.body = {brand_cd:data.dtl_cd};
                        ajax.addEventListener("response", function(event)
                        {
                            ajax.removeEventListener(event.type, arguments.callee);
                            
                            var _result = event.target.lastResponse;
                            
                            me.set("pkc.vd_cd", _result[0].vd_cd);
                            me.set("pkc.vd_nm", _result[0].vd_nm);
                        });
                        ajax.request();
                        break;
                }
            },


                                    if (UT.isNotEmpty(_pkc.brand_cd))
                                    {
                                        //me.$.ccCodeSrchBrandCd.value = _pkc.brand_cd;
                                        //me.$.ccCodeSrchBrandCd.onFindCommonCode();
                                        
                                        me.$.ccCodeSrchBrandCd.fire("result", {dtl_cd:_pkc.brand_cd});
                                    }