supplierAdd.js 2.04 KB
module.exports={
    namespace:"supplierAdd",
    apis:{
        getCreateSupplierList:{
            title:"创建供应商列表",
            url:"/supplier/supplier/getCreateSupplierList",
            params:[
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'id', type: 'String'},
                {name: 'status', type: 'String'},
                {name: 'timeSort', type: 'String'}
            ]
        },

        addSupplier:{
            title:"添加供应商",
            url:"/supplier/supplier/addSupplier",
            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"}
            ]
        }
    }
}