修改生产界面

master
夜笙歌 10 months ago
parent 8c33e928bd
commit c29ba4e73e

@ -516,7 +516,7 @@ export default {
this.form.warehouseId = e.data[0]?.warehouseId
})
getMaterialBoms({
ancestors:1
ancestors:1,
}).then(e=>{
this.form.wmsRawOutstockDetailList = e.data.map(r=>{
return {
@ -543,8 +543,20 @@ export default {
}
})
},
searchMaterial(e){
console.log(e)
searchMaterial(val){
console.log(val)
getMaterialBoms({
ancestors:1,
materialName:val
}).then(e=>{
this.form.wmsRawOutstockDetailList = e.data.map(r=>{
return {
materialId:r.materialId,
materialName:r.materialName,
planAmount:0,
}
})
})
}
}
}

Loading…
Cancel
Save