/*
 * @Author: Gui
 * @Date: 2023-10-10 10:52:32
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-10-16 10:58:19
 * @Description: tel files
 * @filePath:
 */
export const WarehouseInfo = props => (
  <div>
    {props.WarehouseCode && props.WarehouseCode !== "无" && (
      <div>{`${props.WarehouseCode}`}</div>
    )}
    {props.CreatorCode && props.CreatorCode !== "无" && (
      <div>{`${props.CreatorCode}`}</div>
    )}
    {props.WarehouseName && props.WarehouseName !== "无" && (
      <el-text size={props.size} class="mr-1">
        <el-icon class="el-input__icon">
          <HomeFilled />
        </el-icon>
        {props.WarehouseName}
      </el-text>
    )}
    {!(props.WarehouseName && props.WarehouseName !== "无") &&
      !(props.WarehouseCode && props.WarehouseCode !== "无") &&
      !(props.CreatorCode && props.CreatorCode !== "无") &&
      "暂无仓库信息"}
  </div>
);
