/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: /home/liman/app/assets/detail.9b1f6425.js
import{a as Qe,C as eu,A as uu,_ as tu}from"./avatar.93e19c2c.js";import{u as lu,_ as au}from"./NavBar.0b76a1d6.js";import{c as j}from"./baseColor.d55f65ad.js";import{_ as oe}from"./ColorButton.8863d04a.js";import{I as Ie}from"./Icon.01155ee8.js";import{a8 as nu,j as S,aF as ou,aV as su,a7 as iu,d as q,x as ie,G as E,y as V,a as t,k as Te,z as te,aW as ru,aX as cu,a4 as du,a0 as fu,a1 as vu,o as F,c as T,w as o,u as n,g as f,m as mu,e as Cu,t as P,r as _u,n as pu,aY as bu,F as K,l as X,aZ as Ae,B as ye,h as U,a_ as xe,f as J}from"./index.b8b6046e.js";import{_ as gu}from"./FloatButton.a9f1a2df.js";import{a as hu,_ as Au,u as yu}from"./DefaultButton.5765e1ef.js";import{g as we,N as Fe}from"./service.a9796610.js";import{u as xu,_ as ce}from"./Upload.40baf5de.js";import{C as de}from"./Card.b5f744a6.js";import{F as wu,b as y,I,T as Fu}from"./TextArea.2915cbfd.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 W,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.eca30234.js";import{B as Eu,a as Ou,c as Nu}from"./index.e71b29d8.js";import{S as Lu,a as Du}from"./index.6925f90b.js";import{D as ju}from"./index.af8809ca.js";import{S as Q,a as ee}from"./index.c1da4e4d.js";import"./index.e8604617.js";import{A as Vu}from"./index.78b5d15d.js";import"./Col.6ff68750.js";import"./useRefs.1b85c56b.js";/* empty css */import"./FormItemContext.0017c0e9.js";import"./useMemo.4cef1e6f.js";const Wu={to:[String,Object],url:String,replace:Boolean};function qu({to:e,url:s,replace:v,$router:r}){e&&r?r[v?"replace":"push"](e):s&&(v?location.replace(s):location.href=s)}let Zu=0;function je(){const e=nu(),{name:s="unknown"}=(e==null?void 0:e.type)||{};return`${s}-${++Zu}`}function Hu(){const e=S([]),s=[];return ou(()=>{e.value=[]}),[e,r=>(s[r]||(s[r]=u=>{e.value[r]=u}),s[r])]}function Mu(e,s,v){let r=0;const u=e.scrollLeft,c=v===0?1:Math.round(v*1e3/16);function _(){e.scrollLeft+=(s-u)/c,++r<c&&Ce(_)}_()}function Ku(e,s,v,r){let u=Re(e);const c=u<s,_=v===0?1:Math.round(v*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?Ce(p):r&&Ce(r)}p()}function Xu(e,s){if(!Su||!window.IntersectionObserver)return;const v=new IntersectionObserver(c=>{s(c[0].intersectionRatio>0)},{root:document.body}),r=()=>{e.value&&v.observe(e.value)},u=()=>{e.value&&v.unobserve(e.value)};su(u),iu(u),Ue(r)}const[Yu,Gu]=ae("sticky"),Ju={zIndex:W,position:Ne("top"),container:Object,offsetTop:Y(0),offsetBottom:Y(0)};var Qu=q({name:Yu,props:Ju,emits:["scroll","change"],setup(e,{emit:s,slots:v}){const r=S(),u=ze(r),c=ie({fixed:!1,width:0,height:0,transform:0}),_=E(()=>Pe(e.position==="top"?e.offsetTop:e.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(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}),x=b=>s("scroll",{scrollTop:b,isFixed:c.fixed}),$=()=>{if(!r.value||Le(r))return;const{container:b,position:w}=e,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 V(()=>c.fixed,b=>s("change",b)),Oe("scroll",$,{target:u}),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=q({name:ut,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:W,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:re},setup(e,{slots:s}){const v=E(()=>{const u={},{type:c,color:_,disabled:A,isActive:p,activeColor:x,inactiveColor:$}=e;_&&c==="card"&&(u.borderColor=_,A||(p?u.backgroundColor=_:u.color=_));const w=p?x:$;return w&&(u.color=w),u}),r=()=>{const u=t("span",{class:$e("text",{ellipsis:!e.scrollable})},[s.title?s.title():e.title]);return e.dot||_e(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:[$e([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:v.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[lt,Be]=ae("tabs");var at=q({name:lt,props:{count:fe(Number),inited:Boolean,animated:Boolean,duration:fe(W),swipeable:Boolean,lazyRender:Boolean,currentIndex:fe(Number)},emits:["change"],setup(e,{emit:s,slots:v}){const r=S(),u=A=>s("change",A),c=()=>{var A;const p=(A=v.default)==null?void 0:A.call(v);return e.animated||e.swipeable?t(Lu,{ref:r,loop:!1,class:Be("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 V(()=>e.currentIndex,_),Te(()=>{_(e.currentIndex)}),()=>t("div",{class:Be("content",{animated:e.animated||e.swipeable})},[c()])}});const[Ve,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:W,lineHeight:W,beforeChange:Function,swipeThreshold:Y(5),titleActiveColor:String,titleInactiveColor:String},We=Symbol(Ve);var ot=q({name:Ve,props:nt,emits:["click","change","scroll","disabled","rendered","click-tab","update:active"],setup(e,{emit:s,slots:v}){let r,u,c;const _=S(),A=S(),p=S(),x=je(),$=ze(_),[b,w]=Hu(),{children:m,linkChildren:N}=Bu(We),C=ie({inited:!1,position:"",lineStyle:{},currentIndex:-1}),B=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(()=>Pe(e.offsetTop)),G=E(()=>e.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:+e.duration)},l=()=>{const i=C.inited;te(()=>{const d=b.value;if(!d||!d[C.currentIndex]||e.type!=="line"||Le(_.value))return;const h=d[C.currentIndex].$el,{lineWidth:k,lineHeight:R}=e,M=h.offsetLeft+h.offsetWidth/2,ne={width:ke(k),backgroundColor:e.color,transform:`translateX(${M}px) translateX(-50%)`};if(i&&(ne.transitionDuration=`${e.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}},z=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!==e.active&&(s("update:active",k),R&&s("change",k,h.title))},H=i=>{const d=m.find((k,R)=>O(k,R)===i),h=d?m.indexOf(d):0;z(h)},be=(i=!1)=>{if(e.scrollspy){const d=m[C.currentIndex].$el;if(d&&$.value){const h=Se(d,$.value)-G.value;u=!0,Ku($.value,h,i?0:+e.duration,()=>{u=!1})}}},qe=(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),be()}}),s("click",M,k),qu(i)),s("click-tab",{name:M,title:k,event:h,disabled:R})},Ze=i=>{c=i.isFixed,s("scroll",i)},He=i=>{te(()=>{H(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(e.scrollspy&&!u){const i=Me();z(i)}},Xe=()=>m.map((i,d)=>t(tt,cu({key:i.id,id:`${x}-${d}`,ref:w(d),type:e.type,color:e.color,style:i.titleStyle,class:i.titleClass,shrink:e.shrink,isActive:d===C.currentIndex,controls:i.id,scrollable:B.value,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,onClick:h=>qe(i,d,h)},Uu(i,["dot","badge","title","disabled","showZeroBadge"])),{title:i.$slots.title})),Ye=()=>{if(e.type==="line"&&m.length)return t("div",{class:se("line"),style:C.lineStyle},null)},ge=()=>{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: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)])])};V([()=>e.color,Iu],l),V(()=>e.active,i=>{i!==Z.value&&H(i)}),V(()=>m.length,()=>{C.inited&&(H(e.active),l(),te(()=>{g(!0)}))}),V(()=>C.currentIndex,()=>{g(),l(),c&&!e.scrollspy&&Ru(Math.ceil(Se(_.value)-D.value))});const Ge=()=>{H(e.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:He}),ru(l),Tu(l),Ue(Ge),Oe("scroll",Ke,{target:$}),N({id:x,props:e,setLine:l,onRendered:Je,currentName:Z,scrollIntoView:g}),()=>{var i;return t("div",{ref:_,class:se([e.type])},[e.sticky?t(et,{container:_.value,offsetTop:D.value,onScroll:Ze},{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:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:C.currentIndex,onChange:z},{default:()=>{var d;return[(d=v.default)==null?void 0:d.call(v)]}})])}}});const st=Symbol(),[it,ve]=ae("tab"),rt=Ee({},Wu,{dot:Boolean,name:W,badge:W,title:String,disabled:Boolean,titleClass:zu,titleStyle:[String,Object],showZeroBadge:re});var ct=q({name:it,props:rt,setup(e,{slots:s}){const v=je(),r=S(!1),{parent:u,index:c}=Pu(We);if(!u)return;const _=()=>{var x;return(x=e.name)!=null?x:c.value},A=()=>{r.value=!0,u.props.lazyRender&&te(()=>{u.onRendered(_(),e.title)})},p=E(()=>{const x=_()===u.currentName.value;return x&&!r.value&&A(),x});return V(()=>e.title,()=>{u.setLine(),u.scrollIntoView()}),du(st,p),()=>{var x;const $=`${u.id}-${c.value}`,{animated:b,swipeable:w,scrollspy:m,lazyRender:N}=u.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=q({__name:"ItemCollapse",props:{icon:null,iconColor:{default:"#000"},title:null,color:{default:"#fff"},total:null},setup(e){const s=e,{prefixVar:v,prefixCls:r}=lu("item-collapse");return(u,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,P(s.title),1),f("span",mt,"("+P(s.total)+")",1)])]),default:o(()=>[_u(u.$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=U(" \u067E\u06CC\u0627\u0645 "),xt=["href"],wt=U(" \u062A\u0645\u0627\u0633 "),Ft={class:"mt-5"},kt=f("div",{class:"flex justify-between mb-3"},[f("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u06AF\u0631\u0645\u06CC :"),f("div",null,[f("span",{class:"font-bold text-danger"},"0"),f("span",{class:"text-xs ml-1 text-danger"},"\u06AF\u0631\u0645")])],-1),St=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"},"0"),f("span",{class:"text-xs ml-1 text-danger"},"\u0631\u06CC\u0627\u0644")])],-1),$t={class:"mt-3",dir:"ltr"},Bt=f("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=f("span",{class:"mr-4"},"\u0645\u062F\u0627\u0631\u06A9",-1),zt={class:"pt-5",dir:"rtl"},Pt={class:"flex flex-col gap-2"},Et=f("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=f("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"},jt={class:"flex flex-col gap-2"},Vt=f("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u0645\u0627\u0633",-1),Wt={class:"pt-5",dir:"rtl"},qt={class:"mb-4"},Zt={class:"mb-1"},Ht={class:"flex items-center"},Mt=f("span",null," \u0627\u0641\u0632\u0648\u062F\u0646 \u062A\u0644\u0641\u0646",-1),Kt=U(" \u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062A "),Xt={class:"p-6"},Yt=f("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 "),Fl=q({__name:"detail",setup(e){const s=S(!1),v=S(4),r=ie({}),u=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{u.city=m.value;const{data:g}=await yu(u);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 Z(g,l){switch(l){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,l){switch(l){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,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(u,l),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&&B.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 a=await we(Fe.currency);A.value=a.data.rows[0];const z=await we(Fe.metal);p.value=z.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,P(r.first_name)+" "+P(r.last_name),1),f("span",gt,P(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(()=>[kt,St]),_:1}),t(me,{class:"mt-3",color:n(j).rgbInfo,iconColor:n(j).info,icon:"vuesax-linear:messages-1",title:"\u0645\u0630\u0627\u06A9\u0631\u0627\u062A",total:0,onClick:l[1]||(l[1]=a=>g.$router.push({name:"conversations",query:{filters:[]}}))},null,8,["color","iconColor"]),t(me,{class:"mt-3",color:n(j).rgbWarning,iconColor:n(j).warning,icon:"vuesax-linear:note-2",total:0,title:"\u0627\u0633\u0646\u0627\u062F",onClick:l[2]||(l[2]=a=>g.$router.push({name:"document",query:{filters:[]}}))},null,8,["color","iconColor"]),t(me,{class:"mt-3",color:n(j).rgbSuccess,iconColor:n(j).success,icon:"vuesax-linear:element-equal",total:0,title:"\u0645\u062D\u0635\u0648\u0644\u0627\u062A \u062E\u0631\u06CC\u062F\u0627\u0631\u06CC \u0634\u062F\u0647"},null,8,["color","iconColor"])]),f("div",$t,[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(j).primary},{default:o(()=>[t(n(ue),{key:"5"},{title:o(()=>[Bt]),default:o(()=>[f("div",It,[f("div",Tt,[t(n(y),{label:"\u0622\u06CC\u062F\u06CC \u062A\u0644\u06AF\u0631\u0627\u0645"},{default:o(()=>[t(n(I),{value:u.telegram,"onUpdate:value":l[3]||(l[3]=a=>u.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:u.instagram,"onUpdate:value":l[4]||(l[4]=a=>u.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:u.web_url,"onUpdate:value":l[5]||(l[5]=a=>u.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(ju)),f("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":l[6]||(l[6]=a=>u.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(()=>[U(P(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:u.second_currency,"onUpdate:value":l[7]||(l[7]=a=>u.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(()=>[U(P(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:u.metal,"onUpdate:value":l[8]||(l[8]=a=>u.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(()=>[U(P(a.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})])])]),_:1}),t(n(ue),{key:"4"},{title:o(()=>[Ut]),default:o(()=>[f("div",zt,[f("div",Pt,[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=>Z(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=>Z(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=>Z(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(()=>[Et]),default:o(()=>[f("div",Ot,[f("div",Nt,[t(n(y),{label:"\u0647\u062F\u0641"},{default:o(()=>[t(n(I),{size:"large",value:u.target,"onUpdate:value":l[15]||(l[15]=a=>u.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:u.max_debt,"onUpdate:value":l[16]||(l[16]=a=>u.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:u.max_period,"onUpdate:value":l[17]||(l[17]=a=>u.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:u.economical_number,"onUpdate:value":l[18]||(l[18]=a=>u.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:u.registration_number,"onUpdate:value":l[19]||(l[19]=a=>u.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(()=>[Lt]),default:o(()=>[f("div",Dt,[f("div",jt,[t(n(y),{label:"\u0646\u0627\u0645 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647"},{default:o(()=>[t(n(I),{value:u.shop_name,"onUpdate:value":l[20]||(l[20]=a=>u.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(()=>[U(P(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(()=>[U(P(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:u.aria,"onUpdate:value":l[23]||(l[23]=a=>u.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:u.postcode,"onUpdate:value":l[24]||(l[24]=a=>u.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:u.address,"onUpdate:value":l[25]||(l[25]=a=>u.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(()=>[Vt]),default:o(()=>[f("div",Wt,[f("div",qt,[t(n(y),{label:"\u0627\u06CC\u0645\u06CC\u0644"},{default:o(()=>[t(n(I),{dir:"ltr",class:"!text-right",value:u.email,"onUpdate:value":l[26]||(l[26]=a=>u.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,z)=>(F(),T("div",Zt,[t(n(y),{label:` \u062A\u0644\u0641\u0646 \u062B\u0627\u0628\u062A ${z+1}`},{default:o(()=>[t(n(I),{dir:"ltr",class:"!text-right",value:c.value[z],"onUpdate:value":H=>c.value[z]=H,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",Ht,[t(Ie,{icon:"vuesax-linear:add",size:"16",class:"mr-1"}),Mt])]),_:1})])]),_:1})]),_:1},8,["active","color"]),t(n(ye),{onClick:O,class:"w-full mt-5",size:"large",type:"primary"},{default:o(()=>[Kt]),_:1})]),_:1})]),_:1})]),t(gu,{onClick:l[29]||(l[29]=a=>s.value=!0)}),t(n(Vu),{show:s.value,"onUpdate:show":l[33]||(l[33]=a=>s.value=a)},{default:o(()=>[f("div",Xt,[Yt,f("div",Gt,[t(oe,{onClick:l[30]||(l[30]=a=>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:l[31]||(l[31]=a=>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:l[32]||(l[32]=a=>s.value=!1)},{default:o(()=>[el]),_:1})])]),_:1},8,["show"])]))}});export{Fl as default};
Copyright ©2k19 -
Hexid
|
Tex7ure