/*******************************************************************************
 * Copyright(c) 2024 dongke All rights reserved. / Confidential
 * 类的信息：
 *		1.程序名称：
 *		2.功能描述：客户收款
 * 编辑履历：
 *		作者				日期					版本				修改内容
 *		于继渤		  	    2024-1-19       		1.00		       	新建
 *******************************************************************************/
module.exports = {
	cusReceiptPaymentService: {
		// 前缀
		prefix: 'mdm-server/mac/receipt/',
		insertReceipt:'insert_receipt',
		selectRpInfoById:'select_rp_info_by_id',
		getRpForUpdate:'get_rp_for_update'
	},

	routeUrl: {
		cusReceiptPayment: {
			// 收款单新建
			add: { key: 'add', url: '/package-sales/pages/customer-collection/add/add' },
			edit: { key: 'edit', url: '/package-sales/pages/customer-collection/add/add',idKey:'rpId' },
			editRefund: { key: 'editRefund', url: '/package-sales/pages/customer-collection/refund/refund',idKey:'rpId' },
			cusReturnCollection: { key: 'cusReturnCollection',url: '/package-sales/pages/customer-collection/refund/refund',idKey:'rpId',formMode:'edit'},
      selectCustomers: { key: 'add', url: '/package-base-select/pages/select-customers/select-customers' },
      refund:{ key: 'refund', url: '/package-sales/pages/customer-collection/refund/refund' }, 
      selectCollectionConfirm:{key:'selectCollectionConfirm',url:'/package-base-select/pages/select-collection_confirm/select-collection_confirm'},
      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' }, 
      invalid: { key: 'invalid', method: 'invalid', primaryKey: 'rpId' },
		}
	}
}; 