From d5803487ac6287d42a42e462dbaa31e1708c2edd Mon Sep 17 00:00:00 2001 From: A0010407 Date: Fri, 2 Aug 2024 17:32:11 +0800 Subject: [PATCH 1/5] =?UTF-8?q?2024-08-02=20=E8=AE=BE=E5=A4=87=E4=B9=9D?= =?UTF-8?q?=E4=B8=AA=E9=A1=B5=E9=9D=A2=E5=8A=A0=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/deviceOrder/index.vue | 17 +++++++ src/views/device/inspectionPlan/index.vue | 2 +- src/views/device/inspectionWork/index.vue | 19 +++++++- src/views/device/maintenanceWork/index.vue | 46 ++++++++++++++----- src/views/device/spotCheckPlan/index.vue | 2 +- .../device/spotInspectionOrder/index.vue | 17 +++++++ src/views/device/spotInspectionWork/index.vue | 17 +++++++ src/views/device/upkeepOrder/index.vue | 17 +++++++ src/views/device/upkeepPlan/index.vue | 2 +- 9 files changed, 123 insertions(+), 16 deletions(-) diff --git a/src/views/device/deviceOrder/index.vue b/src/views/device/deviceOrder/index.vue index 12152de..9196b15 100644 --- a/src/views/device/deviceOrder/index.vue +++ b/src/views/device/deviceOrder/index.vue @@ -116,6 +116,20 @@ /> + + + + - + @@ -314,6 +314,20 @@ > + + + + + + + + + - - + - - + - + + + + + + + + + 搜索 重置 @@ -671,6 +685,7 @@ export default { createTime: null, updateBy: null, updateTime: null, + createTimeArray:[], loopStartArray: [], orderStartArray: [], orderEndArray: [], @@ -762,6 +777,7 @@ export default { createTime: null, updateBy: null, updateTime: null, + createTimeArray:[], loopStartArray: [], orderStartArray: [], orderEndArray: [], @@ -775,6 +791,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams.createTimeArray = []; this.queryParams.loopStartArray = []; this.queryParams.orderStartArray = []; this.queryParams.orderEndArray = []; diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue index d4eccce..02eced7 100644 --- a/src/views/device/upkeepOrder/index.vue +++ b/src/views/device/upkeepOrder/index.vue @@ -347,6 +347,20 @@ /> + + + + - + Date: Mon, 5 Aug 2024 10:34:05 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/income.js | 11 ++ src/views/mes/reportWork/index.vue | 4 +- src/views/plan/workorder/index.vue | 6 + src/views/quality/qcInventory/index.vue | 131 ++++++++++-------- src/views/quality/qcProduceAnalysis/index.vue | 2 +- src/views/quality/qcTableIncome/index.vue | 10 +- src/views/quality/qcTableProduce/index.vue | 42 ++---- src/views/quality/qcTableXJ/index.vue | 10 +- src/views/quality/qcTableXJAnalysis/index.vue | 27 ++-- src/views/quality/qcWarehousing/index.vue | 2 +- src/views/wms/product/index.vue | 11 +- 11 files changed, 147 insertions(+), 109 deletions(-) diff --git a/src/api/quality/income.js b/src/api/quality/income.js index 8a3883f..2e91c29 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -178,6 +178,17 @@ export function getWorkOrder(query) { params: query }); } + +// 查询生产过程-工单列表 +export function getPutInOrder(query) { + return request({ + url: '/quality/qcInventory/getPutInOrder', + method: 'get', + params: query + }); + } + + // 查询入库订单列表 export function getProductWorkOrder(query) { return request({ diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index 1696377..a1a9c2b 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -439,6 +439,8 @@ + + @@ -740,12 +754,16 @@ import { getProdLineList } from '@/api/plan/workorder' import moment from 'moment'; +import ItemPrintID from './printID.vue'; import { getProEquipment, getProRoutes, getProShifts,selectMaterielList} from '@/api/plan/order' import {prototype} from "clipboard"; export default { name: "Workorder", dicts: ['product_type', 'workorder_type'], + components: { + ItemPrintID + }, data() { return { // 拆分车数换算值 @@ -1967,15 +1985,16 @@ export default { }, 222); }, - // @expand-change="getOpenNextLevel" - // 点击展开节点 - //getOpenNextLevel(row, column, event) { - // alert("1755getOpenNextLevel") - // getNextLevelWorkOrderList(tree.workorderCode).then((data) => { - // return resolve(data); - // }); - //} - + /**打印标识卡弹出框**/ + printIdCard() { + this.$refs.printID.printDialogVisible = true; + this.$refs.printID.init("20021221552"); + }, + //标识卡选择确认 + printIdFunc(obj) { + this.form.userName = obj.code; + this.form.nickName = obj.name; + }, } }; diff --git a/src/views/plan/workorder/printID.vue b/src/views/plan/workorder/printID.vue new file mode 100644 index 0000000..1832859 --- /dev/null +++ b/src/views/plan/workorder/printID.vue @@ -0,0 +1,181 @@ + + + + From 178befbc644f1dd3f9c9a9eff8a5f41092fb76f2 Mon Sep 17 00:00:00 2001 From: guoshuang Date: Tue, 6 Aug 2024 14:33:02 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E6=A0=87=E8=AF=86=E5=8D=A1=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/workorder/index.vue | 4 +- src/views/plan/workorder/printID.vue | 135 +++++++++++++++------------ 2 files changed, 77 insertions(+), 62 deletions(-) diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 4d4defe..7b140cb 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -1987,8 +1987,10 @@ export default { /**打印标识卡弹出框**/ printIdCard() { - this.$refs.printID.printDialogVisible = true; this.$refs.printID.init("20021221552"); + this.$refs.printID.showPrint(); + this.$refs.printID.printDialogVisible = true; + }, //标识卡选择确认 printIdFunc(obj) { diff --git a/src/views/plan/workorder/printID.vue b/src/views/plan/workorder/printID.vue index 1832859..3abe6e6 100644 --- a/src/views/plan/workorder/printID.vue +++ b/src/views/plan/workorder/printID.vue @@ -1,15 +1,9 @@ +