@@ -54,7 +54,13 @@
</el-dialog>
<el-dialog v-model="openProduct" title="选择商品" width="80%" append-to-body>
- <InventoryInquiry :selectStatus="true" :warehouseId="formData.data.warehouseId" @cancel="openProduct = false" @select="select"></InventoryInquiry>
+ <InventoryInquiry
+ :selectStatus="true"
+ :warehouseId="formData.data.warehouseId"
+ @cancel="openProduct = false"
+ @select="select"
+ :key="formData.data.warehouseId">
+ </InventoryInquiry>
</div>
</template>