/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: /home/liman/app/assets/detail.e100b7aa.js
import{a as eu,C as uu,A as tu,_ as lu}from"./avatar.a32c4989.js";import{u as au,_ as nu}from"./NavBar.76da7a74.js";import{c as W}from"./baseColor.d55f65ad.js";import{_ as oe}from"./ColorButton.b49f9bb5.js";import{I as Te}from"./Icon.182286d8.js";import{d as H,o as x,c as B,a as t,w as o,u as n,h as v,q as ou,f as ce,t as P,r as su,n as iu,a9 as ru,k as S,aG as cu,aW as du,a8 as fu,x as ie,H as E,y as j,l as Re,z as te,aX as vu,aY as mu,a5 as Cu,a1 as _u,a2 as pu,aZ as bu,F as X,m as Y,a_ as ye,B as xe,i as U,a$ as we,g as J}from"./index.1a3475c6.js";import{_ as gu}from"./FloatButton.78356af9.js";import{a as hu,_ as Au,u as yu}from"./DefaultButton.a6702d2e.js";import{g as Fe,N as ke}from"./service.2517a3e5.js";import{u as xu,_ as de}from"./Upload.371281cc.js";import{C as fe}from"./Card.71e469b7.js";import{F as wu,b as y,I as T,T as Fu}from"./TextArea.d077ae34.js";import{r as _e,g as Ue,s as ku,i as Su,o as ze,c as ae,u as Pe,a as Ee,e as Oe,b as $u,d as Ne,n as V,m as Le,f as K,h as De,j as le,w as be,t as re,k as pe,l as ve,p as Bu,q as Iu,v as We,x as Tu,y as Se,z as Ru,A as $e,B as Uu,C as zu,D as Pu}from"./on-popup-reopen.2e70d65e.js";import{B as Eu,a as Ou,c as Nu}from"./index.4e713d65.js";import{S as Lu,a as Du}from"./index.0bfe5dbb.js";import{D as Wu}from"./index.26d46ddd.js";import{S as Q,a as ee}from"./index.d86eac0d.js";import"./index.3cd55015.js";import{A as ju}from"./index.840e33c1.js";import"./Col.6ee415de.js";import"./useRefs.fde82f65.js";import"./FormItemContext.f63f4019.js";import"./useMemo.0c914b79.js";const Vu={class:"flex items-center select-none"},Hu={key:1,class:"ml-2 font-bold"},Zu={key:2,class:"text-gray-400 ml-2"},me=H({__name:"ItemCollapse",props:{icon:null,iconColor:{default:"#000"},title:null,color:{default:"#fff"},total:null},setup(e){const s=e,{prefixVar:f,prefixCls:r}=au("item-collapse");return(u,c)=>(x(),B("div",{class:iu([`${n(r)}`])},[t(n(uu),{expandIconPosition:"right"},{default:o(()=>[t(n(eu),null,{header:o(()=>[v("div",Vu,[s.icon?(x(),B("span",{key:0,class:"flex p-2 rounded",style:ou({background:s.color})},[t(Te,{icon:s.icon,size:"16",color:s.iconColor},null,8,["icon","color"])],4)):ce("",!0),s.title?(x(),B("span",Hu,P(s.title),1)):ce("",!0),s.total?(x(),B("span",Zu,"("+P(s.total)+")",1)):ce("",!0)])]),default:o(()=>[su(u.$slots,"default")]),_:3})]),_:3})],2))}}),qu={to:[String,Object],url:String,replace:Boolean};function Mu({to:e,url:s,replace:f,$router:r}){e&&r?r[f?"replace":"push"](e):s&&(f?location.replace(s):location.href=s)}let Xu=0;function je(){const e=ru(),{name:s="unknown"}=(e==null?void 0:e.type)||{};return`${s}-${++Xu}`}function Yu(){const e=S([]),s=[];return cu(()=>{e.value=[]}),[e,r=>(s[r]||(s[r]=u=>{e.value[r]=u}),s[r])]}function Ku(e,s,f){let r=0;const u=e.scrollLeft,c=f===0?1:Math.round(f*1e3/16);function _(){e.scrollLeft+=(s-u)/c,++r<c&&_e(_)}_()}function Gu(e,s,f,r){let u=Ue(e);const c=u<s,_=f===0?1:Math.round(f*1e3/16),A=(s-u)/_;function p(){u+=A,(c&&u>s||!c&&u<s)&&(u=s),ku(e,u),c&&u<s||!c&&u>s?_e(p):r&&_e(r)}p()}function Ju(e,s){if(!Su||!window.IntersectionObserver)return;const f=new IntersectionObserver(c=>{s(c[0].intersectionRatio>0)},{root:document.body}),r=()=>{e.value&&f.observe(e.value)},u=()=>{e.value&&f.unobserve(e.value)};du(u),fu(u),ze(r)}const[Qu,et]=ae("sticky"),ut={zIndex:V,position:Le("top"),container:Object,offsetTop:K(0),offsetBottom:K(0)};var tt=H({name:Qu,props:ut,emits:["scroll","change"],setup(e,{emit:s,slots:f}){const r=S(),u=Pe(r),c=ie({fixed:!1,width:0,height:0,transform:0}),_=E(()=>Ee(e.position==="top"?e.offsetTop:e.offsetBottom)),A=E(()=>{const{fixed:b,height:F,width:m}=c;if(b)return{width:`${m}px`,height:`${F}px`}}),p=E(()=>{if(!c.fixed)return;const b=Oe($u(e.zIndex),{width:`${c.width}px`,height:`${c.height}px`,[e.position]:`${_.value}px`});return c.transform&&(b.transform=`translate3d(0, ${c.transform}px, 0)`),b}),w=b=>s("scroll",{scrollTop:b,isFixed:c.fixed}),$=()=>{if(!r.value||De(r))return;const{container:b,position:F}=e,m=le(r),N=Ue(window);if(c.width=m.width,c.height=m.height,F==="top")if(b){const C=le(b),I=C.bottom-_.value-c.height;c.fixed=_.value>m.top&&C.bottom>0,c.transform=I<0?I:0}else c.fixed=_.value>m.top;else{const{clientHeight:C}=document.documentElement;if(b){const I=le(b),L=C-I.top-_.value-c.height;c.fixed=C-_.value<m.bottom&&C>I.top,c.transform=L<0?-L:0}else c.fixed=C-_.value<m.bottom}w(N)};return j(()=>c.fixed,b=>s("change",b)),Ne("scroll",$,{target:u}),Ju(r,$),()=>{var b;return t("div",{ref:r,style:A.value},[t("div",{class:et({fixed:c.fixed}),style:p.value},[(b=f.default)==null?void 0:b.call(f)])])}}});const lt=be(tt),[at,Be]=ae("tab");var nt=H({name:at,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:V,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:re},setup(e,{slots:s}){const f=E(()=>{const u={},{type:c,color:_,disabled:A,isActive:p,activeColor:w,inactiveColor:$}=e;_&&c==="card"&&(u.borderColor=_,A||(p?u.backgroundColor=_:u.color=_));const F=p?w:$;return F&&(u.color=F),u}),r=()=>{const u=t("span",{class:Be("text",{ellipsis:!e.scrollable})},[s.title?s.title():e.title]);return e.dot||pe(e.badge)&&e.badge!==""?t(Eu,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[u]}):u};return()=>t("div",{id:e.id,role:"tab",class:[Be([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:f.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[r()])}});const[ot,Ie]=ae("tabs");var st=H({name:ot,props:{count:ve(Number),inited:Boolean,animated:Boolean,duration:ve(V),swipeable:Boolean,lazyRender:Boolean,currentIndex:ve(Number)},emits:["change"],setup(e,{emit:s,slots:f}){const r=S(),u=A=>s("change",A),c=()=>{var A;const p=(A=f.default)==null?void 0:A.call(f);return e.animated||e.swipeable?t(Lu,{ref:r,loop:!1,class:Ie("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:u},{default:()=>[p]}):p},_=A=>{const p=r.value;p&&p.state.active!==A&&p.swipeTo(A,{immediate:!e.inited})};return j(()=>e.currentIndex,_),Re(()=>{_(e.currentIndex)}),()=>t("div",{class:Ie("content",{animated:e.animated||e.swipeable})},[c()])}});const[Ve,se]=ae("tabs"),it={type:Le("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:K(0),duration:K(.3),animated:Boolean,ellipsis:re,swipeable:Boolean,scrollspy:Boolean,offsetTop:K(0),background:String,lazyRender:re,lineWidth:V,lineHeight:V,beforeChange:Function,swipeThreshold:K(5),titleActiveColor:String,titleInactiveColor:String},He=Symbol(Ve);var rt=H({name:Ve,props:it,emits:["click","change","scroll","disabled","rendered","click-tab","update:active"],setup(e,{emit:s,slots:f}){let r,u,c;const _=S(),A=S(),p=S(),w=je(),$=Pe(_),[b,F]=Yu(),{children:m,linkChildren:N}=Bu(He),C=ie({inited:!1,position:"",lineStyle:{},currentIndex:-1}),I=E(()=>m.length>e.swipeThreshold||!e.ellipsis||e.shrink),L=E(()=>({borderColor:e.color,background:e.background})),O=(i,d)=>{var h;return(h=i.name)!=null?h:d},Z=E(()=>{const i=m[C.currentIndex];if(i)return O(i,C.currentIndex)}),D=E(()=>Ee(e.offsetTop)),G=E(()=>e.sticky?D.value+r:0),g=i=>{const d=A.value,h=b.value;if(!I.value||!d||!h||!h[C.currentIndex])return;const k=h[C.currentIndex].$el,R=k.offsetLeft-(d.offsetWidth-k.offsetWidth)/2;Ku(d,R,i?0:+e.duration)},a=()=>{const i=C.inited;te(()=>{const d=b.value;if(!d||!d[C.currentIndex]||e.type!=="line"||De(_.value))return;const h=d[C.currentIndex].$el,{lineWidth:k,lineHeight:R}=e,M=h.offsetLeft+h.offsetWidth/2,ne={width:Se(k),backgroundColor:e.color,transform:`translateX(${M}px) translateX(-50%)`};if(i&&(ne.transitionDuration=`${e.duration}s`),pe(R)){const Ae=Se(R);ne.height=Ae,ne.borderRadius=Ae}C.lineStyle=ne})},l=i=>{const d=i<C.currentIndex?-1:1;for(;i>=0&&i<m.length;){if(!m[i].disabled)return i;i+=d}},z=i=>{const d=l(i);if(!pe(d))return;const h=m[d],k=O(h,d),R=C.currentIndex!==null;C.currentIndex=d,k!==e.active&&(s("update:active",k),R&&s("change",k,h.title))},q=i=>{const d=m.find((k,R)=>O(k,R)===i),h=d?m.indexOf(d):0;z(h)},ge=(i=!1)=>{if(e.scrollspy){const d=m[C.currentIndex].$el;if(d&&$.value){const h=$e(d,$.value)-G.value;u=!0,Gu($.value,h,i?0:+e.duration,()=>{u=!1})}}},Ze=(i,d,h)=>{const{title:k,disabled:R}=m[d],M=O(m[d],d);R?s("disabled",M,k):(Nu(e.beforeChange,{args:[M],done:()=>{z(d),ge()}}),s("click",M,k),Mu(i)),s("click-tab",{name:M,title:k,event:h,disabled:R})},qe=i=>{c=i.isFixed,s("scroll",i)},Me=i=>{te(()=>{q(i),ge(!0)})},Xe=()=>{for(let i=0;i<m.length;i++){const{top:d}=le(m[i].$el);if(d>G.value)return i===0?0:i-1}return m.length-1},Ye=()=>{if(e.scrollspy&&!u){const i=Xe();z(i)}},Ke=()=>m.map((i,d)=>t(nt,mu({key:i.id,id:`${w}-${d}`,ref:F(d),type:e.type,color:e.color,style:i.titleStyle,class:i.titleClass,shrink:e.shrink,isActive:d===C.currentIndex,controls:i.id,scrollable:I.value,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,onClick:h=>Ze(i,d,h)},Uu(i,["dot","badge","title","disabled","showZeroBadge"])),{title:i.$slots.title})),Ge=()=>{if(e.type==="line"&&m.length)return t("div",{class:se("line"),style:C.lineStyle},null)},he=()=>{var i,d;const{type:h,border:k}=e;return t("div",{ref:p,class:[se("wrap"),{[Ou]:h==="line"&&k}]},[t("div",{ref:A,role:"tablist",class:se("nav",[h,{shrink:e.shrink,complete:I.value}]),style:L.value,"aria-orientation":"horizontal"},[(i=f["nav-left"])==null?void 0:i.call(f),Ke(),Ge(),(d=f["nav-right"])==null?void 0:d.call(f)])])};j([()=>e.color,Iu],a),j(()=>e.active,i=>{i!==Z.value&&q(i)}),j(()=>m.length,()=>{C.inited&&(q(e.active),a(),te(()=>{g(!0)}))}),j(()=>C.currentIndex,()=>{g(),a(),c&&!e.scrollspy&&Ru(Math.ceil($e(_.value)-D.value))});const Je=()=>{q(e.active),te(()=>{C.inited=!0,p.value&&(r=le(p.value).height),g(!0)})},Qe=(i,d)=>s("rendered",i,d);return We({resize:a,scrollTo:Me}),vu(a),Tu(a),ze(Je),Ne("scroll",Ye,{target:$}),N({id:w,props:e,setLine:a,onRendered:Qe,currentName:Z,scrollIntoView:g}),()=>{var i;return t("div",{ref:_,class:se([e.type])},[e.sticky?t(lt,{container:_.value,offsetTop:D.value,onScroll:qe},{default:()=>{var d;return[he(),(d=f["nav-bottom"])==null?void 0:d.call(f)]}}):[he(),(i=f["nav-bottom"])==null?void 0:i.call(f)],t(st,{count:m.length,inited:C.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:C.currentIndex,onChange:z},{default:()=>{var d;return[(d=f.default)==null?void 0:d.call(f)]}})])}}});const ct=Symbol(),[dt,Ce]=ae("tab"),ft=Oe({},qu,{dot:Boolean,name:V,badge:V,title:String,disabled:Boolean,titleClass:zu,titleStyle:[String,Object],showZeroBadge:re});var vt=H({name:dt,props:ft,setup(e,{slots:s}){const f=je(),r=S(!1),{parent:u,index:c}=Pu(He);if(!u)return;const _=()=>{var w;return(w=e.name)!=null?w:c.value},A=()=>{r.value=!0,u.props.lazyRender&&te(()=>{u.onRendered(_(),e.title)})},p=E(()=>{const w=_()===u.currentName.value;return w&&!r.value&&A(),w});return j(()=>e.title,()=>{u.setLine(),u.scrollIntoView()}),Cu(ct,p),()=>{var w;const $=`${u.id}-${c.value}`,{animated:b,swipeable:F,scrollspy:m,lazyRender:N}=u.props;if(!s.default&&!b)return;const C=m||p.value;if(b||F)return t(Du,{id:f,role:"tabpanel",class:Ce("panel-wrapper",{inactive:!p.value}),tabindex:p.value?0:-1,"aria-hidden":!p.value,"aria-labelledby":$},{default:()=>{var O;return[t("div",{class:Ce("panel")},[(O=s.default)==null?void 0:O.call(s)])]}});const L=r.value||m||!N?(w=s.default)==null?void 0:w.call(s):null;return We({id:f}),_u(t("div",{id:f,role:"tabpanel",class:Ce("panel"),tabindex:C?0:-1,"aria-labelledby":$},[L]),[[pu,C]])}}});const ue=be(vt),mt=be(rt);const Ct={class:"p-4"},_t=["src"],pt={key:1,alt:"",src:lu},bt={class:"block mt-3 font-semibold"},gt={class:"block !text-info mt-3"},ht={class:"grid grid-cols-2 gap-4 mt-6"},At=["href"],yt=U(" \u067E\u06CC\u0627\u0645 "),xt=["href"],wt=U(" \u062A\u0645\u0627\u0633 "),Ft={class:"mt-5"},kt=v("div",{class:"flex justify-between mb-3"},[v("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u06AF\u0631\u0645\u06CC :"),v("div",null,[v("span",{class:"font-bold text-danger"},"400"),v("span",{class:"text-xs ml-1 text-danger"},"\u06AF\u0631\u0645")])],-1),St=v("div",{class:"flex justify-between"},[v("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u0631\u06CC\u0627\u0644\u06CC :"),v("div",null,[v("span",{class:"font-bold text-danger"},"1\u060C200\u060C000"),v("span",{class:"text-xs ml-1 text-danger"},"\u0631\u06CC\u0627\u0644")])],-1),$t={class:"mt-3",dir:"ltr"},Bt=v("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u06A9\u0645\u06CC\u0644\u06CC",-1),It={class:"pt-5",dir:"rtl"},Tt={class:"flex flex-col gap-2"},Rt={class:"flex flex-col gap-2"},Ut=v("span",{class:"mr-4"},"\u0645\u062F\u0627\u0631\u06A9",-1),zt={class:"pt-5",dir:"rtl"},Pt={class:"flex flex-col gap-2"},Et=v("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062D\u0633\u0627\u0628 \u06A9\u0627\u0631\u0628\u0631\u06CC",-1),Ot={class:"pt-5",dir:"rtl"},Nt={class:"flex flex-col gap-2"},Lt=v("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0641\u0631\u0648\u0634\u06AF\u0627\u0647",-1),Dt={class:"pt-5",dir:"rtl"},Wt={class:"flex flex-col gap-2"},jt=v("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u0645\u0627\u0633",-1),Vt={class:"pt-5",dir:"rtl"},Ht={class:"mb-4"},Zt={class:"mb-1"},qt={class:"flex items-center"},Mt=v("span",null," \u0627\u0641\u0632\u0648\u062F\u0646 \u062A\u0644\u0641\u0646",-1),Xt=U(" \u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062A "),Yt={class:"p-6"},Kt=v("p",{class:"mb-4 font-bold"},"\u0627\u0641\u0632\u0648\u062F\u0646",-1),Gt={class:"grid grid-cols-2 gap-4 my-7"},Jt=U(" \u0645\u0630\u0627\u06A9\u0631\u0647 "),Qt=U("\u0633\u0646\u062F"),el=U(" \u0627\u0646\u0635\u0631\u0627\u0641 "),wl=H({__name:"detail",setup(e){const s=S(!1),f=S(4),r=ie({}),u=ie({}),c=S([""]),_=bu(),A=S([]),p=S([]),{provinceList:w,stateList:$,changeProvince:b,province:F,state:m}=xu(),N=S([]),C=S([]),I=S([]);function L(){c.value.push("")}async function O(){try{u.city=m.value;const{data:g}=await yu(u);we.success("\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0628\u0627 \u0645\u0648\u0641\u0642\u06CC\u062A \u0630\u062E\u06CC\u0631\u0647 \u0634\u062F")}catch{we.error("\u062E\u0637\u0627 \u062F\u0631 \u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u06A9\u0627\u0631\u0628\u0631\u06CC")}}function Z(g,a){switch(a){case 1:u.national_card_img=g[0].id,u.national_card_img_url=g[0].url;break;case 2:u.license_img=g[0].id,u.license_img_url=g[0].url;break;case 3:u.doc_img=g[0].id,u.doc_img_url=g[0].url;break}}function D(g,a){switch(a){case 1:u.national_card_img=null,u.national_card_img_url=null;break;case 2:u.license_img=null,u.license_img_url=null;break;case 3:u.doc_img=null,u.doc_img_url=null;break}}function G(g,a){return a.title.toLowerCase().indexOf(g.toLowerCase())>=0}return Re(async()=>{var g;try{const{data:a}=await hu(_.params.id);Object.assign(r,a),F.value=(g=r.city.parent)==null?void 0:g.id,F.value&&(await b(F.value),m.value=r.city.id),Object.assign(u,a),Array.isArray(u.phone)&&(c.value=u.phone),u.license_img&&C.value.push({id:u.license_img,url:u.license_img_url}),u.national_card_img&&I.value.push({id:u.national_card_img,url:u.national_card_img_url}),u.doc_img&&N.value.push({id:u.doc_img,url:u.doc_img_url});const l=await Fe(ke.currency);A.value=l.data.rows[0];const z=await Fe(ke.metal);p.value=z.data.rows[0]}catch(a){console.log(a)}}),(g,a)=>(x(),B("div",Ct,[t(nu,{title:"\u062C\u0632\u0626\u06CC\u0627\u062A \u0645\u0634\u062A\u0631\u06CC",onOnBack:a[0]||(a[0]=l=>g.$router.push({name:"customers"}))}),t(n(fe),{class:"text-center card-padding-24"},{default:o(()=>[t(n(tu),{size:75},{icon:o(()=>[r.avatar_url?(x(),B("img",{key:0,alt:"",src:r.avatar_url},null,8,_t)):(x(),B("img",pt))]),_:1}),v("span",bt,P(r.first_name)+" "+P(r.last_name),1),v("span",gt,P(r.mobile),1),v("div",ht,[v("a",{href:`sms:${r.mobile}`},[t(oe,{class:"!w-full",type:"warning",icon:"vuesax-linear:messages-1",iconSize:"16"},{default:o(()=>[yt]),_:1})],8,At),v("a",{href:`tel:${r.mobile}`},[t(oe,{type:"success",icon:"vuesax-linear:call",class:"!w-full",iconSize:"16"},{default:o(()=>[wt]),_:1})],8,xt)])]),_:1}),v("div",Ft,[t(n(fe),{class:"card-padding-16"},{default:o(()=>[kt,St]),_:1}),t(me,{class:"mt-3",color:n(W).rgbInfo,iconColor:n(W).info,icon:"vuesax-linear:messages-1",total:"2",title:"\u0645\u0630\u0627\u06A9\u0631\u0627\u062A"},null,8,["color","iconColor"]),t(me,{class:"mt-3",color:n(W).rgbWarning,iconColor:n(W).warning,icon:"vuesax-linear:note-2",total:"4",title:"\u0627\u0633\u0646\u0627\u062F"},null,8,["color","iconColor"]),t(me,{class:"mt-3",color:n(W).rgbSuccess,iconColor:n(W).success,icon:"vuesax-linear:element-equal",total:"12",title:"\u0645\u062D\u0635\u0648\u0644\u0627\u062A \u062E\u0631\u06CC\u062F\u0627\u0631\u06CC \u0634\u062F\u0647"},null,8,["color","iconColor"])]),v("div",$t,[t(n(fe),{class:"card-padding-16"},{default:o(()=>[t(n(wu),{labelWrap:!0,layout:"vertical"},{default:o(()=>[t(n(mt),{shrink:"","line-width":"100",active:f.value,"onUpdate:active":a[26]||(a[26]=l=>f.value=l),color:n(W).primary},{default:o(()=>[t(n(ue),{key:"5"},{title:o(()=>[Bt]),default:o(()=>[v("div",It,[v("div",Tt,[t(n(y),{label:"\u0622\u06CC\u062F\u06CC \u062A\u0644\u06AF\u0631\u0627\u0645"},{default:o(()=>[t(n(T),{value:u.telegram,"onUpdate:value":a[1]||(a[1]=l=>u.telegram=l),placeholder:"\u0622\u06CC\u062F\u06CC \u062A\u0644\u06AF\u0631\u0627\u0645 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0622\u06CC\u062F\u06CC \u0627\u06CC\u0646\u0633\u062A\u0627\u06AF\u0631\u0627\u0645"},{default:o(()=>[t(n(T),{value:u.instagram,"onUpdate:value":a[2]||(a[2]=l=>u.instagram=l),placeholder:"\u0622\u06CC\u062F\u06CC \u0627\u06CC\u0646\u0633\u062A\u0627\u06AF\u0631\u0627\u0645 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0646\u0634\u0627\u0646\u06CC \u0633\u0627\u06CC\u062A"},{default:o(()=>[t(n(T),{value:u.web_url,"onUpdate:value":a[3]||(a[3]=l=>u.web_url=l),placeholder:"\u0646\u0634\u0627\u0646\u06CC \u0633\u0627\u06CC\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1})]),t(n(Wu)),v("div",Rt,[t(n(y),{label:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u0627\u0648\u0644"},{default:o(()=>[t(n(Q),{value:u.first_currency,"onUpdate:value":a[4]||(a[4]=l=>u.first_currency=l),class:"w-full",placeholder:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u0627\u0648\u0644 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:o(()=>[(x(!0),B(X,null,Y(A.value,l=>(x(),J(n(ee),{key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(y),{label:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u062F\u0648\u0645"},{default:o(()=>[t(n(Q),{value:u.second_currency,"onUpdate:value":a[5]||(a[5]=l=>u.second_currency=l),class:"w-full",placeholder:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u062F\u0648\u0645 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:o(()=>[(x(!0),B(X,null,Y(A.value,l=>(x(),J(n(ee),{key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(y),{label:"\u062C\u0646\u0633 \u0641\u0644\u0632"},{default:o(()=>[t(n(Q),{value:u.metal,"onUpdate:value":a[6]||(a[6]=l=>u.metal=l),class:"w-full",placeholder:"\u062C\u0646\u0633 \u0641\u0644\u0632 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:o(()=>[(x(!0),B(X,null,Y(p.value,l=>(x(),J(n(ee),{key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})])])]),_:1}),t(n(ue),{key:"4"},{title:o(()=>[Ut]),default:o(()=>[v("div",zt,[v("div",Pt,[t(n(y),{label:"\u06A9\u0627\u0631\u062A \u0645\u0644\u06CC"},{default:o(()=>[t(de,{"file-list":I.value,onUpload:a[7]||(a[7]=l=>Z(l,1)),onRemove:a[8]||(a[8]=l=>D(l,1)),description:"\u062A\u0635\u0648\u06CC\u0631 \u06A9\u0627\u0631\u062A \u0645\u0644\u06CC \u0631\u0627 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F"},null,8,["file-list"])]),_:1}),t(n(y),{label:"\u062C\u0648\u0627\u0632"},{default:o(()=>[t(de,{"file-list":C.value,onUpload:a[9]||(a[9]=l=>Z(l,2)),onRemove:a[10]||(a[10]=l=>D(l,2)),description:"\u062A\u0635\u0648\u06CC\u0631 \u062C\u0648\u0627\u0632 \u0631\u0627 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F"},null,8,["file-list"])]),_:1}),t(n(y),{label:"\u0633\u0646\u062F \u06CC\u0627 \u0627\u062C\u0627\u0631\u0647 \u0645\u063A\u0627\u0632\u0647"},{default:o(()=>[t(de,{"file-list":N.value,onUpload:a[11]||(a[11]=l=>Z(l,3)),onRemove:a[12]||(a[12]=l=>D(l,3)),description:"\u062A\u0635\u0648\u06CC\u0631 \u0633\u0646\u062F \u06CC\u0627 \u0627\u062C\u0627\u0631\u0647 \u0645\u063A\u0627\u0632\u0647 \u0631\u0627 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F"},null,8,["file-list"])]),_:1})])])]),_:1}),t(n(ue),{key:"3"},{title:o(()=>[Et]),default:o(()=>[v("div",Ot,[v("div",Nt,[t(n(y),{label:"\u0647\u062F\u0641"},{default:o(()=>[t(n(T),{size:"large",value:u.target,"onUpdate:value":a[13]||(a[13]=l=>u.target=l),placeholder:"\u0645\u06CC\u0632\u0627\u0646 \u0647\u062F\u0641 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0633\u0642\u0641 \u0628\u062F\u0647\u06CC"},{default:o(()=>[t(n(T),{value:u.max_debt,"onUpdate:value":a[14]||(a[14]=l=>u.max_debt=l),placeholder:"\u0633\u0642\u0641 \u0628\u062F\u0647\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0633\u0642\u0641 \u0645\u062F\u062A"},{default:o(()=>[t(n(T),{value:u.max_period,"onUpdate:value":a[15]||(a[15]=l=>u.max_period=l),placeholder:"\u0633\u0642\u0641 \u0645\u062F\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0634\u0645\u0627\u0631\u0647 \u0627\u0642\u062A\u0635\u0627\u062F\u06CC"},{default:o(()=>[t(n(T),{value:u.economical_number,"onUpdate:value":a[16]||(a[16]=l=>u.economical_number=l),placeholder:"\u0634\u0645\u0627\u0631\u0647 \u0627\u0642\u062A\u0635\u0627\u062F\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0634\u0645\u0627\u0631\u0647 \u062B\u0628\u062A"},{default:o(()=>[t(n(T),{value:u.registration_number,"onUpdate:value":a[17]||(a[17]=l=>u.registration_number=l),placeholder:"\u0634\u0645\u0627\u0631\u0647 \u062B\u0628\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1})])])]),_:1}),t(n(ue),{key:"2"},{title:o(()=>[Lt]),default:o(()=>[v("div",Dt,[v("div",Wt,[t(n(y),{label:"\u0646\u0627\u0645 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647"},{default:o(()=>[t(n(T),{value:u.shop_name,"onUpdate:value":a[18]||(a[18]=l=>u.shop_name=l),placeholder:"\u0646\u0627\u0645 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0627\u0633\u062A\u0627\u0646"},{default:o(()=>[t(n(Q),{"show-search":"","filter-option":G,value:n(F),"onUpdate:value":a[19]||(a[19]=l=>ye(F)?F.value=l:null),onChange:n(b),class:"w-full",placeholder:"\u0627\u0633\u062A\u0627\u0646 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:o(()=>[(x(!0),B(X,null,Y(n(w),l=>(x(),J(n(ee),{title:l.name,key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["title","value"]))),128))]),_:1},8,["value","onChange"])]),_:1}),t(n(y),{label:"\u0634\u0647\u0631"},{default:o(()=>[t(n(Q),{"show-search":"","filter-option":G,value:n(m),"onUpdate:value":a[20]||(a[20]=l=>ye(m)?m.value=l:null),class:"w-full",placeholder:"\u0634\u0647\u0631 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:o(()=>[(x(!0),B(X,null,Y(n($),l=>(x(),J(n(ee),{title:l.name,key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["title","value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(y),{label:"\u0645\u0646\u0637\u0642\u0647"},{default:o(()=>[t(n(T),{value:u.aria,"onUpdate:value":a[21]||(a[21]=l=>u.aria=l),placeholder:"\u0645\u0646\u0637\u0642\u0647 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u06A9\u062F \u067E\u0633\u062A\u06CC"},{default:o(()=>[t(n(T),{value:u.postcode,"onUpdate:value":a[22]||(a[22]=l=>u.postcode=l),placeholder:"\u06A9\u062F \u067E\u0633\u062A\u06CC \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0622\u062F\u0631\u0633"},{default:o(()=>[t(n(Fu),{value:u.address,"onUpdate:value":a[23]||(a[23]=l=>u.address=l),placeholder:"\u0622\u062F\u0631\u0633 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F","auto-size":{minRows:3}},null,8,["value"])]),_:1})])])]),_:1}),t(n(ue),{key:"1"},{title:o(()=>[jt]),default:o(()=>[v("div",Vt,[v("div",Ht,[t(n(y),{label:"\u0627\u06CC\u0645\u06CC\u0644"},{default:o(()=>[t(n(T),{dir:"ltr",class:"!text-right",value:u.email,"onUpdate:value":a[24]||(a[24]=l=>u.email=l),placeholder:"\u0627\u06CC\u0645\u06CC\u0644 \u0645\u0634\u062A\u0631\u06CC \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1})]),(x(!0),B(X,null,Y(c.value,(l,z)=>(x(),B("div",Zt,[t(n(y),{label:` \u062A\u0644\u0641\u0646 \u062B\u0627\u0628\u062A ${z+1}`},{default:o(()=>[t(n(T),{dir:"ltr",class:"!text-right",value:c.value[z],"onUpdate:value":q=>c.value[z]=q,placeholder:"\u062A\u0644\u0641\u0646 \u0645\u0634\u062A\u0631\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value","onUpdate:value"])]),_:2},1032,["label"])]))),256)),t(n(xe),{type:"text",class:"mt-5",onClick:a[25]||(a[25]=l=>L())},{default:o(()=>[v("div",qt,[t(Te,{icon:"vuesax-linear:add",size:"16",class:"mr-1"}),Mt])]),_:1})])]),_:1})]),_:1},8,["active","color"]),t(n(xe),{onClick:O,class:"w-full mt-5",size:"large",type:"primary"},{default:o(()=>[Xt]),_:1})]),_:1})]),_:1})]),t(gu,{onClick:a[27]||(a[27]=l=>s.value=!0)}),t(n(ju),{show:s.value,"onUpdate:show":a[31]||(a[31]=l=>s.value=l)},{default:o(()=>[v("div",Yt,[Kt,v("div",Gt,[t(oe,{onClick:a[28]||(a[28]=l=>g.$router.push({name:"conversationAdd",query:{user_id:u.id}})),class:"!p-6 !w-full",type:"info",icon:"vuesax-linear:messages-1"},{default:o(()=>[Jt]),_:1}),t(oe,{onClick:a[29]||(a[29]=l=>g.$router.push({name:"documentAdd",query:{user_id:u.id}})),class:"!p-6 !w-full",type:"warning",icon:"vuesax-linear:note-2"},{default:o(()=>[Qt]),_:1})]),t(Au,{class:"w-full",size:"large",onClick:a[30]||(a[30]=l=>s.value=!1)},{default:o(()=>[el]),_:1})])]),_:1},8,["show"])]))}});export{wl as default};
Copyright ©2k19 -
Hexid
|
Tex7ure