退料增加unitId及工程id
This commit is contained in:
parent
655d562096
commit
d20808da3f
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue