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

  routeUrl: {
    outbound: { 
      returnCancel: { key: 'returnCancel', method: 'returnCancel' },
      invaidOrder: { key: 'invaidOrder', method: 'invaidOrder' },
      editOrder: { key: 'editOrder', method: 'editOrder', primaryKey: 'outId' },
      addReturn: {
        key: 'addReturn', url: '/package-purchase/pages/purchase-return/add/add'
      },
      add: { key: 'add', url: '/package-sales/pages/sales-outbound/add/add'  },
      edit: { key: 'edit', url: '/package-inventory/pages/outbound-processing/detail/detail' },
      // 采购退货的详细
      editReturn: { key: 'editReturn', url: '/package-inventory/pages/warehousing-processing/detail/detail' },
      addOther: { key: 'addOther', url: '/package-inventory/pages/other-outbound/other-outbound' },
      chooseSupplier: { key: 'chooseSupplier', url: '/package-base-select/pages/select-data/select-data',type:'supplier'  },
      chooseStaff: { key: 'chooseStaff', url: '/package-base-select/pages/select-data/select-data',type:'staff'  },
      staffadd: { key: 'staffadd', url: '/package-basic-data/pages/staff/add/add' },
      chooseOrg: { key: 'chooseOrg',url: '/package-base-select/pages/select-data/select-data',type:'org' }, 
      chooseWh: { key: 'chooseWh', url: '/package-base-select/pages/select-data/select-data',type:'warehouse'  },
      choosePurchaseOrder: { key: 'choosePurchaseOrder', url: '/package-purchase/pages/purchase-receipt/choose-purchase-order/choose-purchase-order' },
      openingInventory: { key: 'openingInventory', url: '/package-base-select/pages/select-data/select-data',type:'warehouse'  },
      chooseStorageObject: { key: 'chooseStorageObject',  url: '/package-base-select/pages/select-data/select-data',type:'objectType'  },
      chooseStorageOutReason: { key: 'chooseStorageOutReason', url:'/package-base-select/pages/select-data/select-data',type:'dictionary',dictCode:'基础资料-出库'  },
      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' },
      selectInventorySku:{ key: 'selectInventorySku', url: '/package-base-select/pages/select-data/select-data',type:'inventorySku'  },
    }
  }
};