修改生产界面

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

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