Commit 4f1dfb82 by wusiyi

chore: 升级 element-plus 至2.14版本

parent 9135e75f
...@@ -14,11 +14,14 @@ declare module 'vue' { ...@@ -14,11 +14,14 @@ declare module 'vue' {
ElButton: typeof import('element-plus/es')['ElButton'] ElButton: typeof import('element-plus/es')['ElButton']
ElCarousel: typeof import('element-plus/es')['ElCarousel'] ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem'] ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
ElCascader: typeof import('element-plus/es')['ElCascader']
ElCascaderPanel: typeof import('element-plus/es')['ElCascaderPanel']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup'] ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider'] ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElDialog: typeof import('element-plus/es')['ElDialog'] ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer'] ElDrawer: typeof import('element-plus/es')['ElDrawer']
ElDropdown: typeof import('element-plus/es')['ElDropdown'] ElDropdown: typeof import('element-plus/es')['ElDropdown']
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
...@@ -29,6 +32,7 @@ declare module 'vue' { ...@@ -29,6 +32,7 @@ declare module 'vue' {
ElIcon: typeof import('element-plus/es')['ElIcon'] ElIcon: typeof import('element-plus/es')['ElIcon']
ElImage: typeof import('element-plus/es')['ElImage'] ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput'] ElInput: typeof import('element-plus/es')['ElInput']
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
ElOption: typeof import('element-plus/es')['ElOption'] ElOption: typeof import('element-plus/es')['ElOption']
ElPagination: typeof import('element-plus/es')['ElPagination'] ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopover: typeof import('element-plus/es')['ElPopover'] ElPopover: typeof import('element-plus/es')['ElPopover']
...@@ -45,6 +49,7 @@ declare module 'vue' { ...@@ -45,6 +49,7 @@ declare module 'vue' {
ElTooltip: typeof import('element-plus/es')['ElTooltip'] ElTooltip: typeof import('element-plus/es')['ElTooltip']
ElTree: typeof import('element-plus/es')['ElTree'] ElTree: typeof import('element-plus/es')['ElTree']
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
ElUpload: typeof import('element-plus/es')['ElUpload']
Icon: typeof import('./src/components/Icon.vue')['default'] Icon: typeof import('./src/components/Icon.vue')['default']
ImageView: typeof import('./src/components/ImageView.vue')['default'] ImageView: typeof import('./src/components/ImageView.vue')['default']
LeftRightLayout: typeof import('./src/components/leftRightLayout.vue')['default'] LeftRightLayout: typeof import('./src/components/leftRightLayout.vue')['default']
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"bignumber.js": "^9.3.0", "bignumber.js": "^9.3.0",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"echarts": "^6.0.0", "echarts": "^6.0.0",
"element-plus": "^2.6.0", "element-plus": "^2.14.3",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"luxon": "^3.7.1", "luxon": "^3.7.1",
"pinia": "^2.1.7", "pinia": "^2.1.7",
......
...@@ -126,11 +126,11 @@ const attrs = useAttrs() ...@@ -126,11 +126,11 @@ const attrs = useAttrs()
const slots = useSlots() as Record<string, Slot> const slots = useSlots() as Record<string, Slot>
const setCurrentRow = (row: T) => { const setCurrentRow = (row: T) => {
tableRef.value?.setCurrentRow(row) tableRef.value?.setCurrentRow(row as Record<PropertyKey, any>)
} }
const toggleRowSelection = (row: T, selected: boolean = true) => { const toggleRowSelection = (row: T, selected: boolean = true) => {
tableRef.value?.toggleRowSelection(row, selected) tableRef.value?.toggleRowSelection(row as Record<PropertyKey, any>, selected)
} }
const clearSelection = () => { const clearSelection = () => {
...@@ -139,11 +139,11 @@ const clearSelection = () => { ...@@ -139,11 +139,11 @@ const clearSelection = () => {
const toggleAllSelection = () => { const toggleAllSelection = () => {
tableRef.value?.toggleAllSelection() tableRef.value?.toggleAllSelection()
} }
const rowClick = (row:NonNullable<unknown>)=>{ const rowClick = (row: NonNullable<unknown>) => {
console.log(row) console.log(row)
console.log(tableRef.value,props.rowClickSelect) console.log(tableRef.value, props.rowClickSelect)
if(props.rowClickSelect){ if (props.rowClickSelect) {
tableRef.value?.toggleRowSelection(row,true) tableRef.value?.toggleRowSelection(row as Record<PropertyKey, any>, true)
} }
} }
const handleTableHeaderClick = (column: { type?: string }, event: Event) => { const handleTableHeaderClick = (column: { type?: string }, event: Event) => {
...@@ -170,7 +170,10 @@ const selectAllRows = (select: boolean, setInternalIsMore?: boolean) => { ...@@ -170,7 +170,10 @@ const selectAllRows = (select: boolean, setInternalIsMore?: boolean) => {
nextTick(() => { nextTick(() => {
if (tableRef.value && props.paginatedData.length > 0) { if (tableRef.value && props.paginatedData.length > 0) {
props.paginatedData.forEach((row) => { props.paginatedData.forEach((row) => {
tableRef.value?.toggleRowSelection(row, select) tableRef.value?.toggleRowSelection(
row as Record<PropertyKey, any>,
select,
)
}) })
} }
......
...@@ -516,9 +516,14 @@ ...@@ -516,9 +516,14 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ElMessage, ElRadioGroup, ElTree, TableColumnCtx } from 'element-plus' import {
ElMessage,
ElRadioGroup,
ElTree,
TableColumnCtx,
type TableInstance,
} from 'element-plus'
import splitDiv from '@/components/splitDiv/splitDiv.vue' import splitDiv from '@/components/splitDiv/splitDiv.vue'
import { ElTable } from 'element-plus'
import usePageList from '@/utils/hooks/usePageList' import usePageList from '@/utils/hooks/usePageList'
import { useValue } from '@/utils/hooks/useValue' import { useValue } from '@/utils/hooks/useValue'
import { import {
...@@ -554,7 +559,9 @@ interface Tree { ...@@ -554,7 +559,9 @@ interface Tree {
code?: string code?: string
children?: Tree[] children?: Tree[]
} }
interface SummaryMethodProps<T = AccountStatementNote> { interface SummaryMethodProps<
T extends Record<PropertyKey, any> = AccountStatementNote,
> {
columns: TableColumnCtx<T>[] columns: TableColumnCtx<T>[]
data: T[] data: T[]
} }
...@@ -568,7 +575,7 @@ const dateRange = ref<string[]>([]) ...@@ -568,7 +575,7 @@ const dateRange = ref<string[]>([])
const selections = ref<AccountStatementNote[]>([]) const selections = ref<AccountStatementNote[]>([])
const detailList = ref<ItemList[]>([]) const detailList = ref<ItemList[]>([])
const tabsValue = ref<string>('0') const tabsValue = ref<string>('0')
const singleTableRef = ref<InstanceType<typeof ElTable>>() const singleTableRef = ref<TableInstance>()
const currentRow = ref<AccountStatementNote | null>(null) const currentRow = ref<AccountStatementNote | null>(null)
const logList = ref<LogList[]>([]) const logList = ref<LogList[]>([])
...@@ -583,7 +590,7 @@ const { ...@@ -583,7 +590,7 @@ const {
refresh: search, refresh: search,
onCurrentPageChange: handleCurrentChange, onCurrentPageChange: handleCurrentChange,
onPageSizeChange: handleSizeChange, onPageSizeChange: handleSizeChange,
} = usePageList({ } = usePageList<AccountStatementNote>({
query: (page, pageSize) => query: (page, pageSize) =>
customJomallReconciliation( customJomallReconciliation(
{ {
...@@ -623,7 +630,7 @@ const getTreeNum = async () => { ...@@ -623,7 +630,7 @@ const getTreeNum = async () => {
console.error(e) console.error(e)
} }
} }
const rowClick = (row: AccountStatementNote) => { const rowClick = (row: AccountStatementNote | null) => {
if (!row) { if (!row) {
currentRow.value = null currentRow.value = null
} }
...@@ -789,7 +796,7 @@ const submitConfirmOrder = async () => { ...@@ -789,7 +796,7 @@ const submitConfirmOrder = async () => {
search() search()
await getTreeNum() await getTreeNum()
if (singleTableRef.value) { if (singleTableRef.value) {
singleTableRef.value!.setCurrentRow(currentRow.value) singleTableRef.value!.setCurrentRow(currentRow.value ?? undefined)
} }
} }
watch( watch(
......
...@@ -901,7 +901,7 @@ ...@@ -901,7 +901,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ElMessage, ElTable, ElTree, TableColumnCtx } from 'element-plus' import { ElMessage, ElTree, TableColumnCtx, type TableInstance } from 'element-plus'
import splitDiv from '@/components/splitDiv/splitDiv.vue' import splitDiv from '@/components/splitDiv/splitDiv.vue'
import { CircleClose, Plus } from '@element-plus/icons-vue' import { CircleClose, Plus } from '@element-plus/icons-vue'
// import pendingReconciliation from './pendingReconciliation.vue' // import pendingReconciliation from './pendingReconciliation.vue'
...@@ -945,7 +945,9 @@ interface Tree { ...@@ -945,7 +945,9 @@ interface Tree {
children?: Tree[] children?: Tree[]
} }
interface SummaryMethodProps<T = AccountStatementNote> { interface SummaryMethodProps<
T extends Record<PropertyKey, any> = AccountStatementNote,
> {
columns: TableColumnCtx<T>[] columns: TableColumnCtx<T>[]
data: T[] data: T[]
} }
...@@ -973,7 +975,7 @@ const selections = ref<AccountStatementNote[]>([]) ...@@ -973,7 +975,7 @@ const selections = ref<AccountStatementNote[]>([])
const detailSelections = ref<ItemList[]>([]) const detailSelections = ref<ItemList[]>([])
const detailList = ref<ItemList[]>([]) const detailList = ref<ItemList[]>([])
const tabsValue = ref<string>('0') const tabsValue = ref<string>('0')
const singleTableRef = ref<InstanceType<typeof ElTable>>() const singleTableRef = ref<TableInstance>()
const currentRow = ref<AccountStatementNote | null>(null) const currentRow = ref<AccountStatementNote | null>(null)
const paymentDialogVisible = ref(false) const paymentDialogVisible = ref(false)
...@@ -1008,7 +1010,7 @@ const { ...@@ -1008,7 +1010,7 @@ const {
refresh: search, refresh: search,
onCurrentPageChange: handleCurrentChange, onCurrentPageChange: handleCurrentChange,
onPageSizeChange: handleSizeChange, onPageSizeChange: handleSizeChange,
} = usePageList({ } = usePageList<AccountStatementNote>({
query: (page, pageSize) => query: (page, pageSize) =>
podReconciliationList( podReconciliationList(
{ {
...@@ -1152,7 +1154,7 @@ const getTreeNum = async () => { ...@@ -1152,7 +1154,7 @@ const getTreeNum = async () => {
console.error(e) console.error(e)
} }
} }
const rowClick = (row: AccountStatementNote) => { const rowClick = (row: AccountStatementNote | null) => {
if (!row) { if (!row) {
currentRow.value = null currentRow.value = null
} }
...@@ -1362,7 +1364,7 @@ const submitConfirmOrder = async (type: number) => { ...@@ -1362,7 +1364,7 @@ const submitConfirmOrder = async (type: number) => {
search() search()
await getTreeNum() await getTreeNum()
if (singleTableRef.value) { if (singleTableRef.value) {
singleTableRef.value!.setCurrentRow(currentRow.value) singleTableRef.value!.setCurrentRow(currentRow.value ?? undefined)
} }
} }
watch( watch(
......
...@@ -34,7 +34,7 @@ const { ...@@ -34,7 +34,7 @@ const {
refresh: search, refresh: search,
onCurrentPageChange: handleCurrentChange, onCurrentPageChange: handleCurrentChange,
onPageSizeChange: handleSizeChange, onPageSizeChange: handleSizeChange,
} = usePageList({ } = usePageList<AccountStatementNote>({
query: (page, pageSize) => query: (page, pageSize) =>
getPodShipmentDetailsById( getPodShipmentDetailsById(
{ {
......
<script setup lang="ts"> <script setup lang="ts">
import { ElMessage, ElTable } from 'element-plus' import { ElMessage } from 'element-plus'
import type { PropType } from 'vue'
import { ProductDetails } from '@/types/api/billOrder.ts' import { ProductDetails } from '@/types/api/billOrder.ts'
const selection = ref<ProductDetails[]>([]) const selection = ref<ProductDetails[]>([])
defineProps({ defineProps({
list: { list: {
type: Array, type: Array as PropType<ProductDetails[]>,
default: () => [], default: () => [],
}, },
}) })
const handleDetailSelectionChange = (arr:ProductDetails[]) => { const handleDetailSelectionChange = (arr: ProductDetails[]) => {
selection.value = arr selection.value = arr
} }
......
...@@ -1040,7 +1040,7 @@ ...@@ -1040,7 +1040,7 @@
<script setup lang="ts"> <script setup lang="ts">
import DetailView from './detail.vue' import DetailView from './detail.vue'
import EditOrder from './editOrder.vue' import EditOrder from './editOrder.vue'
import { ElMessage, ElTable, ElTree, TableColumnCtx } from 'element-plus' import { ElMessage, ElTree, TableColumnCtx, type TableInstance } from 'element-plus'
import splitDiv from '@/components/splitDiv/splitDiv.vue' import splitDiv from '@/components/splitDiv/splitDiv.vue'
import usePageList from '@/utils/hooks/usePageList' import usePageList from '@/utils/hooks/usePageList'
import { useValue } from '@/utils/hooks/useValue' import { useValue } from '@/utils/hooks/useValue'
...@@ -1084,7 +1084,9 @@ interface Tree { ...@@ -1084,7 +1084,9 @@ interface Tree {
children?: Tree[] children?: Tree[]
} }
interface SummaryMethodProps<T = AccountStatementNote> { interface SummaryMethodProps<
T extends Record<PropertyKey, any> = AccountStatementNote,
> {
columns: TableColumnCtx<T>[] columns: TableColumnCtx<T>[]
data: T[] data: T[]
} }
...@@ -1105,7 +1107,7 @@ const orderSelections = ref<OrderDetails[]>([]) ...@@ -1105,7 +1107,7 @@ const orderSelections = ref<OrderDetails[]>([])
const detailList = ref<ProductDetails[]>([]) const detailList = ref<ProductDetails[]>([])
const orderList = ref<OrderDetails[]>([]) const orderList = ref<OrderDetails[]>([])
const tabsValue = ref<string>('0') const tabsValue = ref<string>('0')
const singleTableRef = ref<InstanceType<typeof ElTable>>() const singleTableRef = ref<TableInstance>()
const currentRow = ref<AccountStatementNote | null>(null) const currentRow = ref<AccountStatementNote | null>(null)
const batchSave = async () => { const batchSave = async () => {
...@@ -1182,7 +1184,7 @@ const { ...@@ -1182,7 +1184,7 @@ const {
refresh: search, refresh: search,
onCurrentPageChange: handleCurrentChange, onCurrentPageChange: handleCurrentChange,
onPageSizeChange: handleSizeChange, onPageSizeChange: handleSizeChange,
} = usePageList({ } = usePageList<AccountStatementNote>({
query: (page, pageSize) => query: (page, pageSize) =>
podUsReconciliationList( podUsReconciliationList(
{ {
...@@ -1254,7 +1256,7 @@ const getTreeNum = async () => { ...@@ -1254,7 +1256,7 @@ const getTreeNum = async () => {
console.error(e) console.error(e)
} }
} }
const rowClick = (row: AccountStatementNote) => { const rowClick = (row: AccountStatementNote | null) => {
if (!row) { if (!row) {
currentRow.value = null currentRow.value = null
} }
...@@ -1414,7 +1416,7 @@ const submitConfirmOrder = async (type: number) => { ...@@ -1414,7 +1416,7 @@ const submitConfirmOrder = async (type: number) => {
search() search()
await getTreeNum() await getTreeNum()
if (singleTableRef.value) { if (singleTableRef.value) {
singleTableRef.value!.setCurrentRow(currentRow.value) singleTableRef.value!.setCurrentRow(currentRow.value ?? undefined)
} }
} }
watch( watch(
......
...@@ -34,7 +34,7 @@ const { ...@@ -34,7 +34,7 @@ const {
refresh: search, refresh: search,
onCurrentPageChange: handleCurrentChange, onCurrentPageChange: handleCurrentChange,
onPageSizeChange: handleSizeChange, onPageSizeChange: handleSizeChange,
} = usePageList({ } = usePageList<AccountStatementNote>({
query: (page, pageSize) => query: (page, pageSize) =>
getPodShipmentDetailsById( getPodShipmentDetailsById(
{ {
......
...@@ -894,10 +894,9 @@ ...@@ -894,10 +894,9 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ElMessage, ElRadioGroup, ElTree } from 'element-plus' import { ElMessage, ElRadioGroup, ElTree, type TableInstance } from 'element-plus'
import { CirclePlusFilled } from '@element-plus/icons-vue' import { CirclePlusFilled } from '@element-plus/icons-vue'
import splitDiv from '@/components/splitDiv/splitDiv.vue' import splitDiv from '@/components/splitDiv/splitDiv.vue'
import { ElTable } from 'element-plus'
import usePageList from '@/utils/hooks/usePageList' import usePageList from '@/utils/hooks/usePageList'
import { checkUpdateParams, AnyObject } from '@/utils/hooks/commonUtil' import { checkUpdateParams, AnyObject } from '@/utils/hooks/commonUtil'
import { useValue } from '@/utils/hooks/useValue' import { useValue } from '@/utils/hooks/useValue'
...@@ -1064,7 +1063,7 @@ const tradingTime = ref<string[]>([]) ...@@ -1064,7 +1063,7 @@ const tradingTime = ref<string[]>([])
const selections = ref<InterWarehousePage[]>([]) const selections = ref<InterWarehousePage[]>([])
const detailList = ref<InterProductList[]>([]) const detailList = ref<InterProductList[]>([])
const tabsValue = ref<string>('0') const tabsValue = ref<string>('0')
const singleTableRef = ref<InstanceType<typeof ElTable>>() const singleTableRef = ref<TableInstance>()
const currentRow = ref<InterWarehousePage | null>(null) const currentRow = ref<InterWarehousePage | null>(null)
const logList = ref<LogListData[]>([]) const logList = ref<LogListData[]>([])
const rules = { const rules = {
...@@ -1399,7 +1398,7 @@ const getWarehouseList = async () => { ...@@ -1399,7 +1398,7 @@ const getWarehouseList = async () => {
console.error(e) console.error(e)
} }
} }
const rowClick = (row: InterWarehousePage) => { const rowClick = (row: InterWarehousePage | null) => {
if (!row) { if (!row) {
currentRow.value = null currentRow.value = null
} }
......
...@@ -629,9 +629,8 @@ ...@@ -629,9 +629,8 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ElMessage, ElRadioGroup, ElTree } from 'element-plus' import { ElMessage, ElRadioGroup, ElTree, type TableInstance } from 'element-plus'
import splitDiv from '@/components/splitDiv/splitDiv.vue' import splitDiv from '@/components/splitDiv/splitDiv.vue'
import { ElTable } from 'element-plus'
import ReceiptProductDialog from './components/ReceiptProductDialog.vue' import ReceiptProductDialog from './components/ReceiptProductDialog.vue'
import usePageList from '@/utils/hooks/usePageList' import usePageList from '@/utils/hooks/usePageList'
import { checkUpdateParams, AnyObject } from '@/utils/hooks/commonUtil' import { checkUpdateParams, AnyObject } from '@/utils/hooks/commonUtil'
...@@ -807,7 +806,7 @@ const tradingTime = ref<string[]>([]) ...@@ -807,7 +806,7 @@ const tradingTime = ref<string[]>([])
const selections = ref<InterWarehousePage[]>([]) const selections = ref<InterWarehousePage[]>([])
const detailList = ref<InterProductList[]>([]) const detailList = ref<InterProductList[]>([])
const tabsValue = ref<string>('0') const tabsValue = ref<string>('0')
const singleTableRef = ref<InstanceType<typeof ElTable>>() const singleTableRef = ref<TableInstance>()
const currentRow = ref<InterWarehousePage | null>(null) const currentRow = ref<InterWarehousePage | null>(null)
const logList = ref<LogListData[]>([]) const logList = ref<LogListData[]>([])
const detailLoading = ref(false) const detailLoading = ref(false)
...@@ -1085,7 +1084,7 @@ const getWarehouseList = async () => { ...@@ -1085,7 +1084,7 @@ const getWarehouseList = async () => {
console.error(e) console.error(e)
} }
} }
const rowClick = (row: InterWarehousePage) => { const rowClick = (row: InterWarehousePage | null) => {
if (!row) { if (!row) {
currentRow.value = null currentRow.value = null
} }
......
...@@ -998,10 +998,9 @@ ...@@ -998,10 +998,9 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ElMessage, ElRadioGroup, ElTree } from 'element-plus' import { ElMessage, ElRadioGroup, ElTree, type TableInstance } from 'element-plus'
import { CirclePlusFilled } from '@element-plus/icons-vue' import { CirclePlusFilled } from '@element-plus/icons-vue'
import splitDiv from '@/components/splitDiv/splitDiv.vue' import splitDiv from '@/components/splitDiv/splitDiv.vue'
import { ElTable } from 'element-plus'
import usePageList from '@/utils/hooks/usePageList' import usePageList from '@/utils/hooks/usePageList'
import { checkUpdateParams, AnyObject } from '@/utils/hooks/commonUtil' import { checkUpdateParams, AnyObject } from '@/utils/hooks/commonUtil'
import { useValue } from '@/utils/hooks/useValue' import { useValue } from '@/utils/hooks/useValue'
...@@ -1174,7 +1173,7 @@ const tradingTime = ref<string[]>([]) ...@@ -1174,7 +1173,7 @@ const tradingTime = ref<string[]>([])
const selections = ref<InterWarehousePage[]>([]) const selections = ref<InterWarehousePage[]>([])
const detailList = ref<InterProductList[]>([]) const detailList = ref<InterProductList[]>([])
const tabsValue = ref<string>('0') const tabsValue = ref<string>('0')
const singleTableRef = ref<InstanceType<typeof ElTable>>() const singleTableRef = ref<TableInstance>()
const currentRow = ref<InterWarehousePage | null>(null) const currentRow = ref<InterWarehousePage | null>(null)
const logList = ref<LogListData[]>([]) const logList = ref<LogListData[]>([])
const rules = { const rules = {
...@@ -1509,7 +1508,7 @@ const getWarehouseList = async () => { ...@@ -1509,7 +1508,7 @@ const getWarehouseList = async () => {
console.error(e) console.error(e)
} }
} }
const rowClick = (row: InterWarehousePage) => { const rowClick = (row: InterWarehousePage | null) => {
if (!row) { if (!row) {
currentRow.value = null currentRow.value = null
} }
......
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