fix:物料选择查询条件添加mtaskx
This commit is contained in:
parent
ce3e4becc6
commit
1b297de7bb
|
@ -464,7 +464,7 @@ export default {
|
|||
//获取车间物料
|
||||
getMaterial() {
|
||||
let that = this;
|
||||
that.$API.wpm.wmaterial.list.req({mgroupx: that.mgroup,material: that.material_in,page: 0,}).then((res) => {
|
||||
that.$API.wpm.wmaterial.list.req({mtaskx:that.mtask,mgroupx: that.mgroup,material: that.material_in,page: 0,}).then((res) => {
|
||||
that.materialOptions = res;
|
||||
});
|
||||
},
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
placeholder="关联任务"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
@change="getMaterial"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
|
@ -29,7 +30,6 @@
|
|||
:label="item.number"
|
||||
:value="item.id"
|
||||
>
|
||||
<!-- <span>{{ item.material_out_name }}</span>/ -->
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -159,6 +159,7 @@ export default {
|
|||
let that = this;
|
||||
this.$API.wpm.wmaterial.list
|
||||
.req({
|
||||
mtaskx: that.form.mtask,
|
||||
mgroupx: that.mgroup,
|
||||
material: that.materialIn,
|
||||
page: 0,
|
||||
|
|
Loading…
Reference in New Issue