From 8dd9cd22cb4b80ca496e0244f51270a5ff0a9f14 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Fri, 8 Nov 2024 09:15:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E6=8E=A7=E5=88=B6=E5=8F=B0warning=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/log/abnormalLog/index.vue | 251 +++++++---- src/views/system/log/businessLog/index.vue | 495 ++++++++++++--------- src/views/system/log/systemLog/index.vue | 248 +++++++---- vue.config.js | 157 ++++--- 4 files changed, 678 insertions(+), 473 deletions(-) diff --git a/src/views/system/log/abnormalLog/index.vue b/src/views/system/log/abnormalLog/index.vue index 0756171e..801ac495 100644 --- a/src/views/system/log/abnormalLog/index.vue +++ b/src/views/system/log/abnormalLog/index.vue @@ -1,42 +1,98 @@ - - - - + + - - + + - - + + - - + + - + 查询 - + 重置 + + + - - - - - - + + + + + + - - - - - - - - 查询 - - - 重置 - - - - - - - - {{ (listQuery.pageNum - 1) * listQuery.pageSize + scope.$index + 1 }} - - - - - - - - - - - {{ row.result}} - - - - - - - - - - - + let day = now.getDate(); + if (day < 10) { + day = "0" + day; + } + return year + "-" + month + "-" + day; + }, + }, +}; + diff --git a/src/views/system/log/systemLog/index.vue b/src/views/system/log/systemLog/index.vue index 1759d266..aebcd6ae 100644 --- a/src/views/system/log/systemLog/index.vue +++ b/src/views/system/log/systemLog/index.vue @@ -1,45 +1,96 @@ - - - - - + + - - + + - - + + - + 查询 - + 重置 - - - - - + + + + + + - - - - - - - - - - 查询 - 重置 - - - - - 驳回 - - + + + + + + + + + + + 查询 + + + 重置 + + + + + + + 驳回 + + + - - - - - - - - - + + + + + + + + + - - - + - + + + + + - - - 查看 - 绑定 - 驳回 - - - + + + + 查看 + + + + 绑定 + + + 驳回 + + + + + 下载 + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - 填充 - 绑定 - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - 移除 - - - - - - + + + + + + + + + + + + 填充 + 绑定 + + + + 当前待绑定数量: + + {{ waitBindNum }} + + + + + + + + + + + + + + + + + + + + + + + + + + + 移除 + + + + + + - + diff --git a/src/views/material/purchase/goodsBind/component/home.vue b/src/views/material/purchase/goodsBind/component/home.vue index ff3b6c96..21a393ef 100644 --- a/src/views/material/purchase/goodsBind/component/home.vue +++ b/src/views/material/purchase/goodsBind/component/home.vue @@ -1,4 +1,5 @@ + - + - + - + - + - + + + + - + - + 查看 编码绑定 - + + 编码绑定 + 驳回 + > 二维码绑定 + + 下载 + - - - - - - - - - - {{ (queryBind.pageNum - 1) * queryBind.pageSize + scope.$index + 1 }} - - - - - - - - - - - - - - - - diff --git a/src/views/material/purchase/goodsBind/index.vue b/src/views/material/purchase/goodsBind/index.vue index 164d83e9..eaf83e52 100644 --- a/src/views/material/purchase/goodsBind/index.vue +++ b/src/views/material/purchase/goodsBind/index.vue @@ -1,79 +1,65 @@ - - - - - + + + + + + + - + \ No newline at end of file + data() { + return { + queryType: '', // 二级页面类型 + pageContent: '', // 二级页面标题 + queryTaskId: '', // 二级页面查询 taskId + queryId: '', // 二级页面查询 id + isShowComponent: 'Home', + } + }, + + methods: { + // 打开二级页面 + openBindTools(taskId, id, type) { + this.queryId = id + this.queryType = type + this.queryTaskId = taskId + if (type === 1) { + // 查看逻辑 + this.pageContent = '查看' + this.isShowComponent = 'BindTools' + } + if (type === 2) { + // 编码逻辑 + this.pageContent = '编码绑定' + this.isShowComponent = 'BindTools' + } + }, + + // 返回按钮 + goBack() { + this.isShowComponent = 'Home' + }, + }, +} + diff --git a/src/views/material/purchase/goodsEntry/index.vue b/src/views/material/purchase/goodsEntry/index.vue index 629a6aeb..3d23bf60 100644 --- a/src/views/material/purchase/goodsEntry/index.vue +++ b/src/views/material/purchase/goodsEntry/index.vue @@ -1,454 +1,562 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - 查询 - 重置 - - - - - - 入库 - - + + 查询 + 重置 + + + + + + 入库 + + - - 导出 - - + + 导出 + + + + + + + {{ + (queryParams.pageNum - 1) * queryParams.pageSize + + scope.$index + + 1 + }} + + + + + + + + + + + + + + + 待提交 + 待通知 + 待验收 + 待绑定 + 待入库 + 已完成 + 驳回待验收 + 驳回待绑定 + 驳回待入库 + 入库进行中 + 未完成 + + + + + + + + 查看 + + + 入库 + + + 入库单 + + + + - - - - - {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} - - - - - - - - - - - - - - - 待提交 - 待通知 - 待验收 - 待绑定 - 待入库 - 已完成 - 驳回待验收 - 驳回待绑定 - 驳回待入库 - 入库进行中 - 未完成 - + + + + + + + 机具设备到货验收单 + + + + 单据编号:{{ printData.code }} + + + 生产厂家(供应商):{{ + printData.supplierName + }} + - - - - - - - - - 查看 - - - 入库 - - - 入库单 - - - - - - - - - - - - - - 机具设备到货验收单 - - - - 单据编号:{{printData.code}} - - - 生产厂家(供应商):{{printData.supplierName}} - - - - 到货日期:{{printData.arrivalDate}} - - - - - - - - - + + 到货日期:{{ printData.arrivalDate }} + + + + - - - - - - - + label="序号" + align="center" + type="index" + row="2" + /> + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - 供应科:{{printData.supplyDept}} - - + + + + 供应科:{{ printData.supplyDept }} + + - - - 生产技术科:{{printData.productionTechDept}} - - + + + 生产技术科:{{ + printData.productionTechDept + }} + + - - - 库管班:{{printData.warehouseTeam}} - - - - - + + + 库管班:{{ printData.warehouseTeam }} + + + + + - - + + + + - - - - - - - \ No newline at end of file +