Kaynağa Gözat

جدول محصولات در ایجاد و ویرایش پکیج

HgH 2 yıl önce
ebeveyn
işleme
27fcd373b4

+ 9 - 9
src/components/FormBuilderCustumComponents/ProductSelector.vue

@@ -84,9 +84,9 @@ export default {
           {
             name: 'content_category',
             required: true,
-            label: 'بخش',
+            label: 'دسته',
             align: 'left',
-            field: row => row.content_category
+            field: row => row.store_category_info?.parent?.parent?.title + '، ' + row.store_category_info?.parent?.title + '، ' + row.store_category_info?.title
           },
           {
             name: 'unit_price',
@@ -94,13 +94,13 @@ export default {
             label: 'قیمت',
             align: 'left',
             field: row => parseInt(row.unit_price.toString()).toLocaleString('fa')
-          },
-          {
-            name: 'is_visible',
-            required: true,
-            label: 'نمایش',
-            align: 'left',
-            field: '-'
+          // },
+          // {
+          //   name: 'is_visible',
+          //   required: true,
+          //   label: 'نمایش',
+          //   align: 'left',
+          //   field: '-'
           }
         ]
       },