|
|
@ -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] |
|
|
|