出入库编辑页面

出入库编辑页面
pull/1/head
siontion 9 months ago
parent 020f7292c0
commit a11a73e542

@ -596,7 +596,9 @@ onMounted(async () => {
//
const queryParamsRg = reactive({
pageNo: 1,
pageSize: 99
pageSize: 99,
status:1,
whId : formData.value.whId
})
const dataRg = await RgApi.getRgPage(queryParamsRg)
@ -630,6 +632,7 @@ onMounted(async () => {
const matVos = await MaterialApi.getMaterialPage(queryParamsMat2)
formData.value.productBomItemDOList.forEach(item => {
item.cid = matCount
item.matId = matVos.list.find((record) => record.id === item.matId)?.id
//item.matCode = matVos.list.find( (record) => record.id === item.matId)?.id
item.matName = matVos.list.find((record) => record.id === item.matId)?.name
@ -637,6 +640,7 @@ onMounted(async () => {
item.matType = matVos.list.find((record) => record.id === item.matId)?.materialType
item.matUnit = matVos.list.find((record) => record.id === item.matId)?.unit
item.pnlist = pnList.value.filter((pn) => pn.rgId === item.rgId)
matCount= matCount+1
})
//

Loading…
Cancel
Save