fix:玻纤车间物料物料获取时,传参mgroupx代替mgroup
This commit is contained in:
parent
780caff788
commit
5ef8274eaf
|
@ -433,7 +433,7 @@ export default {
|
|||
var req = {
|
||||
page: 0,
|
||||
tag:'done',
|
||||
mgroup:that.mgroupId
|
||||
mgroupx:that.mgroupId
|
||||
};
|
||||
if(that.type!==50){
|
||||
req.state = 10;
|
||||
|
@ -450,7 +450,7 @@ export default {
|
|||
let that = this;
|
||||
that.materialOptions = [];
|
||||
var req = {
|
||||
mgroup: that.mgroupId,
|
||||
mgroupx: that.mgroupId,
|
||||
page: 0,
|
||||
state:20
|
||||
};
|
||||
|
@ -483,7 +483,7 @@ export default {
|
|||
page: 0,
|
||||
tag:'done',
|
||||
state__in:'20,34',
|
||||
mgroup: that.mgroupId,
|
||||
mgroupx: that.mgroupId,
|
||||
};
|
||||
that.$API.wpm.wmaterial.list.req(obj).then((res) => {
|
||||
that.materialOptions = res.filter(item=>{
|
||||
|
|
|
@ -319,7 +319,7 @@ export default {
|
|||
apiObj: null,
|
||||
params: {
|
||||
tag : 'todo',
|
||||
mgroup: "",
|
||||
mgroupx: "",
|
||||
belong_dept:''
|
||||
},
|
||||
wmtype:0,
|
||||
|
@ -379,7 +379,7 @@ export default {
|
|||
let paths = that.$route.path;
|
||||
let arr = paths.split("/");
|
||||
that.route_code = arr[2];
|
||||
that.params.mgroup = that.mgroupId;
|
||||
that.params.mgroupx = that.mgroupId;
|
||||
that.$TOOL.data.set('bx_deptID',that.deptId);
|
||||
that.apiObj = that.$API.wpm.wmaterial.list;
|
||||
},
|
||||
|
|
|
@ -339,7 +339,7 @@ export default {
|
|||
apiObj: null,
|
||||
params: {
|
||||
tag : 'done',
|
||||
mgroup: "",
|
||||
mgroupx: "",
|
||||
belong_dept:''
|
||||
},
|
||||
wmtype:0,
|
||||
|
@ -401,7 +401,7 @@ export default {
|
|||
let paths = that.$route.path;
|
||||
let arr = paths.split("/");
|
||||
that.route_code = arr[2];
|
||||
that.params.mgroup = that.mgroupId;
|
||||
that.params.mgroupx = that.mgroupId;
|
||||
that.$TOOL.data.set('bx_deptID',that.deptId);
|
||||
that.apiObj = that.$API.wpm.wmaterial.list;
|
||||
that.getDefectOptions();
|
||||
|
|
|
@ -302,7 +302,7 @@ export default {
|
|||
let obj = {};
|
||||
console.log('that.mgroup',that.mgroup);
|
||||
obj.mtaskx =that.form.mtask;
|
||||
obj.mgroup =that.mgroup;
|
||||
obj.mgroupx =that.mgroup;
|
||||
if(that.routeId!==null&&that.routeId!==''){
|
||||
obj.route =that.routeId;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue