1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015 |
- import React, { Component } from "react";
- import { Form, Upload, Modal, Button, Table, Col, message, Tag, Tooltip } from "antd";
- import {
- splitUrl,
- getProcessStatus,
- getjiedian,
- getLiquidationStatus,
- getboutique,
- getCuikuan,
- getApprovedState,
- getProjectStatus
- } from "@/tools.js";
- import img from "./img.png"
- import ResolutionDetail from "@/resolutionDetail";
- import ImgList from "../../../../common/imgList";
- import { getProjectName } from "../../../../tools";
- import { salesList } from "@/dataDic.js";
- import ProjectDetailsReadOnly from "../../../../common/projectDetailsReadOnly";
- import EnterpriseNameChange from "../../../../common/enterpriseNameChange";
- import NewEditProject from "../../../../common/projectOperation/newEditProject";
- import OrderCoor from "./orderCoor"
- import ContentUrl from "../contentUrl";
- const FormItem = Form.Item;
- class OrderDetail extends Component {
- constructor(props) {
- super(props);
- this.state = {
- dataInfor: {},
- contentUrl: [],
- newContactsLists: [
- {
- title: "项目名称",
- dataIndex: "commodityName",
- key: "commodityName",
- render: (text, record) => {
- return <span>{text + "-" + record.tid}</span>;
- }
- },
- {
- title: "项目分类",
- dataIndex: "projectType",
- key: "projectType",
- render: text => {
- let arr = this.props.dataSourceX || [];
- let str = "";
- for (let i = 0; i < arr.length; i++) {
- if (this.props.dataSourceX[i].sort == text) {
- str = this.props.dataSourceX[i].cname;
- return <span>{str}</span>;
- }
- }
- if (!str) {
- return <span>未知</span>;
- }
- }
- },
- {
- title: "催款科目",
- dataIndex: "dunTypeName",
- key: "dunTypeName",
- render: (text, record) => {
- if (record.customizeName) {
- return text + record.customizeName;
- }
- return <span>{text}</span>;
- }
- },
- {
- title: "时间",
- dataIndex: "waitDay",
- key: "waitDay",
- render: (text, record) => {
- if (record.dunTypeName) {
- if (record.customizeTimes) {
- return record.customizeTimes;
- }
- return <span>{text}</span>;
- }
- }
- },
- {
- title: "金额(万元)",
- dataIndex: "money",
- key: "money",
- render: (text, record) => {
- if (record.dunTypeName) {
- if (record.appropriationRatio) {
- let percent = Number(record.appropriationRatio * 100).toFixed(2);
- percent += "%";
- return <span>{percent}(拨款比例)</span>;
- } else {
- return <span>{text}</span>;
- }
- }
- }
- },
- {
- title: "服务年限",
- dataIndex: "startDate",
- key: "startDate",
- render: (text, record) => {
- if (record.dunTypeName) {
- return <span>{text}</span>;
- }
- }
- },
- {
- title: "催款状态",
- dataIndex: "status",
- key: "status",
- render: text => {
- return <span>{text == 1 ? "已启动" : "未启动"}</span>;
- }
- }
- ],
- ContactsLists: [
- {
- title: "催款科目",
- dataIndex: "dunSubject",
- key: "dunSubject",
- render: text => {
- return getjiedian(text);
- }
- },
- {
- title: "金额(万元)",
- dataIndex: "money",
- key: "money"
- },
- {
- title: "催款状态",
- dataIndex: "dunStatus",
- key: "dunStatus",
- render: text => {
- return getCuikuan(text);
- }
- }
- ],
- resVisible: false,
- columnsX: [
- {
- title: "业务项目名称",
- dataIndex: "commodityName",
- key: "commodityName",
- render: (text, record) => {
- return <span>{text}<span style={{ color: "red" }}>{record.patentTypeName}</span>{"-" + record.id}</span>
- }
- },
- {
- title: "项目类别",
- dataIndex: "cname",
- key: "cname"
- },
- {
- title: "项目数量",
- dataIndex: "commodityQuantity",
- key: "commodityQuantity",
- render: (text, record) => {
- if (record.splitStatus == 1) {
- return (
- <span>
- {text}{" "}
- {/* <Tag
- color="#108ee9"
- onClick={e => {
- e.stopPropagation();
- this.showRes(record);
- }}
- >
- 已拆
- </Tag> */}
- </span>
- );
- } else {
- return text;
- }
- }
- },
- {
- title: "金额(万元)",
- dataIndex: "commodityPrice",
- key: "commodityPrice",
- render: text => {
- // return this.props.processState === 2 ? "***" : text;
- return text == null ? "***" : text;
- }
- },
- {
- title: "负责人",
- dataIndex: "contacts",
- key: "contacts"
- },
- {
- title: "负责人电话",
- dataIndex: "contactsMobile",
- key: "contactsMobile"
- },
- {
- title: "项目状态",
- dataIndex: "projectStatus",
- key: "projectStatus",
- render: text => {
- return getProjectName(text);
- }
- },
- {
- title: "主要项目",
- dataIndex: "main",
- key: "main",
- width: 50,
- render: text => {
- return text ? "是" : "否";
- }
- },
- {
- title: "总年限",
- dataIndex: "yearSum",
- key: "yearSum",
- render: (text, record) => {
- return (
- <div>{["", "一年", "二年", "三年", "四年", "五年"][text]}</div>
- );
- }
- },
- {
- title: "年限",
- dataIndex: "serviceLife",
- key: "serviceLife",
- render: (text, record) => {
- return (
- <div>{!!text && JSON.parse(text).toString()}</div>
- );
- }
- },
- {
- title: "本次派单",
- dataIndex: "serviceYear",
- key: "serviceYear",
- render: (text, record) => {
- return (
- <div>{!text ? "" : text}</div>
- );
- }
- },
- {
- title: "项目说明",
- dataIndex: "taskComment",
- key: "taskComment",
- render: text => {
- return (
- <Tooltip title={text}>
- <div
- style={{
- width: 100,
- overflow: "hidden",
- whiteSpace: "nowrap",
- textOverflow: "ellipsis",
- }}
- >{text}</div>
- </Tooltip>
- )
- }
- }
- ],
- rotateDeg: 0
- };
- this.tableRowClickX = this.tableRowClickX.bind(this);
- this.nextCancel = this.nextCancel.bind(this);
- this.rotate = this.rotate.bind(this);
- this.downImg = this.downImg.bind(this);
- this.upImg = this.upImg.bind(this);
- this.downImgs = this.downImgs.bind(this);
- this.upImgs = this.upImgs.bind(this);
- this.showRes = this.showRes.bind(this);
- this.resCancel = this.resCancel.bind(this);
- }
- rotate() {
- let rotateDeg = this.state.rotateDeg + 90;
- this.setState({
- rotateDeg
- });
- }
- //项目详情关闭
- nextCancel() {
- this.setState({
- visible: false
- });
- }
- //点击打卡项目详情
- tableRowClickX(record) {
- this.setState({
- dataInfor: record,
- jid: record.id, //项目ID
- kid: record.commodityId, //商品ID
- commodityName: record.commodityName, //金额
- commodityPrice: record.commodityPrice, //金额
- commodityQuantity: record.commodityQuantity, //数量
- taskComment: record.taskComment, //备注
- main: record.main.toString(), //是否为主要
- visible: true,
- addState: 0
- });
- }
- downImg() {
- const data = this.props.orderData;
- let num = 0;
- for (
- let i = 0;
- i <
- splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- ).length;
- i++
- ) {
- if (
- splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- )[i].url == this.state.previewImage
- ) {
- num = i;
- }
- }
- if (
- num ==
- splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- ).length -
- 1
- ) {
- return message.warning("已经是最后一张了哦");
- }
- this.state.previewImage = splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- )[num + 1].url;
- this.setState({
- previewImage: this.state.previewImage,
- rotateDeg: 0
- });
- }
- upImg() {
- const data = this.props.orderData;
- let num = 0;
- for (
- let i = 0;
- i <
- splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- ).length;
- i++
- ) {
- if (
- splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- )[i].url == this.state.previewImage
- ) {
- num = i;
- }
- }
- if (num == 0) {
- return message.warning("已经是第一张了哦");
- }
- this.state.previewImage = splitUrl(
- data.contractPictureUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- )[num - 1].url;
- this.setState({
- previewImage: this.state.previewImage,
- rotateDeg: 0
- });
- }
- downImgs() {
- const data = this.props.orderData;
- let num = 0;
- for (
- let i = 0;
- i <
- splitUrl(
- data.rep,
- ",",
- globalConfig.avatarHost + "/upload"
- ).length;
- i++
- ) {
- if (
- splitUrl(data.agreementUrl, ",", globalConfig.avatarHost + "/upload")[i]
- .url == this.state.previewImage
- ) {
- num = i;
- }
- }
- if (
- num ==
- splitUrl(data.agreementUrl, ",", globalConfig.avatarHost + "/upload")
- .length -
- 1
- ) {
- return message.warning("已经是最后一张了哦");
- }
- this.state.previewImage = splitUrl(
- data.agreementUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- )[num + 1].url;
- this.setState({
- previewImage: this.state.previewImage,
- rotateDeg: 0
- });
- }
- upImgs() {
- const data = this.props.orderData;
- let num = 0;
- for (
- let i = 0;
- i <
- splitUrl(data.agreementUrl, ",", globalConfig.avatarHost + "/upload")
- .length;
- i++
- ) {
- if (
- splitUrl(data.agreementUrl, ",", globalConfig.avatarHost + "/upload")[i]
- .url == this.state.previewImage
- ) {
- num = i;
- }
- }
- if (num == 0) {
- return message.warning("已经是第一张了哦");
- }
- this.state.previewImage = splitUrl(
- data.agreementUrl,
- ",",
- globalConfig.avatarHost + "/upload"
- )[num - 1].url;
- this.setState({
- previewImage: this.state.previewImage,
- rotateDeg: 0
- });
- }
- // 拆分详细
- showRes(record) {
- this.setState({
- resVisible: true,
- resRecord: record
- })
- }
- resCancel() {
- this.setState({
- resVisible: false
- })
- }
- // 可展开颜色不同
- addRowColor(record) {
- if (!!record.splitList && record.splitList.length > 0) {
- return 'light'
- } else {
- return 'dark'
- }
- }
- render() {
- let domId = this.props.domId;
- domId = domId ? domId.substr(0, 4) : ''
- const formItemLayout = {
- labelCol: { span: 8 },
- wrapperCol: { span: 14 }
- };
- const data = this.props.orderData;
- const propsList = this.props.contactList || [];
- const expandedRowRenderVip = (e) => {
- const data = e.splitList;
- let columns = [];
- if (data instanceof Array && data.length) {
- if (e.cSort == 6) {
- columns = [
- {
- title: "负责人",
- dataIndex: "receiverName",
- key: "receiverName",
- },
- {
- title: "负责人电话",
- dataIndex: "receiverMobile",
- key: "receiverMobile",
- },
- {
- title: "项目状态",
- dataIndex: "projectStatus",
- key: "projectStatus",
- render: (text) => {
- return getProjectName(text);
- },
- },
- {
- title: "本次派单",
- dataIndex: "serviceYear",
- key: "serviceYear",
- },
- {
- title: "项目说明",
- dataIndex: "taskComment",
- key: "taskComment",
- render: (text) => {
- return (
- <Tooltip title={text}>
- <div
- >{text}</div>
- </Tooltip>
- )
- },
- },
- ];
- } else {
- columns = [
- {
- title: "子项目名称",
- dataIndex: "taskName",
- key: "taskName"
- },
- {
- title: "子项目数量",
- dataIndex: "commodityQuantity",
- key: "commodityQuantity"
- },
- {
- title: "拆分操作人",
- dataIndex: "splitAname",
- key: "splitAname"
- },
- {
- title: "项目负责人",
- dataIndex: "receiverName",
- key: "receiverName"
- },
- {
- title: "拆分时间",
- dataIndex: "splitTimes",
- key: "splitTimes"
- }
- ]
- }
- return (
- <Table
- columns={columns}
- dataSource={data}
- pagination={false}
- />
- );
- } else {
- columns = [];
- return (
- <p
- style={{ fontWeight: "bold", color: "red", textAlign: "center" }}
- >
- {e.cSort == 6 ? "暂无派单" : "此项目暂未拆分"}
- </p>
- );
- }
- };
- return (
- <div className="clearfix">
- {this.state.resVisible ? (
- <ResolutionDetail
- cancel={this.resCancel}
- detail={this.state.resRecord}
- visible={this.state.resVisible}
- id={this.state.resRecord.orderNo}
- />
- ) : (
- ""
- )}
- <FormItem className="half-item" {...formItemLayout} label="订单编号">
- <span>{data.orderNo}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="合同编号">
- <span>{data.contractNo}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="客户名称">
- <span>{data.userName}</span>
- <EnterpriseNameChange
- type='journal'
- style={{ marginLeft: 10 }}
- enterpriseId={this.props.orderUid} />
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="销售类型"
- >
- <span>
- {(["私有客户-", "签单客户-"][data.userType] || " ") +
- (salesList[data.salesType] || "")}
- {
- data.other != null && data.other != "" &&
- <Tooltip title={data.other}>
- <span>
- {"(" + data.other.toString().slice(0, 10) + (data.other.toString().length > 9 ? "...)" : ")")}
- </span>
- </Tooltip>
- }
- </span>
- {/* <span>{(["私有客户-", "签单客户-"][data.userType] || " ") +
- (salesList[data.salesType] || "")}</span> */}
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="合同签订时间"
- >
- <span>{data.signDate}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="流程状态">
- <span>{getProcessStatus(data.processStatus, data.examineName, data.approval)}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="结算状态">
- <span>{getLiquidationStatus(data.liquidationStatus)}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="企业联系人">
- {/* <span>{data.contacts}</span> */}
- <span>{this.props.isCaiWu ? "***" : data.contacts}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="联系人电话">
- {/* <span>{data.contactMobile}</span> */}
- <span>{this.props.isCaiWu ? "***" : data.contactMobile}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="企业法人">
- <span>{this.props.isCaiWu ? "***" : data.legalPerson}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="法人电话">
- {/* <span>{data.legalPersonTel}</span> */}
- <span>{this.props.isCaiWu ? "***" : data.legalPersonTel}</span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="签单金额(万元)"
- >
- <span>
- {this.props.processState === 2 ? "***" : data.totalAmount}
- </span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="首付金额(万元)"
- >
- <span>
- {this.props.processState === 2 ? "***" : data.firstAmount}
- </span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="特批立项">
- <span>{getApprovedState(data.approval)}</span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="已收款项(万元)"
- >
- <span>
- {this.props.processState === 2 ? "***" : data.settlementAmount}
- </span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="订单部门">
- <span>{data.depName}</span>
- </FormItem>
- <FormItem className="half-item" {...formItemLayout} label="是否外包">
- {data.outsource == 0 ? "否" : "是"}
- </FormItem>
- <div className="clearfix">
- <FormItem
- labelCol={{ span: 4 }}
- wrapperCol={{ span: 16 }}
- label="订单留言"
- >
- <p style={{ width: 500, wordWrap: "break-word" }}>
- {data.orderRemarks}
- </p>
- </FormItem>
- </div>
- <div className="clearfix">
- <FormItem
- labelCol={{ span: 4 }}
- wrapperCol={{ span: 18 }}
- label="合同扫描件"
- >
- {this.props.orderData && data.contractPictureUrl ?
- <ImgList
- domId={this.props.domId ? this.props.domId : 'orderDetail1'}
- fileList={
- data.contractPictureUrl ? splitUrl(data.contractPictureUrl, ",", globalConfig.avatarHost + "/upload") : []
- }
- /> :
- <div />
- }
- <Modal
- maskClosable={false}
- footer={null}
- width={"50%"}
- visible={this.state.previewVisible}
- onCancel={() => {
- this.state.rotateDeg = 0;
- this.setState({
- previewVisible: false,
- rotateDeg: this.state.rotateDeg,
- });
- }}
- >
- <img
- alt=""
- style={{
- width: "100%",
- transform: `rotate(${this.state.rotateDeg}deg)`,
- }}
- src={this.state.previewImage || ""}
- />
- <Button
- onClick={this.rotate}
- style={{
- position: "relative",
- left: "50%",
- transform: "translateX(-50%)",
- }}
- >
- 旋转
- </Button>
- <Button
- onClick={this.upImg}
- style={{
- position: "absolute",
- left: -81,
- top: "50%",
- transform: "translateY(-50%)",
- }}
- >
- 上一张
- </Button>
- <Button
- onClick={this.downImg}
- style={{
- position: "absolute",
- right: -81,
- top: "50%",
- transform: "translateY(-50%)",
- }}
- >
- 下一张
- </Button>
- </Modal>
- <Button
- style={{
- float: "right",
- marginRight: "140px",
- marginTop: "20px",
- }}
- onClick={() => {
- this.props.getOrderLog(data.orderNo);
- }}
- >
- 查看订单日志
- </Button>
- </FormItem>
- <FormItem
- labelCol={{ span: 4 }}
- wrapperCol={{ span: 18 }}
- label="补充协议"
- >
- {/*<Upload*/}
- {/* className="demandDetailShow-upload"*/}
- {/* listType="picture-card"*/}
- {/* fileList={*/}
- {/* data.agreementUrl*/}
- {/* ? splitUrl(*/}
- {/* data.agreementUrl,*/}
- {/* ",",*/}
- {/* globalConfig.avatarHost + "/upload"*/}
- {/* )*/}
- {/* : []*/}
- {/* }*/}
- {/* onPreview={(file) => {*/}
- {/* this.setState({*/}
- {/* previewImage: file.url || file.thumbUrl,*/}
- {/* previewVisibles: true,*/}
- {/* });*/}
- {/* }}*/}
- {/*/>*/}
- <div style={{ paddingTop: '10px', paddingBottom: '10px' }}>
- <ImgList
- domId={this.props.domId ? this.props.domId + '1' : 'orderDetail2'}
- fileList={
- data.agreementUrl ? splitUrl(data.agreementUrl, ",", globalConfig.avatarHost + "/upload") : []
- } />
- </div>
- <Modal
- maskClosable={false}
- footer={null}
- width={"50%"}
- visible={this.state.previewVisibles}
- onCancel={() => {
- this.state.rotateDeg = 0;
- this.setState({
- previewVisibles: false,
- rotateDeg: this.state.rotateDeg,
- });
- }}
- >
- <img
- alt=""
- style={{
- width: "100%",
- transform: `rotate(${this.state.rotateDeg}deg)`,
- }}
- src={this.state.previewImage || ""}
- />
- <Button
- onClick={this.rotate}
- style={{
- position: "relative",
- left: "50%",
- transform: "translateX(-50%)",
- }}
- >
- 旋转
- </Button>
- <Button
- onClick={this.upImgs}
- style={{
- position: "absolute",
- left: -81,
- top: "50%",
- transform: "translateY(-50%)",
- }}
- >
- 上一张
- </Button>
- <Button
- onClick={this.downImgs}
- style={{
- position: "absolute",
- right: -81,
- top: "50%",
- transform: "translateY(-50%)",
- }}
- >
- 下一张
- </Button>
- </Modal>
- </FormItem>
- </div>
- <ContentUrl
- processStatus={1}
- domId={"orderContent"}
- contentUrl={data.serviceContent ? splitUrl(data.serviceContent, ",", globalConfig.avatarHost + "/upload") : []}
- imgId={"orderImg1x"}
- // getContentUrl = {this.getContentUrl}
- />
- <div className="clearfix">
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="订单负责人"
- >
- <span>{data.salesmanName}</span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="订单负责人电话"
- >
- <span>{data.salesmanMobile}</span>
- </FormItem>
- </div>
- <div className="clearfix">
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="当前财务负责人"
- >
- <span>{data.nowFinance}</span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- label="当前财务负责人电话"
- >
- <span>{data.nowFinanceMobile}</span>
- </FormItem>
- </div>
- <div className="clearfix">
- <FormItem
- className="half-item"
- {...formItemLayout}
- style={{ opacity: ".5" }}
- label="原订单负责人"
- >
- <span>{data.oldSalesmanName}</span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- style={{ opacity: ".5" }}
- label="原订单负责人电话"
- >
- <span>{data.oldSalesmanMobile}</span>
- </FormItem>
- </div>
- <div className="clearfix">
- <FormItem
- className="half-item"
- style={{ opacity: ".5" }}
- {...formItemLayout}
- label="实际财务操作人"
- >
- <span>{data.financeName}</span>
- </FormItem>
- <FormItem
- className="half-item"
- {...formItemLayout}
- style={{ opacity: ".5" }}
- label="实际财务操作人电话"
- >
- <span>{data.financeMobile}</span>
- </FormItem>
- </div>
- {domId == 'yuan' ? "" : <OrderCoor orderNo={this.props.orderNo} />}
- <div>
- <span style={{ marginLeft: "50px", fontSize: "20px" }}>项目业务</span>
- </div>
- <div className="patent-table">
- <Table
- columns={this.state.columnsX}
- pagination={false}
- dataSource={this.props.dataSourceX}
- onRowClick={this.tableRowClickX}
- expandedRowRender={expandedRowRenderVip}
- rowClassName={this.addRowColor}
- style={{
- cursor: 'pointer',
- }}
- bordered
- size="small"
- />
- </div>
- <div>
- <span style={{ marginLeft: "50px", fontSize: "20px" }}>催款节点</span>
- <span
- style={{
- display: propsList.length ? "none" : "inline-block",
- marginLeft: 10,
- color: "red",
- }}
- >
- 金额总计(万元): {this.props.totalCui}
- </span>
- </div>
- <div className="clearfix">
- <Form layout="horizontal" id="demand-form">
- <Table
- pagination={false}
- bordered
- size="small"
- // columns={this.state.ContactsLists}
- columns={
- propsList.length
- ? this.state.ContactsLists
- : this.state.newContactsLists
- }
- dataSource={
- propsList.length
- ? this.props.contactList
- : this.props.contactListNew
- }
- />
- <Col span={24} offset={9} style={{ marginTop: "15px" }}></Col>
- </Form>
- </div>
- {this.state.visible &&
- <NewEditProject
- readOnly={
- this.state.dataInfor &&
- Object.keys(this.state.dataInfor).length > 0 &&
- this.state.processStatus !== 0
- }
- visible={this.state.visible}
- dataInfor={this.state.dataInfor}
- onCancel={this.nextCancel}
- />
- // <ProjectDetailsReadOnly
- // infor={this.state.dataInfor}
- // visible={this.state.visible}
- // onCancel={this.nextCancel}
- // />
- }
- </div>
- );
- }
- }
- export default OrderDetail;
|