|
@@ -143,7 +143,9 @@ const ShouKuang = React.createClass({
|
|
|
finalReceivablesTime: thisdata.finalReceivablesTime,
|
|
|
signTotalAmount: thisdata.signTotalAmount,
|
|
|
financeName: thisdata.financeName,
|
|
|
- backStatus: thisdata.backStatus
|
|
|
+ backStatus: thisdata.backStatus,
|
|
|
+ orderReceivables: thisdata.orderReceivables,
|
|
|
+ orderArrears: thisdata.orderArrears,
|
|
|
});
|
|
|
}
|
|
|
}
|
|
@@ -200,17 +202,17 @@ const ShouKuang = React.createClass({
|
|
|
defaultPageSize: 10,
|
|
|
showQuickJumper: true,
|
|
|
pageSize: 10,
|
|
|
- onChange: function(page) {
|
|
|
+ onChange: function (page) {
|
|
|
// console.log(page);
|
|
|
|
|
|
this.setState({
|
|
|
- pageNo: page
|
|
|
+ pageNo: page,
|
|
|
});
|
|
|
this.loadData(page);
|
|
|
}.bind(this),
|
|
|
- showTotal: function(total) {
|
|
|
+ showTotal: function (total) {
|
|
|
return "共" + total + "条数据";
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
// 子组件改变的表格title数组
|
|
|
changeList: undefined,
|
|
@@ -218,17 +220,17 @@ const ShouKuang = React.createClass({
|
|
|
{
|
|
|
title: "序号",
|
|
|
dataIndex: "key",
|
|
|
- key: "key"
|
|
|
+ key: "key",
|
|
|
},
|
|
|
{
|
|
|
title: "合同编号",
|
|
|
dataIndex: "contractNo",
|
|
|
- key: "contractNo"
|
|
|
+ key: "contractNo",
|
|
|
},
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderNo",
|
|
|
- key: "orderNo"
|
|
|
+ key: "orderNo",
|
|
|
},
|
|
|
// {
|
|
|
// title: "项目编号",
|
|
@@ -238,30 +240,30 @@ const ShouKuang = React.createClass({
|
|
|
{
|
|
|
title: "客户名称",
|
|
|
dataIndex: "userName",
|
|
|
- key: "userName"
|
|
|
+ key: "userName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单负责人",
|
|
|
dataIndex: "salesmanName",
|
|
|
- key: "salesmanName"
|
|
|
+ key: "salesmanName",
|
|
|
},
|
|
|
{
|
|
|
title: "是否主项目",
|
|
|
dataIndex: "main",
|
|
|
key: "main",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return text == 0 ? "否" : "是";
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "项目类别",
|
|
|
dataIndex: "cname",
|
|
|
- key: "cname"
|
|
|
+ key: "cname",
|
|
|
},
|
|
|
{
|
|
|
title: "项目名称",
|
|
|
dataIndex: "commodityName",
|
|
|
- key: "commodityName"
|
|
|
+ key: "commodityName",
|
|
|
},
|
|
|
{
|
|
|
title: "项目数量",
|
|
@@ -274,7 +276,7 @@ const ShouKuang = React.createClass({
|
|
|
{text}{" "}
|
|
|
<Tag
|
|
|
color="#108ee9"
|
|
|
- onClick={e => {
|
|
|
+ onClick={(e) => {
|
|
|
e.stopPropagation();
|
|
|
this.showRes(record);
|
|
|
}}
|
|
@@ -286,129 +288,129 @@ const ShouKuang = React.createClass({
|
|
|
} else {
|
|
|
return text;
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "服务市价",
|
|
|
dataIndex: "commodityPrice",
|
|
|
- key: "commodityPrice"
|
|
|
+ key: "commodityPrice",
|
|
|
},
|
|
|
{
|
|
|
title: "证书编号",
|
|
|
dataIndex: "certificateNumber",
|
|
|
- key: "certificateNumber"
|
|
|
+ key: "certificateNumber",
|
|
|
},
|
|
|
{
|
|
|
title: "项目状态",
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getProjectStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
- key: "taskComment"
|
|
|
+ key: "taskComment",
|
|
|
},
|
|
|
{
|
|
|
title: "是否外包",
|
|
|
dataIndex: "outsource",
|
|
|
key: "outsource",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
if (text == 0) {
|
|
|
return "否";
|
|
|
} else if (text == 1) {
|
|
|
return "是";
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "外包(内部)公司",
|
|
|
dataIndex: "outsourceName",
|
|
|
- key: "outsourceName"
|
|
|
+ key: "outsourceName",
|
|
|
},
|
|
|
{
|
|
|
title: "外包(内部)价格",
|
|
|
dataIndex: "outsourcePrice",
|
|
|
- key: "outsourcePrice"
|
|
|
- }
|
|
|
+ key: "outsourcePrice",
|
|
|
+ },
|
|
|
],
|
|
|
|
|
|
cuiColumns: [
|
|
|
{
|
|
|
title: "序号",
|
|
|
dataIndex: "key",
|
|
|
- key: "key"
|
|
|
+ key: "key",
|
|
|
},
|
|
|
{
|
|
|
title: "合同编号",
|
|
|
dataIndex: "contractNo",
|
|
|
- key: "contractNo"
|
|
|
+ key: "contractNo",
|
|
|
},
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderNo",
|
|
|
- key: "orderNo"
|
|
|
+ key: "orderNo",
|
|
|
},
|
|
|
{
|
|
|
title: "客户名称",
|
|
|
dataIndex: "userName",
|
|
|
- key: "userName"
|
|
|
+ key: "userName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单负责人",
|
|
|
dataIndex: "salesmanName",
|
|
|
- key: "salesmanName"
|
|
|
+ key: "salesmanName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单部门",
|
|
|
dataIndex: "depName",
|
|
|
- key: "depName"
|
|
|
+ key: "depName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单状态",
|
|
|
dataIndex: "orderStatus",
|
|
|
key: "orderStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getNewOrderStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "项目状态",
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getProjectStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "签单金额",
|
|
|
dataIndex: "totalAmount",
|
|
|
- key: "totalAmount"
|
|
|
+ key: "totalAmount",
|
|
|
},
|
|
|
{
|
|
|
title: "结算状态",
|
|
|
dataIndex: "liquidationStatus",
|
|
|
key: "liquidationStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getLiquidationStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "已收款",
|
|
|
dataIndex: "settlementAmount",
|
|
|
- key: "settlementAmount"
|
|
|
+ key: "settlementAmount",
|
|
|
},
|
|
|
{
|
|
|
title: "应收款",
|
|
|
dataIndex: "accountsReceivable",
|
|
|
- key: "accountsReceivable"
|
|
|
+ key: "accountsReceivable",
|
|
|
},
|
|
|
{
|
|
|
title: "催收科目",
|
|
|
dataIndex: "dunSubject",
|
|
|
- key: "dunSubject"
|
|
|
+ key: "dunSubject",
|
|
|
// render: text => {
|
|
|
// return getjiedian(text);
|
|
|
// }
|
|
@@ -416,24 +418,24 @@ const ShouKuang = React.createClass({
|
|
|
{
|
|
|
title: "催款状态",
|
|
|
dataIndex: "dunStatus",
|
|
|
- key: "dunStatus"
|
|
|
+ key: "dunStatus",
|
|
|
},
|
|
|
{
|
|
|
title: "催收启动时间",
|
|
|
dataIndex: "startDate",
|
|
|
- key: "startDate"
|
|
|
- }
|
|
|
+ key: "startDate",
|
|
|
+ },
|
|
|
],
|
|
|
timeColumns: [
|
|
|
{
|
|
|
title: "合同编号",
|
|
|
dataIndex: "contractNo",
|
|
|
- key: "contractNo"
|
|
|
+ key: "contractNo",
|
|
|
},
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderNo",
|
|
|
- key: "orderNo"
|
|
|
+ key: "orderNo",
|
|
|
},
|
|
|
{
|
|
|
title: "项目编号",
|
|
@@ -445,194 +447,194 @@ const ShouKuang = React.createClass({
|
|
|
} else {
|
|
|
return text;
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: "客户名称",
|
|
|
dataIndex: "userName",
|
|
|
key: "userName",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return text && text.length > 9 ? text.substr(0, 9) + "..." : text;
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: "订单部门",
|
|
|
dataIndex: "depName",
|
|
|
- key: "depName"
|
|
|
+ key: "depName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单负责人",
|
|
|
dataIndex: "salesmanName",
|
|
|
- key: "salesmanName"
|
|
|
+ key: "salesmanName",
|
|
|
},
|
|
|
{
|
|
|
title: "项目类别",
|
|
|
dataIndex: "cname",
|
|
|
- key: "cname"
|
|
|
+ key: "cname",
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: "项目名称",
|
|
|
dataIndex: "taskName",
|
|
|
- key: "taskName"
|
|
|
+ key: "taskName",
|
|
|
},
|
|
|
{
|
|
|
title: "项目负责人",
|
|
|
dataIndex: "receiverName",
|
|
|
- key: "receiverName"
|
|
|
+ key: "receiverName",
|
|
|
},
|
|
|
{
|
|
|
title: "项目价格(万元)",
|
|
|
dataIndex: "commodityPrice",
|
|
|
- key: "commodityPrice"
|
|
|
+ key: "commodityPrice",
|
|
|
},
|
|
|
{
|
|
|
title: "数量(个)",
|
|
|
dataIndex: "commodityQuantity",
|
|
|
- key: "commodityQuantity"
|
|
|
+ key: "commodityQuantity",
|
|
|
},
|
|
|
{
|
|
|
title: "任务状态",
|
|
|
dataIndex: "taskStatus",
|
|
|
key: "taskStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getTaskStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "项目状态",
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getProjectStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "工时",
|
|
|
dataIndex: "hours",
|
|
|
- key: "hours"
|
|
|
+ key: "hours",
|
|
|
},
|
|
|
{
|
|
|
title: "是否外包",
|
|
|
dataIndex: "outsource",
|
|
|
key: "outsource",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
if (text == 0) {
|
|
|
return "否";
|
|
|
} else if (text == 1) {
|
|
|
return "是";
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "签单日期",
|
|
|
dataIndex: "signTime",
|
|
|
- key: "signTime"
|
|
|
+ key: "signTime",
|
|
|
},
|
|
|
{
|
|
|
title: "派单日期",
|
|
|
dataIndex: "creteTime",
|
|
|
- key: "creteTime"
|
|
|
+ key: "creteTime",
|
|
|
},
|
|
|
{
|
|
|
title: "分配时间",
|
|
|
dataIndex: "taskDistributionTime",
|
|
|
- key: "taskDistributionTime"
|
|
|
+ key: "taskDistributionTime",
|
|
|
},
|
|
|
{
|
|
|
title: "完成时间",
|
|
|
dataIndex: "taskEndTime",
|
|
|
- key: "taskEndTime"
|
|
|
- }
|
|
|
+ key: "taskEndTime",
|
|
|
+ },
|
|
|
],
|
|
|
printColumns: [
|
|
|
{
|
|
|
title: "合同编号",
|
|
|
dataIndex: "contractNo",
|
|
|
- key: "contractNo"
|
|
|
+ key: "contractNo",
|
|
|
},
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderNo",
|
|
|
- key: "orderNo"
|
|
|
+ key: "orderNo",
|
|
|
// fixed: "left"
|
|
|
},
|
|
|
{
|
|
|
title: "客户名称",
|
|
|
dataIndex: "buyerName",
|
|
|
- key: "buyerName"
|
|
|
+ key: "buyerName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单部门",
|
|
|
dataIndex: "departmentName",
|
|
|
- key: "departmentName"
|
|
|
+ key: "departmentName",
|
|
|
},
|
|
|
{
|
|
|
title: "订单负责人",
|
|
|
dataIndex: "sellerName",
|
|
|
- key: "sellerName"
|
|
|
+ key: "sellerName",
|
|
|
},
|
|
|
{
|
|
|
title: "签单日期",
|
|
|
dataIndex: "signTime",
|
|
|
- key: "signTime"
|
|
|
+ key: "signTime",
|
|
|
},
|
|
|
{
|
|
|
title: "下单日期",
|
|
|
dataIndex: "createTime",
|
|
|
- key: "createTime"
|
|
|
+ key: "createTime",
|
|
|
},
|
|
|
{
|
|
|
title: "签单金额(万元)",
|
|
|
dataIndex: "signTotalAmount",
|
|
|
- key: "signTotalAmount"
|
|
|
+ key: "signTotalAmount",
|
|
|
},
|
|
|
{
|
|
|
title: "开票金额(万元)",
|
|
|
dataIndex: "invoiceAmount",
|
|
|
- key: "invoiceAmount"
|
|
|
+ key: "invoiceAmount",
|
|
|
},
|
|
|
{
|
|
|
title: "已收款(万元)",
|
|
|
dataIndex: "actuallyTotalAmount",
|
|
|
- key: "actuallyTotalAmount"
|
|
|
+ key: "actuallyTotalAmount",
|
|
|
},
|
|
|
{
|
|
|
title: "最近收款(万元)",
|
|
|
dataIndex: "finalReceivables",
|
|
|
- key: "finalReceivables"
|
|
|
+ key: "finalReceivables",
|
|
|
},
|
|
|
{
|
|
|
title: "最近收款时间",
|
|
|
dataIndex: "finalReceivablesTime",
|
|
|
- key: "finalReceivablesTime"
|
|
|
+ key: "finalReceivablesTime",
|
|
|
},
|
|
|
{
|
|
|
title: "结算状态",
|
|
|
dataIndex: "liquidationStatus",
|
|
|
key: "liquidationStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getLiquidationStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "流程状态",
|
|
|
dataIndex: "processStatus",
|
|
|
key: "processStatus",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getProcessStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "特批状态",
|
|
|
dataIndex: "approval",
|
|
|
key: "approval",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getApproval(text);
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
columns: [
|
|
|
{
|
|
@@ -640,20 +642,20 @@ const ShouKuang = React.createClass({
|
|
|
dataIndex: "contractNo",
|
|
|
key: "contractNo",
|
|
|
className: "title-table",
|
|
|
- fixed: "left"
|
|
|
+ fixed: "left",
|
|
|
},
|
|
|
{
|
|
|
title: "客户名称",
|
|
|
dataIndex: "buyerName",
|
|
|
key: "buyerName",
|
|
|
className: "title-table",
|
|
|
- fixed: "left"
|
|
|
+ fixed: "left",
|
|
|
},
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderNo",
|
|
|
key: "orderNo",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
// fixed: "left"
|
|
|
},
|
|
|
{
|
|
@@ -661,91 +663,103 @@ const ShouKuang = React.createClass({
|
|
|
dataIndex: "approval",
|
|
|
key: "approval",
|
|
|
className: "title-table",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
if (text == 1 || text == 2) {
|
|
|
return <Tag color="#f50">{getApproval(text)}</Tag>;
|
|
|
}
|
|
|
return getApproval(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: "订单部门",
|
|
|
dataIndex: "departmentName",
|
|
|
key: "departmentName",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "订单负责人",
|
|
|
dataIndex: "sellerName",
|
|
|
key: "sellerName",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "财务负责人",
|
|
|
dataIndex: "financeName",
|
|
|
key: "financeName",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "签单日期",
|
|
|
dataIndex: "signTime",
|
|
|
key: "signTime",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "下单日期",
|
|
|
dataIndex: "createTime",
|
|
|
key: "createTime",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "签单金额(万元)",
|
|
|
dataIndex: "signTotalAmount",
|
|
|
key: "signTotalAmount",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "开票金额(万元)",
|
|
|
dataIndex: "invoiceAmount",
|
|
|
key: "invoiceAmount",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "已收款(万元)",
|
|
|
dataIndex: "actuallyTotalAmount",
|
|
|
key: "actuallyTotalAmount",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "应收款(万元)",
|
|
|
+ dataIndex: "orderReceivables",
|
|
|
+ key: "orderReceivables",
|
|
|
+ className: "title-table",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "欠款(万元)",
|
|
|
+ dataIndex: "orderArrears",
|
|
|
+ key: "orderArrears",
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "最近收款(万元)",
|
|
|
dataIndex: "finalReceivables",
|
|
|
key: "finalReceivables",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "最近收款时间",
|
|
|
dataIndex: "finalReceivablesTime",
|
|
|
key: "finalReceivablesTime",
|
|
|
- className: "title-table"
|
|
|
+ className: "title-table",
|
|
|
},
|
|
|
{
|
|
|
title: "结算状态",
|
|
|
dataIndex: "liquidationStatus",
|
|
|
key: "liquidationStatus",
|
|
|
className: "title-table",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getLiquidationStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "流程状态",
|
|
|
dataIndex: "processStatus",
|
|
|
key: "processStatus",
|
|
|
className: "title-table",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getProcessStatus(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
// {
|
|
@@ -787,7 +801,7 @@ const ShouKuang = React.createClass({
|
|
|
{recard.processStatus == 3 ? (
|
|
|
<Button
|
|
|
type="primary"
|
|
|
- onClick={e => {
|
|
|
+ onClick={(e) => {
|
|
|
// e.stopPropagation(), this.evaluateZ(recard);
|
|
|
e.stopPropagation(), this.checkRemark(recard);
|
|
|
}}
|
|
@@ -807,9 +821,9 @@ const ShouKuang = React.createClass({
|
|
|
style={{
|
|
|
marginLeft: "5px",
|
|
|
display:
|
|
|
- recard.processStatus == 3 ? "inline-block" : "none"
|
|
|
+ recard.processStatus == 3 ? "inline-block" : "none",
|
|
|
}}
|
|
|
- onClick={e => {
|
|
|
+ onClick={(e) => {
|
|
|
e.stopPropagation(), this.reject(recard);
|
|
|
}}
|
|
|
>
|
|
@@ -830,8 +844,8 @@ const ShouKuang = React.createClass({
|
|
|
}
|
|
|
</div>
|
|
|
);
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
dataSource: [],
|
|
|
searchTime: [],
|
|
@@ -839,106 +853,106 @@ const ShouKuang = React.createClass({
|
|
|
{
|
|
|
title: "编号",
|
|
|
dataIndex: "id",
|
|
|
- key: "id"
|
|
|
+ key: "id",
|
|
|
},
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderno",
|
|
|
- key: "orderno"
|
|
|
+ key: "orderno",
|
|
|
},
|
|
|
{
|
|
|
title: "开票金额(万元)",
|
|
|
dataIndex: "amount",
|
|
|
- key: "amount"
|
|
|
+ key: "amount",
|
|
|
},
|
|
|
{
|
|
|
title: "申请时间",
|
|
|
dataIndex: "createTime",
|
|
|
- key: "createTime"
|
|
|
+ key: "createTime",
|
|
|
},
|
|
|
{
|
|
|
title: "开票状态",
|
|
|
dataIndex: "status",
|
|
|
key: "status",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getInvoiceStatus(text);
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
waterlistDate: [
|
|
|
{
|
|
|
title: "订单编号",
|
|
|
dataIndex: "orderNo",
|
|
|
- key: "orderNo"
|
|
|
+ key: "orderNo",
|
|
|
},
|
|
|
{
|
|
|
title: "平台流水号",
|
|
|
dataIndex: "billNo",
|
|
|
- key: "billNo"
|
|
|
+ key: "billNo",
|
|
|
// fixed: "left"
|
|
|
},
|
|
|
{
|
|
|
title: "收款金额(万元)",
|
|
|
dataIndex: "transactionAmount",
|
|
|
- key: "transactionAmount"
|
|
|
+ key: "transactionAmount",
|
|
|
},
|
|
|
{
|
|
|
title: "收款方",
|
|
|
dataIndex: "payeeName",
|
|
|
- key: "payeeName"
|
|
|
+ key: "payeeName",
|
|
|
},
|
|
|
{
|
|
|
title: "付款方",
|
|
|
dataIndex: "payerName",
|
|
|
- key: "payerName"
|
|
|
+ key: "payerName",
|
|
|
},
|
|
|
{
|
|
|
title: "流水科目",
|
|
|
dataIndex: "transactionSubject",
|
|
|
key: "transactionSubject",
|
|
|
- render: text => {
|
|
|
+ render: (text) => {
|
|
|
return getTransactionProject(text);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "收款类型",
|
|
|
dataIndex: "type",
|
|
|
- key: "type"
|
|
|
+ key: "type",
|
|
|
},
|
|
|
{
|
|
|
title: "财务流水时间",
|
|
|
dataIndex: "financialPayTimes",
|
|
|
- key: "financialPayTimes"
|
|
|
+ key: "financialPayTimes",
|
|
|
},
|
|
|
{
|
|
|
title: "财务流水号",
|
|
|
dataIndex: "financialPayNo",
|
|
|
- key: "financialPayNo"
|
|
|
+ key: "financialPayNo",
|
|
|
},
|
|
|
{
|
|
|
title: "订单负责人",
|
|
|
dataIndex: "saleName",
|
|
|
- key: "saleName"
|
|
|
+ key: "saleName",
|
|
|
},
|
|
|
{
|
|
|
title: "创建时间",
|
|
|
dataIndex: "createTimes",
|
|
|
- key: "createTimes"
|
|
|
+ key: "createTimes",
|
|
|
},
|
|
|
{
|
|
|
title: "退款时间",
|
|
|
dataIndex: "refundTimes",
|
|
|
- key: "refundTimes"
|
|
|
+ key: "refundTimes",
|
|
|
},
|
|
|
{
|
|
|
title: "删除时间",
|
|
|
dataIndex: "deleteTimes",
|
|
|
- key: "deleteTimes"
|
|
|
+ key: "deleteTimes",
|
|
|
},
|
|
|
{
|
|
|
title: "备注",
|
|
|
dataIndex: "remarks",
|
|
|
- key: "remarks"
|
|
|
+ key: "remarks",
|
|
|
},
|
|
|
{
|
|
|
title: "流水状态",
|
|
@@ -961,10 +975,10 @@ const ShouKuang = React.createClass({
|
|
|
} else {
|
|
|
return <Tag>已删除</Tag>;
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
- waterData: []
|
|
|
+ waterData: [],
|
|
|
};
|
|
|
},
|
|
|
|