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()