1 |
- import{d as T,y as M,e as A,r as _,x as D,b as B,w as j,k as z,a,o as c,C,A as l,f as e,c as b,B as K,ad as O,P as E,dA as W,a9 as Z,V as q,H as G,K as J,b1 as Q,I as X,W as Y,Z as $,_ as ee,__tla as le}from"./index-0b2503c4.js";import{_ as ae,__tla as de}from"./Editor-909a16f8.js";import{_ as te,__tla as oe}from"./UploadImgs-09ad3801.js";import{_ as ue,__tla as ne}from"./UploadImg-e02c7cca.js";import{g as re,__tla as ie}from"./index-a5770e94.js";import{d as se}from"./tree-0af4953a.js";import{u as pe,__tla as me}from"./useMessage-d05433ee.js";import{__tla as ce}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-ad45eef2.js";import{__tla as _e}from"./el-image-viewer-45bae442.js";import{__tla as fe}from"./index-9695eab1.js";let P,be=Promise.all([(()=>{try{return le}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return oe}catch{}})(),(()=>{try{return ne}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return fe}catch{}})()]).then(async()=>{let V,v,y,h;V={key:0},v={key:2},y=["innerHTML"],h={key:3},P=ee(T({__name:"MerchantApplyBaseInfo",props:{propFormData:{type:Object,default:()=>{}}},emits:["update:activeName"],setup(L,{emit:Ve}){const N=M(),f=A(()=>N.getMobile),s=_(!0);pe(),E();const x=_(!1),d=D({id:void 0,name:void 0,status:void 0,description:void 0,contact:void 0,address:void 0,contactNumber:void 0,website:void 0,createTime:void 0,complaintsHotline:void 0,customerServiceHotline:void 0,email:void 0,businessLicensePicture:void 0,expireTime:void 0,areaId:void 0,accountName:void 0,accountNumber:void 0,bankName:void 0,brandLicensing:void 0,otherCertificate:[],legalPerson:void 0,legalPersonNumber:void 0,identityCardFront:void 0,identityCardReverseSide:void 0,logoUrl:void 0}),k=_(),w=L,g=_([]);return B(async()=>{g.value=await re()}),j(()=>w.propFormData,m=>{var i;if(!m)return;W(d,m);let t=100;d.otherCertificate=(i=m.otherCertificate)==null?void 0:i.map((u,n)=>(t++,{url:u,uid:Math.round(new Date+t),status:"success"}))},{immediate:!0}),(m,t)=>{const i=Z,u=q,n=G,r=J,H=Q,p=ue,S=X,U=te,F=ae,I=Y,R=$;return z((c(),C(I,{ref_key:"formRef",ref:k,model:a(d),class:O([{view:a(s),"mobile-card":a(f)},"overflow-auto"]),rules:m.formRules,"label-width":"120px",disabled:!0,style:{overflow:"hidden"}},{default:l(()=>[e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u5546\u6237\u540D\u79F0",prop:"name"},{default:l(()=>[e(i,{modelValue:a(d).name,"onUpdate:modelValue":t[0]||(t[0]=o=>a(d).name=o),placeholder:"\u8BF7\u8F93\u5165\u5546\u6237\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u8054\u7EDC\u4EBA",prop:"contact"},{default:l(()=>[e(i,{modelValue:a(d).contact,"onUpdate:modelValue":t[1]||(t[1]=o=>a(d).contact=o),placeholder:"\u8BF7\u8F93\u5165\u8054\u7EDC\u4EBA"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u6240\u5728\u5730",prop:"areaId"},{default:l(()=>[e(H,{modelValue:a(d).areaId,"onUpdate:modelValue":t[2]||(t[2]=o=>a(d).areaId=o),options:a(g),props:a(se),class:"w-1/1",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730",filterable:"","collapse-tags":""},null,8,["modelValue","options","props"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u8054\u7EDC\u4EBA\u624B\u673A\u53F7",prop:"contactNumber"},{default:l(()=>[e(i,{modelValue:a(d).contactNumber,"onUpdate:modelValue":t[3]||(t[3]=o=>a(d).contactNumber=o),placeholder:"\u8BF7\u8F93\u5165\u8054\u7EDC\u4EBA\u624B\u673A\u53F7",maxlength:"11",onkeyup:"value=value.replace(/[^\\d]/g,'')"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u90AE\u7BB1",prop:"email"},{default:l(()=>[e(i,{modelValue:a(d).email,"onUpdate:modelValue":t[4]||(t[4]=o=>a(d).email=o),placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u6CD5\u4EBA",prop:"legalPerson"},{default:l(()=>[e(i,{modelValue:a(d).legalPerson,"onUpdate:modelValue":t[5]||(t[5]=o=>a(d).legalPerson=o),placeholder:"\u8BF7\u8F93\u5165\u6CD5\u4EBA"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u6CD5\u4EBA\u624B\u673A\u53F7",prop:"legalPersonNumber"},{default:l(()=>[e(i,{modelValue:a(d).legalPersonNumber,"onUpdate:modelValue":t[6]||(t[6]=o=>a(d).legalPersonNumber=o),placeholder:"\u8BF7\u8F93\u5165\u6CD5\u4EBA\u624B\u673A\u53F7",maxlength:"11",onkeyup:"value=value.replace(/[^\\d]/g,'')"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),a(f)?(c(),b("div",V,[e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"\u6CD5\u4EBA\u8EAB\u4EFD\u8BC1\u6B63\u9762",prop:"businessLicensePicture"})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{prop:"identityCardFront",class:"pic"},{default:l(()=>[e(p,{modelValue:a(d).identityCardFront,"onUpdate:modelValue":t[7]||(t[7]=o=>a(d).identityCardFront=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"\u6CD5\u4EBA\u8EAB\u4EFD\u8BC1\u53CD\u9762",prop:"businessLicensePicture"})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{prop:"identityCardReverseSide",class:"pic"},{default:l(()=>[e(p,{modelValue:a(d).identityCardReverseSide,"onUpdate:modelValue":t[8]||(t[8]=o=>a(d).identityCardReverseSide=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})])):(c(),C(r,{key:1},{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u6CD5\u4EBA\u8EAB\u4EFD\u8BC1\u6B63\u9762(\u56FD\u5FBD\u9762)",prop:"identityCardFront"},{default:l(()=>[e(p,{modelValue:a(d).identityCardFront,"onUpdate:modelValue":t[9]||(t[9]=o=>a(d).identityCardFront=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u6CD5\u4EBA\u8EAB\u4EFD\u8BC1\u53CD\u9762(\u4EBA\u50CF\u9762)",prop:"identityCardReverseSide"},{default:l(()=>[e(p,{modelValue:a(d).identityCardReverseSide,"onUpdate:modelValue":t[10]||(t[10]=o=>a(d).identityCardReverseSide=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u6807\u7B7E"},{default:l(()=>[e(i,{disabled:""})]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u529E\u516C\u5730\u5740",prop:"address"},{default:l(()=>[e(i,{modelValue:a(d).address,"onUpdate:modelValue":t[11]||(t[11]=o=>a(d).address=o),placeholder:"\u8BF7\u8F93\u5165\u529E\u516C\u5730\u5740"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12,style:{display:"none"}},{default:l(()=>[e(u,{label:"\u670D\u52A1\u5230\u671F\u65F6\u95F4",prop:"expireTime"},{default:l(()=>[e(S,{modelValue:a(d).expireTime,"onUpdate:modelValue":t[12]||(t[12]=o=>a(d).expireTime=o),type:"date","value-format":"x",placeholder:"\u9009\u62E9\u670D\u52A1\u5230\u671F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u7EF4\u6743\u7535\u8BDD",prop:"complaintsHotline"},{default:l(()=>[e(i,{modelValue:a(d).complaintsHotline,"onUpdate:modelValue":t[13]||(t[13]=o=>a(d).complaintsHotline=o),placeholder:"\u8BF7\u8F93\u5165\u7EF4\u6743\u7535\u8BDD",maxlength:"11",onkeyup:"value=value.replace(/[^\\d]/g,'')"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u5BA2\u670D\u7535\u8BDD",prop:"customerServiceHotline"},{default:l(()=>[e(i,{modelValue:a(d).customerServiceHotline,"onUpdate:modelValue":t[14]||(t[14]=o=>a(d).customerServiceHotline=o),placeholder:"\u8BF7\u8F93\u5165\u5BA2\u670D\u7535\u8BDD",maxlength:"11",onkeyup:"value=value.replace(/[^\\d]/g,'')"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u5B98\u7F51",prop:"website"},{default:l(()=>[e(i,{modelValue:a(d).website,"onUpdate:modelValue":t[15]||(t[15]=o=>a(d).website=o),placeholder:"\u8BF7\u8F93\u5165\u5B98\u7F51"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u5F00\u6237\u94F6\u884C",prop:"bankName"},{default:l(()=>[e(i,{modelValue:a(d).bankName,"onUpdate:modelValue":t[16]||(t[16]=o=>a(d).bankName=o),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u8D26\u6237\u540D\u79F0",prop:"accountName"},{default:l(()=>[e(i,{modelValue:a(d).accountName,"onUpdate:modelValue":t[17]||(t[17]=o=>a(d).accountName=o),placeholder:"\u8BF7\u8F93\u5165\u8D26\u6237\u540D\u79F0",maxlength:"11"},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u8D26\u6237\u53F7\u7801",prop:"accountNumber"},{default:l(()=>[e(i,{modelValue:a(d).accountNumber,"onUpdate:modelValue":t[18]||(t[18]=o=>a(d).accountNumber=o),placeholder:"\u8BF7\u8F93\u5165\u8D26\u6237\u53F7\u7801",onkeyup:"value=value.replace(/[^\\d]/g,'')"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),a(f)?(c(),b("div",v,[e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"Logo",prop:"logoUrl"})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{prop:"logoUrl",class:"pic"},{default:l(()=>[e(p,{modelValue:a(d).logoUrl,"onUpdate:modelValue":t[19]||(t[19]=o=>a(d).logoUrl=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"\u8425\u4E1A\u6267\u7167",prop:"businessLicensePicture"})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{prop:"businessLicensePicture",class:"pic"},{default:l(()=>[e(p,{modelValue:a(d).businessLicensePicture,"onUpdate:modelValue":t[20]||(t[20]=o=>a(d).businessLicensePicture=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"\u54C1\u724C\u6388\u6743\u4E66",prop:"brandLicensing"})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{prop:"brandLicensing",class:"pic"},{default:l(()=>[e(p,{modelValue:a(d).businessLicensePicture,"onUpdate:modelValue":t[21]||(t[21]=o=>a(d).businessLicensePicture=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"\u5176\u4ED6\u8BC1\u4E66",prop:"otherCertificate"})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{prop:"otherCertificate",class:"pic"},{default:l(()=>[e(U,{modelValue:a(d).otherCertificate,"onUpdate:modelValue":t[22]||(t[22]=o=>a(d).otherCertificate=o),disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{style:{border:"none"},label:"\u7B80\u4ECB",prop:"description"})]),_:1})]),_:1}),e(n,{span:24},{default:l(()=>[e(u,{prop:"description",class:"description"},{default:l(()=>[K("div",{innerHTML:a(d).description},null,8,y)]),_:1})]),_:1})])):(c(),b("div",h,[e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(u,{label:"\u8425\u4E1A\u6267\u7167",prop:"businessLicensePicture"},{default:l(()=>[e(p,{modelValue:a(d).businessLicensePicture,"onUpdate:modelValue":t[23]||(t[23]=o=>a(d).businessLicensePicture=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(u,{label:"\u54C1\u724C\u6388\u6743\u4E66",prop:"brandLicensing"},{default:l(()=>[e(p,{modelValue:a(d).brandLicensing,"onUpdate:modelValue":t[24]||(t[24]=o=>a(d).brandLicensing=o),limit:1,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{label:"\u5176\u4ED6\u8BC1\u4E66",prop:"otherCertificate"},{default:l(()=>[e(U,{modelValue:a(d).otherCertificate,"onUpdate:modelValue":t[25]||(t[25]=o=>a(d).otherCertificate=o),limit:9,disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:24},{default:l(()=>[e(u,{label:"\u7B80\u4ECB",prop:"description"},{default:l(()=>[e(F,{modelValue:a(d).description,"onUpdate:modelValue":t[26]||(t[26]=o=>a(d).description=o),height:"150px",disabled:a(s)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})]))]),_:1},8,["model","class","rules"])),[[R,a(x)]])}}}),[["__scopeId","data-v-563929a4"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/sale/merchant/Apply/MerchantApplyBaseInfo.vue"]])});export{be as __tla,P as default};
|