| 1 |
- var b=Object.defineProperty;var f=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var g=(o,r,t)=>r in o?b(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,l=(o,r)=>{for(var t in r||(r={}))h.call(r,t)&&g(o,t,r[t]);if(f)for(var t of f(r))y.call(r,t)&&g(o,t,r[t]);return o};var d=(o,r,t)=>new Promise((p,s)=>{var c=e=>{try{m(t.next(e))}catch(a){s(a)}},i=e=>{try{m(t.throw(e))}catch(a){s(a)}},m=e=>e.done?p(e.value):Promise.resolve(e.value).then(c,i);m((t=t.apply(o,r)).next())});import"./index-D68l__AG.js";import{d as C,e as D,ag as O,aB as j,ar as w}from"./vue-vendor-Be68asQ6.js";import{a as $,j as k,H as q}from"./index-BFfnEkVs.js";import{g as v}from"./data-Cpg7hEl6.js";import{u as x}from"./useForm-kcRIHoe0.js";import{B as H}from"./BasicForm-Cv-dsB-e.js";import"./componentMap-BUTAcOmo.js";import"./antd-vue-vendor-DcqS7Wvq.js";import"./useFormItem-CtGMPcLp.js";import"./index-CETWS1o0.js";import"./BasicModal-D4gc2R81.js";import"./useTimeout-Ca5eqGu-.js";import"./vxe-table-vendor-DHF2TRpV.js";import"./useWindowSizeFn-BTSGGcie.js";import"./index-BZ_MXCtW.js";import"./index-BIPzXG41.js";import"./index-CXEQnmRq.js";import"./useIntersectionObserver-Bl62RIZ4.js";import"./download-CjoX0_mR.js";import"./base64Conver-24EVOS6V.js";import"./index-D1703ozz.js";import"./index-Bi7PIj53.js";import"./useCountdown-B7iR27pS.js";import"./useFormItemSingle-nLM0QlcI.js";import"./JSelectUser-DCwPqRxp.js";import"./props-BPxWJPuD.js";import"./JSelectBiz-Be8KsC5j.js";import"./JAddInput-BBXQvvpq.js";import"./areaDataUtil-Cik-Rc_P.js";import"./index-BOEzG86y.js";import"./index-BNFwynfr.js";import"./bem-BvvqSl-N.js";import"./props-Cw7AfxGV.js";import"./useContextMenu-BDwmjIwb.js";import"./depart.api-CDwTvdwQ.js";import"./JSelectDept-DT6g7V5M.js";import"./JPopup-DKJW27Yk.js";import"./JEllipsis-C04xKxcI.js";import"./JUpload-cB_Qj2H2.js";import"./index-iuayQczx.js";import"./index-DJQB4_Pr.js";import"./JAreaLinkage-BNOKwn5l.js";import"./JCodeEditor-CSivhUhT.js";import"./htmlmixed-DNSd26j0.js";import"./vue-DbzutmLn.js";/* empty css */import"./EasyCronInput-wCv2YMHn.js";const I=C({name:"JeecgOrderCustomerForm",components:{BasicForm:H},props:{formData:q.object.def({})},setup(o){const[r,{setFieldsValue:t,setProps:p,getFieldsValue:s,updateSchema:c}]=x({labelWidth:150,schemas:v(o.formData),showActionButtonGroup:!1,baseColProps:{span:8}}),i=D(()=>o.formData.disabled!==!1);let m={};const e="/test/jeecgOrderMain/queryOrderCustomerListByMainId";function a(n){return d(this,null,function*(){let B={id:n};const u=yield k.get({url:e,params:B});if(u&&u.length>0){let _=u[0];m=l({},_),yield t(m),yield p({disabled:i.value})}})}function F(){return d(this,null,function*(){let n=l({},m);return Object.keys(n).length>0?n:!1})}return{registerForm:r,formDisabled:i,initFormData:a,getFormData:F}}});function J(o,r,t,p,s,c){const i=O("BasicForm");return w(),j(i,{onRegister:o.registerForm},null,8,["onRegister"])}const qt=$(I,[["render",J]]);export{qt as default};
|