Commit e2f34f0f authored by 何远江's avatar 何远江

扫描规则修改

parent 82894cc9
......@@ -185,9 +185,10 @@ export default {
});
},
getPlnr(plnr) {
const isBl = plnr.startsWith('B')
let params = {
ZCODE: plnr.includes("BL") ? plnr : "",
plnr: plnr.includes("BL") ? "" : plnr,
ZCODE: isBl ? plnr : "",
plnr: !isBl ? "" : plnr,
};
this.$u.api.sapApi.sapBlpl(params, 300).then((res) => {
if (res && res.MSG[0].TYPE === "S") {
......
......@@ -268,7 +268,7 @@ export default {
});
},
getPlnr(plnr) {
const isBL = plnr.includes("BL");
const isBL = plnr.startsWith("B");
let params = {
ZCODE: isBL ? plnr : "",
plnr: isBL ? "" : plnr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment