MerchantApplyBaseInfo-c209946d.js 12 KB

1
  1. import{d as I,y as M,e as D,r as _,x as A,b as B,w as j,k as J,a,o as c,A as C,B as l,f as e,c as b,C as K,ac as O,H as X,dy as q,a8 as z,S as E,J as G,M as Q,b2 as W,K as Y,U as Z,X as $,__tla as ee}from"./index-bdf2351c.js";import{_ as le,__tla as ae}from"./style.css_vue_type_style_index_0_src_true_lang-3ac401f1.js";import{_ as de,__tla as te}from"./UploadImgs-0d7cbfcc.js";import{_ as oe,__tla as ue}from"./UploadImg-57c214c6.js";import{g as ne,__tla as re}from"./index-60cc428b.js";import{d as ie}from"./tree-0af4953a.js";import{u as se,__tla as pe}from"./useMessage-26e942fe.js";import{_ as me}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as ce}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-ad3ef35e.js";import{__tla as _e}from"./el-image-viewer-9105fe05.js";import{__tla as fe}from"./index-7677433e.js";let L,be=Promise.all([(()=>{try{return ee}catch{}})(),(()=>{try{return ae}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return pe}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},L=me(I({__name:"MerchantApplyBaseInfo",props:{propFormData:{type:Object,default:()=>{}}},emits:["update:activeName"],setup(N,{emit:Ve}){const P=M(),f=D(()=>P.getMobile),s=_(!0);se(),X();const k=_(!1),d=A({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}),x=_(),S=N,g=_([]);return B(async()=>{g.value=await ne()}),j(()=>S.propFormData,m=>{var i;if(!m)return;q(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=E,n=G,r=Q,w=W,p=oe,H=Y,U=de,F=le,R=Z,T=$;return J((c(),C(R,{ref_key:"formRef",ref:x,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(w,{modelValue:a(d).areaId,"onUpdate:modelValue":t[2]||(t[2]=o=>a(d).areaId=o),options:a(g),props:a(ie),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(H,{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"])),[[T,a(k)]])}}}),[["__scopeId","data-v-2ef41e47"]])});export{be as __tla,L as default};