Files
machartaa_admin_dist/dist/assets/index-af939f69.js
T

2 lines
30 KiB
JavaScript
Raw Normal View History

2026-08-22 14:52:19 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-20cc468f.js";import{_ as Ge,u as Qe}from"./useBaseTable-1184a002.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-cbfd9667.js";import{I as re}from"./Icon-0c226cc8.js";import{t as Ze}from"./useDataTime-35d3ce8c.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-8b46377d.js";import{u as et}from"./usePrice-bc935b83.js";import{b as n,d as tt,g as $,r as at,h as R,v as lt,l as it,o as _,c as U,a as p,w as r,e as L,j as G,J as nt,k as V,F as J,i as A,n as Q,D as f,S as st,Q as ot,R as rt,K as ue,t as de}from"./index-35c19078.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-05d4d88d.js";import{g as Y}from"./index-65ebcbaa.js";import{g as mt}from"./category-2c6e6420.js";import{g as ft}from"./brand-722f17b4.js";import{l as K}from"./lodash-e3d7e6b8.js";import{M as vt,_ as gt}from"./index-d1bea9c9.js";import{I as bt,b as ht}from"./index-e2b66426.js";import{a as yt,b as wt}from"./index-3e7c49ac.js";import{I as xt}from"./index-3ceb2ddc.js";import{B as kt}from"./index-317dfb98.js";import{_ as Ut,F as Ct}from"./index-727899c3.js";import{a as It,_ as Vt}from"./index-5e048154.js";import{a as Pt}from"./index-0cfe3fb2.js";import{U as $t}from"./index-b998e211.js";import{T as ce}from"./isSymbol-76912a30.js";import{_ as At}from"./_plugin-vue_export-helper-b8aa26f1.js";import"./index-c135e3cd.js";import"./vnode-bd016db8.js";import"./updateLocale-674603f1.js";import"./shallowequal-336924ae.js";import"./useState-0b0c0b26.js";import"./useMemo-141475be.js";import"./FormItemContext-c59740e7.js";import"./omit-fea2187f.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-aa5cbf20.js";import"./index-9c958bd1.js";import"./Badge-5aec0f5b.js";import"./isNumeric-3f69e2aa.js";import"./index-597067d3.js";import"./index-81c6c557.js";import"./index-70f42a71.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-b8071eb6.js";import"./DialogWrap-7ea92471.js";import"./pickAttrs-2a6a34d0.js";import"./styleChecker-5378d544.js";import"./SearchOutlined-fd97bf7f.js";import"./isPlainObject-9fc066ac.js";import"./index-53a07be2.js";import"./index-e39a0c4e.js";import"./css-aae66f86.js";import"./toArray-f7bbf4fe.js";import"./isMobile-e2e89480.js";import"./_flatRest-ce9c6e5e.js";import"./Col-93e193e7.js";import"./index-1016d40d.js";import"./useRefs-d20fccdf.js";const Lt=[{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 W=O(b.record.original_image);return n("img",{src:W,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-15937811"),b=b(),rt(),b),Mt={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"},Rt=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)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"