szh-new
张同海 5 months ago
parent 1a0c8d38e4
commit 003ce4d3d0

@ -477,7 +477,7 @@ export const formSchema: FormSchema[] = [
component: 'Input', component: 'Input',
defaultValue: '', defaultValue: '',
dynamicDisabled: ({ values }) => { dynamicDisabled: ({ values }) => {
return values.id return values.id != ''
}, },
colProps: { span: 6 }, colProps: { span: 6 },
}, },
@ -607,7 +607,7 @@ export const formSchema: FormSchema[] = [
{ {
field: 'rcvMode', field: 'rcvMode',
label: '收单据模式', label: '收单据模式',
required: true, // required: true,
// component: 'Select', // component: 'Select',
component: 'Input', component: 'Input',
defaultValue: '', defaultValue: '',

@ -1800,6 +1800,11 @@
deep: true, deep: true,
}, },
) )
// addShortcut({
// key: 'Ctrl+Shift+A', //
// callback: () => alert(''), //
// isEditable: false, // 使
// }),
// //
const settings = { const settings = {
height: '400', height: '400',
@ -1823,6 +1828,11 @@
hotTb.value.hotInstance.setDataAtRowProp(row, prop, '') hotTb.value.hotInstance.setDataAtRowProp(row, prop, '')
} }
}, },
afterDocumentKeyDown: function (e) {
if (e.code === 'ArrowDown') {
console.log(e.target)
}
},
columns: columns, columns: columns,
// () // ()
licenseKey: 'non-commercial-and-evaluation', licenseKey: 'non-commercial-and-evaluation',

Loading…
Cancel
Save