123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561 |
- import { incrementUseTypeList } from '/@/api/account';
- import { FormSchema } from '/@/components/Form/index';
- import { BasicColumn, FormProps } from '/@/components/Table';
- import { Time } from '/@/components/Time';
- import { h } from 'vue';
- export const equitySearchForm: Partial<FormProps> = {
- labelWidth: 100,
- autoSubmitOnEnter: true,
- autoAdvancedLine: 1,
- actionColOptions: {
- span: 24,
- },
- schemas: [
- {
- field: 'ctivated',
- 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 dowmColumns: BasicColumn[] = [
- {
- title: '下单时间',
- dataIndex: 'createTime',
- width: 150,
- customRender: ({ record }) => {
- return (
- record.createTime &&
- h(Time, {
- value: record.createTime,
- mode: 'datetime',
- })
- );
- },
- },
- {
- title: '订单号',
- dataIndex: 'orderSn',
- ellipsis: false,
- width: 180,
- },
- {
- title: '合同所属公司',
- dataIndex: 'companyName',
- ellipsis: true,
- width: 230,
- },
- {
- title: '业务部门',
- dataIndex: 'businessDept',
- ellipsis: true,
- width: 120,
- },
- {
- title: '业务员',
- dataIndex: 'businessName',
- ellipsis: true,
- width: 120,
- },
- {
- title: '客户付款时间',
- dataIndex: 'customerPayTime',
- ellipsis: true,
- width: 160,
- },
- {
- title: '客户名称',
- dataIndex: 'customerName',
- width: 100,
- },
- {
- title: '客户类别',
- dataIndex: 'customerTypeStr',
- width: 100,
- customRender: ({ record }) => {
- return record.customerTypeStr ? record.customerTypeStr : '直销';
- },
- },
- {
- title: '终端客户',
- dataIndex: 'endCustomer',
- width: 100,
- },
- {
- title: '经销商名称',
- dataIndex: 'agentName',
- width: 100,
- },
- {
- title: '使用类型',
- dataIndex: 'useTypeStr',
- width: 100,
- },
- {
- title: '权益类型',
- dataIndex: 'memberLevels',
- width: 100,
- },
- {
- title: '订单金额',
- dataIndex: 'amount',
- width: 80,
- },
- {
- title: '币种',
- dataIndex: 'currencySymbol',
- width: 80,
- },
- {
- title: '数量',
- dataIndex: 'count',
- width: 80,
- },
- {
- title: '支付方式',
- dataIndex: 'payType',
- // slots: { customRender: 'orderType' },
- width: 80,
- },
- {
- title: '交易号',
- dataIndex: 'number',
- width: 180,
- },
- {
- title: '付款状态',
- dataIndex: 'payStatus',
- // slots: { customRender: 'orderStatus' },
- customRender: ({ record }) => {
- return record.payStatus ? record.payStatus : '-';
- },
- width: 80,
- },
- {
- title: '充值方式',
- dataIndex: 'payMethod',
- width: 100,
- },
- {
- title: '会员服务期限',
- dataIndex: 'incrementTime',
- width: 100,
- },
- {
- title: 'SN码',
- dataIndex: 'snCode',
- width: 100,
- },
- {
- title: '项目号',
- dataIndex: 'projectNum',
- width: 100,
- },
- {
- title: '备注',
- dataIndex: 'remark',
- width: 100,
- },
- ];
- export const localCameraColumns: BasicColumn[] = [
- {
- title: '下单时间',
- dataIndex: 'createTime',
- width: 150,
- customRender: ({ record }) => {
- return (
- record.createTime &&
- h(Time, {
- value: record.createTime,
- mode: 'datetime',
- })
- );
- },
- },
- {
- title: '订单号',
- dataIndex: 'orderSn',
- ellipsis: false,
- width: 180,
- },
- {
- title: '合同所属公司',
- dataIndex: 'companyName',
- ellipsis: true,
- width: 230,
- },
- {
- title: '业务部门',
- dataIndex: 'businessDept',
- ellipsis: true,
- width: 120,
- },
- {
- title: '业务员',
- dataIndex: 'businessName',
- ellipsis: true,
- width: 120,
- },
- {
- title: '客户付款时间',
- dataIndex: 'customerPayTime',
- ellipsis: true,
- width: 160,
- },
- {
- title: '客户名称',
- dataIndex: 'customerName',
- width: 100,
- },
- {
- title: '客户类别',
- dataIndex: 'customerTypeStr',
- width: 100,
- customRender: ({ record }) => {
- return record.customerTypeStr ? record.customerTypeStr : '直销';
- },
- },
- {
- title: '终端客户',
- dataIndex: 'endCustomer',
- width: 100,
- },
- {
- title: '使用类型',
- dataIndex: 'useTypeStr',
- width: 100,
- },
- {
- title: '订单金额',
- dataIndex: 'amount',
- width: 80,
- },
- {
- title: '币种',
- dataIndex: 'currencySymbol',
- width: 80,
- },
- {
- title: '数量',
- dataIndex: 'count',
- width: 80,
- },
- {
- title: '付款状态',
- dataIndex: 'payStatus',
- // slots: { customRender: 'orderStatus' },
- customRender: ({ record }) => {
- return record.payStatus ? record.payStatus : '-';
- },
- width: 80,
- },
- {
- title: '充值方式',
- dataIndex: 'payMethod',
- width: 100,
- },
- {
- title: '客户机器码',
- dataIndex: 'machineCode',
- slots: { customRender: 'copy' },
- width: 120,
- },
- {
- title: '相机SN',
- dataIndex: 'snCode',
- width: 100,
- },
- {
- title: '项目号',
- dataIndex: 'projectNum',
- width: 100,
- },
- {
- title: '备注',
- dataIndex: 'remark',
- width: 100,
- },
- ];
- export const differenceColumns: BasicColumn[] = [
- {
- title: '下单时间',
- dataIndex: 'createTime',
- width: 150,
- customRender: ({ record }) => {
- return (
- record.createTime &&
- h(Time, {
- value: record.createTime,
- mode: 'datetime',
- })
- );
- },
- },
- {
- title: '订单号',
- dataIndex: 'orderSn',
- ellipsis: false,
- width: 180,
- },
- {
- title: '合同所属公司',
- dataIndex: 'companyName',
- ellipsis: true,
- width: 230,
- },
- {
- title: '业务部门',
- dataIndex: 'businessDept',
- ellipsis: true,
- width: 120,
- },
- {
- title: '业务员',
- dataIndex: 'businessName',
- ellipsis: true,
- width: 120,
- },
- {
- title: '客户付款时间',
- dataIndex: 'customerPayTime',
- ellipsis: true,
- width: 160,
- },
- {
- title: '客户名称',
- dataIndex: 'customerName',
- width: 100,
- },
- {
- title: '客户类别',
- dataIndex: 'customerTypeStr',
- width: 100,
- customRender: ({ record }) => {
- return record.customerTypeStr ? record.customerTypeStr : '直销';
- },
- },
- {
- title: '终端客户',
- dataIndex: 'endCustomer',
- width: 100,
- },
- {
- title: '使用类型',
- dataIndex: 'useTypeStr',
- width: 100,
- },
- {
- title: '订单金额',
- dataIndex: 'amount',
- width: 80,
- },
- {
- title: '币种',
- dataIndex: 'currencySymbol',
- width: 80,
- },
- {
- title: '数量',
- dataIndex: 'count',
- width: 80,
- },
- {
- title: '付款状态',
- dataIndex: 'payStatus',
- // slots: { customRender: 'orderStatus' },
- customRender: ({ record }) => {
- return record.payStatus ? record.payStatus : '-';
- },
- width: 80,
- },
- {
- title: '充值方式',
- dataIndex: 'payMethod',
- width: 100,
- },
- {
- title: '相机SN',
- dataIndex: 'snCode',
- width: 100,
- },
- {
- title: '板卡SN号',
- dataIndex: 'rtkSnCode',
- width: 265,
- },
- {
- title: '深光rtk插件SN号',
- ellipsis: true,
- dataIndex: 'sgRtkSn',
- customRender: ({ record }) => {
- return record.sgRtkSn || '-';
- },
- width: 160,
- },
- {
- title: '差分账号期限',
- ellipsis: true,
- dataIndex: 'sgRtkSn',
- customRender: ({ record }) => {
- return record.sgRtkSn || '-';
- },
- width: 160,
- },
- {
- title: '项目号',
- dataIndex: 'projectNum',
- width: 100,
- },
- {
- title: '备注',
- dataIndex: 'remark',
- width: 100,
- },
- ];
|