diff --git a/pages/stock/prodWarehouse.vue b/pages/stock/prodWarehouse.vue index 60b4f84..93cf890 100644 --- a/pages/stock/prodWarehouse.vue +++ b/pages/stock/prodWarehouse.vue @@ -83,8 +83,11 @@ export default { }) } //仓库下拉选项 - var res=await request("/api/WarehouseManageApi/queryWarehouseByBaseId",{ - params:{baseId: this.$store.state.plantBaseInfoId} + var res=await request("/api/plantHarvest/getWarehouse",{ + params:{ + plantBaseId:this.$store.state.plantBaseInfoId, + type:2,//1 农资,2 农产品 + } }) if(res.statu){ this.fields.warehouseId.columns=[res.data]