import React,{ Component } from 'react';
import {
Modal,
Tooltip,
} from "antd";
import './index.less';
import TabelContent from "../../../../common/tabelContent";
import {getApprovedState, getLiquidationStatus, getNewOrderStatus, getProcessStatus} from "../../../../tools";
class DetailedList extends Component{
constructor(props) {
super(props);
this.state= {
columns: [
{
title: "编号",
dataIndex: "key",
key: "key",
width: 120,
},
{
title: "订单部门",
dataIndex: "depName",
key: "depName",
width: 320,
},
{
title: "签单人",
dataIndex: "name",
key: "name",
width: 220,
},
{
title: "总单量(个)",
dataIndex: "quantity",
key: "quantity",
className: 'projectTable',
width: 150,
onCellClick: (record, event) => {
event.stopPropagation();
this.setState({
visible1: true,
aid: record.aid
})
},
},
{
title: "总签单额(万元)",
dataIndex: "total",
key: "total",
className: 'projectTable',
width: 150,
onCellClick: (record, event) => {
event.stopPropagation();
this.setState({
visible1: true,
aid: record.aid
})
},
},
],
columns1: [
{
title: "合同编号",
dataIndex: "contractNo",
key: "contractNo",
},
{
title: "订单编号",
dataIndex: "orderNo",
key: "orderNo",
},
{
title: "客户名称",
dataIndex: "userName",
key: "userName",
render:text=>{
return (