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

2 lines
30 KiB
JavaScript
Raw Normal View History

2026-08-21 17:49:09 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-04d97f2a.js";import{_ as Ge,u as Qe}from"./useBaseTable-3820970d.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-5de0d8e3.js";import{I as re}from"./Icon-87be71cf.js";import{t as Ze}from"./useDataTime-4d99ffa4.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-55d9718f.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-6af34310.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-e35a06ce.js";import{g as Y}from"./index-fedcc8bf.js";import{g as mt}from"./category-d3ca658c.js";import{g as ft}from"./brand-76b0621f.js";import{l as K}from"./lodash-e4e61e75.js";import{M as vt,_ as gt}from"./index-402d2a38.js";import{I as bt,b as ht}from"./index-a9aa8901.js";import{a as yt,b as wt}from"./index-7ce3f98c.js";import{I as xt}from"./index-1c2fab65.js";import{B as kt}from"./index-54c8d4d2.js";import{_ as Ut,F as Ct}from"./index-d224c105.js";import{a as It,_ as Vt}from"./index-31d268cb.js";import{a as Pt}from"./index-0bc83ff9.js";import{U as $t}from"./index-a8d977ad.js";import{T as ce}from"./isSymbol-74667f0e.js";import{_ as At}from"./_plugin-vue_export-helper-4395e3ae.js";import"./index-1cc8f5ba.js";import"./vnode-6bd0f81f.js";import"./updateLocale-ce5acd65.js";import"./shallowequal-73e7ce81.js";import"./useState-99a639ca.js";import"./useMemo-b6d62481.js";import"./FormItemContext-752394af.js";import"./omit-0d248b9d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-064ba967.js";import"./index-2e0cb6a7.js";import"./Badge-34585beb.js";import"./isNumeric-3f69e2aa.js";import"./index-12ea9e69.js";import"./index-12698051.js";import"./index-f3fb0dd4.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-bd07e3bd.js";import"./DialogWrap-532fa905.js";import"./pickAttrs-a6fd0b4c.js";import"./styleChecker-3b14718f.js";import"./SearchOutlined-15a5b0f1.js";import"./isPlainObject-f211f712.js";import"./index-850ddaf5.js";import"./index-56af14ac.js";import"./css-aae66f86.js";import"./toArray-1c539327.js";import"./isMobile-e2e89480.js";import"./_flatRest-fd0e6fb4.js";import"./Col-1a0e8c9f.js";import"./index-dd895eee.js";import"./useRefs-a7f6cac5.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"},"