form 中item关联控制代码
app_field.set_dependent_field(event,
(:invoices_qf.vendor_id is not null or
:invoices_qf.invoice_num is not null or
:invoices_qf.invoice_type_lookup_code is not null or
:invoices_qf.invoice_date_low is not null or
:invoices_qf.invoice_date_high is not null or
:invoices_qf.invoice_amount_low is not null or
:invoices_qf.invoice_amount_high is not null or
:invoices_qf.batch_id is not null or
:invoices_qf.voucher_num_low is not null or
:invoices_qf.voucher_num_high is not null or
:invoices_qf.approval_status_lookup_code is not null),
‘invoices_qf.approval_status_lookup_code’);
意思是 上面字段只能不为空 才能输入approval_status_lookup_code字段 要不然approval_status_lookup_code字段不允许输入
相关文章
- 10-22Form中使用Upload上传
- 10-22使用HttpClient 传送form 表单的请求
- 10-22form组件页面基本使用
- 10-22react hooks 使用ref 操作 form 子组件
- 10-22Django笔记&教程 6-3 使用模型(models)创建表单(form)
- 10-22使用C#在Windows Form Application上从CSV文件读取和显示数据
- 10-22JsonResponse类的使用、form表单上传文件补充、CBV和FBV、HTML的模板语法之传值与过滤器
- 10-22第三方接口使用form-data格式请求
- 10-22.NET使用Request.Form[“txtMan2“]的注意事项
- 10-22浅析Vue3使用reactive/toRefs+v-model导致响应式失效el-form表单无法输入的问题