update to last store
This commit is contained in:
parent
45afdec610
commit
f943c9dc5d
@ -1125,7 +1125,7 @@
|
||||
const formData = {
|
||||
|
||||
...(this.selectedAction === 'user' ? {
|
||||
lastStore: null,
|
||||
lastStore: this.currentUser.store,
|
||||
lastUser: this.currentUser.id,
|
||||
toOther: 'On Delivery',
|
||||
SendDate: this.assigndate,
|
||||
@ -1147,7 +1147,7 @@
|
||||
|
||||
...(this.selectedAction === 'store' ? {
|
||||
lastStore: this.currentUser.store,
|
||||
lastUser: null,
|
||||
lastUser: this.currentUser.id,
|
||||
toOther: 'On Delivery',
|
||||
SendDate: this.assigndate,
|
||||
toStore: this.selectedStore,
|
||||
@ -1248,12 +1248,12 @@
|
||||
receiveToStation = this.thisItem.toStation;
|
||||
}
|
||||
else if (this.thisItem.toStore) {
|
||||
receiveToUser = null;
|
||||
receiveToUser = this.currentUser.id;
|
||||
receiveToStore = this.currentUser.store;
|
||||
}
|
||||
else if (this.thisItem.toUser) {
|
||||
receiveToUser = this.currentUser.id;
|
||||
receiveToStore = null;
|
||||
receiveToStore = this.currentUser.store;
|
||||
}
|
||||
|
||||
const formData = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user