Browse Source

农资规格 修改 规格下拉选接口

master
邓宏 2 years ago
parent
commit
ea2c4d214d
  1. 4
      pages/purchase/specs.vue

4
pages/purchase/specs.vue

@ -245,7 +245,8 @@ export default{
methods:{ methods:{
async setGoodsVal(val){ async setGoodsVal(val){
var res=await request("/api/goods/queryGoodsSpecification",{ var res=await request("/api/goods/queryGoodsSpecification",{
params:{ method:"post",
body:{
goodsId:this.formData.goodsId, goodsId:this.formData.goodsId,
supplier:this.formData.supplier, supplier:this.formData.supplier,
} }
@ -263,6 +264,7 @@ export default{
}) })
} }
}, },
//
async searchStock(id){ async searchStock(id){
var res=await request("/api/goods/stockShow",{ var res=await request("/api/goods/stockShow",{
params:{ params:{

Loading…
Cancel
Save