Commit 1cf1eea5 by linjinhong

Merge branch 'feat_Integrate-with-Logistics' of…

Merge branch 'feat_Integrate-with-Logistics' of http://47.122.114.111:9999/qinjianhui/factory_front into feat_Integrate-with-Logistics
parents fcb85524 2f79e85b
......@@ -46,7 +46,7 @@
<b v-else-if="!row.status" style="color: red">失败</b>
</template>
</el-table-column>
<el-table-column label="预计运费($)" align="center" prop="payFreight">
<el-table-column label="预计运费()" align="center" prop="payFreight">
</el-table-column>
</el-table>
<template #footer>
......@@ -114,6 +114,7 @@ const cancelWayDialog = () => {
changeWayRow.value = {} as LogisticsData
changeWayRef.value?.setCurrentRow()
isChangeWay.value = false
logisticsWayData.value = []
}
//确认物流
const changeWaySubmit = async (title: string) => {
......@@ -157,6 +158,7 @@ const changeWaySubmit = async (title: string) => {
console.log(error)
} finally {
isChangeWayLoading.value = false
logisticsWayData.value = []
}
}
const showDialog = async () => {
......@@ -169,6 +171,7 @@ const showDialog = async () => {
isChangeWay.value = true
isChangeWayLoading.value = true
const { data } = await getTableFn(rowData.id as number)
logisticsWayData.value = data
}
} catch (error) {
......
......@@ -2512,11 +2512,11 @@
</ElDialog>
<ChangeWayDialog
ref="changeWayDialogRef"
:rowData="currentItem"
:getTableFn="getLogisticsCalculation"
:submitFn="createLogisticsOrdersApi"
:changeLogisticsApi="changeLogisticsApi"
:confirm="
:row-data="currentItem"
:get-table-fn="getLogisticsCalculation"
:submit-fn="createLogisticsOrdersApi"
:change-logistics-api="changeLogisticsApi"
@confirm="
() => {
search()
loadTabData()
......
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