费用计价模式

参数详解:

  • valuationMode 数值定义
    SINGLE 单一计价
    STEP 单位计价
    RANGE 范围计价
    STAIR 阶梯计价

  • startTime 加班费开始时间

  • endTime 加班费结束时间

单一计价模式

普通费用示例:
[
    {
        "valuationMode":"SINGLE",
        "srcUnitPrice":"500.000",
        "sellUnitPrice":"500.000",
        "price":500
    }
]
加班费示例:
[
    {
        "valuationMode":"SINGLE",
        "startTime":"2017-06-15 00:00:00",
        "endTime":"2017-06-16 00:00:00",
        "srcUnitPrice":"900.000",
        "sellUnitPrice":"900.000",
        "price":900
    }
]

单位计价模式

  • unit 单位
  • unitPrice 价格
普通费用示例
  • valuationBaseType
    ATTRIBUTE 展位面积类型
    SELF_SERVICE 自定义属性
[
    {
        "valuationMode":"STEP",
        "valuationBaseType":"SELF_SERVICE",
        "srcUnitPrice":"15.000",
        "sellUnitPrice":"15.000",
        "unitPrice":15,
        "unit":"证件"
    }
]
加班费示例
[
    {
        "valuationMode":"STEP",
        "valuationBaseType":"ATTRIBUTE",
        "startTime":"2021-04-27 00:00:00",
        "endTime":"2021-05-04 00:00:00",
        "minUnitArea":36,
        "minUnitHour":0,
        "srcUnitPrice":"2625.0",
        "sellUnitPrice":"2625.0",
        "unitPrice":25,
        "unit":"面积"
    }
]

范围计价

  • valuationBaseType
    ATTRIBUTE 展位面积类型
    SELF_SERVICE 自定义属性
  • valuationBase
    AREA 面积
    AREA_METER 元/平米
  • min 最小值
  • max 最大值
  • p 价格
  • r 备注
普通费用
[
    {
        "valuationMode":"RANGE",
        "valuationBaseType":"ATTRIBUTE",
        "valuationBase":"AREA",
        "stage":[
            {
                "min":0,
                "max":100,
                "p":"8000",
                "r":""
            },
            {
                "min":100,
                "max":200,
                "p":"10000",
                "r":""
            },
            {
                "min":200,
                "max":400,
                "p":"15000",
                "r":""
            }
        ],
        "srcUnitPrice":"8000.000",
        "sellUnitPrice":"8000.000"
    }
]
加班费示例
[
    {
        "valuationMode":"RANGE",
        "valuationBaseType":"ATTRIBUTE",
        "valuationBase":"AREA",
        "startTime":"2017-06-20 00:00:00",
        "endTime":"2017-06-21 00:00:00",
        "stage":[
            {
                "min":0,
                "max":39,
                "p":"900",
                "r":""
            },
            {
                "min":39,
                "max":5000,
                "p":"25",
                "r":""
            }
        ],
        "srcUnitPrice":"25.000",
        "sellUnitPrice":"25.000"
    }
]

阶梯计价模式

  • min 最小值
  • max 最大值
  • p 价格
  • r 备注
[
    {
        "valuationMode":"STAIR",
        "valuationBaseType":"ATTRIBUTE",
        "valuationBase":"AREA",
        "startTime":"2021-04-20 16:39:05",
        "endTime":"2021-04-23 00:00:00",
        "minUnitArea":36,
        "minUnitHour":0,
        "stage":[
            {
                "min":36,
                "max":72,
                "p":"26",
                "r":""
            },
            {
                "min":73,
                "max":100,
                "p":"24",
                "r":""
            },
            {
                "min":101,
                "max":999,
                "p":"21",
                "r":""
            }
        ],
        "srcUnitPrice":"2436.0",
        "sellUnitPrice":"2436.0"
    }
]

你可能感兴趣的:(费用计价模式)