diff --git a/pages/purchase/specs.vue b/pages/purchase/specs.vue index fbaba25..4afce7c 100644 --- a/pages/purchase/specs.vue +++ b/pages/purchase/specs.vue @@ -245,7 +245,8 @@ export default{ methods:{ async setGoodsVal(val){ var res=await request("/api/goods/queryGoodsSpecification",{ - params:{ + method:"post", + body:{ goodsId:this.formData.goodsId, supplier:this.formData.supplier, } @@ -263,6 +264,7 @@ export default{ }) } }, + //选择规格 搜索库存 async searchStock(id){ var res=await request("/api/goods/stockShow",{ params:{