From 0b558cf9e9c08dc4e1a810fbf1dad181555e6ebf Mon Sep 17 00:00:00 2001 From: sjz-mxj <1375998991@qq.com> Date: Tue, 18 Jul 2023 11:32:38 +0800 Subject: [PATCH] =?UTF-8?q?type:style=20commit:=E8=8E=B7=E5=8F=96=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/add_transaction.vue | 2 +- pages/massif/pestType.vue | 2 +- pages/massif/plant_plan.vue | 2 +- pages/stock/prodWarehouse.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/massif/add_transaction.vue b/pages/massif/add_transaction.vue index 3d255b1..2bf844e 100644 --- a/pages/massif/add_transaction.vue +++ b/pages/massif/add_transaction.vue @@ -149,7 +149,7 @@ export default { //买方类型 var res = await request("/common/api/dict/categoryValue",{ method:"post", - params:{code:"B08"} + data:{code:"B08"} }) if(res.statu){ this.buyerType.list=res.data diff --git a/pages/massif/pestType.vue b/pages/massif/pestType.vue index 44f2d3d..41f322b 100644 --- a/pages/massif/pestType.vue +++ b/pages/massif/pestType.vue @@ -161,7 +161,7 @@ export default { async init(){ var res=await request("/common/api/dict/categoryValue",{ method:"post", - params:{code:"B09"} + data:{code:"B09"} }) if(res.statu){ this.cropList=res.data.map(v=>({...v,children:v?.children?.length>0?v.children:[{label:"全部",value:v.pest.map(v=>({name:v.label,id:v.id}))}]})) diff --git a/pages/massif/plant_plan.vue b/pages/massif/plant_plan.vue index 1b6f5c1..4fa8be2 100644 --- a/pages/massif/plant_plan.vue +++ b/pages/massif/plant_plan.vue @@ -106,7 +106,7 @@ export default { async init(){ var res=await request("/common/api/dict/categoryValue",{ method:"post", - params:{code:"B06"} + data:{code:"B06"} }) if(res.statu){ this.fields.plantType.columns=[res.data] diff --git a/pages/stock/prodWarehouse.vue b/pages/stock/prodWarehouse.vue index 0ffb759..65e5df8 100644 --- a/pages/stock/prodWarehouse.vue +++ b/pages/stock/prodWarehouse.vue @@ -101,7 +101,7 @@ export default { //植物类型 var res=await request("/common/api/dict/categoryValue",{ method:"post", - params:{code:"B06"} + data:{code:"B06"} }) if(res.statu){ this.fields.detailType.columns=[res.data]