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

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-08-09 13:07:17 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-661b0a06.js";import{_ as Ge,u as Qe}from"./useBaseTable-3c30fe12.js";import{_ as Ye,B as Ze}from"./button.vue_vue_type_style_index_0_lang-f6f5b6a0.js";import{I as re}from"./Icon-889d6eab.js";import{t as et}from"./useDataTime-5a269444.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-53f928ef.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-f8ee37b9.js";import{g as dt,u as ct,a as pt,b as _t,d as mt}from"./products-d51d6969.js";import{g as Y}from"./index-8fee9afc.js";import{g as ft}from"./category-4567415a.js";import{g as vt}from"./brand-e377f770.js";import{l as J}from"./lodash-7c51d08d.js";import{M as gt,_ as bt}from"./index-ef1f8a61.js";import{I as ht,b as yt}from"./index-1ab617ae.js";import{_ as wt,a as xt}from"./index-8bcedf66.js";import{I as kt}from"./index-fb081974.js";import{_ as Ut,F as Ct}from"./index-9594c53b.js";import{a as It,_ as Vt}from"./index-ee1b3469.js";import{a as Pt}from"./index-f923b666.js";import{U as $t}from"./index-c0e94d73.js";import{T as ce}from"./isSymbol-cdcd460d.js";import{_ as At}from"./_plugin-vue_export-helper-775bc553.js";import"./index-0e72b27c.js";import"./vnode-b0e810ae.js";import"./updateLocale-d5a764a4.js";import"./index-bc659f42.js";import"./index-b8cc71e2.js";import"./omit-bdd3cea5.js";import"./useState-f5985d90.js";import"./FormItemContext-5821e8c8.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-2e892f80.js";import"./index-78e4e5e0.js";import"./Badge-47d7b0bb.js";import"./isNumeric-3f69e2aa.js";import"./index-89210322.js";import"./index-bf59f845.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-95762ff3.js";import"./DialogWrap-192ddaf7.js";import"./pickAttrs-69f29e9c.js";import"./styleChecker-c1fc9f39.js";import"./isPlainObject-6382de01.js";import"./index-0441c4fc.js";import"./css-aae66f86.js";import"./toArray-53a55fc4.js";import"./_flatRest-6305d35d.js";import"./Col-97627e24.js";import"./useRefs-bff35432.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"}," حداکثر