feat:禅道267

This commit is contained in:
shijing 2025-12-29 16:32:51 +08:00
parent b6ccf46cba
commit fe464e6ba5
1 changed files with 9 additions and 14 deletions

View File

@ -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 = "";