import {BasicColumn} from '/@/components/Table'; import {FormSchema} from '/@/components/Table'; import { rules} from '/@/utils/helper/validator'; import { render } from '/@/utils/common/renderUtils'; import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types' //列表数据 export const columns: BasicColumn[] = [ { title: '预收款编号(bill code)', align:"center", dataIndex: 'billCode', ellipsis:true }, { title: '预收日期(bill date)', align:"center", dataIndex: 'billDate', customRender:({text}) =>{ text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text); return text; }, }, { title: '项目(project)', align:"center", ellipsis:true, dataIndex: 'projectName' }, { title: '订单编号(sale order number)', align:"center", ellipsis:true, width:200, dataIndex: 'saleOrder' }, { title: '客户(customer)', align:"center", ellipsis:true, dataIndex: 'customerName' }, { title: 'F号(F number)', align:"center", dataIndex: 'fnumber', ellipsis:true, }, { title: '预收金额(advance payment amount)', align:"center", width:250, ellipsis:true, dataIndex: 'advanceAmount' }, { title: '订单金额(order amount)', align:"center", dataIndex: 'orderAmount' }, { title: '预收比例(advance payment ratio)', align:"center", width:250, ellipsis:true, dataIndex: 'advanceRatio', customRender:({text}) =>{ text = !text ? "" : text+'%'; return text; }, }, { title: '提交(submit)', align:"center", dataIndex: 'submit_dictText', }, ];