|
@@ -299,6 +299,9 @@ const INTERFACE_EXPORT_BASE = (() => {
|
|
|
if (!child.ID) {
|
|
if (!child.ID) {
|
|
|
child.ID = uuid.v1();
|
|
child.ID = uuid.v1();
|
|
|
}
|
|
}
|
|
|
|
|
+ if (child.quantity) {
|
|
|
|
|
+ child.quantityEXP = child.quantity;
|
|
|
|
|
+ }
|
|
|
child.ParentID = parentID;
|
|
child.ParentID = parentID;
|
|
|
child.type = parentID === -1 ? BillType.DXFY : BillType.BILL;
|
|
child.type = parentID === -1 ? BillType.DXFY : BillType.BILL;
|
|
|
child.NextSiblingID = -1;
|
|
child.NextSiblingID = -1;
|