diff --git a/src/api/excel.js b/src/api/excel.js
index 8765f86..0b091b0 100644
--- a/src/api/excel.js
+++ b/src/api/excel.js
@@ -1,20 +1,5 @@
import request from "@/http/request";
-const downloadExcel = () => {
- return request.get('/test/testExcelExport', {
- responseType: 'blob'
- })
-}
-
-const uploadExcel = (data) => {
- return request({
- url: '/test/testExcelImport',
- method: 'post',
- data: data,
- timeout: 100000
- })
-}
-
const uploadExcelStock = (data) => {
return request({
url: '/excel/uploadStocks',
@@ -150,9 +135,16 @@ const downloadLocationsExcel = (params) => {
})
}
+const queryUploadRecord = (data) => {
+ return request({
+ url: '/excel/queryUploadRecord',
+ method: 'post',
+ data: data,
+ timeout: 100000
+ })
+}
+
export {
- downloadExcel,
- uploadExcel,
uploadExcelStock,
uploadExcelGoods,
uploadExcelDbs,
@@ -165,5 +157,6 @@ export {
downloadOutRecordExcel,
downloadInventoryRecordExcel,
downloadLocationsExcel,
- uploadStationConfig
+ uploadStationConfig,
+ queryUploadRecord
}
\ No newline at end of file
diff --git a/src/api/kateWork.js b/src/api/kateWork.js
new file mode 100644
index 0000000..e875a07
--- /dev/null
+++ b/src/api/kateWork.js
@@ -0,0 +1,58 @@
+import request from "@/http/request";
+
+const getDbs = (params) => {
+ return request({
+ url: '/kateWork/getDbs',
+ method: 'post',
+ data: params
+ })
+}
+
+const deleteDbs = (params) => {
+ return request({
+ url: '/kateWork/deleteDbs',
+ method: 'post',
+ data: params
+ })
+}
+
+const updateDbs = (params) => {
+ return request({
+ url: '/kateWork/updateDbs',
+ method: 'post',
+ data: params
+ })
+}
+
+const getOrders = (params) => {
+ return request({
+ url: '/kateWork/getOrders',
+ method: 'post',
+ data: params
+ })
+}
+
+const deleteOrders = (params) => {
+ return request({
+ url: '/kateWork/deleteOrders',
+ method: 'post',
+ data: params
+ })
+}
+
+const updateOrders = (params) => {
+ return request({
+ url: '/kateWork/updateOrders',
+ method: 'post',
+ data: params
+ })
+}
+
+export {
+ getDbs,
+ deleteDbs,
+ updateDbs,
+ getOrders,
+ deleteOrders,
+ updateOrders
+}
\ No newline at end of file
diff --git a/src/layout/dbsTable.vue b/src/layout/dbsTable.vue
new file mode 100644
index 0000000..2ed1d47
--- /dev/null
+++ b/src/layout/dbsTable.vue
@@ -0,0 +1,359 @@
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+ 导入
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/doKitting.vue b/src/layout/doKitting.vue
index fff6861..03b218a 100644
--- a/src/layout/doKitting.vue
+++ b/src/layout/doKitting.vue
@@ -227,20 +227,21 @@ export default {
queryFinishByStandAndGoods(request).then(res => {
const response = res.data
if (response.code == 0) {
- if (response.returnData != null) {
+ if (response.returnData != null && response.returnData.tip != '') {
this.workFormEntity.tip = response.returnData.tip
ElMessage({
message: response.returnData.tip,
type: 'warning',
showClose: true
})
+ } else {
+ ElMessage({
+ message: response.message,
+ type: 'success',
+ showClose: true
+ })
}
this.resetForms()
- ElMessage({
- message: response.returnData.tip,
- type: 'success',
- showClose: true
- })
}
}).catch(err => {
console.log(err)
diff --git a/src/layout/eLocationTable.vue b/src/layout/eLocationTable.vue
new file mode 100644
index 0000000..0317c1e
--- /dev/null
+++ b/src/layout/eLocationTable.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 导出信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/finishKitting.vue b/src/layout/finishKitting.vue
index 09539a3..e2cca13 100644
--- a/src/layout/finishKitting.vue
+++ b/src/layout/finishKitting.vue
@@ -95,7 +95,7 @@
-
+
打印标签
@@ -112,11 +112,11 @@
-
+
- 序号:{{ item.sequenceNo }}
+ 小盒子号:{{ item.sequenceNo }}
小工位:{{ item.smallWorkCenter }}
料号数量:{{ item.goodsCount }}
配料人员:{{ item.opUser }}
@@ -128,7 +128,7 @@
配料日期:{{ item.opTime }}
-
+
@@ -166,18 +166,7 @@ export default {
{ required: true, message: '请输入料号' }
]
}),
- printTabs: [
- // {
- // sequenceNo: 1,
- // machineNo: 'WF800471',
- // smallWorkCenter: 'abd1111',
- // workOrder: '115000262768',
- // goodsCount: 30,
- // goodsNumCount: 132,
- // opUser: 'test',
- // opTime: '2024/8/11'
- // }
- ]
+ printTabs: []
}
},
mounted() {
@@ -252,7 +241,7 @@ export default {
ElMessage.error('确认时发生异常')
})
},
- printTabs() {
+ requestPrint() {
// 获取打印标签的数据
const printParams = {
standId: this.standId,
@@ -436,41 +425,45 @@ export default {
body,
html {
- height: auto !important;
+ width: 90mm !important;
+ height: 25mm !important;
}
} */
+
+.objectDialogFlowPrint {
+ width: 100% !important;
+ height: 100% !important;
+}
+
.objectDialogFlowPrint .pageWarp {
/*这句话很重要,控制时候强制分页 https://www.w3school.com.cn/cssref/pr_page-break-after.asp*/
page-break-after: always;
- height: 100%;
width: 98%;
+ height: 98%;
+ /* margin: 5px; */
text-align: center;
- margin: 5px auto;
- padding: auto;
- border: #000 solid 1px;
+ padding: 0;
+ /* border: #000 solid 1px; */
display: flex;
-}
-
-.objectDialogFlowPrint .myPrint {
- /* 打印的时候是否显示底色 */
print-color-adjust: exact;
}
.print-tab-left {
margin: 5px;
- width: 45%;
+ width: 50%;
border-right: #156082 dashed 1px;
}
.print-tab-right {
margin: 5px;
- width: 55%;
+ width: 50%;
}
.print-disp {
- margin: 5px;
- padding-left: 20px;
- font-size: 25px;
+ margin: 2px;
+ padding-left: 5px;
+ font-size: 12px;
+ font-weight: bold;
text-align: left;
}
\ No newline at end of file
diff --git a/src/layout/goods.vue b/src/layout/goods.vue
index 32bcb68..d0e2440 100644
--- a/src/layout/goods.vue
+++ b/src/layout/goods.vue
@@ -1,45 +1,45 @@
-
+
-
-
-
-
-
-
-
-
- 搜索
- 重置
- 导出信息
-
+
+
+
+ 搜索
+ 重置
+
+
+ 导入
+ 导出
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
编辑
@@ -53,118 +53,106 @@
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="search"
@current-change="search" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -182,12 +180,13 @@
import store from '@/store'
import { getGoodsInfoByPage } from '@/api/goods.js'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
-import { ElMessage } from 'element-plus'
+import { ElMessage, ElMessageBox } from 'element-plus'
import { ref, reactive } from 'vue'
-import { dateFormatter } from '@/utils/formatter.js'
+import { dateFormatter, timeFormatter } from '@/utils/formatter.js'
import UploadExcelGoods from '@/excel/UploadExcelGoods.vue'
import UploadExcelStationConfig from '@/excel/UploadExcelStationConfig.vue'
import { downloadMaterialExcel } from '@/api/excel.js'
+import { Search } from '@element-plus/icons-vue'
+
+
+
\ No newline at end of file
diff --git a/src/layout/pickTaskMonitor.vue b/src/layout/pickTaskMonitor.vue
new file mode 100644
index 0000000..93e115a
--- /dev/null
+++ b/src/layout/pickTaskMonitor.vue
@@ -0,0 +1,315 @@
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/standSettings.vue b/src/layout/standSettings.vue
index 92c46b7..8b613db 100644
--- a/src/layout/standSettings.vue
+++ b/src/layout/standSettings.vue
@@ -1,28 +1,49 @@
-
+
-
-
- 搜索
- 重置
-
-
+
+
+
+ 搜索
+ 重置
+
+
+ 导入
+ 导出
+
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 编辑
- 删除
+ 编辑
+ 删除
@@ -31,107 +52,161 @@
:small="false" :disabled="false" :background="false" :default-page-size="10"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="search"
@current-change="search" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -239,7 +378,6 @@ export default {
.table-class {
width: 100%;
- /* font-size: 5px; */
}
.el-row .el-form-item {
@@ -258,4 +396,18 @@ export default {
.el-row .el-form-item .el-button {
margin: auto;
}
+
+.title-area {
+ display: flex;
+ min-height: 10%;
+ max-height: max-content;
+ margin-bottom: 10px;
+ min-width: inherit;
+ border: solid 1px;
+ border-radius: 10px;
+ box-shadow: 0px 15px 10px -15px #000;
+ overflow: auto;
+ flex-direction: column;
+ padding: 10px;
+}
\ No newline at end of file
diff --git a/src/layout/stationConfig.vue b/src/layout/stationConfig.vue
new file mode 100644
index 0000000..8b613db
--- /dev/null
+++ b/src/layout/stationConfig.vue
@@ -0,0 +1,413 @@
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+ 导入
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/workFlow.vue b/src/layout/workFlow.vue
new file mode 100644
index 0000000..0317c1e
--- /dev/null
+++ b/src/layout/workFlow.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 导出信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/workSummary.vue b/src/layout/workSummary.vue
new file mode 100644
index 0000000..0317c1e
--- /dev/null
+++ b/src/layout/workSummary.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 导出信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index 6dba0b4..ce9a9bf 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -29,8 +29,8 @@ const routes = [
{ path: '/testFinishKitting', component: () => import('@/layout/finishKitting.vue') },// 备料完成
{ path: '/testCallEmptyVehicle', component: () => import('@/layout/callEmptyVehicle.vue') },// 呼叫空箱
{ path: '/testSortBoxs', component: () => import('@/layout/sortBoxs.vue') },// 整理盒子
- { path: '/uploadDbs', component: () => import('@/layout/uploadDbs.vue') },// 上传DBS
- { path: '/uploadOrders', component: () => import('@/layout/uploadOrders.vue') },// 上传工单
+ { path: '/uploadDbs', component: () => import('@/layout/dbsTable.vue') },// 上传DBS
+ { path: '/uploadOrders', component: () => import('@/layout/kateOrdersTable.vue') },// 上传工单
]
},
{
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index e719634..ee35f7f 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -77,10 +77,18 @@ export default {
},
methods: {
handleCommand: (command) => {
- const param = store.getters.getUser
+ const param = {
+ roleId: store.getters.getUser.roleId,
+ userName: store.getters.getUser.userName
+ }
if (command == 1) {
restartSystem(param).then(res => {
- if (res.data.code != 0) {
+ if (res.data.code == 0) {
+ ElMessage({
+ message: '重启系统成功',
+ type: 'success',
+ })
+ } else {
ElMessage.error(res.data.message)
}
}).catch(err => {