diff --git a/src/views/inout/IoCreateOrder.vue b/src/views/inout/IoCreateOrder.vue index 46f282e2..342d9827 100644 --- a/src/views/inout/IoCreateOrder.vue +++ b/src/views/inout/IoCreateOrder.vue @@ -385,7 +385,7 @@ export default { findInvByUser() .then((response) => { this.curInvOptions = response.data || []; - if (this.curInvOptions != null && this.curInvOptions.length > 1) { + if (this.curInvOptions != null && this.curInvOptions.length > 0) { this.orderFormData.invWarehouseCode = this.curInvOptions[0].code; this.getBusTypeByInv() } diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue index bb7f39d7..74893df7 100644 --- a/src/views/system/dept/invWarehouse.vue +++ b/src/views/system/dept/invWarehouse.vue @@ -131,7 +131,7 @@ -