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