@things-factory/sales-base 4.3.429 → 4.3.430

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/sales-base",
3
- "version": "4.3.429",
3
+ "version": "4.3.430",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -36,7 +36,7 @@
36
36
  "@things-factory/setting-base": "^4.3.425",
37
37
  "@things-factory/shell": "^4.3.381",
38
38
  "@things-factory/transport-base": "^4.3.425",
39
- "@things-factory/warehouse-base": "^4.3.425"
39
+ "@things-factory/warehouse-base": "^4.3.430"
40
40
  },
41
- "gitHead": "7ef71dcf92100a2e6ac9e472850b6d0a80aab268"
41
+ "gitHead": "b62b950285aa5cb36af746fa9fe77b7476e4538c"
42
42
  }
@@ -1,7 +1,15 @@
1
+ import {
2
+ Field,
3
+ Float,
4
+ InputType,
5
+ Int,
6
+ ObjectType
7
+ } from 'type-graphql'
8
+
1
9
  import { ObjectRef } from '@things-factory/shell'
2
- import { Field, Float, InputType, Int, ObjectType } from 'type-graphql'
3
- import { OrderVas } from './order-vas'
10
+
4
11
  import { OrderVasItemPatch } from '../order-vas-item/order-vas-item-type'
12
+ import { OrderVas } from './order-vas'
5
13
 
6
14
  @ObjectType()
7
15
  export class OrderVasList {
@@ -173,7 +181,7 @@ export class OrderVasPatch {
173
181
  @Field({ nullable: true })
174
182
  newUom: string
175
183
 
176
- @Field({ nullable: true })
184
+ @Field(type => Float, { nullable: true })
177
185
  newUomValue: number
178
186
 
179
187
  @Field({ nullable: true })
@@ -1,11 +1,15 @@
1
- import { Field, ID, ObjectType } from 'type-graphql'
1
+ import {
2
+ Field,
3
+ ID,
4
+ ObjectType
5
+ } from 'type-graphql'
2
6
  import {
3
7
  Column,
4
8
  CreateDateColumn,
5
9
  Entity,
6
10
  Index,
7
- OneToMany,
8
11
  ManyToOne,
12
+ OneToMany,
9
13
  PrimaryGeneratedColumn,
10
14
  RelationId,
11
15
  UpdateDateColumn
@@ -13,12 +17,16 @@ import {
13
17
 
14
18
  import { User } from '@things-factory/auth-base'
15
19
  import { Bizplace } from '@things-factory/biz-base'
16
- import { Product, ProductDetail } from '@things-factory/product-base'
20
+ import {
21
+ Product,
22
+ ProductDetail
23
+ } from '@things-factory/product-base'
17
24
  import { Domain } from '@things-factory/shell'
18
25
  import { Inventory } from '@things-factory/warehouse-base'
19
26
 
20
27
  import { ArrivalNotice } from '../arrival-notice/arrival-notice'
21
28
  import { OrderInventory } from '../order-inventory/order-inventory'
29
+ import { OrderVasItem } from '../order-vas-item/order-vas-item'
22
30
  import { ReleaseGood } from '../release-good/release-good'
23
31
  import { RetailReplenishmentOrder } from '../retail-replenishment-order/retail-replenishment-order'
24
32
  import { ReturnOrder } from '../return-order/return-order'
@@ -26,7 +34,6 @@ import { ShippingOrder } from '../shipping-order/shipping-order'
26
34
  import { TransferOrder } from '../transfer-order/transfer-order'
27
35
  import { VasOrder } from '../vas-order/vas-order'
28
36
  import { Vas } from '../vas/vas'
29
- import { OrderVasItem } from '../order-vas-item/order-vas-item'
30
37
 
31
38
  @Entity('order_vass')
32
39
  @Index('ix_order-vas_0', (orderVas: OrderVas) => [orderVas.id], {
@@ -260,7 +267,7 @@ export class OrderVas {
260
267
  @Field({ nullable: true })
261
268
  newUom: string
262
269
 
263
- @Column({ nullable: true })
270
+ @Column('float', { nullable: true })
264
271
  @Field({ nullable: true })
265
272
  newUomValue: number
266
273