goods.priceManage.js 1.53 KB
module.exports=function(app) {
	/*变价管理列表页面*/
	app.get("/goods/price/index","goods.priceManage.Index","price_queryAuditAuthority",function (authority,req,res) {
		console.info(authority);
		this.$extend={
			moduleName:'商品管理',
			pageName:'变价管理',
			auditAuthority:authority.data
		}
	});

	/*列表头部各个审核状态的数量*/
	app.post("/goods/price/ajax/auditCount","price_getProductPriceCountByState");

	/*列表数据*/
	app.post("/goods/price/queryProductPriceManageList","price_queryProductPriceManageList");

	/*通过*/
	app.post("/goods/price/pass","price_auditPassProductPrice");

	/*二审通过 用于权限配置*/
	app.post("/goods/price/pass1","price_auditPassProductPrice");

	/*驳回*/
	app.post("/goods/price/reject","price_auditRejectProductPrice");

	/*二审驳回 用于权限配置*/
	app.post("/goods/price/reject1","price_auditRejectProductPrice");

	/*跳批量二审校验*/
	app.post("/goods/price/ajax/secondCheck","price_skipBatchSecondView");

	


	/*批量修改学生价格*/
	app.get("/supplier/baseproduct/batchUpdateStudentPrice","goods.batchUpdateStudentPrice.Batch",function(){
		this.$extend={
			moduleName:"基础商品",
			pageName:"批量修改学生价",
			isPL:true
		}
	});

	/*学生价格列表页*/
	app.get("/goods/studentPrice/index","goods.studentPrice.Index",function(){
		this.$extend={
			moduleName:"基础商品",
			pageName:"学生价管理",
			isPL:true
		}
	});

	/*学生价列表数据*/
	app.post("/goods/studentPrice/list","price_queryStudentPriceList");
	
	
}