/*******************************************************************************
 * Copyright(c) 2024 dongke All rights reserved. / Confidential
 * 类的信息：
 *		1.程序名称：
 *		2.功能描述：出库
 * 编辑履历：
 *		作者				日期					版本				修改内容
 *		于继渤		  	     2024-1-19       			1.00		       	新建
 *******************************************************************************/
module.exports = {
  saleOutBoundService: {
    // 前缀
    prefix: 'mdm-server/ivt/outbound_sale_order/',
    outboundInsert: 'outbound_insert',
    outboundUpdate: 'outbound_update',
    handleOutbound: 'handle_outbound',
    getOutboundForUpdate:'get_outbound_for_update',
    repeal:'repeal'
  },

  routeUrl: {
    saleOutBound: { 
      add:{key:'add',url:'/package-sales/pages/sales-outbound/add/add'},
      edit:{key:'edit',url:'/package-sales/pages/sales-outbound/add/add',idKey:'outId',formType:'detail'},
      selectSourceSaleOrder:{
        key:'selectSourceSaleOrder',url:'/package-base-select/pages/select-source-sale-order/select-source-sale-order'
      },
      
      selectCustomers: { key: 'selectCustomers', url: '/package-base-select/pages/select-customers/select-customers' },
      openingInventory: { key: 'openingInventory', url: '/package-base-select/pages/select-data/select-data',type:'warehouse'  },
      selectInventorySku:{ key: 'selectInventorySku', url: '/package-base-select/pages/select-data/select-data',type:'inventorySku'  },
      invalid: { key: 'invalid', method: 'invalid', primaryKey: 'outId' },
    }
  }
};