Commit fae8986a by wusiyi

fix: 修复podcn更换物流参数传递错误问题

parent 1bb29430
......@@ -69,7 +69,6 @@ import { PodCnOrderListData, LogisticsData } from '@/types/api/podCnOrder'
const isChangeWay = ref(false)
const isChangeWayLoading = ref(false)
const changeWayRow = ref<LogisticsData>({} as LogisticsData)
const currentItem = ref<PodCnOrderListData | null>(null)
const logisticsWayData = ref([])
const changeWayRef = ref()
......@@ -139,8 +138,8 @@ const changeWaySubmit = async (title: string) => {
try {
const params = {
updateByIdParam: {
id: currentItem.value?.id || '',
dataVersion: currentItem.value?.version as number,
id: props.rowData?.id || '',
dataVersion: props.rowData?.version as number,
},
logisticsTrialCalculation: { ...changeWayRow.value },
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment