@things-factory/warehouse-base 6.1.176 → 6.1.177
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/inventory/inventory-types.js +16 -0
- package/dist-server/service/inventory/inventory-types.js.map +1 -1
- package/dist-server/service/inventory/inventory.js +12 -0
- package/dist-server/service/inventory/inventory.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/server/service/inventory/inventory-types.ts +12 -0
- package/server/service/inventory/inventory.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/warehouse-base",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.177",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/biz-base": "^6.1.
|
|
28
|
-
"@things-factory/id-rule-base": "^6.1.
|
|
29
|
-
"@things-factory/integration-sellercraft": "^6.1.
|
|
30
|
-
"@things-factory/marketplace-base": "^6.1.
|
|
31
|
-
"@things-factory/product-base": "^6.1.
|
|
32
|
-
"@things-factory/setting-base": "^6.1.
|
|
27
|
+
"@things-factory/biz-base": "^6.1.177",
|
|
28
|
+
"@things-factory/id-rule-base": "^6.1.177",
|
|
29
|
+
"@things-factory/integration-sellercraft": "^6.1.177",
|
|
30
|
+
"@things-factory/marketplace-base": "^6.1.177",
|
|
31
|
+
"@things-factory/product-base": "^6.1.177",
|
|
32
|
+
"@things-factory/setting-base": "^6.1.177"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "56be53aa39648efa47618fb4cbb7a7034c17e9a5"
|
|
35
35
|
}
|
|
@@ -140,6 +140,12 @@ export class InventoryPatch {
|
|
|
140
140
|
@Field({ nullable: true })
|
|
141
141
|
productQuality?: string
|
|
142
142
|
|
|
143
|
+
@Field({ nullable: true })
|
|
144
|
+
workCategory?: string
|
|
145
|
+
|
|
146
|
+
@Field({ nullable: true })
|
|
147
|
+
productStatus?: string
|
|
148
|
+
|
|
143
149
|
@Field({ nullable: true })
|
|
144
150
|
auxInfo2?: string
|
|
145
151
|
|
|
@@ -215,6 +221,12 @@ export class NewInventory {
|
|
|
215
221
|
@Field({ nullable: true })
|
|
216
222
|
remark?: string
|
|
217
223
|
|
|
224
|
+
@Field({ nullable: true })
|
|
225
|
+
workCategory?: string
|
|
226
|
+
|
|
227
|
+
@Field({ nullable: true })
|
|
228
|
+
productStatus?: string
|
|
229
|
+
|
|
218
230
|
@Field({ nullable: true })
|
|
219
231
|
expirationDate?: string
|
|
220
232
|
|
|
@@ -239,6 +239,16 @@ export class Inventory {
|
|
|
239
239
|
@Field({ nullable: true })
|
|
240
240
|
productQuality?: string
|
|
241
241
|
|
|
242
|
+
// 작업 구분
|
|
243
|
+
@Column({ nullable: true, default: '' })
|
|
244
|
+
@Field({ nullable: true })
|
|
245
|
+
workCategory?: string
|
|
246
|
+
|
|
247
|
+
// 제품 상태 (불량/반품)
|
|
248
|
+
@Column({ nullable: true, default: '' })
|
|
249
|
+
@Field({ nullable: true })
|
|
250
|
+
productStatus?: string
|
|
251
|
+
|
|
242
252
|
@Column({ nullable: true })
|
|
243
253
|
@Field({ nullable: true })
|
|
244
254
|
auxInfo1?: string
|
|
@@ -368,6 +378,8 @@ export class Inventory {
|
|
|
368
378
|
this.packingSize = obj.inventory_packing_size
|
|
369
379
|
this.productColor = obj.inventory_product_color
|
|
370
380
|
this.productQuality = obj.inventory_product_quality
|
|
381
|
+
this.workCategory = obj.inventory_work_category
|
|
382
|
+
this.productStatus = obj.inventory_product_status
|
|
371
383
|
this.creatorId = obj.inventory_creator_id
|
|
372
384
|
this.updaterId = obj.inventory_updater_id
|
|
373
385
|
this.lot = obj.inventory_lot
|