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

2 lines
30 KiB
JavaScript
Raw Normal View History

2026-10-17 17:09:50 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-8b3762d2.js";import{_ as Ge,u as Qe}from"./useBaseTable-b65e968f.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-dc7b87c6.js";import{I as re}from"./Icon-b5a365b6.js";import{t as Ze}from"./useDataTime-4da2f466.js";import{g as N,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-c8c339ed.js";import{u as et}from"./usePrice-bc935b83.js";import{e as n,d as tt,i as $,h as at,j as R,x as lt,p as it,o as _,c as U,b as p,w as r,f as M,l as G,R as nt,n as V,F as W,k as A,q as Q,H as f,U as st,M as ot,N as rt,S as ue,t as de}from"./index-f7911a6d.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-651fd38f.js";import{g as Y}from"./index-b6597d52.js";import{g as mt}from"./category-b5685190.js";import{g as ft}from"./brand-fed7b347.js";import{l as J}from"./lodash-38d75800.js";import{M as vt}from"./index-6f289e55.js";import{I as gt,b as bt}from"./index-31699bda.js";import{a as ht,b as yt}from"./index-da7ed9ea.js";import{B as wt}from"./index-fd54b9e9.js";import{_ as xt,F as kt}from"./index-9ce8e289.js";import{a as Ut,_ as Ct}from"./index-c5c3e497.js";import{_ as It}from"./index-317bbaff.js";import{I as Vt}from"./index-6bff4ff0.js";import{U as Pt}from"./index-2eb9a3fd.js";import{_ as $t}from"./index-53f009ba.js";import{T as ce}from"./isSymbol-b0715776.js";import{_ as At}from"./_plugin-vue_export-helper-a59ccce4.js";import"./index-c7e434df.js";import"./vnode-160a3584.js";import"./updateLocale-0c609c95.js";import"./shallowequal-1fb084f0.js";import"./useState-2a09ed7b.js";import"./useMemo-dd1208f0.js";import"./FormItemContext-e8070c30.js";import"./omit-19fd03e3.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-c915f24e.js";import"./index-af05d1fd.js";import"./Badge-1e5825d4.js";import"./isNumeric-3f69e2aa.js";import"./index-aafb52b8.js";import"./index-c48ccee5.js";import"./index-79a6c7d7.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-7e7d635b.js";import"./DialogWrap-157169f5.js";import"./pickAttrs-d4e89cbd.js";import"./styleChecker-10d88d72.js";import"./SearchOutlined-9cce5c32.js";import"./isPlainObject-72a97f79.js";import"./index-4a17ebf7.js";import"./index-2e819d27.js";import"./css-aae66f86.js";import"./toArray-a2b9a939.js";import"./_flatRest-dd0446c0.js";import"./Col-a3b51974.js";import"./isMobile-e2e89480.js";import"./index-06662595.js";import"./useRefs-2e02a4a6.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=N(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-e0de308b"),b=b(),rt(),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)),Tt=h(()=>p("span",null,"ویرایش",-1)),Dt={key:0,class:"text-gray-500 text-sm mt-1"},Rt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش می‌تواند بخرد. ",-1)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Ot=h(()=>p("div",{class