diff --git a/modules/item/front/diary/index.js b/modules/item/front/diary/index.js index 6d912ebe8..c997ea491 100644 --- a/modules/item/front/diary/index.js +++ b/modules/item/front/diary/index.js @@ -27,7 +27,7 @@ class Controller extends Section { if (this.$params.warehouseFk) this.warehouseFk = this.$params.warehouseFk; else if (value) - this.warehouseFk = value.itemType.warehouseFk; + this.warehouseFk = this.vnConfig.warehouseFk; if (this.$params.lineFk) this.lineFk = this.$params.lineFk;