付费审核

zth
lijingjia 3 weeks ago
parent f95b4a0dcb
commit dbd8084266

@ -562,11 +562,6 @@ import { Item } from 'ant-design-vue/lib/menu'
// }
}
},
afterSelectionEnd: function (isStance, col) {
// if (col == 4 || col == 5 || col == 6) {
// hotTb.value.hotInstance.getActiveEditor().beginEditing()
// }
},
columns: columns,
// ()
licenseKey: 'non-commercial-and-evaluation',
@ -1087,6 +1082,7 @@ import { Item } from 'ant-design-vue/lib/menu'
exchangeRateList = res.data
})
}
const editKeyCode = [33, 34, 35, 36, 37, 38, 39, 40, 46, 16 ,17, 18]
//
const add = () => {
const hot = hotTb.value.hotInstance
@ -1144,7 +1140,21 @@ import { Item } from 'ant-design-vue/lib/menu'
}
//
if (props.isShowBtn) init()
//
document.addEventListener('keyup', handKeyUp, false)
document.addEventListener('mousedown', handKeyDown, false)
})
const handKeyUp = (event) => {
if (editKeyCode.indexOf(event.keyCode) > -1) {
hotTb.value.hotInstance.removeHook('afterSelectionEnd', afterSelect)
}
}
const handKeyDown = (event) => {
hotTb.value.hotInstance.removeHook('afterSelectionEnd', afterSelect)
}
const afterSelect = () => {
hotTb.value.hotInstance.getActiveEditor().beginEditing()
}
//
const updateCol = (list) => {
hotTb.value.hotInstance.updateSettings({

@ -13,13 +13,13 @@
<template v-if="column.dataIndex == 'applicationNO'">
<span style="cursor: pointer"><span><span @click="copyNo($event, record.applicationNO)" class="iconfont icon-fuzhi11"></span>{{ record.applicationNO }}</span></span>
</template>
<template v-if="column.dataIndex == 'statusText'">
<!-- <template v-if="column.dataIndex == 'statusText'">
<span v-if="record.status == 0" class="ds-blue-tag">{{ record.statusText }}</span>
<span v-else-if="record.status == 1" class="ds-green-tag">{{ record.statusText }}</span>
<span v-else-if="/^2|3|4|5|6$/.test(record.status)" class="ds-orange-tag">{{ record.statusText }}</span>
<span v-else-if="/^7|8$/.test(record.status)" class="ds-red-tag">{{ record.statusText }}</span>
<span v-else class="ds-purple-tag">{{ record.statusText }}</span>
</template>
</template> -->
<template v-if="column.key === 'action'">
<TableAction :actions="[
{

Loading…
Cancel
Save