仓库bug修改

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

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

Loading…
Cancel
Save