goods.priceManage.js 2.44 KB
module.exports={
	namespace:"price",
	apis:{
		queryProductPriceManageList:{
			title:'变价管理',
			url:'/product/queryProductPriceManageList',
			params: [
				{name: 'product_skn',type: 'Number'},
				{name: 'shop_id',type: 'Number'},
				{name: 'brand_id',type: 'Number'},
				{name: 'supplier_id',type: 'Number'},
				{name: 'is_auditing',type: 'Number'},
				{name: 'checkState',type: 'Number'},
				{name: 'stock',type: 'Number'},
				{name: 'gender',type: 'Number'},
				{name: 'max_sort_id',type: 'Number'},
				{name: 'middle_sort_id', type: 'Number'},
				{name: 'small_sort_id', type: 'Number'},
				{name: 'cooperationType', type: 'String'},
				{name: 'illegalType', type: 'String'},
				{name: 'goodsType', type: 'String'},
				{name: 'stockSalesRange15', type: 'String'},
				{name: 'ageingRange', type: 'String'},
				{name: 'page', type: 'Number'},
				{name: 'size', type: 'Number'}			
			]
		},
		getProductPriceCountByState:{
        	title:"列表头部各个审核状态的数量",
        	url:"/product/queryProductPriceCntGroupByState",
        	params:[
        		{name: 'product_skn',type: 'Number'},
				{name: 'shop_id',type: 'Number'},
				{name: 'brand_id',type: 'Number'},
				{name: 'supplier_id',type: 'Number'},
				{name: 'is_jit',type: 'String'},
				{name: 'is_auditing',type: 'Number'},
				{name: 'stock',type: 'Number'},
				{name: 'gender',type: 'Number'},
				{name: 'max_sort_id',type: 'Number'},
				{name: 'middle_sort_id', type: 'Number'},
				{name: 'small_sort_id', type: 'Number'},
				{name: 'cooperationType', type: 'String'},
				{name: 'illegalType', type: 'String'},
				{name: 'goodsType', type: 'String'},
				{name: 'stockSalesRange15', type: 'String'},
				{name: 'ageingRange', type: 'String'},
				{name: 'page', type: 'Number'},
				{name: 'size', type: 'Number'}
        	]
        },
		auditPassProductPrice:{
        	title:"商品审核通过",
        	url:"/product/auditPassProductPrice",
        	params:[
        		{name: 'planIdList',type: 'String'},
				{name: 'currentState',type: 'Number'},
				{name: 'targetState',type: 'Number'}				
        	]
        },
		auditRejectProductPrice:{
        	title:"商品审核驳回",
        	url:"/product/auditRejectProductPrice",
        	params:[
        		{name: 'planIdList',type: 'String'},
        		{name: 'dealComment',type: 'String'}
        	]
        },			
		queryAuditAuthority:{
			title:"查询审核权限",
			url:"/product/queryAuditAuthority"
		}
	}
}