/**
 * @desc   : 销售退货服务
 * @author : 付斌
 * @date   : 2024-01-31 14:37
 */
export default {
  orderOutReturnService: {
    prefix: '/mdm-server/ivt/outbound_sale_return/',
    selectOutboundInfoById: 'select_outbound_info_by_id',
    getOutReturnForUpdate: 'get_out_return_for_update',
    outboundInsert: 'outbound_insert',
    outboundUpdate: 'outbound_update',
    handleOutbound: 'handle_outbound',
  }
}

/**
 * @desc   : 销售退货路由
 * @author : 付斌
 * @date   : 2024-02-01 16:03
 */
export const routeUrl = {
  orderOutReturn: {
    add: {key: 'add', routeName: 'order-return-add'},
    editForm: {key: 'editForm', routeName: 'order-return-edit', chooseFlag: true},
    editOutReturnForm: {key: 'editOutReturnForm', routeName: 'order-return-edit', togetherFlag: true, chooseFlag: true},
    entryHandle: {key: 'entryHandle', method: 'entryHandle'},
    entryBack: {key: 'entryBack', method: 'entryBack'},
    invalid: {key: 'invalid', method: 'invalid'},
  }
}
