/*******************************************************************************
 * Copyright(c) 2024 dongke All rights reserved. / Confidential
 * 类的信息：
 *		1.程序名称：
 *		2.功能描述：待办入库-采购入库
 * 编辑履历：
 *		作者				日期					版本				修改内容
 *		姜永辉		 2024-1-19  		1.00		       	新建
 *******************************************************************************/
module.exports = {
  inboundProcessingService: {
    // 前缀
    prefix: 'mdm-server/ivt/inbound_purchase/',
    inBoundHandle: 'inbound_handle',
    inboundInsert: 'inbound_insert',
    inboundUpdate: 'inbound_update',
    inboundRepeal: 'repeal/',
    inBoundCancel: 'inbound_cancel',
  },

  routeUrl: {
    inboundProcessing: {
      returnCancel: { key: 'returnCancel', method: 'returnCancel' },
      invaidOrder: { key: 'invaidOrder', method: 'invaidOrder' },
      editOrder: { key: 'editOrder', method: 'editOrder', primaryKey: 'intoId' },
      addReturn: {
        key: 'addReturn', url: '/package-sales/pages/order-return/add/add'
      },
      detailInProcessing: { key: 'detailInProcessing', url: '/package-inventory/pages/warehousing-processing/detail/detail', },
      detail: { key: 'detail', url: '/package-purchase/pages/purchase-receipt/detail/detail' },
      add: { key: 'add', url: '/package-purchase/pages/purchase-receipt/add/add' },
      edit: { key: 'edit', url: '/package-inventory/pages/warehousing-processing/detail/detail' },
      // 销售退货的办理详细
      editReturn: { key: 'editReturn', url: '/package-inventory/pages/outbound-processing/detail/detail' },
      addOther: { key: 'addOther', url: '/package-inventory/pages/other-warehousing/other-warehousing' },
      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'  },

    }
  }
};