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

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-07-15 17:50:32 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-59e3a60f.js";import{_ as Ge,u as Ye}from"./useBaseTable-37cc5c4e.js";import{_ as Qe,B as Ze}from"./button.vue_vue_type_style_index_0_lang-f45a0e84.js";import{I as re}from"./Icon-1df01939.js";import{t as et}from"./useDataTime-d0312d21.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-ca3a87e7.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 Y,D as f,Y as ot,M as rt,N as ut,I as ue,t as de}from"./index-4ed3ac6f.js";import{g as dt,u as ct,a as pt,b as _t,d as mt}from"./products-ac3ea101.js";import{g as Q}from"./index-2fe56cac.js";import{g as ft}from"./category-be124c54.js";import{g as vt}from"./brand-891862fe.js";import{l as J}from"./lodash-93f7118d.js";import{M as gt,_ as bt}from"./index-11cc1aef.js";import{I as ht,a as yt}from"./index-9cf626d0.js";import{_ as wt,a as xt}from"./index-da74a8b6.js";import{I as kt}from"./index-2ddf9208.js";import{_ as Ut,F as Ct}from"./index-4208692b.js";import{_ as It,a as Vt}from"./index-a875f6da.js";import{a as Pt}from"./index-a14f73db.js";import{U as $t}from"./index-f8e98698.js";import{T as ce}from"./isSymbol-affa2e59.js";import{_ as At}from"./_plugin-vue_export-helper-63226944.js";import"./index-59052094.js";import"./vnode-89c9e7cb.js";import"./updateLocale-bc84b8d6.js";import"./useState-8f767204.js";import"./FormItemContext-2461cbab.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-33c708c4.js";import"./index-634fb851.js";import"./isNumeric-3f69e2aa.js";import"./index-0555c827.js";import"./index-0259cd70.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-9069679c.js";import"./DialogWrap-576e3f01.js";import"./pickAttrs-5db0ba14.js";import"./styleChecker-8552d8dc.js";import"./isPlainObject-28bd6686.js";import"./index-23a87c32.js";import"./LeftOutlined-61414320.js";import"./css-aae66f86.js";import"./toArray-7ead3702.js";import"./_flatRest-1f22619a.js";import"./Col-a5f65985.js";import"./useRefs-68a2914e.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"}," حداکثر تعداد این محصول که کاربر در یک سفارش می‌ت�