仓库bug修改

ywj_dev
郑明梁 2 years ago
parent 000244f28f
commit 98461686c0

@ -110,10 +110,7 @@ export default {
invCode: this.inputQuery.code, invCode: this.inputQuery.code,
selectActions: [], selectActions: [],
}; };
var a=JSON.parse(sessionStorage.getItem('direction')) postRequesty.selectActions =JSON.parse(sessionStorage.getItem('value'));
if(a!="left"){
postRequesty.selectActions =JSON.parse(sessionStorage.getItem('userObj'));
}
updateInvRelBusType(postRequesty).then((res) => { updateInvRelBusType(postRequesty).then((res) => {
if (res.code == 20000) { if (res.code == 20000) {
this.closeDialog(); this.closeDialog();
@ -129,8 +126,10 @@ export default {
transferChange(value, direction, keyArr) { transferChange(value, direction, keyArr) {
sessionStorage.setItem('userObj', JSON.stringify(keyArr)) sessionStorage.setItem('userObj', JSON.stringify(keyArr))
sessionStorage.setItem('direction', JSON.stringify(direction)) sessionStorage.setItem('direction', JSON.stringify(direction))
sessionStorage.setItem('value', JSON.stringify(value))
console.log(value); console.log(value);
console.log(direction); console.log(direction);
console.log(keyArr); console.log(keyArr);

Loading…
Cancel
Save