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