|
|
@ -4,6 +4,7 @@ import { rules } from '/@/utils/helper/validator'; |
|
|
|
import { render } from '/@/utils/common/renderUtils'; |
|
|
|
import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types'; |
|
|
|
import { getWeekMonthQuarterYear } from '/@/utils'; |
|
|
|
import {allProductCagegoryList} from "@/views/miniapp/productCategory/AppCategory.api"; |
|
|
|
//列表数据
|
|
|
|
export const columns: BasicColumn[] = [ |
|
|
|
{ |
|
|
@ -41,6 +42,11 @@ export const columns: BasicColumn[] = [ |
|
|
|
align: 'center', |
|
|
|
dataIndex: 'productName', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '产品类别', |
|
|
|
align: 'center', |
|
|
|
dataIndex: 'productType', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '产品服务年限', |
|
|
|
align: 'center', |
|
|
@ -140,6 +146,18 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
field: 'productName', |
|
|
|
component: 'JInput', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '产品类别', |
|
|
|
field: 'productType', |
|
|
|
component: 'ApiSelect', |
|
|
|
componentProps: { |
|
|
|
api: allProductCagegoryList, |
|
|
|
numberToString: true, |
|
|
|
labelField: 'categoryName', |
|
|
|
valueField: 'categoryName', |
|
|
|
immediate: false, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '经销商', |
|
|
|
field: 'storeName', |
|
|
|