Commit eeabe452 by wusiyi

fix: podcn更换物流清空表单数据

parent cc825218
......@@ -114,6 +114,7 @@ const cancelWayDialog = () => {
changeWayRow.value = {} as LogisticsData
changeWayRef.value?.setCurrentRow()
isChangeWay.value = false
logisticsWayData.value = []
}
//确认物流
const changeWaySubmit = async (title: string) => {
......@@ -154,6 +155,7 @@ const changeWaySubmit = async (title: string) => {
console.log(error)
} finally {
isChangeWayLoading.value = false
logisticsWayData.value = []
}
}
const showDialog = async () => {
......@@ -165,6 +167,7 @@ const showDialog = async () => {
})`
isChangeWay.value = true
const { data } = await getTableFn(rowData.id as number)
logisticsWayData.value = data
}
} catch (error) {
......
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