52790e07 by xukangle

fix

1 parent b6de3bf9
...@@ -971,7 +971,7 @@ const classEditFormItems = ref<any>([{ ...@@ -971,7 +971,7 @@ const classEditFormItems = ref<any>([{
971 { 971 {
972 label: '是否必填', 972 label: '是否必填',
973 type: "select", 973 type: "select",
974 field: "isNotNull", 974 field: "notNull",
975 disabled: false, 975 disabled: false,
976 default: '', 976 default: '',
977 options: [ 977 options: [
...@@ -1037,7 +1037,7 @@ const drawerBtnClick = async (btn, info) => { ...@@ -1037,7 +1037,7 @@ const drawerBtnClick = async (btn, info) => {
1037 } else { 1037 } else {
1038 btn.loading = true; 1038 btn.loading = true;
1039 console.log('drawerBtnClick', info); 1039 console.log('drawerBtnClick', info);
1040 const { orderNumLength, orderNum, startNumber, endNumber, fieldValueRange, startValue, endValue, fieldPrecision, dictionaryGuid, isUnique, isNotNull } = info; 1040 const { orderNumLength, orderNum, startNumber, endNumber, fieldValueRange, startValue, endValue, fieldPrecision, dictionaryGuid, isUnique, notNull } = info;
1041 // 判断长度orderNumLength,orderNum 要么都有值,要么都没有值,不能只有一个有值,一个没有值精确提醒 1041 // 判断长度orderNumLength,orderNum 要么都有值,要么都没有值,不能只有一个有值,一个没有值精确提醒
1042 let fieldLengthCondition: any = ''; 1042 let fieldLengthCondition: any = '';
1043 if ((orderNumLength === 'between' && !startNumber) || (orderNumLength === 'between' && !endNumber)) { 1043 if ((orderNumLength === 'between' && !startNumber) || (orderNumLength === 'between' && !endNumber)) {
...@@ -1075,10 +1075,10 @@ const drawerBtnClick = async (btn, info) => { ...@@ -1075,10 +1075,10 @@ const drawerBtnClick = async (btn, info) => {
1075 // 根据是否有 fieldValueRange 来决定如何构建参数对象 1075 // 根据是否有 fieldValueRange 来决定如何构建参数对象
1076 if (fieldValueRange) { 1076 if (fieldValueRange) {
1077 param = { 1077 param = {
1078 fieldPrecision, 1078 fieldPrecision: fieldPrecision || '',
1079 dictionaryGuid, 1079 dictionaryGuid,
1080 isUnique, 1080 isUnique,
1081 isNotNull, 1081 notNull,
1082 fieldLengthCondition, 1082 fieldLengthCondition,
1083 fieldValueRange, 1083 fieldValueRange,
1084 fieldGuid: item, 1084 fieldGuid: item,
...@@ -1086,10 +1086,10 @@ const drawerBtnClick = async (btn, info) => { ...@@ -1086,10 +1086,10 @@ const drawerBtnClick = async (btn, info) => {
1086 }; 1086 };
1087 } else { 1087 } else {
1088 param = { 1088 param = {
1089 fieldPrecision, 1089 fieldPrecision: fieldPrecision || '',
1090 dictionaryGuid, 1090 dictionaryGuid,
1091 isUnique, 1091 isUnique,
1092 isNotNull, 1092 notNull,
1093 fieldLengthCondition, 1093 fieldLengthCondition,
1094 fieldGuid: item, 1094 fieldGuid: item,
1095 execGuid: execGuidInfo.value.execGuid, 1095 execGuid: execGuidInfo.value.execGuid,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!