@os1-platform/dispatch-mobile 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +3 -1
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +3 -1
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/commonjs/locale/Str.js +2 -1
- package/lib/commonjs/locale/Str.js.map +1 -1
- package/lib/commonjs/locale/i18n.js +4 -0
- package/lib/commonjs/locale/i18n.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/DBConfig.js +1 -0
- package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +11 -1
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/commonjs/ui/screens/DeliverScreen.js +3 -0
- package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PickupScreen.js +3 -0
- package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/DeliverETInput.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js +3 -1
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/PickpSchema.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +3 -1
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/module/locale/Str.js +2 -1
- package/lib/module/locale/Str.js.map +1 -1
- package/lib/module/locale/i18n.js +4 -0
- package/lib/module/locale/i18n.js.map +1 -1
- package/lib/module/manager/syncmanager/DBConfig.js +1 -0
- package/lib/module/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/module/manager/syncmanager/events/ETEventsManager.js +11 -1
- package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/module/ui/screens/DeliverScreen.js +3 -0
- package/lib/module/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/module/ui/screens/PickupScreen.js +3 -0
- package/lib/module/ui/screens/PickupScreen.js.map +1 -1
- package/lib/typescript/components/executiontasks/deliver/DeliverETInput.d.ts +1 -0
- package/lib/typescript/components/executiontasks/pickup/PickpSchema.d.ts +1 -0
- package/lib/typescript/locale/Str.d.ts +1 -0
- package/lib/typescript/manager/syncmanager/DBConfig.d.ts +2 -1
- package/package.json +5 -6
- package/src/components/executiontasks/deliver/DeliverETInput.ts +1 -0
- package/src/components/executiontasks/deliver/SLDeliverET.tsx +93 -90
- package/src/components/executiontasks/pickup/PickpSchema.ts +1 -0
- package/src/components/executiontasks/pickup/SLPickupET.tsx +82 -79
- package/src/locale/Str.ts +2 -1
- package/src/locale/i18n.ts +8 -3
- package/src/manager/syncmanager/DBConfig.ts +1 -0
- package/src/manager/syncmanager/events/ETEventsManager.ts +15 -1
- package/src/ui/screens/DeliverScreen.tsx +7 -4
- package/src/ui/screens/PickupScreen.tsx +3 -0
|
@@ -24,6 +24,7 @@ const PickupScreen = ({
|
|
|
24
24
|
getDataFromNextState(nextState);
|
|
25
25
|
|
|
26
26
|
const [pickupCount, setPickupCount] = useState(0);
|
|
27
|
+
const [shipCount, setShipCount] = useState(0);
|
|
27
28
|
const [items, setItems] = useState([]);
|
|
28
29
|
|
|
29
30
|
const getMergedPickCount = async () => {
|
|
@@ -31,6 +32,7 @@ const PickupScreen = ({
|
|
|
31
32
|
mergedObjectiveId
|
|
32
33
|
);
|
|
33
34
|
setPickupCount(count.totalCount);
|
|
35
|
+
setShipCount(count.shipCount);
|
|
34
36
|
};
|
|
35
37
|
useEffect(() => {
|
|
36
38
|
onTaskStart(
|
|
@@ -62,6 +64,7 @@ const PickupScreen = ({
|
|
|
62
64
|
message={message}
|
|
63
65
|
items={items}
|
|
64
66
|
pickupCount={pickupCount}
|
|
67
|
+
shipCount={shipCount}
|
|
65
68
|
navigation={navigation}
|
|
66
69
|
taskMeta={taskMeta}
|
|
67
70
|
onSubmitET={async (pickupOutput) => {
|