diff --git a/pages/stock/prodWarehouse.vue b/pages/stock/prodWarehouse.vue index 93cf890..78feded 100644 --- a/pages/stock/prodWarehouse.vue +++ b/pages/stock/prodWarehouse.vue @@ -90,7 +90,7 @@ export default { } }) if(res.statu){ - this.fields.warehouseId.columns=[res.data] + this.fields.warehouseId.columns=[res.data.map(v=>({label:v.warehouseName,value:v.id}))] }else{ uni.showModal({ title:"提示",