Files
machartaa_admin_dist/dist/assets/index-331813c8.js
T

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-08-08 16:18:13 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-8174f671.js";import{_ as Ge,u as Qe}from"./useBaseTable-e1239fc4.js";import{_ as Ye,B as Ze}from"./button.vue_vue_type_style_index_0_lang-6d9e6004.js";import{I as re}from"./Icon-3cba35ff.js";import{t as et}from"./useDataTime-39d365d2.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-e9e24e71.js";import{u as tt}from"./usePrice-bc935b83.js";import{b as s,d as at,g as $,r as lt,h as N,v as nt,l as st,o as _,c as U,a as p,w as r,e as M,j as G,H as it,k as V,F as W,i as A,n as Q,D as f,bz as ot,M as rt,N as ut,I as ue,t as de}from"./index-03881eed.js";import{g as dt,u as ct,a as pt,b as _t,d as mt}from"./products-82661c93.js";import{g as Y}from"./index-7ad871fb.js";import{g as ft}from"./category-078d9c2c.js";import{g as vt}from"./brand-8f30588c.js";import{l as J}from"./lodash-78d38859.js";import{M as gt,_ as bt}from"./index-a6dd452f.js";import{I as ht,b as yt}from"./index-ef10ea82.js";import{_ as wt,a as xt}from"./index-2245e0eb.js";import{I as kt}from"./index-c7831531.js";import{_ as Ut,F as Ct}from"./index-0b8e44c3.js";import{a as It,_ as Vt}from"./index-67119fea.js";import{a as Pt}from"./index-2b937264.js";import{U as $t}from"./index-28c9621f.js";import{T as ce}from"./isSymbol-72806280.js";import{_ as At}from"./_plugin-vue_export-helper-7a7517f7.js";import"./index-c4251c82.js";import"./vnode-dddce04c.js";import"./updateLocale-ce915111.js";import"./index-bc659f42.js";import"./index-6e050cc2.js";import"./omit-0bf0f784.js";import"./useState-164294d5.js";import"./FormItemContext-77a35a1f.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9e1881c0.js";import"./index-fbef06fa.js";import"./Badge-7d333aab.js";import"./isNumeric-3f69e2aa.js";import"./index-245d34d2.js";import"./index-d1c6db2d.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-95762ff3.js";import"./DialogWrap-ab772604.js";import"./pickAttrs-bd4d06ea.js";import"./styleChecker-230f1d69.js";import"./isPlainObject-b1bc5d24.js";import"./index-b336c82b.js";import"./css-aae66f86.js";import"./toArray-9d324686.js";import"./_flatRest-08d5cdb1.js";import"./Col-8b6b3139.js";import"./useRefs-d2ce1514.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 s("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=>s(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>tt(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=>et(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],h=b=>(rt("data-v-c0be5c78"),b=b(),ut(),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"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),qt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر