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

    app.get("/supplier/infoopt/:id", "supplier.Info", function (req,res){
        this.$extend={
            edit:true
        }
    });

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

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