From 5d53e1dafc3f13fefc96fe0552f437838b824146 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 20 May 2026 16:11:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:wpr=E5=96=B7=E7=A0=81=E6=9D=BF=E6=AE=B5?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=B7=A5=E8=A3=85=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/wprList.vue | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/views/wpm_bx/wprList.vue b/src/views/wpm_bx/wprList.vue index 00596fc8..42663614 100644 --- a/src/views/wpm_bx/wprList.vue +++ b/src/views/wpm_bx/wprList.vue @@ -62,6 +62,25 @@ + + + { let heights = document.getElementsByClassName("el-drawer__body")[0].clientHeight; that.wprTableHeight = heights-20; @@ -183,6 +204,18 @@ export default { that.wprList = res; }) }, + getToolingOptions(){ + let that = this; + that.$API.mtm.material.list.req({type: 60, page: 0}).then((res) => { + that.toolingOptions = Array.isArray(res) ? res : (res.results || []); + }); + }, + handleToolingChange(row, toolingId){ + let that = this; + that.$API.wpm.wpr.patch.req(row.id, { tooling: toolingId || null }).then(() => { + that.$message.success("工装更新成功"); + }); + }, QRCode(row){ this.showQrCode = true; this.$nextTick(() => {