feat:禅道267
This commit is contained in:
parent
b6ccf46cba
commit
fe464e6ba5
|
|
@ -363,6 +363,7 @@ export default {
|
|||
{ name: "交送", value: "send" },
|
||||
{ name: "接收", value: "recive" },
|
||||
{ name: "合批", value: "hepi" },
|
||||
{ name: "拆批", value: "chaipi" },
|
||||
],
|
||||
searchType: "",
|
||||
options: ["交送", "接收"],
|
||||
|
|
@ -489,23 +490,17 @@ export default {
|
|||
searchTypeQuery() {
|
||||
let that = this;
|
||||
if (that.searchType == "send") {
|
||||
if(that.mgroupName=="size"||that.mgroupName=="facade"){
|
||||
that.query.send_dept = that.deptId;
|
||||
that.query.recive_dept = "";
|
||||
}else{
|
||||
that.query.send_mgroup = that.mgroupId;
|
||||
that.query.recive_mgroup = "";
|
||||
}
|
||||
that.query.mtype =10;
|
||||
} else if (that.searchType == "recive") {
|
||||
if(that.mgroupName=="size"||that.mgroupName=="facade"){
|
||||
that.query.send_dept = "";
|
||||
that.query.recive_dept =that.deptId;
|
||||
}else{
|
||||
that.query.recive_mgroup = that.mgroupId;
|
||||
that.query.send_mgroup = "";
|
||||
}
|
||||
that.query.mtype =10;
|
||||
}else if (that.searchType == "hepi") {
|
||||
that.query.mtype =30;
|
||||
} else if (that.searchType == "chaipi") {
|
||||
that.query.mtype =20;
|
||||
} else {
|
||||
that.query.send_mgroup = "";
|
||||
that.query.recive_mgroup = "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue