diff --git a/src/views/baseinfo/infoclient/columns.tsx b/src/views/baseinfo/infoclient/columns.tsx index b22b42ea..2f83dc92 100644 --- a/src/views/baseinfo/infoclient/columns.tsx +++ b/src/views/baseinfo/infoclient/columns.tsx @@ -477,7 +477,7 @@ export const formSchema: FormSchema[] = [ component: 'Input', defaultValue: '', dynamicDisabled: ({ values }) => { - return values.id + return values.id != '' }, colProps: { span: 6 }, }, @@ -607,7 +607,7 @@ export const formSchema: FormSchema[] = [ { field: 'rcvMode', label: '收单据模式', - required: true, + // required: true, // component: 'Select', component: 'Input', defaultValue: '', diff --git a/src/views/operation/seaexport/detail/modules/goodsTable.vue b/src/views/operation/seaexport/detail/modules/goodsTable.vue index 841b8b3e..2c9dc57a 100644 --- a/src/views/operation/seaexport/detail/modules/goodsTable.vue +++ b/src/views/operation/seaexport/detail/modules/goodsTable.vue @@ -1800,6 +1800,11 @@ deep: true, }, ) + // addShortcut({ + // key: 'Ctrl+Shift+A', // 自定义快捷键 + // callback: () => alert('自定义快捷键触发'), // 快捷键回调函数 + // isEditable: false, // 是否在编辑状态下允许使用快捷键 + // }), // 表格配置项 const settings = { height: '400', @@ -1823,6 +1828,11 @@ hotTb.value.hotInstance.setDataAtRowProp(row, prop, '') } }, + afterDocumentKeyDown: function (e) { + if (e.code === 'ArrowDown') { + console.log(e.target) + } + }, columns: columns, // 此行直接复制,必须(非商用) licenseKey: 'non-commercial-and-evaluation',