/*******************************************************************************
 * Copyright(c) 2024 dongke All rights reserved. / Confidential
 * 类的信息：
 *		1.程序名称：
 *		2.功能描述：付款单
 * 编辑履历：
 *		作者				日期					版本				修改内容
 *		姜永辉		  	    2024-1-19       		1.00		       	新建
 *******************************************************************************/
module.exports = {
	paymentService: {
		// 前缀
		prefix: 'mdm-server/mac/payment/',
		insertReceivableReceipt: 'insert_receivable_receipt',
		insertPayableReceipt: 'insert_payable_receipt',
		insertReceipt: 'insert_receipt',
		insertRefund: 'insert_refund',
		invalid: 'invalid/',
	},

	routeUrl: {
		payment: {			
			cusReturnCollection: { key: 'cusReturnCollection', method: 'cusReturnCollection' },
			invaidOrder: { key: 'invaidOrder', method: 'invaidOrder' },
			editOrder: { key: 'editOrder', method: 'editOrder', primaryKey: 'rpId' },
		 
			// 付款单新建
			addPay: { key: 'addPay', url: '/package-accounts-manage/pages/payment-order/add/add' },
			// 付款单新建
			addReturnPay: { key: 'addReturnPay', url: '/package-accounts-manage/pages/payment-order/add-return/add-return' },

			edit: { key: 'edit', url: '/package-accounts-manage/pages/receipt/detail/detail' },
			detail: {
				key: 'detail', url: '/package-purchase/pages/purchase-return/detail/detail'
			},
			selectBill: {
				key: 'selectBill', url: '/package-base-select/pages/select-bill/select-bill'
			},
			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' },
		}
	}
}; 