diff --git a/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java b/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java index 3cc353b1e5..d9b5b09e98 100644 --- a/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java +++ b/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java @@ -1329,13 +1329,13 @@ public class FinCollectionConfirmationService extends MybatisBaseService import('@/views/redirect/index.vue') }] }, - { - path: '/', - redirect: 'index' - }, - { - path: '/index', - component: Layout, - redirect: '/index', - children: [{ - path: '/index', - component: () => - import('@/views/index.vue'), - name: 'index', - meta: { - title: '主页', - noCache: true, - affix: true - } - }] - }, + { + path: '/', + redirect: 'index' + }, + { + path: '/index', + component: Layout, + redirect: '/index', + children: [{ + path: '/index', + component: () => + import('@/views/index.vue'), + name: 'index', + meta: { + title: '主页', + noCache: true, + affix: true + } + }] + }, { path: '/404', component: () => @@ -50,48 +49,68 @@ export const constantRoutes = [ meta: { title: '业务' }, - children: [ - { + children: [{ path: '/preregistration/preregistration', component: () => import('@/views/operation/preregistration/preregistration.vue'), name: 'Preregistration', - meta: { title: '预约登记', noCache: true } + meta: { + title: '预约登记', + noCache: true + } }, { path: '/repairbill/repairbill', component: () => import('@/views/operation/repairbill/repairbill.vue'), name: 'RepairBill', - meta: { title: '维修开单管理(登记)', noCache: true } + meta: { + title: '维修开单管理(登记)', + noCache: true + } }, { path: '/repairbill/repairbillBySendWork', component: () => import('@/views/operation/repairbill/repairbillBySendWork.vue'), name: 'RepairBillBySendWork', - meta: { title: '维修开单管理(派工)', noCache: true } + meta: { + title: '维修开单管理(派工)', + noCache: true + } }, { path: '/repairbill/repairbillByMaintain', component: () => import('@/views/operation/repairbill/repairbillByMaintain.vue'), name: 'RepairBillByMaintain', - meta: { title: '维修开单管理(维修)', noCache: true } + meta: { + title: '维修开单管理(维修)', + noCache: true + } }, { path: '/repairbill/repairbillByBeCompleted', component: () => import('@/views/operation/repairbill/repairbillByBeCompleted.vue'), name: 'RepairBillByBeCompleted', - meta: { title: '维修开单管理(竣工)', noCache: true } + meta: { + title: '维修开单管理(竣工)', + noCache: true + } }, { path: '/repairbill/repairbillBySettleAccounts', component: () => import('@/views/operation/repairbill/repairbillBySettleAccounts.vue'), name: 'RepairBillBySettleAccounts', - meta: { title: '维修开单管理(结算)', noCache: true } + meta: { + title: '维修开单管理(结算)', + noCache: true + } }, { path: '/repairbill/repairbillBYLeaveFactory', component: () => import('@/views/operation/repairbill/repairbillBYLeaveFactory.vue'), name: 'RepairBillBYLeaveFactory', - meta: { title: '维修开单管理(出厂)', noCache: true } + meta: { + title: '维修开单管理(出厂)', + noCache: true + } }, // { // path: '/workslrsettlement/workslrsettlement', @@ -101,7 +120,107 @@ export const constantRoutes = [ // }, ] }, + { + path: '/operation', + component: Layout, + redirect: '/operation', + meta: { + title: '仓库管理' + }, + children: [{ + path: '/goodsShelves/index', + component: () => import('@/views/warehouse/goodsShelves/index.vue'), + name: 'GoodsShelves', + meta: { + title: '库位管理', + noCache: true + } + }, + { + path: '/warehouseArea/index', + component: () => import('@/views/warehouse/warehouseArea/index.vue'), + name: 'WarehouseArea', + meta: { + title: '库区管理', + noCache: true + } + }, + { + path: '/warehouseAreaType/index', + component: () => import('@/views/warehouse/warehouseAreaType/index.vue'), + name: 'WarehouseAreaType', + meta: { + title: '库区类型管理', + noCache: true + } + }, + { + path: '/warehouse/index', + component: () => import('@/views/warehouse/warehouse/index.vue'), + name: 'Warehouse', + meta: { + title: '仓库管理', + noCache: true + } + }, + + ] + }, + { + path: '/goods', + component: Layout, + redirect: '/goods', + meta: { + title: '商品管理' + }, + children: [{ + path: '/brands/index', + component: () => import('@/views/goods/brands/index.vue'), + name: 'Brands', + meta: { + title: '品牌管理', + noCache: true + } + }, + { + path: '/category/index', + component: () => import('@/views/goods/category/index.vue'), + name: 'Category', + meta: { + title: '类别管理', + noCache: true + } + }, + { + path: '/factory/index', + component: () => import('@/views/goods/factory/index.vue'), + name: 'Factory', + meta: { + title: '厂家管理', + noCache: true + } + }, + { + path: '/goods/index', + component: () => import('@/views/goods/goods/index.vue'), + name: 'Goods', + meta: { + title: '商品管理', + noCache: true + } + }, + { + path: '/unit/index', + component: () => import('@/views/goods/unit/index.vue'), + name: 'Unit', + meta: { + title: '单位管理', + noCache: true + } + }, + ] + }, { path: '/storage', component: Layout, @@ -109,18 +228,32 @@ export const constantRoutes = [ meta: { title: '仓储' }, - children: [ + children: [{ + path: 'outStorage', + name: 'outStorage', + component: () => import('@/views/storage/outStorage/index'), + meta: { + title: '出库管理', + noCache: true + } + }, { path: '/inventory/inventory', component: () => import('@/views/storage/inventory/inventory.vue'), name: 'Inventory', - meta: { title: '库存查询', noCache: true } + meta: { + title: '库存查询', + noCache: true + } }, { path: '/inventory/inventoryRefer', component: () => import('@/views/storage/inventory/inventoryRefer.vue'), name: 'InventoryRefer', - meta: { title: '出入库查询', noCache: true } + meta: { + title: '出入库查询', + noCache: true + } }, { path: '/stocktaking/index', @@ -231,18 +364,23 @@ export const constantRoutes = [ meta: { title: '采购' }, - children: [ - { + children: [{ path: '/procurement/procurement', component: () => import('@/views/purchase/procurement/procurement.vue'), name: 'Procurement', - meta: { title: '采购开单', noCache: true } + meta: { + title: '采购开单', + noCache: true + } }, { path: '/purchasereturn/purchasereturn', component: () => import('@/views/purchase/purchasereturn/purchasereturn.vue'), name: 'PurchaseReturn', - meta: { title: '采购退货', noCache: true } + meta: { + title: '采购退货', + noCache: true + } } ] }, @@ -253,48 +391,68 @@ export const constantRoutes = [ meta: { title: '报表' }, - children: [ - { + children: [{ path: '/salesstatement/merchandisesalesdetail', component: () => import('@/views/statement/salesstatement/merchandisesalesdetail.vue'), name: 'MerchandiseSalesDetail', - meta: { title: '销售明细商品', noCache: true } + meta: { + title: '销售明细商品', + noCache: true + } }, { path: '/salesstatement/merchandisesalessummary', component: () => import('@/views/statement/salesstatement/merchandisesalessummary.vue'), name: 'MerchandiseSalesSummary', - meta: { title: '销售汇总商品', noCache: true } + meta: { + title: '销售汇总商品', + noCache: true + } }, { path: '/salesstatement/salestrendreport', component: () => import('@/views/statement/salesstatement/salestrendreport.vue'), name: 'SalesTrendReport', - meta: { title: '销售价趋势报表', noCache: true } + meta: { + title: '销售价趋势报表', + noCache: true + } }, { path: '/warehousereport/inventorystatistics', component: () => import('@/views/statement/warehousereport/inventorystatistics.vue'), name: 'InventoryStatistics', - meta: { title: '库存统计', noCache: true } + meta: { + title: '库存统计', + noCache: true + } }, { path: '/warehousereport/receiptandreceiptrecord', component: () => import('@/views/statement/warehousereport/receiptandreceiptrecord.vue'), name: 'ReceiptAndReceiptRecord', - meta: { title: '收发存明细报表', noCache: true } + meta: { + title: '收发存明细报表', + noCache: true + } }, { path: '/purchasereport/detailedpurchasereport', component: () => import('@/views/statement/purchasereport/detailedpurchasereport.vue'), name: 'DetailedPurchaseReport', - meta: { title: '采购明细报表', noCache: true } + meta: { + title: '采购明细报表', + noCache: true + } }, { path: '/purchasereport/purchasesummaryreport', component: () => import('@/views/statement/purchasereport/purchasesummaryreport.vue'), name: 'PurchaseSummaryReport', - meta: { title: '采购汇总报表', noCache: true } + meta: { + title: '采购汇总报表', + noCache: true + } } ] }, @@ -305,73 +463,95 @@ export const constantRoutes = [ meta: { title: '基础信息' }, - children: [ - { + children: [{ path: '/maintenanceitem/maintenanceitem', component: () => import('@/views/basicinformation/maintenanceitem/maintenanceitem.vue'), name: 'MaintenanceItem', - meta: { title: '维修项目管理', noCache: true } + meta: { + title: '维修项目管理', + noCache: true + } }, { path: '/additionitem/additionitem', component: () => import('@/views/basicinformation/additionitem/additionitem.vue'), name: 'AdditionItem', - meta: { title: '附加项目管理', noCache: true } + meta: { + title: '附加项目管理', + noCache: true + } }, { path: '/setmeal/setmeal', component: () => import('@/views/basicinformation/setmeal/setmeal.vue'), name: 'Setmeal', - meta: { title: '套餐管理', noCache: true } + meta: { + title: '套餐管理', + noCache: true + } }, { path: '/profession/profession', component: () => import('@/views/basicinformation/profession/profession.vue'), name: 'Profession', - meta: { title: '工种管理', noCache: true } + meta: { + title: '工种管理', + noCache: true + } }, { path: '/subjects/subjects', component: () => import('@/views/basicinformation/subjects/subjects.vue'), name: 'Subjects', - meta: { title: '科目管理', noCache: true } + meta: { + title: '科目管理', + noCache: true + } }, { path: '/team/team', component: () => import('@/views/basicinformation/team/team.vue'), name: 'Team', - meta: { title: '班组管理', noCache: true } + meta: { + title: '班组管理', + noCache: true + } }, { path: '/suppliertype/suppliertype', component: () => import('@/views/basicinformation/suppliertype/suppliertype.vue'), name: 'SupplierType', - meta: { title: '供应商类型管理', noCache: true } + meta: { + title: '供应商类型管理', + noCache: true + } }, - // { - // path: '/supplier/supplier', - // component: () => import('@/views/basicinformation/supplier/supplier.vue'), - // name: 'Supplier', - // meta: { title: '供应商管理', noCache: true } - // } + { + path: '/supplier/supplier', + component: () => import('@/views/basicinformation/supplier/supplier.vue'), + name: 'Supplier', + meta: { title: '供应商管理', noCache: true } + } ] }, - // 404 page must be placed at the end !!! - // { path: '*', redirect: '/404', hidden: true } + // 404 page must be placed at the end !!! + // { path: '*', redirect: '/404', hidden: true } ] const createRouter = () => new Router({ - // mode: 'history', // require service support - scrollBehavior: () => ({ y: 0 }), - routes: constantRoutes + // mode: 'history', // require service support + scrollBehavior: () => ({ + y: 0 + }), + routes: constantRoutes }) const router = createRouter() // Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465 export function resetRouter() { - const newRouter = createRouter() - router.matcher = newRouter.matcher // reset router + const newRouter = createRouter() + router.matcher = newRouter.matcher // reset router } export default router diff --git a/yxt-as-ui/src/views/basicinformation/supplier/relation/openingbank.vue b/yxt-as-ui/src/views/basicinformation/supplier/relation/openingbank.vue new file mode 100644 index 0000000000..df00015b80 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/supplier/relation/openingbank.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/yxt-as-ui/src/views/basicinformation/supplier/supplier.vue b/yxt-as-ui/src/views/basicinformation/supplier/supplier.vue new file mode 100644 index 0000000000..720eb446ca --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplier.vue @@ -0,0 +1,270 @@ + + + + diff --git a/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue b/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue new file mode 100644 index 0000000000..a65fc19de2 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue @@ -0,0 +1,411 @@ + + + + + diff --git a/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue b/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue new file mode 100644 index 0000000000..70a89ecbd9 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue @@ -0,0 +1,236 @@ + + + + + diff --git a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue new file mode 100644 index 0000000000..75c4756677 --- /dev/null +++ b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue @@ -0,0 +1,282 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/brands/index.vue b/yxt-as-ui/src/views/goods/brands/index.vue new file mode 100644 index 0000000000..a63f06b1aa --- /dev/null +++ b/yxt-as-ui/src/views/goods/brands/index.vue @@ -0,0 +1,256 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/category/categoryAdd.vue b/yxt-as-ui/src/views/goods/category/categoryAdd.vue new file mode 100644 index 0000000000..4fe3f2a1e0 --- /dev/null +++ b/yxt-as-ui/src/views/goods/category/categoryAdd.vue @@ -0,0 +1,218 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/category/index.vue b/yxt-as-ui/src/views/goods/category/index.vue new file mode 100644 index 0000000000..710a106e4f --- /dev/null +++ b/yxt-as-ui/src/views/goods/category/index.vue @@ -0,0 +1,285 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/factory/factoryAdd.vue b/yxt-as-ui/src/views/goods/factory/factoryAdd.vue new file mode 100644 index 0000000000..6cbabb4b99 --- /dev/null +++ b/yxt-as-ui/src/views/goods/factory/factoryAdd.vue @@ -0,0 +1,175 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/factory/index.vue b/yxt-as-ui/src/views/goods/factory/index.vue new file mode 100644 index 0000000000..7bd36663ad --- /dev/null +++ b/yxt-as-ui/src/views/goods/factory/index.vue @@ -0,0 +1,261 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/goods/goodsAdd.vue b/yxt-as-ui/src/views/goods/goods/goodsAdd.vue new file mode 100644 index 0000000000..d2bb507b42 --- /dev/null +++ b/yxt-as-ui/src/views/goods/goods/goodsAdd.vue @@ -0,0 +1,1101 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/goods/goodsInfo.vue b/yxt-as-ui/src/views/goods/goods/goodsInfo.vue new file mode 100644 index 0000000000..cb54f3debc --- /dev/null +++ b/yxt-as-ui/src/views/goods/goods/goodsInfo.vue @@ -0,0 +1,945 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/goods/index.vue b/yxt-as-ui/src/views/goods/goods/index.vue new file mode 100644 index 0000000000..ffd2d1adcb --- /dev/null +++ b/yxt-as-ui/src/views/goods/goods/index.vue @@ -0,0 +1,289 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/unit/index.vue b/yxt-as-ui/src/views/goods/unit/index.vue new file mode 100644 index 0000000000..bd142e5b43 --- /dev/null +++ b/yxt-as-ui/src/views/goods/unit/index.vue @@ -0,0 +1,245 @@ + + + + diff --git a/yxt-as-ui/src/views/goods/unit/unitAdd.vue b/yxt-as-ui/src/views/goods/unit/unitAdd.vue new file mode 100644 index 0000000000..b83a328752 --- /dev/null +++ b/yxt-as-ui/src/views/goods/unit/unitAdd.vue @@ -0,0 +1,208 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/inOutStorage/index.vue b/yxt-as-ui/src/views/storage/inOutStorage/index.vue new file mode 100644 index 0000000000..b2212efe41 --- /dev/null +++ b/yxt-as-ui/src/views/storage/inOutStorage/index.vue @@ -0,0 +1,396 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/inStorage/inStorageAdd.vue b/yxt-as-ui/src/views/storage/inStorage/inStorageAdd.vue new file mode 100644 index 0000000000..46d75e8666 --- /dev/null +++ b/yxt-as-ui/src/views/storage/inStorage/inStorageAdd.vue @@ -0,0 +1,1143 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/inStorage/inStorageInfo.vue b/yxt-as-ui/src/views/storage/inStorage/inStorageInfo.vue new file mode 100644 index 0000000000..a2f2abed83 --- /dev/null +++ b/yxt-as-ui/src/views/storage/inStorage/inStorageInfo.vue @@ -0,0 +1,308 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/inStorage/index.vue b/yxt-as-ui/src/views/storage/inStorage/index.vue new file mode 100644 index 0000000000..5574cd0312 --- /dev/null +++ b/yxt-as-ui/src/views/storage/inStorage/index.vue @@ -0,0 +1,241 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/outStorage/distributionAdd.vue b/yxt-as-ui/src/views/storage/outStorage/distributionAdd.vue new file mode 100644 index 0000000000..468a191c42 --- /dev/null +++ b/yxt-as-ui/src/views/storage/outStorage/distributionAdd.vue @@ -0,0 +1,291 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/outStorage/index.vue b/yxt-as-ui/src/views/storage/outStorage/index.vue new file mode 100644 index 0000000000..aad61858cd --- /dev/null +++ b/yxt-as-ui/src/views/storage/outStorage/index.vue @@ -0,0 +1,335 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue b/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue new file mode 100644 index 0000000000..b71ee5c56b --- /dev/null +++ b/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue @@ -0,0 +1,529 @@ + + + + diff --git a/yxt-as-ui/src/views/storage/outStorage/outStorageInfo.vue b/yxt-as-ui/src/views/storage/outStorage/outStorageInfo.vue new file mode 100644 index 0000000000..2df4b5482a --- /dev/null +++ b/yxt-as-ui/src/views/storage/outStorage/outStorageInfo.vue @@ -0,0 +1,231 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue b/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue new file mode 100644 index 0000000000..57e9704401 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue @@ -0,0 +1,223 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue b/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue new file mode 100644 index 0000000000..af7f9b2607 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue @@ -0,0 +1,262 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/warehouse/index.vue b/yxt-as-ui/src/views/warehouse/warehouse/index.vue new file mode 100644 index 0000000000..9a4851724f --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/warehouse/index.vue @@ -0,0 +1,265 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue b/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue new file mode 100644 index 0000000000..7331b206f2 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue @@ -0,0 +1,240 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue b/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue new file mode 100644 index 0000000000..8f81b6f152 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue @@ -0,0 +1,264 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue new file mode 100644 index 0000000000..775b3823e2 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue @@ -0,0 +1,234 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue b/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue new file mode 100644 index 0000000000..aded094c30 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue @@ -0,0 +1,261 @@ + + + + diff --git a/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue new file mode 100644 index 0000000000..40249cb071 --- /dev/null +++ b/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue @@ -0,0 +1,163 @@ + + + +