Commit 3a8c4ba1 authored by TZW's avatar TZW

1111

parent c20c1f9f
...@@ -422,7 +422,7 @@ let Diyrule = (props) => { ...@@ -422,7 +422,7 @@ let Diyrule = (props) => {
value: newvalue, value: newvalue,
other: { other: {
...other, ...other,
increaseList: other.increaseList.filter((item) => { increaseList: other?.increaseList?.filter((item) => {
return item != it?.id; return item != it?.id;
}), }),
sort: other.sort == i + 1 ? null : other.sort, sort: other.sort == i + 1 ? null : other.sort,
......
...@@ -135,7 +135,7 @@ function getcolumns(setdrawer) { ...@@ -135,7 +135,7 @@ function getcolumns(setdrawer) {
valueType: 'rate', valueType: 'rate',
searchValueType: 'digit', searchValueType: 'digit',
fieldProps: { fieldProps: {
defaultValue: 1, defaultValue: 0,
max: 5, max: 5,
precision: 1, precision: 1,
}, },
......
...@@ -30,7 +30,6 @@ function getcolumns(setdrawer) { ...@@ -30,7 +30,6 @@ function getcolumns(setdrawer) {
width: 180, width: 180,
dataIndex: 'departmentCode', dataIndex: 'departmentCode',
key: 'departmentCode', key: 'departmentCode',
hideInTable: true,
formItemProps: { formItemProps: {
rules: [ rules: [
{ {
...@@ -44,6 +43,7 @@ function getcolumns(setdrawer) { ...@@ -44,6 +43,7 @@ function getcolumns(setdrawer) {
title: '上级组织', title: '上级组织',
width: 180, width: 180,
dataIndex: 'parentKey', dataIndex: 'parentKey',
hideInTable: true,
key: 'parentKey', key: 'parentKey',
formItemProps: { formItemProps: {
rules: [ rules: [
......
...@@ -3,7 +3,7 @@ function getcolumns(ifs) { ...@@ -3,7 +3,7 @@ function getcolumns(ifs) {
{ {
title: '表单名称', title: '表单名称',
dataIndex: 'formName', dataIndex: 'formName',
// key: 'formName', key: 'formName',
fieldProps: { fieldProps: {
disabled: true, disabled: true,
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56 * @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-15 16:06:11 * @Last Modified time: 2022-12-19 11:25:53
*/ */
import * as React from 'react'; import * as React from 'react';
......
...@@ -27,7 +27,7 @@ function getcolumns(setdrawer) { ...@@ -27,7 +27,7 @@ function getcolumns(setdrawer) {
title: '规则配置', title: '规则配置',
dataIndex: 'nrList', dataIndex: 'nrList',
hideInTable: true, hideInTable: true,
search: true, search: false,
valueType: 'diyrules', valueType: 'diyrules',
colProps: { colProps: {
span: 24, span: 24,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment