From 6347a788d2d85ecf199aa950e29f81b12e7d89ac Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Mon, 5 Aug 2024 14:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=9B=98=E7=82=B9=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../maintenanceReceive/maintenanceReceive.js | 14 + yxt-as-ui/src/api/storage/stocktakingLoss.js | 96 +++ .../src/api/storage/stocktakingSurplus.js | 94 +++ yxt-as-ui/src/api/warehouse/goodsShelves.js | 11 + yxt-as-ui/src/router/index.js | 409 +++++++-- .../src/views/maintenanceReceive/index.vue | 148 ++-- .../maintenanceReceive/maintenanceConfirm.vue | 13 +- .../maintenanceOutbound.vue | 783 +++++++++--------- .../maintenanceReturnBound.vue | 58 +- .../views/storage/deliveryNotice/index.vue | 55 +- .../storage/deliveryNotice/receiptAdd.vue | 2 +- .../storage/deliveryNotice/receiptInfo.vue | 4 +- .../views/storage/receivingGoods/index.vue | 60 +- .../receivingGoods/receivingGoodsAdd.vue | 14 +- .../receivingGoods/receivingGoodsInfo.vue | 5 +- .../storage/receivingGoods/upShelfInfo.vue | 158 ++++ .../src/views/storage/stocktaking/index.vue | 294 ++++++- .../stocktaking/stocktakingRackCodeList.vue | 5 +- .../views/storage/stocktakingLoss/index.vue | 330 ++++++++ .../stocktakingLoss/stocktakingLossAdd.vue | 370 +++++++++ .../stocktakingLoss/stocktakingLossInfo.vue | 150 ++++ .../storage/stocktakingSurplus/index.vue | 327 ++++++++ .../stocktakingSurplusAdd.vue | 422 ++++++++++ .../stocktakingSurplusInfo.vue | 149 ++++ yxt-as-ui/src/views/storage/upShelf/index.vue | 18 +- 25 files changed, 3331 insertions(+), 658 deletions(-) create mode 100644 yxt-as-ui/src/api/storage/stocktakingLoss.js create mode 100644 yxt-as-ui/src/api/storage/stocktakingSurplus.js create mode 100644 yxt-as-ui/src/views/storage/receivingGoods/upShelfInfo.vue create mode 100644 yxt-as-ui/src/views/storage/stocktakingLoss/index.vue create mode 100644 yxt-as-ui/src/views/storage/stocktakingLoss/stocktakingLossAdd.vue create mode 100644 yxt-as-ui/src/views/storage/stocktakingLoss/stocktakingLossInfo.vue create mode 100644 yxt-as-ui/src/views/storage/stocktakingSurplus/index.vue create mode 100644 yxt-as-ui/src/views/storage/stocktakingSurplus/stocktakingSurplusAdd.vue create mode 100644 yxt-as-ui/src/views/storage/stocktakingSurplus/stocktakingSurplusInfo.vue diff --git a/yxt-as-ui/src/api/maintenanceReceive/maintenanceReceive.js b/yxt-as-ui/src/api/maintenanceReceive/maintenanceReceive.js index 220ae34173..6c9a6842cc 100644 --- a/yxt-as-ui/src/api/maintenanceReceive/maintenanceReceive.js +++ b/yxt-as-ui/src/api/maintenanceReceive/maintenanceReceive.js @@ -14,6 +14,20 @@ export default { }) }, + // 打印领料单 + downloadExcel: function(data) { + return request({ + url: '/as/v1/AsBusrepairInventorybill/exportExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 选择工单初始化数据 initBill: function(data) { return request({ diff --git a/yxt-as-ui/src/api/storage/stocktakingLoss.js b/yxt-as-ui/src/api/storage/stocktakingLoss.js new file mode 100644 index 0000000000..a1062cb855 --- /dev/null +++ b/yxt-as-ui/src/api/storage/stocktakingLoss.js @@ -0,0 +1,96 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + deleteBySids: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/delBySids', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + + // 盘点单详情 + fetchDetailsBySid: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/fetchDetailsBySid/' + params, + method: 'get', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + + // 根据部门sid 获取所有盘点单号 + getSourceBillNoBySid: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/getSourceBillNoBySid', + method: 'post', + params: data + }) + }, + + // 根据盘点单sid 获取商品 + sourceBillBySid: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/sourceBillBySid/' + params, + method: 'get', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + + // 保存盘盈入库 + save: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/save', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 提交盘盈入库 + submit: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventoryloss/submit', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + +} diff --git a/yxt-as-ui/src/api/storage/stocktakingSurplus.js b/yxt-as-ui/src/api/storage/stocktakingSurplus.js new file mode 100644 index 0000000000..1324dda292 --- /dev/null +++ b/yxt-as-ui/src/api/storage/stocktakingSurplus.js @@ -0,0 +1,94 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + deleteBySids: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/delBySids', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 盘点单详情 + fetchDetailsBySid: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/fetchDetailsBySid/' + params, + method: 'get', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 根据部门sid 获取所有盘点单号 + getSourceBillNoBySid: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/getSourceBillNoBySid', + method: 'post', + params: data + }) + }, + + // 根据盘点单sid 获取商品 + sourceBillBySid: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/sourceBillBySid/' + params, + method: 'get', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + + // 保存盘盈入库 + save: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/save', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 提交盘盈入库 + submit: function(data) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/v1/wmsinventorysurplus/submit', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + +} diff --git a/yxt-as-ui/src/api/warehouse/goodsShelves.js b/yxt-as-ui/src/api/warehouse/goodsShelves.js index 82996b70bd..cf13789f8d 100644 --- a/yxt-as-ui/src/api/warehouse/goodsShelves.js +++ b/yxt-as-ui/src/api/warehouse/goodsShelves.js @@ -81,4 +81,15 @@ export default { }) }, + // 查询所有库位列表 + warehouserackListAll: function(params) { + return request({ + baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", + url: '/wms/apiadmin/base/warehouserack/listAll', + method: 'post', + data: params, + }) + }, + + } diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index 712547b4d0..04edb1aa1f 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -49,126 +49,185 @@ 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: '/workorderquery/workorderquery', component: () => import('@/views/operation/workorderquery/workorderquery.vue'), name: 'WorkOrderQuery', - meta: { title: '维修单查询', noCache: true } + meta: { + title: '维修单查询', + noCache: true + } }, { path: '/workorderinvoicing/workorderinvoicing', component: () => import('@/views/operation/workorderinvoicing/workorderinvoicing.vue'), name: 'WorkOrderInvoicing', - meta: { title: '保外工单开票管理', noCache: true } + meta: { + title: '保外工单开票管理', + noCache: true + } }, { path: '/workorderreceivable/workorderreceivable', component: () => import('@/views/operation/workorderreceivable/workorderreceivable.vue'), name: 'WorkOrderReceivable', - meta: { title: '工单应收调差管理', noCache: true } + meta: { + title: '工单应收调差管理', + noCache: true + } }, { path: '/arrearsleavefactory/arrearsleavefactory', component: () => import('@/views/operation/arrearsleavefactory/arrearsleavefactory.vue'), name: 'ArrearsLeaveFactory', - meta: { title: '保外欠款出厂管理', noCache: true } + meta: { + title: '保外欠款出厂管理', + noCache: true + } }, { path: '/pendingclaim/pendingclaim', component: () => import('@/views/operation/pendingclaim/pendingclaim.vue'), name: 'PendingClaim', - meta: { title: '待索赔维修工单', noCache: true } + meta: { + title: '待索赔维修工单', + noCache: true + } }, { path: '/claimstatement/claimstatement', component: () => import('@/views/operation/claimstatement/claimstatement.vue'), name: 'ClaimStatement', - meta: { title: '厂家索赔单管理', noCache: true } + meta: { + title: '厂家索赔单管理', + noCache: true + } }, { path: '/claimbilling/claimbilling', component: () => import('@/views/operation/claimbilling/claimbilling.vue'), name: 'ClaimBilling', - meta: { title: '索赔单开票管理', noCache: true } + meta: { + title: '索赔单开票管理', + noCache: true + } }, { path: '/claimpendingverification/claimpendingverification', component: () => import('@/views/operation/claimpendingverification/claimpendingverification.vue'), name: 'ClaimPendingVerification', - meta: { title: '工单索赔待核对', noCache: true } + meta: { + title: '工单索赔待核对', + noCache: true + } }, { path: '/claimadjustment/claimadjustment', component: () => import('@/views/operation/claimadjustment/claimadjustment.vue'), name: 'ClaimAdjustment', - meta: { title: '工单索赔调整', noCache: true } + meta: { + title: '工单索赔调整', + noCache: true + } }, { path: '/workslrsettlement/workslrsettlement', component: () => import('@/views/operation/workslrsettlement/workslrsettlement.vue'), name: 'WorkSLRSettlement', - meta: { title: '工单反结算管理', noCache: true } + meta: { + title: '工单反结算管理', + noCache: true + } }, { path: '/workorderreturnvisit/workorderreturnvisit', component: () => import('@/views/operation/workorderreturnvisit/workorderreturnvisit.vue'), name: 'WorkOrderReturnVisit', - meta: { title: '工单回访管理', noCache: true } + meta: { + title: '工单回访管理', + noCache: true + } }, { path: '/salesticket/salesticket', component: () => import('@/views/operation/salesticket/salesticket.vue'), name: 'SalesTicket', - meta: { title: '销售单管理', noCache: true } + meta: { + title: '销售单管理', + noCache: true + } }, { path: '/merchandisereturn/merchandisereturn', component: () => import('@/views/operation/merchandisereturn/merchandisereturn.vue'), name: 'MerchandiseReturn', - meta: { title: '商品退货管理', noCache: true } + meta: { + title: '商品退货管理', + noCache: true + } } ] }, @@ -219,30 +278,41 @@ export const constantRoutes = [{ meta: { title: '仓库管理' }, - children: [ - { + children: [{ path: '/goodsShelves/index', component: () => import('@/views/warehouse/goodsShelves/index.vue'), name: 'GoodsShelves', - meta: { title: '库位管理', noCache: true } + meta: { + title: '库位管理', + noCache: true + } }, { path: '/warehouseArea/index', component: () => import('@/views/warehouse/warehouseArea/index.vue'), name: 'WarehouseArea', - meta: { title: '库区管理', noCache: true } + meta: { + title: '库区管理', + noCache: true + } }, { path: '/warehouseAreaType/index', component: () => import('@/views/warehouse/warehouseAreaType/index.vue'), name: 'WarehouseAreaType', - meta: { title: '库区类型管理', noCache: true } + meta: { + title: '库区类型管理', + noCache: true + } }, { path: '/warehouse/index', component: () => import('@/views/warehouse/warehouse/index.vue'), name: 'Warehouse', - meta: { title: '仓库管理', noCache: true } + meta: { + title: '仓库管理', + noCache: true + } } ] }, @@ -254,36 +324,50 @@ export const constantRoutes = [{ meta: { title: '商品管理' }, - children: [ - { + children: [{ path: '/brands/index', component: () => import('@/views/goods/brands/index.vue'), name: 'Brands', - meta: { title: '品牌管理', noCache: true } + meta: { + title: '品牌管理', + noCache: true + } }, { path: '/category/index', component: () => import('@/views/goods/category/index.vue'), name: 'Category', - meta: { title: '商品类别', noCache: true } + meta: { + title: '商品类别', + noCache: true + } }, { path: '/factory/index', component: () => import('@/views/goods/factory/index.vue'), name: 'Factory', - meta: { title: '厂家管理', noCache: true } + meta: { + title: '厂家管理', + noCache: true + } }, { path: '/goods/index', component: () => import('@/views/goods/goods/index.vue'), name: 'Goods', - meta: { title: '商品管理', noCache: true } + meta: { + title: '商品管理', + noCache: true + } }, { path: '/unit/index', component: () => import('@/views/goods/unit/index.vue'), name: 'Unit', - meta: { title: '计量单位', noCache: true } + meta: { + title: '计量单位', + noCache: true + } } ] }, @@ -294,126 +378,203 @@ export const constantRoutes = [{ meta: { title: '仓储' }, - children: [ - { + children: [{ path: '/outStorage/index', component: () => import('@/views/storage/outStorage/index'), name: 'OutStorage', - meta: { title: '出库管理', noCache: true } + 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: '/adjustment/index', component: () => import('@/views/storage/adjustment/index.vue'), name: 'Adjustment', - meta: { title: '定/调价', noCache: true } + meta: { + title: '定/调价', + noCache: true + } }, { path: '/maintenanceInOrOutBound/index', component: () => import('@/views/storage/maintenanceInOrOutBound/index.vue'), name: 'MaintenanceInOrOutBound', - meta: { title: '维修出入库查询', noCache: true } + meta: { + title: '维修出入库查询', + noCache: true + } }, { path: '/stocktaking/index', component: () => import('@/views/storage/stocktaking/index'), name: 'Stocktaking', - meta: { title: '盘点管理', noCache: true } + meta: { + title: '盘点管理', + noCache: true + } + }, + { + path: '/stocktakingSurplus/index', + component: () => import('@/views/storage/stocktakingSurplus/index'), + name: 'Stocktaking', + meta: { + title: '盘盈入库', + noCache: true + } + }, + { + path: '/stocktakingLoss/index', + component: () => import('@/views/storage/stocktakingLoss/index'), + name: 'Stocktaking', + meta: { + title: '盘亏出库', + noCache: true + } }, { path: '/allocation/index', component: () => import('@/views/storage/allocation/index'), name: 'Allocation', - meta: { title: '调拨管理', noCache: true } + meta: { + title: '调拨管理', + noCache: true + } }, { path: '/deliveryNotice/index', component: () => import('@/views/storage/deliveryNotice/index'), name: 'DeliveryNotice', - meta: { title: '到货通知单', noCache: true } + meta: { + title: '到货通知单', + noCache: true + } }, { path: '/receivingGoods/index', component: () => import('@/views/storage/receivingGoods/index'), name: 'ReceivingGoods', - meta: { title: '收货单管理', noCache: true } + meta: { + title: '收货单管理', + noCache: true + } }, { path: '/upShelf/index', component: () => import('@/views/storage/upShelf/index'), name: 'UpShelf', - meta: { title: '上架单管理', noCache: true } + meta: { + title: '上架单管理', + noCache: true + } }, { path: '/oldPartsFactory/index', component: () => import('@/views/storage/oldPartsFactory/index'), name: 'OldPartsFactory', - meta: { title: '旧件返厂', noCache: true } + meta: { + title: '旧件返厂', + noCache: true + } }, { path: '/manufacturerconfirm/index', component: () => import('@/views/storage/manufacturerconfirm/index'), name: 'Manufacturerconfirm', - meta: { title: '厂家确认', noCache: true } + meta: { + title: '厂家确认', + noCache: true + } }, { path: '/oldPartsCope/index', component: () => import('@/views/storage/oldPartsCope/index'), name: 'OldPartsCope', - meta: { title: '旧件处理', noCache: true } + meta: { + title: '旧件处理', + noCache: true + } }, { path: '/oldPartsRecovery/index', component: () => import('@/views/storage/oldPartsRecovery/index'), name: 'OldPartsRecovery', - meta: { title: '旧件回收', noCache: true } + meta: { + title: '旧件回收', + noCache: true + } }, { path: '/oldPartsInStorage/index', component: () => import('@/views/storage/oldPartsInStorage/index'), name: 'OldPartsInStorage', - meta: { title: '旧件入库', noCache: true } + meta: { + title: '旧件入库', + noCache: true + } }, { path: '/oldPartsInvertory/index', component: () => import('@/views/storage/oldPartsInvertory/index'), name: 'OldPartsInvertory', - meta: { title: '旧件库存', noCache: true } + meta: { + title: '旧件库存', + noCache: true + } }, { path: '/oldPartsInAndOutStorage/index', component: () => import('@/views/storage/oldPartsInAndOutStorage/index'), name: 'OldPartsInAndOutStorage', - meta: { title: '旧件出入库查询', noCache: true } + meta: { + title: '旧件出入库查询', + noCache: true + } }, { path: '/storageage/storageage', component: () => import('@/views/storage/storageage/storageage'), name: 'StorageAge', - meta: { title: '库龄查询', noCache: true } + meta: { + title: '库龄查询', + noCache: true + } }, { path: '/carryover/carryoverstock', component: () => import('@/views/storage/carryover/carryoverstock'), name: 'CarryoverStock', - meta: { title: '结转库存查询', noCache: true } + meta: { + title: '结转库存查询', + noCache: true + } }, { path: '/carryover/carryforwardrecord', component: () => import('@/views/storage/carryover/carryforwardrecord'), name: 'CarryForwardRecord', - meta: { title: '结转记录查询', noCache: true } + meta: { + title: '结转记录查询', + noCache: true + } } ] }, @@ -424,24 +585,32 @@ export const constantRoutes = [{ meta: { title: '客户' }, - children: [ - { + children: [{ path: '/customermanagement/customermanagement', component: () => import('@/views/client/customermanagement/customermanagement.vue'), name: 'CustomerManagement', - meta: { title: '客户管理', noCache: true } + meta: { + title: '客户管理', + noCache: true + } }, { path: '/filing/maintenanceEnterprise', component: () => import('@/views/client/filing/maintenanceEnterprise.vue'), name: 'MaintenanceEnterprise', - meta: { title: '欠款月结客户备案', noCache: true } + meta: { + title: '欠款月结客户备案', + noCache: true + } }, { path: '/customerunit/customerunit', component: () => import('@/views/client/customerunit/customerunit.vue'), name: 'CustomerUnit', - meta: { title: '客户单位管理', noCache: true } + meta: { + title: '客户单位管理', + noCache: true + } } ] }, @@ -452,18 +621,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 + } } ] }, @@ -474,48 +648,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 + } } ] }, @@ -526,78 +720,113 @@ 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: '/maintenanceProjectRecord/maintenanceProjectRecord', component: () => import('@/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecord.vue'), name: 'MaintenanceProjectRecord', - 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 } + meta: { + title: '供应商管理', + noCache: true + } }, { path: '/claimantManufacturer/claimantManufacturer', component: () => import('@/views/basicinformation/claimantManufacturer/claimantManufacturer.vue'), name: 'ClaimantManufacturer', - meta: { title: '索赔厂家管理', noCache: true } + meta: { + title: '索赔厂家管理', + noCache: true + } }, { path: '/technicalTitle/technicalTitle', component: () => import('@/views/basicinformation/technicalTitle/technicalTitle.vue'), name: 'TechnicalTitle', - meta: { title: '维修技师职称管理', noCache: true } + meta: { + title: '维修技师职称管理', + noCache: true + } }, { path: '/technicalTitleFiling/technicalTitleFiling', component: () => import('@/views/basicinformation/technicalTitleFiling/technicalTitleFiling.vue'), name: 'TechnicalTitleFiling', - meta: { title: '维修技师职称备案管理', noCache: true } + meta: { + title: '维修技师职称备案管理', + noCache: true + } } ] }, diff --git a/yxt-as-ui/src/views/maintenanceReceive/index.vue b/yxt-as-ui/src/views/maintenanceReceive/index.vue index fbd6948e58..2fb812e9c4 100644 --- a/yxt-as-ui/src/views/maintenanceReceive/index.vue +++ b/yxt-as-ui/src/views/maintenanceReceive/index.vue @@ -10,13 +10,8 @@