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