|
@ -284,6 +284,11 @@ |
|
|
action: "==", |
|
|
action: "==", |
|
|
value: code |
|
|
value: code |
|
|
}) |
|
|
}) |
|
|
|
|
|
filters.push({ |
|
|
|
|
|
column: "accept_user_id", |
|
|
|
|
|
action: "==", |
|
|
|
|
|
value: this.$store.state.user.id |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
var params = { |
|
|
var params = { |
|
|
filters: filters, |
|
|
filters: filters, |
|
@ -296,7 +301,7 @@ |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|
if (res.data.list.length == 0) { |
|
|
if (res.data.list.length == 0) { |
|
|
that.showMessage('未查找到' + '【' + code + '】的补料任务'); |
|
|
that.showMessage('未查找到' + '【' + code + '】的补料任务'); |
|
|
} else if (res.data.list.length == 1) { |
|
|
} else { |
|
|
that.openJobDetail(res.data.list[0]); |
|
|
that.openJobDetail(res.data.list[0]); |
|
|
} |
|
|
} |
|
|
}).catch(error => { |
|
|
}).catch(error => { |
|
@ -345,6 +350,11 @@ |
|
|
column: "itemCode", |
|
|
column: "itemCode", |
|
|
action: "==", |
|
|
action: "==", |
|
|
value: result.label.itemCode |
|
|
value: result.label.itemCode |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
column: "accept_user_id", |
|
|
|
|
|
action: "==", |
|
|
|
|
|
value: this.$store.state.user.id |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
getRepleinshJobList({ |
|
|
getRepleinshJobList({ |
|
|