diff --git a/demo/demolist/Demo25.js b/demo/demolist/Demo25.js index e1b1048..c92cb78 100644 --- a/demo/demolist/Demo25.js +++ b/demo/demolist/Demo25.js @@ -106,84 +106,6 @@ function getCloumns(){ ]; return column; } -//Cloumns2 -function getCloumns25(){ - const column = [ - { - title: "序号", - dataIndex: "index", - key: "index", - }, - { - title: "订单编号", - dataIndex: "orderCode", - key: "orderCode", - }, - { - title: "供应商名称", - dataIndex: "supplierName", - key: "supplierName", - }, - { - title: "类型", - dataIndex: "type_name", - key: "type_name", - }, - { - title: "采购组织", - dataIndex: "purchasing", - key: "purchasing", - }, - { - title: "采购组", - dataIndex: "purchasingGroup", - key: "purchasingGroup", - }, - { - title: "凭证日期", - dataIndex: "voucherDate", - key: "voucherDate", - - }, - { - title: "审批状态", - dataIndex: "approvalState_name", - key: "approvalState_name", - }, - { - title: "确认状态", - dataIndex: "confirmState_name", - key: "confirmState_name", - }, - { - title: "关闭状态", - dataIndex: "closeState_name", - key: "closeState_name", - }, - { - title: "操作", - dataIndex: "d", - key: "d", - width:100, - fixed: "right", - render(text, record, index) { - return ( -
- ) - } - } - ]; - return column; -} const dataList = [ { @@ -213,7 +135,35 @@ const dataList = [ closeState_name:"2vnnnnn", d:"2操作", key: "2" -}, + }, + { + index: 3, + orderCode:"222", + supplierName: "22xxx", + type_name: "1223", + purchasing:'内行2', + purchasingGroup:"3223", + voucherDate:"222kk", + approvalState_name:"22vvvv", + confirmState_name:"2aaaa", + closeState_name:"2vnnnnn", + d:"3操作", + key: "3" + }, + { + index: 4, + orderCode:"222", + supplierName: "22xxx", + type_name: "1223", + purchasing:'内行2', + purchasingGroup:"3223", + voucherDate:"222kk", + approvalState_name:"22vvvv", + confirmState_name:"2aaaa", + closeState_name:"2vnnnnn", + d:"4操作", + key: "4" + }, ] const DragColumnTable = filterColumn(dragColumn(multiSelect(Table, Checkbox)),Popover); @@ -242,7 +192,7 @@ class Demo25 extends Component { render() { let columns = getCloumns(); - + return