import{l as u}from"./lodash.92db800d.js";import{cl as l,Q as m}from"./index.e80c366d.js";const n={index:2,name:"relaComName",code:"relaComNo"};function g(t){const{sourceConfig:a,apis:c,insertBusinessField:s=n}=t,e=u.exports.cloneDeep(a),{columns:o}=e,{index:r=n.index,name:f=n.name,code:p=n.code}=s,i=o.splice(r);return e.apis=c,e.columns=o.concat(i),{contentConfig:e}}function h(t){const{sourceConfig:a,queryField:c="relaComNo"}=t,s=JSON.parse(JSON.stringify(a)),e=l(""),o=m(()=>e.value==="");return s.formItems=[...s.formItems,{trigger:"change",field:c,placeholder:"\u4E1A\u52A1\u516C\u53F8",noRest:!0,type:"business-permission",onChange:r=>e.value=r}],{searchConfig:s,isHasCompany:o,companyNo:e}}export{g as a,h as u};
