|
|
|
@ -226,6 +226,7 @@ import {
|
|
|
|
|
postReal, |
|
|
|
|
postOrderInfoListExport, |
|
|
|
|
postCreateReconciliationOrder, |
|
|
|
|
postCalculateRealCostByWaybillId |
|
|
|
|
} from '@/api/finance/ReconciliationDepositSlip'; |
|
|
|
|
import { |
|
|
|
|
downloadXls, |
|
|
|
@ -643,7 +644,8 @@ const handleComputedPrice = ({ row }) => {
|
|
|
|
|
try { |
|
|
|
|
details.loadingObj.pageLoading = true; |
|
|
|
|
|
|
|
|
|
const res = await postReal(row.orderInfoId); |
|
|
|
|
// const res = await postReal(row.orderInfoId); |
|
|
|
|
const res = await postCalculateRealCostByWaybillId(row.waybillId); |
|
|
|
|
const { code, msg } = res.data; |
|
|
|
|
|
|
|
|
|
if (code !== 200) return msg && ElMessage.warning(msg); |
|
|
|
|