/**
 * @desc   : 销售订单服务
 * @author : 付斌
 * @date   : 2024-01-31 14:37
 */
export default {
  orderService: {
    prefix: '/mdm-server/sale/order/',
    selectOrderInfoById: 'select_order_info_by_id',
    getOrderForUpdate: 'get_order_for_update',
    getOrderForOut: 'get_order_for_out',
    getOrderForReturn: 'get_order_for_return',
    getOrderTrackReport:'get_order_track_report',
    //首页-查询订单-待办事项个数
    countOrderByCond:'count_order_by_cond',
  }
}

/**
 * @desc   : 销售订单路由
 * @author : 付斌
 * @date   : 2024-02-01 16:03
 */
export const routeUrl = {
  order: {
    add: {key: 'add', routeName: 'order-add'},
    edit: {key: 'edit', routeName: 'order-edit'},
    orderOut: {key: 'orderOut', routeName: 'order-add-out', chooseFlag: true},
    orderOutReturn: {key: 'orderOutReturn', routeName: 'order-add-return', chooseFlag: true},
    invalid: {key: 'invalid', method: 'invalid'},
    //销售跟踪
    orderTrack:{key:'orderTrack',routeName:'order-track-report',chooseFlag:true},
  }
}
