52790e07 by xukangle

fix

1 parent b6de3bf9
......@@ -971,7 +971,7 @@ const classEditFormItems = ref<any>([{
{
label: '是否必填',
type: "select",
field: "isNotNull",
field: "notNull",
disabled: false,
default: '',
options: [
......@@ -1037,7 +1037,7 @@ const drawerBtnClick = async (btn, info) => {
} else {
btn.loading = true;
console.log('drawerBtnClick', info);
const { orderNumLength, orderNum, startNumber, endNumber, fieldValueRange, startValue, endValue, fieldPrecision, dictionaryGuid, isUnique, isNotNull } = info;
const { orderNumLength, orderNum, startNumber, endNumber, fieldValueRange, startValue, endValue, fieldPrecision, dictionaryGuid, isUnique, notNull } = info;
// 判断长度orderNumLength,orderNum 要么都有值,要么都没有值,不能只有一个有值,一个没有值精确提醒
let fieldLengthCondition: any = '';
if ((orderNumLength === 'between' && !startNumber) || (orderNumLength === 'between' && !endNumber)) {
......@@ -1075,10 +1075,10 @@ const drawerBtnClick = async (btn, info) => {
// 根据是否有 fieldValueRange 来决定如何构建参数对象
if (fieldValueRange) {
param = {
fieldPrecision,
fieldPrecision: fieldPrecision || '',
dictionaryGuid,
isUnique,
isNotNull,
notNull,
fieldLengthCondition,
fieldValueRange,
fieldGuid: item,
......@@ -1086,10 +1086,10 @@ const drawerBtnClick = async (btn, info) => {
};
} else {
param = {
fieldPrecision,
fieldPrecision: fieldPrecision || '',
dictionaryGuid,
isUnique,
isNotNull,
notNull,
fieldLengthCondition,
fieldGuid: item,
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!