import{d as c,U as d,a2 as f,ad as b,af as i,k as a,a4 as n,u as s,l as _}from"./vue-vendor-CxLCUzY4.js";import"./index-ByX9XNkE.js";import{b as N}from"./JAddInput-B36c3B5x.js";import{j as h}from"./antd-vue-vendor-CahNzUUa.js";import{u as B,B as v}from"./useForm-Dx3lJ3DG.js";import{_ as x}from"./index-CLZzJyTP.js";import"./componentMap-DpsJvoqz.js";import"./useFormItem-IOFWTdED.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-DvqyyN77.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JImageUpload-BFwNYdm5.js";import"./JDictSelectTag-CfF54ALX.js";import"./JSelectDept-CaEHrQp6.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./JPopup-BvqhHpPl.js";import"./JEllipsis-C_gT_vEQ.js";import"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./JAreaLinkage-M9TGy8nY.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./JCodeEditor-CR57XeIe.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CWOTSpxK.js";import"./index-C7yPiS0L.js";import"./depart.api-DHG2p2Yd.js";const y=c({__name:"BasicFormRander",setup(I){const u=[{field:"productName",label:"商品名称",component:"Input"},{field:"price",label:"价格",component:"InputNumber"},{field:"buyNums",label:"购买个数",component:"InputNumber",render:({model:t,field:o})=>_(h,{placeholder:"请输入购买个数",value:t[o],style:{width:"100%"},type:"number",onChange:p=>{t[o]=p.target.value}})},{field:"describe",label:"描述",component:"Input",componentProps:{disabled:!0},render:({values:t})=>{let o=t.productName?t.productName:"",p=t.price?t.price:0,r=t.buyNums?t.buyNums:0;return"购买商品名称："+o+", 总价格: "+p*r+"元"}}],[l]=B({schemas:u,showResetButton:!1,labelWidth:"150px",submitButtonOptions:{text:"提交",preIcon:""},actionColOptions:{span:17}});return(t,o)=>{const p=d("a-input");return f(),b(s(v),{onRegister:s(l),style:{"margin-top":"20px"}},{phone:i(({model:r,field:e})=>[a(p,{value:r[e],"onUpdate:value":m=>r[e]=m,placeholder:"请输入手机号"},null,8,["value","onUpdate:value"]),o[0]||(o[0]=n("span",{class:"font-color"},"请输入您的手机号，方便我们联系您",-1))]),feedback:i(({model:r,field:e})=>[a(N,{value:r[e],"onUpdate:value":m=>r[e]=m,placeholder:"请输入问题反馈"},null,8,["value","onUpdate:value"]),o[1]||(o[1]=n("span",{class:"font-color"},"请您图文并茂，方便我们了解问题并及时反馈",-1))]),_:1},8,["onRegister"])}}}),xt=x(y,[["__scopeId","data-v-074f6d17"]]);export{xt as default};
