| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- export const MOD = '/order'
- export const IMPOERMOD = 'Order'
- export const GETSYSFILED = "/sys-dict/getListByCode";
- export const GETPERSONNEL = "/user/getSimpleActiveUserList";
- export const GETGENERATEFOEM = `/sys-form/getListByCode${MOD}`
- export const GETALLPRODUCT = `/sys-form/getListByCode/Order`
- export const GETTABLELIST = `${MOD}/list`
- export function useBtn<T extends ()=>string>(fun: T) {
- fun && fun();
- }
- export type ActionButton<Fun=(f:()=>void)=>void> = { text: string, event?:Fun };
- export const actionButtons: ActionButton[] = [
- { text: '新建订单', event: useBtn },
- { text: '批量转移' },
- { text: '批量删除' },
- { text: '回收站' },
- { text: '导入' },
- { text: '导出' },
- ]
- export const tableColumns: TableColumn[] = [
- { prop: 'orderCode', label: '订单编号', event: 'toDetali', width: '150' },
- { prop: 'orderName', label: '订单名称', width: '150' },
- { prop: 'customName', label: '客户名称', width: '200' },
- { prop: 'businessOpportunityName', label: '商机名称', width: '200' },
- { prop: 'price', label: '订单金额', width: '100' },
- { prop: 'receivedPayment', label: '已回款', width: '100' },
- { prop: 'unReceivedPayment', label: '未回款', width: '100' },
- { prop: 'status', label: '回放状态', width: '100' },
- { prop: 'typeName', label: '订单类型', width: '200' },
- { prop: 'placeTime', label: '下单时间', width: '200' },
- { prop: 'orderStartDate', label: '订单开始时间', width: '200' },
- { prop: 'orderEndDate', label: '订单结束时间', width: '200' },
- { prop: 'customSigner', label: '客户签的人', width: '200' },
- { prop: 'companySigner', label: '公司签的人', width: '200' },
- { prop: 'inchargerName', label: '负责人', width: '200' },
- { prop: 'creatorName', label: '创建人', width: '200' },
- { prop: 'createTime', label: '创建时间', width: '200' },
- ]
|