|
|
|
@ -58,7 +58,7 @@ export default {
|
|
|
|
|
limit: 10,
|
|
|
|
|
ids: ""
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
keyArr:[],
|
|
|
|
|
busQuery: {
|
|
|
|
|
code: null,
|
|
|
|
|
page: 1,
|
|
|
|
@ -108,12 +108,8 @@ export default {
|
|
|
|
|
onAddSubmit() {
|
|
|
|
|
var postRequesty = {
|
|
|
|
|
invCode: this.inputQuery.code,
|
|
|
|
|
selectActions: [],
|
|
|
|
|
selectActions: this.keyArr,
|
|
|
|
|
};
|
|
|
|
|
var a=JSON.parse(sessionStorage.getItem('direction'))
|
|
|
|
|
if(a!="left"){
|
|
|
|
|
postRequesty.selectActions =JSON.parse(sessionStorage.getItem('userObj'));
|
|
|
|
|
}
|
|
|
|
|
updateInvRelBusType(postRequesty).then((res) => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
this.closeDialog();
|
|
|
|
@ -129,11 +125,10 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transferChange(value, direction, keyArr) {
|
|
|
|
|
sessionStorage.setItem('userObj', JSON.stringify(keyArr))
|
|
|
|
|
sessionStorage.setItem('direction', JSON.stringify(direction))
|
|
|
|
|
console.log(value);
|
|
|
|
|
console.log(direction);
|
|
|
|
|
console.log(keyArr);
|
|
|
|
|
this.keyArr=value;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
cancelDialog() {
|
|
|
|
|