@things-factory/worksheet-base 6.0.82 → 6.0.84

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/worksheet-base",
3
- "version": "6.0.82",
3
+ "version": "6.0.84",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -40,5 +40,5 @@
40
40
  "@things-factory/transport-base": "^6.0.82",
41
41
  "@things-factory/warehouse-base": "^6.0.82"
42
42
  },
43
- "gitHead": "6cd2a84db2c9ad8d9e75ecbdfcc53df1b20cf79f"
43
+ "gitHead": "b858eba746efe1b59c54bb2e0f4b3b5e67ee8741"
44
44
  }
@@ -777,7 +777,7 @@ export class UnloadingWorksheetController extends VasWorksheetController {
777
777
 
778
778
  worksheetDetail = await this.trxMgr
779
779
  .getRepository(WorksheetDetail)
780
- .findOne({ where: { domain: { id: this.domain.id }, targetProduct } })
780
+ .findOne({ where: { domain: { id: this.domain.id }, targetProduct: { id: targetProduct.id } } })
781
781
  } else {
782
782
  returnOrder = await this.trxMgr.getRepository(ReturnOrder).findOne({
783
783
  where: { domain: { id: this.domain.id }, name: orderNo },
@@ -1221,7 +1221,7 @@ export class UnloadingWorksheetController extends VasWorksheetController {
1221
1221
  const arrivalNotice: ArrivalNotice = await this.findRefOrder(
1222
1222
  ArrivalNotice,
1223
1223
  {
1224
- domain: this.domain,
1224
+ domain: { id: this.domain },
1225
1225
  name: arrivalNoticeNo,
1226
1226
  status: In([ORDER_STATUS.PROCESSING, ORDER_STATUS.PUTTING_AWAY])
1227
1227
  },