supplierList.js 3.48 KB
module.exports={
    namespace:"supplierList",
    apis:{
        getManageSupplierList:{
            title:"供应商列表列表",
            url:"/supplier/supplier/getManageSupplierList",
            params:[
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'status', type: 'String'},
                {name: 'id', type: 'String'},
                {name:'isFreeze',type:'String'}
            ]
        },

        getSupplierInvoicesList:{
            title:"供应商列表列表",
            url:"/supplier/supplier/getSupplierInvoicesList",
            params:[
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'id', type: 'String'},
                {name:'isFreeze',type:'String'},
                {name:"isElecInvoice",type:"String"},
                {name:"isPaperInvoice",type:"String"},
                {name:"defaultInvoice",type:"String"}
            ]
        },

        updateSupplier:{
            title:"修改保存供应商",
            url:"/supplier/supplier/updateSupplier",
            params:[
                {name:"supplierName",type:"String"},
                {name:"supplierCode",type:"String"},
                {name:"foundTime",type:"String"},
                {name:"beginOperateTime",type:"String"},
                {name:"endOperateTime",type:"String"},
                {name:"registeredAddress",type:"String"},
                {name:"legalPerson",type:"String"},
                {name:"legalIdentityCard",type:"String"},
                {name:"registeredCapital",type:"String"},
                {name:"businessLicense",type:"String"},
                {name:"businessLicensePic",type:"String"},
                {name:"taxCertificate",type:"String"},
                {name:"accountOpeningLicense",type:"String"},
                {name:"taxpayerQualificationCertificate",type:"String"},
                {name:"industryLicense",type:"String"},
                {name:"businessRange",type:"String"},
                {name:"contactPhone",type:"String"},
                {name:"contactAddress",type:"String"},
                {name:"linkman",type:"String"},
                {name:"phone",type:"String"},
                {name:"fax",type:"String"},
                {name:"email",type:"String"},
                {name:"url",type:"String"},
                {name:"bankName",type:"String"},
                {name:"bankAccount",type:"String"},
                {name:"operations",type:"String",def: 1},
                {name:"status",type:"String"},
                {name:"id",type:"String"}
            ]
        },

        updateSupplierInvoicesSetting:{
            title:"修改保存供应商发票设置",
            url:"/supplier/supplier/updateSupplierInvoicesSetting",
            params:[
                {name:"id",type:"Number"},
                {name:"isElecInvoice",type:"String"},
                {name:"isPaperInvoice",type:"String"},
                {name:"defaultInvoice",type:"String"}
            ]
        },

        getSupplier:{
            title:"根据Id查询供应商详情",
            url:"/supplier/supplier/getSupplier",
            params:[
                {name: 'id', type: 'String'}
            ]
        },

        getSupplierInvoicesSetting:{
            title:"根据Id查询供应商详情",
            url:"/supplier/supplier/getSupplierInvoicesSetting",
            params:[
                {name: 'id', type: 'Number'}
            ]
        }
    }
}