update 到货单创建获取订单详情方法修改,计算未入库数量
This commit is contained in:
parent
472cc135a1
commit
f99397d0f2
@ -109,7 +109,7 @@
|
|||||||
import { getCurrentInstance, onMounted, reactive, ref, toRefs } from 'vue'
|
import { getCurrentInstance, onMounted, reactive, ref, toRefs } from 'vue'
|
||||||
import { ElForm, ElMessageBox, ElTable } from 'element-plus'
|
import { ElForm, ElMessageBox, ElTable } from 'element-plus'
|
||||||
import { localStorage } from '@/utils/storage'
|
import { localStorage } from '@/utils/storage'
|
||||||
import { createDelivery, getReceiveList, getReceiveDetail } from '@/api/delivery'
|
import { createDelivery, getReceiveList, getReceiveDetail, getDeliveryReceiveDetail } from '@/api/delivery'
|
||||||
import { getORG } from '@/api/auth'
|
import { getORG } from '@/api/auth'
|
||||||
|
|
||||||
const queryFormRef = ref(ElForm)
|
const queryFormRef = ref(ElForm)
|
||||||
@ -203,7 +203,7 @@ const handleSelection = (val: any) => {
|
|||||||
let nameList: any = []
|
let nameList: any = []
|
||||||
val.forEach((item: any) => nameList.push(item.receiveRequestName))
|
val.forEach((item: any) => nameList.push(item.receiveRequestName))
|
||||||
// 加载详情
|
// 加载详情
|
||||||
getReceiveDetail({nameList: nameList}).then((res: any) => {
|
getDeliveryReceiveDetail({nameList: nameList}).then((res: any) => {
|
||||||
state.receiveList = res.resultObj
|
state.receiveList = res.resultObj
|
||||||
state.receiveLoading = false
|
state.receiveLoading = false
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user