supplier.supplierAudit.js 871 Bytes
module.exports = function (app){
    app.get("/supplier/supplier/auditlist", "supplier.Index", function (req,res){
        this.$extend={
            moduleName:"供应商管理",
            pageName:"供应商审核",
            bottons:'{"edit":true,"columnsHidisFr":true}',
            gridurl:'/supplier/create/getAuditSupplierList'
        }
    });

    app.get("/supplier/infoopt/:id", "supplier.Info", "supplierAudit_getSupplierCheck", function (rs,req,res){
        this.$extend={
            moduleName:"供应商管理",
            pageName:"供应商审核详情",
            edit:true,
            data:rs.data
        }
    });

    //供应商审核列表
    app.post("/supplier/create/getAuditSupplierList","supplierAudit_getAuditSupplierList");

    //审核,冻结供应商
    app.post("/supplier/index/status","supplierAudit_updateSupplier");
}