From ee3f5c9b72e789832a24d801076dbe001a4d40d0 Mon Sep 17 00:00:00 2001 From: CHAN-MINATO <898043143@qq.com> Date: Mon, 6 Feb 2023 13:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E8=A6=81=E4=BF=AE=E5=A4=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 需要修复显示 --- pages/purchase/newAgr.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/purchase/newAgr.vue b/pages/purchase/newAgr.vue index ca48543..f09c2fc 100644 --- a/pages/purchase/newAgr.vue +++ b/pages/purchase/newAgr.vue @@ -62,9 +62,9 @@ export default { }, methods:{ async init(){ - var res=await request("/api/goods/units",{ + var res=await request("/common/api/dict/queryDictItemByDictCode",{ method:"post", - params:{code:'mass_units'} + params:{dictCode:'mass_units'} }) if(res.statu){ this.fields.massUnits.columns=[res.data.map(v=>({label:v.text,value:v.value}))] @@ -76,9 +76,9 @@ export default { }) } - var res=await request("/api/goods/units",{ + var res=await request("/common/api/dict/queryDictItemByDictCode",{ method:"post", - params:{code:'goods_type'} + params:{dictCode:'goods_type'} }) if(res.statu){ this.fields.goodsType.columns=[res.data.map(v=>({label:v.text,value:v.value}))] @@ -90,7 +90,7 @@ export default { }) } - var res=await request("/api/goods/categoryValue",{ + var res=await request("/common/api/dict/categoryValue",{ method:"post", params:{code:'B04'} })