From 2fbce7d8c0b7e5b055bb7ab77e58b1ec9ce61885 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期一, 24 六月 2024 19:00:22 +0800 Subject: [PATCH] 1,优化人工工位参数采集temp表删除方法 pushGeelycvMesFeedback 2,优化人工工位更新过站记录方法 workpieceRelease 3,优化未绑定小车码弹框提示 4,优化人工工位扫码重复会添加参数采集记录的问题及拧紧数据会添加上物料采集上的问题 --- jcdm-ui/src/views/main/em/inspectionPlan/machinery.vue | 28 +++++++++------------------- 1 files changed, 9 insertions(+), 19 deletions(-) diff --git a/jcdm-ui/src/views/main/em/inspectionPlan/machinery.vue b/jcdm-ui/src/views/main/em/inspectionPlan/machinery.vue index ca066eb..9a006b4 100644 --- a/jcdm-ui/src/views/main/em/inspectionPlan/machinery.vue +++ b/jcdm-ui/src/views/main/em/inspectionPlan/machinery.vue @@ -47,10 +47,10 @@ export default { name: "Checkmachinery", components:{MachinerySelect}, - props:{ - planId: null, - optType: null - }, + props:{ id: null, + optType: null, + planCode: null, + }, data() { return { // 閬僵灞� @@ -91,7 +91,9 @@ this.getList(); }, methods: { - + clearCheckmachineryList() { + this.checkmachineryList = []; + }, deleteSelectedColumns(row) { const index = this.checkmachineryList.findIndex(item => item.id === row.id); if (index !== -1) { @@ -108,29 +110,17 @@ /** 鏌ヨ鐐规璁惧鍒楄〃 */ getList() { this.loading = true; + this.checkmachineryList =this.machineryList; listInspectionPlanArchives(this.queryParams).then(response => { // this.checkmachineryList = response.rows; this.total = response.total; this.loading = false; }); }, - - /** 鏂板鎸夐挳鎿嶄綔 */ - handleAdd() { + handleAdd(){ this.$refs.machinerySelect.showFlag = true; }, - //璁惧璧勬簮閫夋嫨鍥炶皟 - // onMachineryAdd(rows){ - // if(rows !=null && rows.length >0){ - // rows.forEach(row => { - // row.planId = this.planId; - // addInspectionPlanArchives(row).then(response =>{ - // this.getList(); - // }); - // }); - // } - // }, onMachineryAdd(selectedRows){ if(selectedRows !=null && selectedRows.length >0){ this.checkmachineryList = selectedRows -- Gitblit v1.9.3