update to last store

This commit is contained in:
Naz 2026-03-12 16:06:15 +08:00
parent 45afdec610
commit f943c9dc5d

View File

@ -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 = {