|
@@ -3,7 +3,165 @@ import { FormSchema } from '/@/components/Form/index';
|
|
|
import { BasicColumn, FormProps } from '/@/components/Table';
|
|
|
import { Time } from '/@/components/Time';
|
|
|
import { h } from 'vue';
|
|
|
+export const localCameraForm: Partial<FormProps> = {
|
|
|
+ labelWidth: 100,
|
|
|
+ autoSubmitOnEnter: true,
|
|
|
+ autoAdvancedLine: 1,
|
|
|
+ actionColOptions: {
|
|
|
+ span: 24,
|
|
|
+ },
|
|
|
+ schemas: [
|
|
|
+ {
|
|
|
+ field: 'timeList',
|
|
|
+ label: '下单时间',
|
|
|
+ component: 'RangePicker',
|
|
|
+ componentProps: {
|
|
|
+ maxLength: 100,
|
|
|
+ format: 'YYYY-MM-DD',
|
|
|
+ valueFormat: 'YYYY-MM-DD',
|
|
|
+ },
|
|
|
+ colProps: {
|
|
|
+ xl: 8,
|
|
|
+ xxl: 8,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'orderSn',
|
|
|
+ label: '订单号',
|
|
|
+ component: 'Input',
|
|
|
+ componentProps: {
|
|
|
+ maxLength: 100,
|
|
|
+ },
|
|
|
+ colProps: {
|
|
|
+ xl: 8,
|
|
|
+ xxl: 8,
|
|
|
+ },
|
|
|
+ },
|
|
|
|
|
|
+ {
|
|
|
+ field: 'customerType',
|
|
|
+ component: 'Select',
|
|
|
+ label: '客户类别',
|
|
|
+ colProps: {
|
|
|
+ span: 8,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: '直销',
|
|
|
+ value: 0,
|
|
|
+ key: '0',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '经销',
|
|
|
+ value: 1,
|
|
|
+ key: '1',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'useType',
|
|
|
+ component: 'ApiSelect',
|
|
|
+ label: '使用类型',
|
|
|
+ componentProps: {
|
|
|
+ // filterOption: onFilterOption,
|
|
|
+ // showSearch: true,
|
|
|
+ api: incrementUseTypeList,
|
|
|
+ labelField: 'name',
|
|
|
+ valueField: 'id',
|
|
|
+ immediate: true,
|
|
|
+ },
|
|
|
+ colProps: {
|
|
|
+ span: 8,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'companyName',
|
|
|
+ component: 'Select',
|
|
|
+ label: '合同所属公司',
|
|
|
+ colProps: {
|
|
|
+ span: 8,
|
|
|
+ },
|
|
|
+ itemProps: {
|
|
|
+ autoLink: false,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: '珠海市四维时代网络科技有限公司',
|
|
|
+ value: '珠海市四维时代网络科技有限公司',
|
|
|
+ key: '珠海市四维时代网络科技有限公司',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '广东四维看看智能设备有限公司',
|
|
|
+ value: '广东四维看看智能设备有限公司',
|
|
|
+ key: '广东四维看看智能设备有限公司',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '四维看看(香港)有限公司',
|
|
|
+ value: '四维看看(香港)有限公司',
|
|
|
+ key: '四维看看(香港)有限公司',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '四维看看(北京)数据科技有限公司',
|
|
|
+ value: '四维看看(北京)数据科技有限公司',
|
|
|
+ key: '四维看看(北京)数据科技有限公司',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'businessDept',
|
|
|
+ component: 'Select',
|
|
|
+ label: '业务部门',
|
|
|
+ colProps: {
|
|
|
+ span: 8,
|
|
|
+ },
|
|
|
+ itemProps: {
|
|
|
+ autoLink: false,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: '数字营销事业部',
|
|
|
+ value: '数字营销事业部',
|
|
|
+ key: '数字营销事业部',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '政企事业部',
|
|
|
+ value: '政企事业部',
|
|
|
+ key: '政企事业部',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '海外事业部',
|
|
|
+ value: '海外事业部',
|
|
|
+ key: '海外事业部',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '市场部',
|
|
|
+ value: '市场部',
|
|
|
+ key: '市场部',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '总经办',
|
|
|
+ value: '总经办',
|
|
|
+ key: '总经办',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'amount',
|
|
|
+ component: 'Input',
|
|
|
+ label: '订单金额',
|
|
|
+ colProps: { span: 7 },
|
|
|
+ componentProps: {
|
|
|
+ type: 'number',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|
|
|
export const equitySearchForm: Partial<FormProps> = {
|
|
|
labelWidth: 100,
|
|
|
autoSubmitOnEnter: true,
|