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

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-08-18 15:43:27 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-dce46cd2.js";import{_ as Ge,u as Qe}from"./useBaseTable-a305524f.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-ae7cb173.js";import{I as re}from"./Icon-2a751d73.js";import{t as Ze}from"./useDataTime-0e280561.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-5d44ac6c.js";import{u as et}from"./usePrice-bc935b83.js";import{b as n,d as tt,g as $,r as at,h as O,v as lt,l as it,o as _,c as U,a as p,w as r,e as L,j as G,H as nt,k as V,F as W,i as A,n as Q,D as f,bC as st,O as ot,P as rt,I as ue,t as de}from"./index-64bb19a3.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-9bb961bd.js";import{g as Y}from"./index-b180e67d.js";import{g as mt}from"./category-33b57369.js";import{g as ft}from"./brand-71126b53.js";import{l as J}from"./lodash-17ce3880.js";import{M as vt,_ as gt}from"./index-557a2985.js";import{I as bt,b as ht}from"./index-6f7ee4ee.js";import{a as yt,b as wt}from"./index-a5e6bc16.js";import{I as xt}from"./index-4362fbab.js";import{B as kt}from"./index-7a73a23b.js";import{_ as Ut,F as Ct}from"./index-43d38a3b.js";import{a as It,_ as Vt}from"./index-53278d29.js";import{a as Pt}from"./index-ff7b0bbe.js";import{U as $t}from"./index-96a522ed.js";import{T as ce}from"./isSymbol-77db9868.js";import{_ as At}from"./_plugin-vue_export-helper-47756888.js";import"./index-d19de556.js";import"./vnode-a1a3bc0f.js";import"./updateLocale-34973999.js";import"./index-bc659f42.js";import"./shallowequal-a3fa20ee.js";import"./useState-45a66864.js";import"./useMemo-fddb4a7a.js";import"./FormItemContext-78515ae9.js";import"./omit-41b1cee4.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-6148f843.js";import"./index-304c1b28.js";import"./Badge-6baddd17.js";import"./isNumeric-3f69e2aa.js";import"./index-2a5be533.js";import"./index-b5f90115.js";import"./index-d5b53aee.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-c12b3672.js";import"./pickAttrs-ff8c51c6.js";import"./styleChecker-44a60ba7.js";import"./SearchOutlined-5a638563.js";import"./isPlainObject-908a4d4b.js";import"./index-4ee722bc.js";import"./index-95a0af99.js";import"./css-aae66f86.js";import"./toArray-156bc105.js";import"./isMobile-e2e89480.js";import"./_flatRest-6bd9fe69.js";import"./Col-4cc66d2b.js";import"./index-6fd9e35d.js";import"./useRefs-10844536.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 K=R(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),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"},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"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Nt=h(()=>p("div",{class:"te