From 07d09b244531bb2a975022a50a12d4396c19b793 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Tue, 7 May 2024 15:09:59 +0800 Subject: [PATCH 1/7] 11111111 --- yxt-as-ui/src/api/goods/brand.js | 49 + yxt-as-ui/src/api/goods/category.js | 55 + yxt-as-ui/src/api/goods/factory.js | 48 + yxt-as-ui/src/api/goods/goods.js | 39 + yxt-as-ui/src/api/goods/unit.js | 49 + yxt-as-ui/src/api/storage/inOutStorage.js | 55 + yxt-as-ui/src/api/storage/inStorage.js | 22 + yxt-as-ui/src/api/storage/outStorage.js | 99 ++ yxt-as-ui/src/api/warehouse/goodsShelves.js | 41 + yxt-as-ui/src/api/warehouse/warehouse.js | 51 + yxt-as-ui/src/api/warehouse/warehouseArea.js | 49 + .../src/api/warehouse/warehouseAreaType.js | 51 + yxt-as-ui/src/router/index.js | 306 ++++- .../src/views/goods/brands/brandsAdd.vue | 282 ++++ yxt-as-ui/src/views/goods/brands/index.vue | 256 ++++ .../src/views/goods/category/categoryAdd.vue | 218 ++++ yxt-as-ui/src/views/goods/category/index.vue | 285 ++++ .../src/views/goods/factory/factoryAdd.vue | 175 +++ yxt-as-ui/src/views/goods/factory/index.vue | 261 ++++ yxt-as-ui/src/views/goods/goods/goodsAdd.vue | 1101 ++++++++++++++++ yxt-as-ui/src/views/goods/goods/goodsInfo.vue | 945 ++++++++++++++ yxt-as-ui/src/views/goods/goods/index.vue | 289 +++++ yxt-as-ui/src/views/goods/unit/index.vue | 245 ++++ yxt-as-ui/src/views/goods/unit/unitAdd.vue | 208 +++ .../src/views/storage/inOutStorage/index.vue | 396 ++++++ .../views/storage/inStorage/inStorageAdd.vue | 1143 +++++++++++++++++ .../views/storage/inStorage/inStorageInfo.vue | 308 +++++ .../src/views/storage/inStorage/index.vue | 241 ++++ .../storage/outStorage/distributionAdd.vue | 291 +++++ .../src/views/storage/outStorage/index.vue | 335 +++++ .../storage/outStorage/outStorageAdd.vue | 529 ++++++++ .../storage/outStorage/outStorageInfo.vue | 231 ++++ .../goodsShelves/goodsShelvesAdd.vue | 223 ++++ .../views/warehouse/goodsShelves/index.vue | 262 ++++ .../src/views/warehouse/warehouse/index.vue | 265 ++++ .../warehouse/warehouse/warehouseAdd.vue | 240 ++++ .../views/warehouse/warehouseArea/index.vue | 264 ++++ .../warehouseArea/warehouseAreaAdd.vue | 234 ++++ .../warehouse/warehouseAreaType/index.vue | 261 ++++ .../warehouseAreaTypeAdd.vue | 163 +++ 40 files changed, 10502 insertions(+), 63 deletions(-) create mode 100644 yxt-as-ui/src/api/goods/brand.js create mode 100644 yxt-as-ui/src/api/goods/category.js create mode 100644 yxt-as-ui/src/api/goods/factory.js create mode 100644 yxt-as-ui/src/api/goods/goods.js create mode 100644 yxt-as-ui/src/api/goods/unit.js create mode 100644 yxt-as-ui/src/api/storage/inOutStorage.js create mode 100644 yxt-as-ui/src/api/storage/inStorage.js create mode 100644 yxt-as-ui/src/api/storage/outStorage.js create mode 100644 yxt-as-ui/src/api/warehouse/goodsShelves.js create mode 100644 yxt-as-ui/src/api/warehouse/warehouse.js create mode 100644 yxt-as-ui/src/api/warehouse/warehouseArea.js create mode 100644 yxt-as-ui/src/api/warehouse/warehouseAreaType.js create mode 100644 yxt-as-ui/src/views/goods/brands/brandsAdd.vue create mode 100644 yxt-as-ui/src/views/goods/brands/index.vue create mode 100644 yxt-as-ui/src/views/goods/category/categoryAdd.vue create mode 100644 yxt-as-ui/src/views/goods/category/index.vue create mode 100644 yxt-as-ui/src/views/goods/factory/factoryAdd.vue create mode 100644 yxt-as-ui/src/views/goods/factory/index.vue create mode 100644 yxt-as-ui/src/views/goods/goods/goodsAdd.vue create mode 100644 yxt-as-ui/src/views/goods/goods/goodsInfo.vue create mode 100644 yxt-as-ui/src/views/goods/goods/index.vue create mode 100644 yxt-as-ui/src/views/goods/unit/index.vue create mode 100644 yxt-as-ui/src/views/goods/unit/unitAdd.vue create mode 100644 yxt-as-ui/src/views/storage/inOutStorage/index.vue create mode 100644 yxt-as-ui/src/views/storage/inStorage/inStorageAdd.vue create mode 100644 yxt-as-ui/src/views/storage/inStorage/inStorageInfo.vue create mode 100644 yxt-as-ui/src/views/storage/inStorage/index.vue create mode 100644 yxt-as-ui/src/views/storage/outStorage/distributionAdd.vue create mode 100644 yxt-as-ui/src/views/storage/outStorage/index.vue create mode 100644 yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue create mode 100644 yxt-as-ui/src/views/storage/outStorage/outStorageInfo.vue create mode 100644 yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue create mode 100644 yxt-as-ui/src/views/warehouse/goodsShelves/index.vue create mode 100644 yxt-as-ui/src/views/warehouse/warehouse/index.vue create mode 100644 yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue create mode 100644 yxt-as-ui/src/views/warehouse/warehouseArea/index.vue create mode 100644 yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue create mode 100644 yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue create mode 100644 yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue diff --git a/yxt-as-ui/src/api/goods/brand.js b/yxt-as-ui/src/api/goods/brand.js new file mode 100644 index 0000000000..b8d23d5270 --- /dev/null +++ b/yxt-as-ui/src/api/goods/brand.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodsbrand/listPage', + method: 'post', + data: params, + }) + }, + + // 类别查询 + getAllBrand: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodsbrand/listAll', + method: 'get' + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/basegoodsbrand/updateIsEnable/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveBrands: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodsbrand/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initBrands: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodsbrand/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/goods/category.js b/yxt-as-ui/src/api/goods/category.js new file mode 100644 index 0000000000..4523584fd0 --- /dev/null +++ b/yxt-as-ui/src/api/goods/category.js @@ -0,0 +1,55 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodstype/listPage', + method: 'post', + data: params, + }) + }, + + // 类别查询 + getAllType: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodstype/listAll', + method: 'get' + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid, isEnable) { + return request({ + url: '/wms/apiadmin/base/basegoodstype/updateIsEnable/' + sid + "/" + isEnable + }); + }, + + // 修改是否一品一码 + updateIsGoodsID: function(sid, isGoodsID) { + return request({ + url: '/wms/apiadmin/base/basegoodstype/updateIsGoodsID/' + sid + "/" + isGoodsID + }); + }, + + // 新增、保存 + saveTypes: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodstype/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initTypes: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodstype/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/goods/factory.js b/yxt-as-ui/src/api/goods/factory.js new file mode 100644 index 0000000000..df6af06cff --- /dev/null +++ b/yxt-as-ui/src/api/goods/factory.js @@ -0,0 +1,48 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/basemanufacturer/listPage', + method: 'post', + data: params, + }) + }, + + // 厂家查询 + getAllFacturer: function(params) { + return request({ + url: '/wms/apiadmin/base/basemanufacturer/listAll', + method: 'get' + }) + }, + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/basemanufacturer/updateIsEnable/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveFacturer: function(data) { + return request({ + url: '/wms/apiadmin/base/basemanufacturer/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initFacturer: function(data) { + return request({ + url: '/wms/apiadmin/base/basemanufacturer/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/goods/goods.js b/yxt-as-ui/src/api/goods/goods.js new file mode 100644 index 0000000000..0fd74e5762 --- /dev/null +++ b/yxt-as-ui/src/api/goods/goods.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodsspu/listPage', + method: 'post', + data: params, + }) + }, + + // 修改是否可用状态 + updateIsEnable: function(sid, isEnable) { + return request({ + url: '/wms/apiadmin/base/basegoodsspu/updateIsEnable/' + sid + "/" + isEnable + }); + }, + + // 新增、保存 + saveGoods: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodsspu/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initGoods: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodsspu/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/goods/unit.js b/yxt-as-ui/src/api/goods/unit.js new file mode 100644 index 0000000000..eb42b6d9d9 --- /dev/null +++ b/yxt-as-ui/src/api/goods/unit.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodsunit/listPage', + method: 'post', + data: params, + }) + }, + + // 单位查询 + getAllUnit: function(params) { + return request({ + url: '/wms/apiadmin/base/basegoodsunit/listAll', + method: 'get' + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/basegoodsunit/updateIsEnable/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveUnits: function(data) { + return request({ + url: '/wms/apiadmin/base/basegoodsunit/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initUnits: function(data) { + return request({ + url: '/base/basegoodsunit/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/storage/inOutStorage.js b/yxt-as-ui/src/api/storage/inOutStorage.js new file mode 100644 index 0000000000..403bc2f28c --- /dev/null +++ b/yxt-as-ui/src/api/storage/inOutStorage.js @@ -0,0 +1,55 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/pageList', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 导出报表 + exportExcel: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/exportExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 选择供应商 + choiceSupplier: function(params) { + return request({ + url: '/wms/apiadmin/base/basesupplierinfo/choiceSupplierInfo', + method: 'post', + data: params, + }) + }, + + // 查询所有仓库 + getWarehouses: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/selectAll', + method: 'get' + }) + }, + + // 根据仓库查询库位 + getWarehouseareas: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/selectAll', + method: 'get', + data: data, + }); + }, +} diff --git a/yxt-as-ui/src/api/storage/inStorage.js b/yxt-as-ui/src/api/storage/inStorage.js new file mode 100644 index 0000000000..f77ed8ce26 --- /dev/null +++ b/yxt-as-ui/src/api/storage/inStorage.js @@ -0,0 +1,22 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/inventory/wmsinventorybill/listPage', + method: 'post', + data: params, + }) + }, + + + // 选择商品列表 + getAllGoods: function(params) { + return request({ + url: '/base/basegoodssku/getSelectList', + method: 'get' + }) + }, +} diff --git a/yxt-as-ui/src/api/storage/outStorage.js b/yxt-as-ui/src/api/storage/outStorage.js new file mode 100644 index 0000000000..1ef43dd62e --- /dev/null +++ b/yxt-as-ui/src/api/storage/outStorage.js @@ -0,0 +1,99 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/WmsOutBill/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 详情初始化 + init: function(data) { + return request({ + url: '/wms/apiadmin/WmsOutBill/details', + method: 'get', + data: data + }); + }, + + // 初始配货单 + initDistribution: function(data) { + return request({ + url: '/wms/apiadmin/WmsDistributeBill/getInit', + method: 'get', + data: data + }); + }, + + + // 新增、保存 + save: function(data) { + return request({ + url: '/wms/apiadmin/WmsOutBill/saveOrUpdateOutBill', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 确认 + submit: function(data) { + return request({ + url: '/wms/apiadmin/WmsOutBill/confirm', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + + + + // 新增、保存 配货单 + saveDistribution: function(data) { + return request({ + url: '/wms/apiadmin/WmsDistributeBill/saveOrUpdateBill', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + + deleteBySids: function(data) { + return request({ + url: '/wms/apiadmin/WmsShelfBill/delBySids', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 查询分页列表 + getGoodsListPage: function(params) { + return request({ + url: '/wms/apiadmin/WmsOutBill/getInventoryList', + method: 'post', + data: params, + 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 new file mode 100644 index 0000000000..1c8bb37858 --- /dev/null +++ b/yxt-as-ui/src/api/warehouse/goodsShelves.js @@ -0,0 +1,41 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouserack/listPage', + method: 'post', + data: params, + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/wmswarehouserack/updateIsEnable/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveGoodsShelves: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehouserack/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initGoodsShelves: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehouserack/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/warehouse/warehouse.js b/yxt-as-ui/src/api/warehouse/warehouse.js new file mode 100644 index 0000000000..390f74dd77 --- /dev/null +++ b/yxt-as-ui/src/api/warehouse/warehouse.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + + // 仓库查询 + getAllWarehouse: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/listAll', + method: 'get' + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/updateStatus/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveWarehouse: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/saveOrUpdate', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }); + }, + + // 初始化 + initWarehouse: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/warehouse/warehouseArea.js b/yxt-as-ui/src/api/warehouse/warehouseArea.js new file mode 100644 index 0000000000..afff3cea2c --- /dev/null +++ b/yxt-as-ui/src/api/warehouse/warehouseArea.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/listPage', + method: 'post', + data: params, + }) + }, + + // 库区查询 + getAllWarehousearea: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/listAll', + method: 'get' + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/updateIsEnable/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveWarehousearea: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initWarehousearea: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/initialization/' + data, + method: 'get' + }); + }, + + +} diff --git a/yxt-as-ui/src/api/warehouse/warehouseAreaType.js b/yxt-as-ui/src/api/warehouse/warehouseAreaType.js new file mode 100644 index 0000000000..6ecf1e569a --- /dev/null +++ b/yxt-as-ui/src/api/warehouse/warehouseAreaType.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +export default { + + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseareatype/listPage', + method: 'post', + data: params, + }) + }, + + // 库位查询 + getAllWarehouseareatype: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseareatype/listAll', + method: 'get' + }) + }, + + + // 修改是否可用状态 + updateIsEnable: function(sid,isEnable) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseareatype/updateIsEnable/'+sid+"/"+isEnable + }); + }, + + + // 新增、保存 + saveWarehousearea: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseareatype/saveOrUpdate', + method: 'post', + data: data + }); + }, + + // 初始化 + initWarehousearea: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseareatype/initialization/' + data, + method: 'get' + }); + }, + + + +} diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index dbca01d881..dcf3a97a2a 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -7,8 +7,7 @@ Vue.use(Router) import Layout from '@/layout' /* 所有角色可以访问/没有权限要求的基页 */ -export const constantRoutes = [ - { +export const constantRoutes = [{ path: '/redirect', component: Layout, hidden: true, @@ -17,26 +16,26 @@ export const constantRoutes = [ component: () => 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,48 +463,68 @@ 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', @@ -356,22 +534,24 @@ export const constantRoutes = [ // } ] }, - // 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/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 @@ + + + + + + 商品信息 + + + 保存 + 关闭 + + + + + + + + + + 品牌名称: + + + + 品牌代码: + + + + 首字母大写: + + + + 品牌备注: + + + + + + + 品牌Logo: + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 品牌列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 类别列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 厂家列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 商品信息 + + + 保存 + 关闭 + + + + + + + + + + 基础信息 + + + + + 商品名称 + + + + + + + + + + 商品编码 + + + + + + + + + + + + + 商品品牌 + + + + + + + + + + + + 商品类别 + + + + + + + + + + + + + + + 商品厂家 + + + + + + + + + + + + 厂家货号 + + + + + + + + + + + + + 外部编码 + + + + + + + + + + 国标码 + + + + + + + + + + + + + 税率 + + + + + + + + + + 保质期天 + + + + + + + + + + + + + 商品详细说明 + + + + + + + + + + + + + 商品描述 + + + + + + + + + + + + + 规格列表添加 + + + + + + + 编辑 + + + + + + + + + + + + + 查看 + 编辑 + + + + + + + + + + + + + + + 规格代码 + + + + + + + + + + + 规格标题 + + + + + + + + + + + 外部编码 + + + + + + + + + + + + + + + 确 定 + + + + + + + + + + + + + 最后采购价 + + + + + {{itemInfo.finalPurchasePrice}} + + + + + 安全库存天数 + + + + + {{itemInfo.safetyStockDays}} + + + + + 是否原厂 + + + + + {{itemInfo.isOriginalFactory}} + + + + + + + + 是否库存警戒 + + + + + {{itemInfo.isInventoryAlert}} + + + + + 库存警戒上线 + + + + + {{itemInfo.inventoryAlertUpperLimit}} + + + + + 库存警戒下线 + + + + + {{itemInfo.inventoryAlertLowerLimit}} + + + + + + + + 成本价 + + + + + {{itemInfo.costPrice}} + + + + + 吊牌价 + + + + + {{itemInfo.tagPrice}} + + + + + 销售单价 + + + + + {{itemInfo.salesPrice}} + + + + + + + + 标准进价 + + + + + {{itemInfo.standardPurchasePrice}} + + + + + 代理价 + + + + + {{itemInfo.agencyPrice}} + + + + + 折扣 + + + + + {{itemInfo.discount}} + + + + + + + 最低零售价 + + + + + {{itemInfo.minimumSalesPrice}} + + + + + 是否积分兑换 + + + + + {{itemInfo.isIntegralExchange}} + + + + + 积分数量 + + + + + {{itemInfo.integralAmount}} + + + + + + + + 规格图片 + + + + + + + + + + + + + + + + + + + 关 闭 + + + + + + + + + + + + 最后采购价 + + + + + + + + + + + 安全库存天数 + + + + + + + + + + + 是否原厂 + + + + + + + + + + + + + + 是否库存警戒 + + + + + + + + + + + 库存警戒上线 + + + + + + + + + + + 库存警戒下线 + + + + + + + + + + + + + + 成本价 + + + + + + + + + + + 吊牌价 + + + + + + + + + + + 销售单价 + + + + + + + + + + + + + + 标准进价 + + + + + + + + + + + 代理价 + + + + + + + + + + + 折扣 + + + + + + + + + + + + + 最低零售价 + + + + + + + + + + + 是否积分兑换 + + + + + + + + + + + 积分数量 + + + + + + + + + + + + + + 规格图片 + + + + + + + + + + + + + + + + + 确 定 + + + + + + + + + + + + + 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 @@ + + + + + + 商品信息 + + + 保存 + 关闭 + + + + + + + + + + 基础信息 + + + + + 商品名称 + + + + + + + + + + 商品编码 + + + + + + + + + + + + + 商品品牌 + + + + + + + + + + + + 商品类别 + + + + + + + + + + + + + + + 商品厂家 + + + + + + + + + + + + 厂家货号 + + + + + + + + + + + + + 外部编码 + + + + + + + + + + 国标码 + + + + + + + + + + + + + 税率 + + + + + + + + + + 保质期天 + + + + + + + + + + + + + 商品详细说明 + + + + + + + + + + + + + 商品描述 + + + + + + + + + + + + + 规格列表添加 + + + + + + + + + + + + + + + 查看 + 编辑 + + + + + + + + + + + + + + + + + 最后采购价 + + + + + {{itemInfo.finalPurchasePrice}} + + + + + 安全库存天数 + + + + + {{itemInfo.safetyStockDays}} + + + + + 是否原厂 + + + + + {{itemInfo.isOriginalFactory}} + + + + + + + + 是否库存警戒 + + + + + {{itemInfo.isInventoryAlert}} + + + + + 库存警戒上线 + + + + + {{itemInfo.inventoryAlertUpperLimit}} + + + + + 库存警戒下线 + + + + + {{itemInfo.inventoryAlertLowerLimit}} + + + + + + + + 成本价 + + + + + {{itemInfo.costPrice}} + + + + + 吊牌价 + + + + + {{itemInfo.tagPrice}} + + + + + 销售单价 + + + + + {{itemInfo.salesPrice}} + + + + + + + + 标准进价 + + + + + {{itemInfo.standardPurchasePrice}} + + + + + 代理价 + + + + + {{itemInfo.agencyPrice}} + + + + + 折扣 + + + + + {{itemInfo.discount}} + + + + + + + 最低零售价 + + + + + {{itemInfo.minimumSalesPrice}} + + + + + 是否积分兑换 + + + + + {{itemInfo.isIntegralExchange}} + + + + + 积分数量 + + + + + {{itemInfo.integralAmount}} + + + + + + + + 规格图片 + + + + + + + + + + + + + + + + + + + 关 闭 + + + + + + + + + + + + 最后采购价 + + + + + {{itemInfo.finalPurchasePrice}} + + + + + 安全库存天数 + + + + + {{itemInfo.safetyStockDays}} + + + + + 是否原厂 + + + + + {{itemInfo.isOriginalFactory}} + + + + + + + + 是否库存警戒 + + + + + {{itemInfo.isInventoryAlert}} + + + + + 库存警戒上线 + + + + + {{itemInfo.inventoryAlertUpperLimit}} + + + + + 库存警戒下线 + + + + + {{itemInfo.inventoryAlertLowerLimit}} + + + + + + + + 成本价 + + + + + {{itemInfo.costPrice}} + + + + + 吊牌价 + + + + + {{itemInfo.tagPrice}} + + + + + 销售单价 + + + + + {{itemInfo.salesPrice}} + + + + + + + + 标准进价 + + + + + {{itemInfo.standardPurchasePrice}} + + + + + 代理价 + + + + + {{itemInfo.agencyPrice}} + + + + + 折扣 + + + + + {{itemInfo.discount}} + + + + + + + 最低零售价 + + + + + {{itemInfo.minimumSalesPrice}} + + + + + 是否积分兑换 + + + + + {{itemInfo.isIntegralExchange}} + + + + + 积分数量 + + + + + {{itemInfo.integralAmount}} + + + + + + + + 规格图片 + + + + + + + + + + + + + + + 确 定 + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 商品列表 + + + + + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 单位列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + + 查询 + 重置 + + + + + + 商品出入库列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + {{title}}收货单 + + + 保存 + 确认 + 关闭 + + + + + + + + 基础信息 + + + + + 单据编号 + + + + + {{formobj.billNo}} + + + + + 制单人姓名 + + + + + + + + + + + + 外部单号 + + + + + {{formobj.sourceBillNo}} + + + + + + 单据日期 + + + + + + + + + + + + + + 业务类型 + + + + + + + + + + + + + + + + 供应商 + + + + + + + + + + + + + + + + + + 到货日期 + + + + + + + + + + + + + 单据状态 + + + + + {{formobj.billState}} + + + + + + + + + 备注 + + + + + + + + + + + 商品列表 + 批次收货 + + + + + + + 操作 + + + 删除 + 批次+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 需要 + 不需要 + + + + + + + 合格 + 不合格 + + + + + + + + + + + + + + + + + + + + + + + + + 商品-批次 + + + + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 收货单 + + + 关闭 + + + + + + + + + + 基础信息 + + + + + 单据编号 + + + + + {{formobj.billNo}} + + + + + + 制单人姓名 + + + + + {{formobj.createByName}} + + + + + + + + 外部单号 + + + + + {{formobj.sourceBillNo}} + + + + + + 单据日期 + + + + + {{formobj.createTime}} + + + + + + + + 业务类型 + + + + + {{formobj.busTypeValue}} + + + + + + 供应商 + + + + + {{formobj.supplierName}} + + + + + + + + + 到货日期 + + + + + {{formobj.deliveryDate}} + + + + + + + 单据状态 + + + + + {{formobj.billState}} + + + + + + + + + 备注 + + + + + + {{formobj.remarks}} + + + + + + + 商品列表 + + + + + + + + + + + + + + + + + 需要 + 不需要 + + + + + + + 合格 + 不合格 + + + + + + + + + + + + + 商品-批次 + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 入库列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 【新增】配货单 + + + 保存 + 关闭 + + + + + + + + + + 基础信息 + + + + + 单据编号 + + + + + {{formobj.billNo}} + + + + + + 制单人姓名 + + + + + {{formobj.createByName}} + + + + + + + + 外部单号 + + + + + {{formobj.sourceBillNo}} + + + + + + 单据日期 + + + + + + + + + + + + + + + 单据状态 + + + + + {{formobj.billState}} + + + + + + 备注 + + + + + + + + + + + + + 商品列表 + + + + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + 至 + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + 出库单列表 + + + + + + + + + + 查看 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + {{title}}出库单 + + + 保存 + 确认 + 关闭 + + + + + + + + 基础信息 + + + + + 单据编号 + + + + + {{formobj.billNo}} + + + + + 制单人姓名 + + + + + + + + + + + + 外部单号 + + + + + {{formobj.sourceBillNo}} + + + + + + 单据日期 + + + + + + + + + + + + + + 业务类型 + + + + + + + + + + + + + + + + 单据状态 + + + + + {{formobj.billState}} + + + + + + + + + 备注 + + + + + + + + + + + 商品列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 出库单 + + + 关闭 + + + + + + + + + + 基础信息 + + + + + 单据编号 + + + + + {{formobj.billNo}} + + + + + + 制单人姓名 + + + + + {{formobj.createByName}} + + + + + + + + 外部单号 + + + + + {{formobj.sourceBillNo}} + + + + + + 单据日期 + + + + + {{formobj.createTime}} + + + + + + + + 业务类型 + + + + + {{formobj.busTypeValue}} + + + + + + + 单据状态 + + + + + {{formobj.billState}} + + + + + + + + + 备注 + + + + + + {{formobj.remarks}} + + + + + + + 商品列表 + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 库位列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 仓库列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 库区列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 库区类型列表 + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 库区类型信息 + + + 保存 + 关闭 + + + + + + + + + + + 库区类型名称: + + + + 库区类型备注: + + + + + + + + + + + + From c82a3f6537aee86fbd53420228621cdc9be5fd58 Mon Sep 17 00:00:00 2001 From: dimengzhe Date: Tue, 7 May 2024 15:24:54 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=94=B6=E6=AC=BE=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E9=AA=8C=E8=AF=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FinCollectionConfirmationService.java | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) 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 Date: Tue, 7 May 2024 15:54:53 +0800 Subject: [PATCH 3/7] 11111 --- yxt-as-ui/src/api/goods/brand.js | 18 +++++++++++------ yxt-as-ui/src/api/goods/category.js | 20 ++++++++++++------- yxt-as-ui/src/api/goods/factory.js | 18 +++++++++++------ yxt-as-ui/src/api/goods/goods.js | 16 ++++++++++----- yxt-as-ui/src/api/goods/unit.js | 16 ++++++++++----- yxt-as-ui/src/api/warehouse/goodsShelves.js | 8 +++++++- yxt-as-ui/src/api/warehouse/warehouse.js | 5 ++++- yxt-as-ui/src/api/warehouse/warehouseArea.js | 13 ++++++++++-- .../src/api/warehouse/warehouseAreaType.js | 13 ++++++++++-- 9 files changed, 92 insertions(+), 35 deletions(-) diff --git a/yxt-as-ui/src/api/goods/brand.js b/yxt-as-ui/src/api/goods/brand.js index b8d23d5270..169ea82ca7 100644 --- a/yxt-as-ui/src/api/goods/brand.js +++ b/yxt-as-ui/src/api/goods/brand.js @@ -5,16 +5,19 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodsbrand/listPage', + url: '/yxtbase/apiadmin/base/basegoodsbrand/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, // 类别查询 getAllBrand: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodsbrand/listAll', + url: '/yxtbase/apiadmin/base/basegoodsbrand/listAll', method: 'get' }) }, @@ -23,7 +26,7 @@ export default { // 修改是否可用状态 updateIsEnable: function(sid,isEnable) { return request({ - url: '/wms/apiadmin/base/basegoodsbrand/updateIsEnable/'+sid+"/"+isEnable + url: '/yxtbase/apiadmin/base/basegoodsbrand/updateIsEnable/'+sid+"/"+isEnable }); }, @@ -31,16 +34,19 @@ export default { // 新增、保存 saveBrands: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodsbrand/saveOrUpdate', + url: '/yxtbase/apiadmin/base/basegoodsbrand/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, // 初始化 initBrands: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodsbrand/initialization/' + data, + url: '/yxtbase/apiadmin/base/basegoodsbrand/initialization/' + data, method: 'get' }); }, diff --git a/yxt-as-ui/src/api/goods/category.js b/yxt-as-ui/src/api/goods/category.js index 4523584fd0..4c4156f338 100644 --- a/yxt-as-ui/src/api/goods/category.js +++ b/yxt-as-ui/src/api/goods/category.js @@ -5,16 +5,19 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodstype/listPage', + url: '/yxtbase/apiadmin/base/basegoodstype/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, // 类别查询 getAllType: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodstype/listAll', + url: '/yxtbase/apiadmin/base/basegoodstype/listAll', method: 'get' }) }, @@ -23,30 +26,33 @@ export default { // 修改是否可用状态 updateIsEnable: function(sid, isEnable) { return request({ - url: '/wms/apiadmin/base/basegoodstype/updateIsEnable/' + sid + "/" + isEnable + url: '/yxtbase/apiadmin/base/basegoodstype/updateIsEnable/' + sid + "/" + isEnable }); }, // 修改是否一品一码 updateIsGoodsID: function(sid, isGoodsID) { return request({ - url: '/wms/apiadmin/base/basegoodstype/updateIsGoodsID/' + sid + "/" + isGoodsID + url: '/yxtbase/apiadmin/base/basegoodstype/updateIsGoodsID/' + sid + "/" + isGoodsID }); }, // 新增、保存 saveTypes: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodstype/saveOrUpdate', + url: '/yxtbase/apiadmin/base/basegoodstype/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, // 初始化 initTypes: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodstype/initialization/' + data, + url: '/yxtbase/apiadmin/base/basegoodstype/initialization/' + data, method: 'get' }); }, diff --git a/yxt-as-ui/src/api/goods/factory.js b/yxt-as-ui/src/api/goods/factory.js index df6af06cff..71facdeb5b 100644 --- a/yxt-as-ui/src/api/goods/factory.js +++ b/yxt-as-ui/src/api/goods/factory.js @@ -5,16 +5,19 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/base/basemanufacturer/listPage', + url: '/yxtbase/apiadmin/base/basemanufacturer/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, // 厂家查询 getAllFacturer: function(params) { return request({ - url: '/wms/apiadmin/base/basemanufacturer/listAll', + url: '/yxtbase/apiadmin/base/basemanufacturer/listAll', method: 'get' }) }, @@ -22,7 +25,7 @@ export default { // 修改是否可用状态 updateIsEnable: function(sid,isEnable) { return request({ - url: '/wms/apiadmin/base/basemanufacturer/updateIsEnable/'+sid+"/"+isEnable + url: '/yxtbase/apiadmin/base/basemanufacturer/updateIsEnable/'+sid+"/"+isEnable }); }, @@ -30,16 +33,19 @@ export default { // 新增、保存 saveFacturer: function(data) { return request({ - url: '/wms/apiadmin/base/basemanufacturer/saveOrUpdate', + url: '/yxtbase/apiadmin/base/basemanufacturer/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, // 初始化 initFacturer: function(data) { return request({ - url: '/wms/apiadmin/base/basemanufacturer/initialization/' + data, + url: '/yxtbase/apiadmin/base/basemanufacturer/initialization/' + data, method: 'get' }); }, diff --git a/yxt-as-ui/src/api/goods/goods.js b/yxt-as-ui/src/api/goods/goods.js index 0fd74e5762..1dd709d78d 100644 --- a/yxt-as-ui/src/api/goods/goods.js +++ b/yxt-as-ui/src/api/goods/goods.js @@ -5,32 +5,38 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodsspu/listPage', + url: '/yxtbase/apiadmin/base/basegoodsspu/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, // 修改是否可用状态 updateIsEnable: function(sid, isEnable) { return request({ - url: '/wms/apiadmin/base/basegoodsspu/updateIsEnable/' + sid + "/" + isEnable + url: '/yxtbase/apiadmin/base/basegoodsspu/updateIsEnable/' + sid + "/" + isEnable }); }, // 新增、保存 saveGoods: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodsspu/saveOrUpdate', + url: '/yxtbase/apiadmin/base/basegoodsspu/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, // 初始化 initGoods: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodsspu/initialization/' + data, + url: '/yxtbase/apiadmin/base/basegoodsspu/initialization/' + data, method: 'get' }); }, diff --git a/yxt-as-ui/src/api/goods/unit.js b/yxt-as-ui/src/api/goods/unit.js index eb42b6d9d9..8795c0b363 100644 --- a/yxt-as-ui/src/api/goods/unit.js +++ b/yxt-as-ui/src/api/goods/unit.js @@ -5,16 +5,19 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodsunit/listPage', + url: '/yxtbase/apiadmin/base/basegoodsunit/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, // 单位查询 getAllUnit: function(params) { return request({ - url: '/wms/apiadmin/base/basegoodsunit/listAll', + url: '/yxtbase/apiadmin/base/basegoodsunit/listAll', method: 'get' }) }, @@ -23,7 +26,7 @@ export default { // 修改是否可用状态 updateIsEnable: function(sid,isEnable) { return request({ - url: '/wms/apiadmin/base/basegoodsunit/updateIsEnable/'+sid+"/"+isEnable + url: '/yxtbase/apiadmin/base/basegoodsunit/updateIsEnable/'+sid+"/"+isEnable }); }, @@ -31,9 +34,12 @@ export default { // 新增、保存 saveUnits: function(data) { return request({ - url: '/wms/apiadmin/base/basegoodsunit/saveOrUpdate', + url: '/yxtbase/apiadmin/base/basegoodsunit/saveOrUpdate', method: 'post', - data: data + 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 1c8bb37858..c7b64fa867 100644 --- a/yxt-as-ui/src/api/warehouse/goodsShelves.js +++ b/yxt-as-ui/src/api/warehouse/goodsShelves.js @@ -8,6 +8,9 @@ export default { url: '/wms/apiadmin/base/wmswarehouserack/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, @@ -25,7 +28,10 @@ export default { return request({ url: '/wms/apiadmin/base/wmswarehouserack/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, diff --git a/yxt-as-ui/src/api/warehouse/warehouse.js b/yxt-as-ui/src/api/warehouse/warehouse.js index 390f74dd77..875d9917ee 100644 --- a/yxt-as-ui/src/api/warehouse/warehouse.js +++ b/yxt-as-ui/src/api/warehouse/warehouse.js @@ -16,7 +16,10 @@ export default { getAllWarehouse: function(params) { return request({ url: '/wms/apiadmin/base/wmswarehouseinfo/listAll', - method: 'get' + method: 'get', + headers: { + 'Content-Type': 'application/json' + } }) }, diff --git a/yxt-as-ui/src/api/warehouse/warehouseArea.js b/yxt-as-ui/src/api/warehouse/warehouseArea.js index afff3cea2c..9a9f2c477b 100644 --- a/yxt-as-ui/src/api/warehouse/warehouseArea.js +++ b/yxt-as-ui/src/api/warehouse/warehouseArea.js @@ -8,6 +8,9 @@ export default { url: '/wms/apiadmin/base/wmswarehousearea/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, @@ -15,7 +18,10 @@ export default { getAllWarehousearea: function(params) { return request({ url: '/wms/apiadmin/base/wmswarehousearea/listAll', - method: 'get' + method: 'get', + headers: { + 'Content-Type': 'application/json' + } }) }, @@ -33,7 +39,10 @@ export default { return request({ url: '/wms/apiadmin/base/wmswarehousearea/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, diff --git a/yxt-as-ui/src/api/warehouse/warehouseAreaType.js b/yxt-as-ui/src/api/warehouse/warehouseAreaType.js index 6ecf1e569a..f147b7ea4e 100644 --- a/yxt-as-ui/src/api/warehouse/warehouseAreaType.js +++ b/yxt-as-ui/src/api/warehouse/warehouseAreaType.js @@ -9,6 +9,9 @@ export default { url: '/wms/apiadmin/base/wmswarehouseareatype/listPage', method: 'post', data: params, + headers: { + 'Content-Type': 'application/json' + } }) }, @@ -16,7 +19,10 @@ export default { getAllWarehouseareatype: function(params) { return request({ url: '/wms/apiadmin/base/wmswarehouseareatype/listAll', - method: 'get' + method: 'get', + headers: { + 'Content-Type': 'application/json' + } }) }, @@ -34,7 +40,10 @@ export default { return request({ url: '/wms/apiadmin/base/wmswarehouseareatype/saveOrUpdate', method: 'post', - data: data + data: data, + headers: { + 'Content-Type': 'application/json' + } }); }, From f63dd782803d6bc5f641d572699f88d3389506f1 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 7 May 2024 15:58:56 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/basicinformation/supplier.js | 8 +- yxt-as-ui/src/router/index.js | 12 +- .../basicinformation/supplier/supplier.vue | 270 ++++++++++++ .../basicinformation/supplier/supplierAdd.vue | 395 ++++++++++++++++++ .../supplier/supplierInfo.vue | 206 +++++++++ 5 files changed, 881 insertions(+), 10 deletions(-) create mode 100644 yxt-as-ui/src/views/basicinformation/supplier/supplier.vue create mode 100644 yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue create mode 100644 yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue diff --git a/yxt-as-ui/src/api/basicinformation/supplier.js b/yxt-as-ui/src/api/basicinformation/supplier.js index e7a9f908aa..f8929d12f3 100644 --- a/yxt-as-ui/src/api/basicinformation/supplier.js +++ b/yxt-as-ui/src/api/basicinformation/supplier.js @@ -4,7 +4,7 @@ export default { // 列表查询 listPage: function(data) { return request({ - url: 'pms/v1/pmssupplierinfo/listPage', + url: '/pms/v1/pmssupplierinfo/listPage', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -13,7 +13,7 @@ export default { // 保存 saveOrUpdate: function(data) { return request({ - url: 'pms/v1/pmssupplierinfo/save', + url: '/pms/v1/pmssupplierinfo/save', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -22,14 +22,14 @@ export default { // 回显 fetchDetailsBySid: function(data) { return request({ - url: 'pms/v1/pmssupplierinfo/fetchDetailsBySid/' + data, + url: '/pms/v1/pmssupplierinfo/fetchDetailsBySid/' + data, method: 'get' }) }, // 删除 delBySids: function(data) { return request({ - url: 'pms/v1/pmssupplierinfo/delBySids', + url: '/pms/v1/pmssupplierinfo/delBySids', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index dbca01d881..166c059403 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -348,12 +348,12 @@ export const constantRoutes = [ name: 'SupplierType', 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 !!! 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 @@ + + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + 销售开单列表 + + + + + + + + + + 编辑 + 查看 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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..64a520bbe1 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue @@ -0,0 +1,395 @@ + + + + + {{ viewTitle }} + + 保存 + 关闭 + + + + + 基本信息 + + + 供应商名称 + + + + 供应商简称 + + + + 供应商编码 + + + + + + 供应商类型 + + + + 供应商电话 + + + + 传真 + + + + + + 详细地址 + + + + + + + + + + + + + + + + + + + 联系人 + + + + 联系电话 + + + + + + + + 邮编 + + + + 电子邮件 + + + + 网址 + + + + + + 开票公司名称 + + + + 税号 + + + + 法人 + + + + + + 采购员 + + + + 开票类型 + + + + + + + + 税率 + + + + + + 备注 + + + + + 开户行列表 + 新增 + + + + + + 编辑 + 删除 + + + + + + + + + + + + + + + + + + + + + + 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..dcfc7447f9 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue @@ -0,0 +1,206 @@ + + + + + {{ viewTitle }} + + 关闭 + + + + + 基本信息 + + + 厂商名称 + {{ formobj.supplierName }} + + + 简称 + {{ formobj.supplierPY }} + + + + + 编码 + {{ formobj.supplierCode }} + + + 分类 + {{ formobj.supplierTypeName }} + + + + + 详细地址 + {{ formobj.address }} + + + + + 厂家办公电话 + {{ formobj.contactTelePhone }} + + + 传真 + {{ formobj.fax }} + + + + + 联系人 + {{ formobj.contactName }} + + + 联系电话 + {{ formobj.contactMobile }} + + + + + 邮编 + {{ formobj.zipCode }} + + + 邮箱 + {{ formobj.email }} + + + + + 税号 + {{ formobj.registNum }} + + + 发票类型 + {{ formobj.billingTypeValue }} + + + 开户行列表 + + + + + + + + + + + + + + + + + + + + + From 756c30eded2bdd2dff611dcee07fc75c805cdd4f Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 7 May 2024 16:05:48 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplier/relation/openingbank.vue | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 yxt-as-ui/src/views/basicinformation/supplier/relation/openingbank.vue 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 @@ + + + + + {{ viewTitle }} + + 保存 + 关闭 + + + + + + + 开户银行 + + + + 银行账号 + + + + + + 账号名称 + + + + 账号类型 + + + + + + 开户行地址 + + + + + + 银行网点 + + + + 联行号 + + + + + + swiftCode(银行代码) + + + + 币种 + + + + + + + + + + + + From b17a9772b8f9ea1303acc570f4a7a254cb3ab8e8 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 7 May 2024 16:11:59 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/api/Common/dictcommons.js | 68 +++++++++---------------- 1 file changed, 24 insertions(+), 44 deletions(-) diff --git a/yxt-as-ui/src/api/Common/dictcommons.js b/yxt-as-ui/src/api/Common/dictcommons.js index fd1b2e8eb7..ba4f476b37 100644 --- a/yxt-as-ui/src/api/Common/dictcommons.js +++ b/yxt-as-ui/src/api/Common/dictcommons.js @@ -34,32 +34,6 @@ export function selectOrgList(data) { }) } -// 根据当前登录用户全路径sidPath获取本分公司下的资方信息 -export function selectListByOrgPath(data) { - return request({ - url: '/riskcenter/v1/loanfinbank/selectListByOrgPath', - method: 'get', - params: data - }) -} - -// 根据当前登录用户的分公司sid获取本分公司下的车型配置信息 -export function selModelByUseOrgSid(data) { - return request({ - url: '/base/basevehmodelconfig/selModelByUseOrgSid', - method: 'post', - params: data - }) -} - -// 根据当前登录用户的全路径sidPath、用户sid、客户类型(01个人、02企业)等获取客户信息 -export function selectCustomerList(data) { - return request({ - url: '/crm/v1/crmcustomertemp/selectCustomerList', - method: 'get', - params: data - }) -} // 当前用户创建申请时判断该用户是否有该菜单的操作权限 export function selectHaveMessage(data) { @@ -81,24 +55,6 @@ export function getButtonPermissions(data) { }) } -// 根据分公司sid获取该分公司下的所有供应商 -export function getGysByOrgSid(data) { - return request({ - url: '/base/v1/basemanufacturer/getGysByOrgSid', - method: 'post', - params: data - }) -} - -// 根据分公司sid获取该分公司下的所有供应商 -export function getGysTypeByOrgSid(data) { - return request({ - url: '/base/v1/basemanufacturer/getGysTypeByOrgSid', - method: 'post', - params: data - }) -} - // 根据当前登录用户的全路径查询相应部门下的所有人 export function selAllByOrgSidPath(data) { return request({ @@ -144,3 +100,27 @@ export function customerListPage(params) { headers: { 'Content-Type': 'application/json' } }) } + +// 获取省 +export function getProvince() { + return request({ + url: '/portal/v1/regions/getProvince', + method: 'get' + }) +} +// 根据省sid获取该省的所有市 +export function getCity(data) { + return request({ + url: '/portal/v1/regions/getCity', + method: 'get', + params: data + }) +} +// 根据市sid获取该市的所有县区 +export function getCounty(data) { + return request({ + url: '/portal/v1/regions/getCounty', + method: 'get', + params: data + }) +} From e54b0107b07bfecfd5fee95269b3c4ecaac90a01 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 7 May 2024 16:35:43 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E5=95=86=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/basicinformation/supplier.js | 8 ++ .../basicinformation/supplier/supplierAdd.vue | 20 ++++- .../supplier/supplierInfo.vue | 88 +++++++++++++------ 3 files changed, 85 insertions(+), 31 deletions(-) diff --git a/yxt-as-ui/src/api/basicinformation/supplier.js b/yxt-as-ui/src/api/basicinformation/supplier.js index f8929d12f3..525a66d5e1 100644 --- a/yxt-as-ui/src/api/basicinformation/supplier.js +++ b/yxt-as-ui/src/api/basicinformation/supplier.js @@ -34,5 +34,13 @@ export default { data: data, headers: { 'Content-Type': 'application/json' } }) + }, + // 获取供应商类型 + selSupplierType: function(data) { + return request({ + url: '/pms/v1/pmssuppliertype/selSupplierType', + method: 'post', + params: data + }) } } diff --git a/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue b/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue index 64a520bbe1..a65fc19de2 100644 --- a/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplierAdd.vue @@ -28,7 +28,11 @@ 供应商类型 - + + + + + 供应商电话 @@ -141,7 +145,7 @@ - + @@ -168,6 +172,7 @@ export default { submitdisabled: false, tableKey: 0, index: 0, + supplierType_list: [], province_list: [], city_list: [], county_list: [], @@ -222,6 +227,17 @@ export default { this.province_list = res.data } }) + req.selSupplierType({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { + if (res.success) { + this.supplierType_list = res.data + } + }) + }, + supplierTypeChange(value) { + const choose = this.supplierType_list.filter((item) => item.sid === value) + if (choose !== null && choose.length > 0) { + this.formobj.supplierTypeName = choose[0].name + } }, provinceChange(value) { const choose = this.province_list.filter((item) => item.sid === value) diff --git a/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue b/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue index dcfc7447f9..70a89ecbd9 100644 --- a/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue +++ b/yxt-as-ui/src/views/basicinformation/supplier/supplierInfo.vue @@ -11,24 +11,32 @@ 基本信息 - - 厂商名称 + + 供应商名称 {{ formobj.supplierName }} - - 简称 + + 供应商简称 {{ formobj.supplierPY }} - - - - 编码 + + 供应商编码 {{ formobj.supplierCode }} - - 分类 + + + + 供应商类型 {{ formobj.supplierTypeName }} + + 供应商电话 + {{ formobj.contactTelePhone }} + + + 供应商传真 + {{ formobj.fax }} + @@ -37,44 +45,64 @@ - - 厂家办公电话 - {{ formobj.contactTelePhone }} - - - 传真 - {{ formobj.fax }} - - - - + 联系人 {{ formobj.contactName }} - + 联系电话 {{ formobj.contactMobile }} + + - + 邮编 {{ formobj.zipCode }} - - 邮箱 + + 电子邮件 {{ formobj.email }} + + 网址 + {{ formobj.website }} + - + + 开票公司名称 + {{ formobj.billingCompanyName }} + + 税号 {{ formobj.registNum }} - - 发票类型 + + 法人 + {{ formobj.legalName }} + + + + + 采购员 + {{ formobj.purchaser }} + + + 开票类型 {{ formobj.billingTypeValue }} + + 税率 + {{ formobj.taxRate }} + + + + + 备注 + {{ formobj.remarks }} + 开户行列表 @@ -86,7 +114,7 @@ - + @@ -138,6 +166,7 @@ export default { createOrgName: '', createOrgSid: '', taxRate: '', + remarks: '', baseSupplierBankList: [] }, rules: {} @@ -188,6 +217,7 @@ export default { createOrgName: '', createOrgSid: '', taxRate: '', + remarks: '', baseSupplierBankList: [] } this.$emit('doback')