diff --git a/src/api/basicData/Equipment/equipmentInfo.js b/src/api/basicData/Equipment/equipmentInfo.js index 449d2e9..f2a3273 100644 --- a/src/api/basicData/Equipment/equipmentInfo.js +++ b/src/api/basicData/Equipment/equipmentInfo.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2022-01-10 17:00:16 + * @LastEditTime: 2022-03-04 09:06:58 * @Description: */ import request from '@/utils/request' @@ -15,6 +15,14 @@ export function equipmentInfoList(data) { // 获取设备信息列表 }) } +export function equipmentlistList(data) { // 获取设备信息列表 + return request({ + url: '/api/process/work-sequence/equipmentlistList', + method: 'post', + data + }) +} + export function equipmentInfoDetail(id) { // 获取设备信息单条数据 return request({ url: '/api/wms/equipment/get', diff --git a/src/api/basicData/GroupModule/staff.js b/src/api/basicData/GroupModule/staff.js index 979f553..68227fd 100644 --- a/src/api/basicData/GroupModule/staff.js +++ b/src/api/basicData/GroupModule/staff.js @@ -2,14 +2,14 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2022-03-03 15:10:05 + * @LastEditTime: 2022-03-04 10:05:02 * @Description: */ import request from '@/utils/request' export function staffList(data) { // 获取员工列表 return request({ - url: '/basic/worker/page', + url: '/api/wms/worker/page', method: 'post', data }) @@ -17,7 +17,7 @@ export function staffList(data) { // 获取员工列表 export function staffDetail(id) { // 获取员工单条数据 return request({ - url: '/basic/worker/get', + url: '/api/wms/worker/get', method: 'post', data: { id } }) @@ -25,7 +25,7 @@ export function staffDetail(id) { // 获取员工单条数据 export function staffUpdate(data) { // 更新员工单条数据 return request({ - url: '/basic/worker/update', + url: '/api/wms/worker/update', method: 'post', data }) @@ -33,7 +33,7 @@ export function staffUpdate(data) { // 更新员工单条数据 export function staffAdd(data) { // 新增员工单条数据 return request({ - url: '/basic/worker/add', + url: '/api/wms/worker/add', method: 'post', data }) @@ -41,14 +41,14 @@ export function staffAdd(data) { // 新增员工单条数据 export function staffCode() { // 获取员工code return request({ - url: '/basic/worker/get-code', + url: '/api/wms/worker/get-code', method: 'post' }) } export function staffDelete(id) { // 删除员工单条数据 return request({ - url: '/basic/worker/delete', + url: '/api/wms/worker/delete', method: 'post', data: { id } }) diff --git a/src/api/orderManage/workOrder/workOrder.js b/src/api/orderManage/workOrder/workOrder.js index 23a91d3..988a1ae 100644 --- a/src/api/orderManage/workOrder/workOrder.js +++ b/src/api/orderManage/workOrder/workOrder.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2022-03-03 13:57:00 + * @LastEditTime: 2022-03-04 09:35:14 * @Description: */ import request from '@/utils/request' @@ -15,6 +15,14 @@ export function workOrderList(data) { // 获取工单列表 }) } +export function workOrderListList(data) { // 00A获取工单列表 + return request({ + url: '/api/wms/work/order/page', + method: 'post', + data + }) +} + export function workOrderDetail(id) { // 获取工单单条数据 const data = { 'id': id diff --git a/src/lang/i18n/en/module/basicData.js b/src/lang/i18n/en/module/basicData.js index eda59a7..540e899 100644 --- a/src/lang/i18n/en/module/basicData.js +++ b/src/lang/i18n/en/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2022-01-17 15:12:18 + * @LastEditTime: 2022-03-04 10:13:58 * @Description: file content */ export default { @@ -225,6 +225,7 @@ export default { wasteGrade: 'Waste Grade', RegisterPerson: 'Register Person', updateTime: 'Update Time', + registrationPlace: 'Registration Place', cause: 'Cause', causeCode: 'Cause Code', WasteName: 'Waste Name', diff --git a/src/lang/i18n/en/module/quality.js b/src/lang/i18n/en/module/quality.js index e7e580b..ba610d0 100644 --- a/src/lang/i18n/en/module/quality.js +++ b/src/lang/i18n/en/module/quality.js @@ -1,7 +1,7 @@ /* * @Date: 2021-03-13 13:49:16 * @LastEditors: zwq - * @LastEditTime: 2021-04-15 09:59:15 + * @LastEditTime: 2022-03-04 09:21:36 * @FilePath: \basic-admin\src\lang\i18n\en\module\quality.js * @Description: */ @@ -90,5 +90,10 @@ export default { subTitle: 'Scrap Category Statistics', completeWaste: 'Complete Waste', CanBeUsedAfterProcessing: 'Can be used after processing' + }, + QCPplan: { + QCPcode: 'QCP Code', + getTime: 'Get Time', + detail: 'Detail' } } diff --git a/src/lang/i18n/zh/module/basicData.js b/src/lang/i18n/zh/module/basicData.js index 4248ed9..1ad977e 100644 --- a/src/lang/i18n/zh/module/basicData.js +++ b/src/lang/i18n/zh/module/basicData.js @@ -1,8 +1,13 @@ /* * @Author: gtz * @Date: 2021-03-04 16:13:51 +<<<<<<< HEAD * @LastEditors: fzq * @LastEditTime: 2022-03-03 19:52:51 +======= + * @LastEditors: zwq + * @LastEditTime: 2022-03-04 10:13:41 +>>>>>>> develop * @Description: file content */ export default { @@ -232,6 +237,7 @@ export default { wasteGrade: '废品等级', RegisterPerson: '登记人', updateTime: '登记时间', + registrationPlace: '登记地点', cause: '报废原因', causeCode: '报废原因编码', WasteName: '废品报废名称', diff --git a/src/lang/i18n/zh/module/quality.js b/src/lang/i18n/zh/module/quality.js index 8fd0d0b..e7babde 100644 --- a/src/lang/i18n/zh/module/quality.js +++ b/src/lang/i18n/zh/module/quality.js @@ -1,7 +1,7 @@ /* * @Date: 2021-03-13 13:49:07 * @LastEditors: zwq - * @LastEditTime: 2021-04-15 09:58:18 + * @LastEditTime: 2022-03-04 09:21:04 * @FilePath: \basic-admin\src\lang\i18n\zh\module\quality.js * @Description: */ @@ -90,5 +90,10 @@ export default { subTitle: '废品分类统计', completeWaste: '完全废品', CanBeUsedAfterProcessing: '加工可用' + }, + QCPplan: { + QCPcode: 'QCP项目编码', + getTime: '获取时间', + detail: '详情' } } diff --git a/src/router/index.js b/src/router/index.js index 51753db..fa863f4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -209,6 +209,12 @@ export const constantRoutes = [ } ] }, + { + path: 'staff', + component: () => import('@/views/basicData/GroupModule/staff'), + name: 'staff', + meta: { title: routerTitle.basicData.teamManage.staff?.[language] || routerTitle.basicData.teamManage.staff.en, icon: 'form', affix: true, required: true, requireToken: true } + }, { path: '/dataDictionary', component: () => import('@/views/basicData/index'), @@ -405,12 +411,12 @@ export const constantRoutes = [ name: 'ScrapType', meta: { title: routerTitle.basicData.scrap.scrapType?.[language] || routerTitle.basicData.scrap.scrapType.en, icon: 'form', affix: true, required: true, requireToken: true } }, - { - path: 'EquipmentScrapGrade', - component: () => import('@/views/basicData/EquipmentScrapGrade'), - name: 'EquipmentScrapGrade', - meta: { title: routerTitle.basicData.EquipmentScrapGrade?.[language] || routerTitle.basicData.EquipmentScrapGrade.en, icon: 'form', affix: true, required: true, requireToken: true } - }, + // { + // path: 'EquipmentScrapGrade', + // component: () => import('@/views/basicData/EquipmentScrapGrade'), + // name: 'EquipmentScrapGrade', + // meta: { title: routerTitle.basicData.EquipmentScrapGrade?.[language] || routerTitle.basicData.EquipmentScrapGrade.en, icon: 'form', affix: true, required: true, requireToken: true } + // }, { path: 'scrap', component: () => import('@/views/QualityManager/scrap'), diff --git a/src/views/QualityManager/QCPplan.vue b/src/views/QualityManager/QCPplan.vue index 6ff30ee..639d93c 100644 --- a/src/views/QualityManager/QCPplan.vue +++ b/src/views/QualityManager/QCPplan.vue @@ -2,18 +2,35 @@ * @Author: zwq * @Date: 2020-12-29 15:41:11 * @LastEditors: zwq - * @LastEditTime: 2022-03-03 14:28:58 + * @LastEditTime: 2022-03-04 09:22:58 * @Description: --> diff --git a/src/views/QualityManager/scrap/ScrapInfo-add.vue b/src/views/QualityManager/scrap/ScrapInfo-add.vue index 35bc695..a7fffff 100644 --- a/src/views/QualityManager/scrap/ScrapInfo-add.vue +++ b/src/views/QualityManager/scrap/ScrapInfo-add.vue @@ -1,8 +1,8 @@