From d20808da3f03ec237eebe90e3d8dfd6824945071 Mon Sep 17 00:00:00 2001 From: syruan <15555146157@163.com> Date: Mon, 4 Aug 2025 13:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E5=A2=9E=E5=8A=A0unitId?= =?UTF-8?q?=E5=8F=8A=E5=B7=A5=E7=A8=8Bid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/back/component/home.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/material/back/component/home.vue b/src/views/material/back/component/home.vue index 6462a72b..bafebd98 100644 --- a/src/views/material/back/component/home.vue +++ b/src/views/material/back/component/home.vue @@ -323,12 +323,12 @@ export default { onDictReady(dict) { // 获取back_task_status的所有选项 const validOptions = dict.type.back_task_status || [] - + // 如果有有效选项,设置第一个为默认值 if (validOptions.length > 0) { this.queryParams.status = validOptions[0].value } - + // 执行查询 this.getList() }, @@ -457,10 +457,13 @@ export default { // }, handleSubmit(row){ + console.log(row) this.$modal.confirm('是否确认提交所选择的退料任务?') .then(() => { let param = { id:row.id, - taskId:row.taskId + taskId:row.taskId, + proId:row.proId, + unitId:row.unitId, } submitBackApply(param).then((res) => { this.getList()