zth
lijingjia 3 weeks ago
parent a05c04f23c
commit f10619db5c

@ -83,11 +83,17 @@
const init = () => {
visible.value = true
nextTick(() => {
console.log(colData.value)
TableColDragRef.value.init(colData.value)
})
}
onMounted(() => {
colData.value = props.columns.data
console.log(props.columns)
if (props.type == 'excel') {
colData.value = props.columns.data
} else {
colData.value = props.columns
}
})
const handleOk = (b) => {
const content = JSON.stringify(TableColDragRef.value.getColList())

@ -16,7 +16,6 @@
</a-button>
<!-- 列设置 -->
<HColSet
:ref="`dsTb${getBindValues.id}`"
:code="getBindValues.id"
:columns="getBindValues.columns"
type="normal"

@ -508,6 +508,7 @@ const [registerTable, { reload, getVxeSelectRows, setLoading, setColumns }] = us
resizeHeightOffset: 75,
immediate: false,
tableComponent: 'vxe',
id: 'order-ledger',
actionColumn: {
width: 60,
title: '操作',

Loading…
Cancel
Save