/**
 * @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',
  }
}

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