2 lines
29 KiB
JavaScript
2 lines
29 KiB
JavaScript
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-7803828f.js";import{_ as Ge,u as Qe}from"./useBaseTable-e4bbf0da.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-99dfcd06.js";import{I as re}from"./Icon-c9ad16b9.js";import{t as Ze}from"./useDataTime-5442c624.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-0733684f.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-bc4edd51.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-28228bd9.js";import{g as Y}from"./index-edd68561.js";import{g as mt}from"./category-0b416a0a.js";import{g as ft}from"./brand-ece87071.js";import{l as J}from"./lodash-3efc1909.js";import{M as vt,_ as gt}from"./index-609e9a96.js";import{I as bt,b as ht}from"./index-49e2e544.js";import{a as yt,b as wt}from"./index-4e41e7b6.js";import{I as xt}from"./index-c1545196.js";import{B as kt}from"./index-9df7eaa1.js";import{_ as Ut,F as Ct}from"./index-6d8a75c0.js";import{a as It,_ as Vt}from"./index-7fcb5f91.js";import{a as Pt}from"./index-727535d5.js";import{U as $t}from"./index-368498f7.js";import{T as ce}from"./isSymbol-f9834f4f.js";import{_ as At}from"./_plugin-vue_export-helper-c8347567.js";import"./index-d4870df7.js";import"./vnode-f2307909.js";import"./updateLocale-7b0be7e3.js";import"./index-bc659f42.js";import"./shallowequal-cad00b6e.js";import"./useState-47ff4833.js";import"./useMemo-8275a234.js";import"./FormItemContext-4e017a44.js";import"./omit-6f60253b.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9775c8a5.js";import"./index-5ea3cefd.js";import"./Badge-627fd6d3.js";import"./isNumeric-3f69e2aa.js";import"./index-34768277.js";import"./index-1d49b36b.js";import"./index-ae018072.js";import"./index-3aafac3f.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-f12e49af.js";import"./pickAttrs-1c46cfba.js";import"./styleChecker-bc667521.js";import"./SearchOutlined-4504ec77.js";import"./isPlainObject-ed8996b4.js";import"./index-393b875d.js";import"./index-47b6ba8f.js";import"./css-aae66f86.js";import"./toArray-b01cb1f9.js";import"./isMobile-e2e89480.js";import"./_flatRest-9adb1e9a.js";import"./Col-96f7f23f.js";import"./index-60d2bcc6.js";import"./useRefs-225197bd.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))
|