supplier.invoicesList.js 1.07 KB
module.exports = function (app){
    app.get("/supplier/supplier/invoiceslist", "supplier.InvoicesIndex", function (req,res){
        this.$extend={
            moduleName:"供应商管理",
            pageName:"发票设置",
            gridurl:'/supplier/getSupplierInvoicesList'
        }
    });

    app.get("/supplier/invoices/update/:id", "supplier.InvoicesEdit", "supplierList_getSupplierInvoicesSetting", function (rs,req,res){
        this.$extend={
            moduleName:"供应商管理",
            pageName:"修改供应商发票设置",
            action:'/supplier/updateSupplierInvoicesSetting',
            update:true,
            data:rs.data
        }
    });

    //供应商列表列表
    app.post("/supplier/create/getManageSupplierList","supplierList_getManageSupplierList");
    app.post("/supplier/getSupplierInvoicesList","supplierList_getSupplierInvoicesList");
    app.post("/supplier/getSupplierInvoicesSetting","supplierList_getSupplierInvoicesSetting");
    app.post("/supplier/updateSupplierInvoicesSetting","supplierList_updateSupplierInvoicesSetting");
}