@things-factory/sales-base 6.2.131 → 6.2.133
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/dist-server/service/order-inventory/order-inventory-types.js +1 -1
- package/dist-server/service/order-inventory/order-inventory-types.js.map +1 -1
- package/dist-server/service/order-inventory/order-inventory.js +1 -1
- package/dist-server/service/order-inventory/order-inventory.js.map +1 -1
- package/dist-server/service/order-product/order-product-types.js +3 -3
- package/dist-server/service/order-product/order-product-types.js.map +1 -1
- package/dist-server/service/order-product/order-product.js +5 -5
- package/dist-server/service/order-product/order-product.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/server/service/order-inventory/order-inventory-types.ts +1 -1
- package/server/service/order-inventory/order-inventory.ts +4 -22
- package/server/service/order-product/order-product-types.ts +3 -3
- package/server/service/order-product/order-product.ts +8 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/sales-base",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.133",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/attachment-base": "^6.2.
|
|
28
|
-
"@things-factory/auth-base": "^6.2.
|
|
29
|
-
"@things-factory/biz-base": "^6.2.
|
|
30
|
-
"@things-factory/code-base": "^6.2.
|
|
31
|
-
"@things-factory/integration-sftp": "^6.2.
|
|
32
|
-
"@things-factory/notification": "^6.2.
|
|
33
|
-
"@things-factory/product-base": "^6.2.
|
|
34
|
-
"@things-factory/setting-base": "^6.2.
|
|
35
|
-
"@things-factory/shell": "^6.2.
|
|
36
|
-
"@things-factory/transport-base": "^6.2.
|
|
37
|
-
"@things-factory/warehouse-base": "^6.2.
|
|
27
|
+
"@things-factory/attachment-base": "^6.2.133",
|
|
28
|
+
"@things-factory/auth-base": "^6.2.133",
|
|
29
|
+
"@things-factory/biz-base": "^6.2.133",
|
|
30
|
+
"@things-factory/code-base": "^6.2.133",
|
|
31
|
+
"@things-factory/integration-sftp": "^6.2.133",
|
|
32
|
+
"@things-factory/notification": "^6.2.133",
|
|
33
|
+
"@things-factory/product-base": "^6.2.133",
|
|
34
|
+
"@things-factory/setting-base": "^6.2.133",
|
|
35
|
+
"@things-factory/shell": "^6.2.133",
|
|
36
|
+
"@things-factory/transport-base": "^6.2.133",
|
|
37
|
+
"@things-factory/warehouse-base": "^6.2.133"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "3a8ec24c20c710cb36bdac0e34394f08d5169f92"
|
|
40
40
|
}
|
|
@@ -1,29 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
Float,
|
|
4
|
-
ID,
|
|
5
|
-
ObjectType
|
|
6
|
-
} from 'type-graphql'
|
|
7
|
-
import {
|
|
8
|
-
Column,
|
|
9
|
-
CreateDateColumn,
|
|
10
|
-
Entity,
|
|
11
|
-
Index,
|
|
12
|
-
ManyToOne,
|
|
13
|
-
OneToMany,
|
|
14
|
-
PrimaryGeneratedColumn,
|
|
15
|
-
RelationId,
|
|
16
|
-
UpdateDateColumn
|
|
17
|
-
} from 'typeorm'
|
|
1
|
+
import { Field, Float, ID, ObjectType } from 'type-graphql'
|
|
2
|
+
import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'
|
|
18
3
|
|
|
19
4
|
import { User } from '@things-factory/auth-base'
|
|
20
5
|
import { Bizplace } from '@things-factory/biz-base'
|
|
21
6
|
import { Product } from '@things-factory/product-base'
|
|
22
7
|
import { Domain } from '@things-factory/shell'
|
|
23
|
-
import {
|
|
24
|
-
Inventory,
|
|
25
|
-
Location
|
|
26
|
-
} from '@things-factory/warehouse-base'
|
|
8
|
+
import { Inventory, Location } from '@things-factory/warehouse-base'
|
|
27
9
|
|
|
28
10
|
import { ArrivalNotice } from '../arrival-notice/arrival-notice'
|
|
29
11
|
import { DeliveryOrder } from '../delivery-order/delivery-order'
|
|
@@ -290,7 +272,7 @@ export class OrderInventory {
|
|
|
290
272
|
@Field({ nullable: true })
|
|
291
273
|
actualPackQty: number
|
|
292
274
|
|
|
293
|
-
@Column({ nullable: true })
|
|
275
|
+
@Column('float', { nullable: true })
|
|
294
276
|
@Field({ nullable: true })
|
|
295
277
|
palletQty: number
|
|
296
278
|
|
|
@@ -135,13 +135,13 @@ export class OrderProductPatch {
|
|
|
135
135
|
@Field(type => Float, { nullable: true })
|
|
136
136
|
unpackQty: number
|
|
137
137
|
|
|
138
|
-
@Field(type =>
|
|
138
|
+
@Field(type => Float, { nullable: true })
|
|
139
139
|
palletQty: number
|
|
140
140
|
|
|
141
|
-
@Field(type =>
|
|
141
|
+
@Field(type => Float, { nullable: true })
|
|
142
142
|
actualPalletQty: number
|
|
143
143
|
|
|
144
|
-
@Field(type =>
|
|
144
|
+
@Field(type => Float, { nullable: true })
|
|
145
145
|
adjustedPalletQty: number
|
|
146
146
|
|
|
147
147
|
@Field({ nullable: true })
|
|
@@ -1,30 +1,20 @@
|
|
|
1
|
-
import { Field, ID, ObjectType
|
|
2
|
-
import {
|
|
3
|
-
Column,
|
|
4
|
-
CreateDateColumn,
|
|
5
|
-
Entity,
|
|
6
|
-
Index,
|
|
7
|
-
ManyToOne,
|
|
8
|
-
PrimaryGeneratedColumn,
|
|
9
|
-
RelationId,
|
|
10
|
-
UpdateDateColumn,
|
|
11
|
-
OneToMany
|
|
12
|
-
} from 'typeorm'
|
|
1
|
+
import { Field, Float, ID, ObjectType } from 'type-graphql'
|
|
2
|
+
import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'
|
|
13
3
|
|
|
14
4
|
import { User } from '@things-factory/auth-base'
|
|
15
5
|
import { Bizplace } from '@things-factory/biz-base'
|
|
16
|
-
import { Product,
|
|
6
|
+
import { Product, ProductBundle, ProductDetail } from '@things-factory/product-base'
|
|
17
7
|
import { Domain, ScalarDate } from '@things-factory/shell'
|
|
18
8
|
import { Inventory } from '@things-factory/warehouse-base'
|
|
19
9
|
|
|
20
10
|
import { ArrivalNotice } from '../arrival-notice/arrival-notice'
|
|
21
11
|
import { CollectionOrder } from '../collection-order/collection-order'
|
|
22
12
|
import { DeliveryOrder } from '../delivery-order/delivery-order'
|
|
13
|
+
import { DraftReleaseGood } from '../draft-release-good/draft-release-good'
|
|
14
|
+
import { OrderInventory } from '../order-inventory/order-inventory'
|
|
23
15
|
import { PurchaseOrder } from '../purchase-order/purchase-order'
|
|
24
16
|
import { ReleaseGood } from '../release-good/release-good'
|
|
25
|
-
import { DraftReleaseGood } from '../draft-release-good/draft-release-good'
|
|
26
17
|
import { RetailReplenishmentOrder } from '../retail-replenishment-order/retail-replenishment-order'
|
|
27
|
-
import { OrderInventory } from '../order-inventory/order-inventory'
|
|
28
18
|
|
|
29
19
|
@Entity()
|
|
30
20
|
@Index('ix_order-product_0', (orderProduct: OrderProduct) => [orderProduct.domain, orderProduct.name], {
|
|
@@ -285,15 +275,15 @@ export class OrderProduct {
|
|
|
285
275
|
@Field({ nullable: true })
|
|
286
276
|
miscAmt: number
|
|
287
277
|
|
|
288
|
-
@Column({ nullable: true })
|
|
278
|
+
@Column('float', { nullable: true })
|
|
289
279
|
@Field({ nullable: true })
|
|
290
280
|
palletQty: number
|
|
291
281
|
|
|
292
|
-
@Column({ nullable: true })
|
|
282
|
+
@Column('float', { nullable: true })
|
|
293
283
|
@Field({ nullable: true })
|
|
294
284
|
adjustedPalletQty: number
|
|
295
285
|
|
|
296
|
-
@Column({ nullable: true })
|
|
286
|
+
@Column('float', { nullable: true })
|
|
297
287
|
@Field({ nullable: true })
|
|
298
288
|
actualPalletQty: number
|
|
299
289
|
|