diff --git a/src/router/getPages.ts b/src/router/getPages.ts index 950cd6b..9cf96dd 100644 --- a/src/router/getPages.ts +++ b/src/router/getPages.ts @@ -814,6 +814,83 @@ export const getPages = (): Promise => { updateBy: null, updateTime: null, }, + { + btnList: [], + children: [ + { + btnList: [], + children: [], + createBy: null, + createTime: null, + deleteFlag: null, + icon: "EosIconsRoleBinding", + isFull: { + extData: { + boolVal: false, + }, + label: "否", + value: 1, + }, + isKeepAlive: { + extData: { + boolVal: false, + }, + label: "否", + value: 1, + }, + link: "", + name: "供应商管理", + orderIndex: null, + parentId: "1904795567075102721", + path: "/suppliers/supplierManagement", + redirect: "", + remark: "", + snowFlakeId: "1904812573660811423", + status: null, + type: { + extData: null, + label: "菜单", + value: "menu", + }, + updateBy: null, + updateTime: null, + }, + ], + createBy: null, + createTime: null, + deleteFlag: null, + icon: "LineMdCogFilledLoop", + isFull: { + extData: { + boolVal: false, + }, + label: "否", + value: 1, + }, + isKeepAlive: { + extData: { + boolVal: false, + }, + label: "否", + value: 1, + }, + link: "", + name: "供应商管理", + orderIndex: null, + parentId: "0", + path: "/suppliers", + redirect: "/suppliers", + remark: "", + snowFlakeId: "1904795567075101420", + status: null, + type: { + extData: null, + label: "目录", + value: "dir", + }, + updateBy: null, + updateTime: null, + }, { btnList: [], createBy: null, diff --git a/src/views/suppliers/supplierManagement/index.ts b/src/views/suppliers/supplierManagement/index.ts new file mode 100644 index 0000000..8ae406f --- /dev/null +++ b/src/views/suppliers/supplierManagement/index.ts @@ -0,0 +1,78 @@ +export interface SuppliersValue{ + activate?: number + company?:string + cpId?:string + cred?:string + id?:string | number + license?: string + manager?: string + name? : string + phone?:string + address?:string + settlementType?:TypeList[] + invoiceType?:TypeList + deliveryMethod?:TypeList + supplyType?:TypeList +} + +interface TypeList { + value:number + label:string +} + +const suppliersValueList:SuppliersValue[] = [ + { + activate: 1, + company:"江南市场", + cpId:"1888888888888", + cred:"https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + id:"1915009841416429569", + license: "https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + manager: "test3", + name : "张三", + phone:"13416661555", + address:'湖南长沙', + settlementType:undefined, + invoiceType:undefined, + deliveryMethod:undefined, + supplyType:undefined + }, + { + activate: 0, + company:"农贸市场", + cpId:"1888888888888", + cred:"https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + id:"1915009841416429569", + license: "https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + manager: "test1", + name : "李三", + address:'湖南长沙', + phone:"13416661555", + }, + { + activate: 1, + company:"海鲜市场", + cpId:"255H2D32DF3152431", + cred:"https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + id:"1915009841416429569", + license: "https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + manager: "test2", + name : "刘三", + address:'湖南长沙', + phone:"13416661555", + }, + { + activate: 0, + company:"果农市场", + cpId:"154563FGG1153156", + cred:"https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + id:"1915009841416429569", + license: "https://file.wy2020.com/admin/weiyi/img/purchase/supplier/license/1821723155631304705.jpg", + manager: "刘某", + name : "关三", + address:'湖南长沙', + phone:"13416661555", + } +] + +export default suppliersValueList \ No newline at end of file diff --git a/src/views/suppliers/supplierManagement/index.vue b/src/views/suppliers/supplierManagement/index.vue new file mode 100644 index 0000000..6ea90d5 --- /dev/null +++ b/src/views/suppliers/supplierManagement/index.vue @@ -0,0 +1,449 @@ + + +