diff --git a/pages/massif/plant_info.vue b/pages/massif/plant_info.vue
index 9946d5a..404400d 100644
--- a/pages/massif/plant_info.vue
+++ b/pages/massif/plant_info.vue
@@ -11,7 +11,7 @@
-
+
this.formData.inOutBatchNo=`RK${new Date().format('yyyyMMdd')}${new Date().getTime()}`},
warehouseId:{label:"选择仓库", type:"select",columns:[],value:[],agr:true},
@@ -171,11 +171,14 @@ import request from '@/common/request'
})
}
//仓库下拉选项
- 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:1,//1 农资,2 农产品
+ }
})
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:"提示",