2 lines
29 KiB
JavaScript
2 lines
29 KiB
JavaScript
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-02d666ae.js";import{_ as Ge,u as Qe}from"./useBaseTable-8cba60ae.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-e2b25b37.js";import{I as re}from"./Icon-7978fe0f.js";import{t as Ze}from"./useDataTime-8b5c8616.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-de0a9fa4.js";import{u as et}from"./usePrice-bc935b83.js";import{b as n,d as tt,g as $,r as at,h as N,v as lt,l as it,o as _,c as U,a as p,w as r,e as M,j as G,H as nt,k as V,F as W,i as A,n as Q,D as f,bz as st,M as ot,N as rt,I as ue,t as de}from"./index-ac7066b4.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-ecc9785b.js";import{g as Y}from"./index-d167af6e.js";import{g as mt}from"./category-4f1b4dd7.js";import{g as ft}from"./brand-45ad0335.js";import{l as J}from"./lodash-875c0571.js";import{M as vt,_ as gt}from"./index-83a7641b.js";import{I as bt,b as ht}from"./index-e101c0bd.js";import{_ as yt,a as wt}from"./index-fa378035.js";import{I as xt}from"./index-62a931be.js";import{B as kt}from"./index-802e18b7.js";import{_ as Ut,F as Ct}from"./index-27f1c09e.js";import{a as It,_ as Vt}from"./index-d94bf113.js";import{a as Pt}from"./index-ff2f09c7.js";import{U as $t}from"./index-097ca7b7.js";import{T as ce}from"./isSymbol-666d5768.js";import{_ as At}from"./_plugin-vue_export-helper-4339814c.js";import"./index-a074700a.js";import"./vnode-ef8e6ff6.js";import"./updateLocale-199556b5.js";import"./useState-277f1e57.js";import"./useMemo-51fb250b.js";import"./FormItemContext-8e774be4.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-4839fd2a.js";import"./index-25ae81e5.js";import"./Badge-fcb9007c.js";import"./isNumeric-3f69e2aa.js";import"./index-7f62cf48.js";import"./index-74186c79.js";import"./index-f0d8ad9c.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-4b820301.js";import"./pickAttrs-73e6cb05.js";import"./styleChecker-8fccceee.js";import"./SearchOutlined-36fcc6f3.js";import"./isPlainObject-a4fa2df5.js";import"./index-b18fec22.js";import"./index-5ae727af.js";import"./css-aae66f86.js";import"./toArray-518515e2.js";import"./isMobile-e2e89480.js";import"./_flatRest-843ce72e.js";import"./Col-c884cbb4.js";import"./useRefs-a8a1b35f.js";const Mt=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:b=>b.index+1},{title:"تصویر ",dataIndex:"original_image",key:"original_image",customRender:b=>{const K=O(b.record.original_image);return n("img",{src:K,width:60},null)}},{title:"عنوان",dataIndex:"title_fa",key:"title_fa"},{title:"کد",dataIndex:"code",key:"code"},{title:"توضیحات",dataIndex:"description",key:"description",customRender:b=>n(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>et(b.record.price??0,!0,"")},{title:"موجودی",dataIndex:"count",key:"count",align:"center",width:120,customRender:b=>b.record.count??0},{title:"زمان ایجاد",dataIndex:"created_at",key:"created_at",customRender:b=>Ze(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],h=b=>(ot("data-v-c0be5c78"),b=b(),rt(),b),Lt={class:"flex justify-between items-center mb-4"},Ft=h(()=>p("h2",null,"محصولات",-1)),St={class:"gap-2 flex justify-center"},Bt=h(()=>p("span",null,"حذف",-1)),Dt=h(()=>p("span",null,"ویرایش",-1)),Tt={key:0,class:"text-gray-500 text-sm mt-1"},Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش میتواند بخرد. ",-1)),Ot=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),Rt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل
|