import React,{Component} from "react"; import {Tag} from "antd"; class OrderItemStatus extends Component{ constructor(props) { super(props); } render() { return ( {/*0正常 1作废 2锁定变更中 3变更中*/} { this.props.deleteSign === 0 ? 正常 : this.props.deleteSign === 1 ? 作废 : this.props.deleteSign === 2 ? 变更中 : this.props.deleteSign === 3? 变更中 : 未知 } ) } } export default OrderItemStatus