Commit 24140a09 by linjinhong

修改物流报价

parent 4fbb7ab7
...@@ -61,10 +61,9 @@ import { ...@@ -61,10 +61,9 @@ import {
exportExcelLogisticsZone, exportExcelLogisticsZone,
getlogisticsWayAllList, getlogisticsWayAllList,
} from '@/api/logistics' } from '@/api/logistics'
import type { ElForm } from 'element-plus'
import SearchForm from '@/components/SearchForm.tsx' import SearchForm from '@/components/SearchForm.tsx'
import LogDialog from './components/LogDialog.tsx'
import CustomizeForm from '@/components/CustomizeForm.tsx'
import CustomizeTable from '@/components/VxeTable.tsx' import CustomizeTable from '@/components/VxeTable.tsx'
import type { VxeTablePropTypes } from 'vxe-table' import type { VxeTablePropTypes } from 'vxe-table'
import { useValue } from './hooks/useValue' import { useValue } from './hooks/useValue'
...@@ -76,10 +75,7 @@ const [searchForm] = useValue<{ ...@@ -76,10 +75,7 @@ const [searchForm] = useValue<{
logisticsIdList?: string[] | string logisticsIdList?: string[] | string
codePrefix?: string codePrefix?: string
}>({ logisticsIdList: [] }) }>({ logisticsIdList: [] })
const [editForm, resetEditForm] = useValue({ logisticsList: [] })
const dialogVisible = ref(false)
const editFormRef = ref<InstanceType<typeof ElForm> | null>(null)
const selection = ref([]) const selection = ref([])
const mergeCells = ref<VxeTablePropTypes.MergeCells>([]) const mergeCells = ref<VxeTablePropTypes.MergeCells>([])
const tableData = ref([]) const tableData = ref([])
...@@ -383,7 +379,6 @@ async function editClosed() { ...@@ -383,7 +379,6 @@ async function editClosed() {
getList(searchForm.value) getList(searchForm.value)
} }
} catch { } catch {
ElMessage.error('修改失败!')
getList(searchForm.value) getList(searchForm.value)
} finally { } finally {
editParams.value = {} editParams.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