ti2-tourplan 1.0.78 → 1.0.79
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/index.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -995,6 +995,14 @@ class BuyerPlugin {
|
|
|
995
995
|
...(puRemark ? { puRemark } : {}),
|
|
996
996
|
...(doTime ? { doTime } : {}),
|
|
997
997
|
...(doRemark ? { doRemark } : {}),
|
|
998
|
+
...(extras && extras.filter(e => e.selectedExtra && e.selectedExtra.id).length ? {
|
|
999
|
+
ExtraQuantities: {
|
|
1000
|
+
ExtraQuantityItem: extras.filter(e => e.selectedExtra && e.selectedExtra.id).map(e => ({
|
|
1001
|
+
SequenceNumber: e.selectedExtra.id,
|
|
1002
|
+
ExtraQuantity: e.quantity,
|
|
1003
|
+
})),
|
|
1004
|
+
},
|
|
1005
|
+
} : {}),
|
|
998
1006
|
Remarks: this.escapeInvalidXmlChars(notes).slice(0, 220),
|
|
999
1007
|
Opt: optionId,
|
|
1000
1008
|
DateFrom: startDate,
|