6.9 取消评标配置-详审配置中最低分设置为负分的提示信息
This commit is contained in:
@ -221,7 +221,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
render: (_, record) => {
|
||||
if (record.scoreMethod == 2) {
|
||||
return (
|
||||
<Input readOnly={dis} type="number" min={0} defaultValue={record.lowScore}
|
||||
<Input readOnly={dis} type="number" defaultValue={record.lowScore}
|
||||
onBlur={(event) => {
|
||||
record.lowScore = event.target.value;
|
||||
}} placeholder='最低分'
|
||||
|
@ -206,7 +206,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
render: (_, record) => {
|
||||
if (record.scoreMethod == 2) {
|
||||
return (
|
||||
<Input readOnly={dis} type="number" min={0} defaultValue={record.lowScore}
|
||||
<Input readOnly={dis} type="number" defaultValue={record.lowScore}
|
||||
onBlur={(event) => {
|
||||
record.lowScore = event.target.value;
|
||||
}} placeholder='最低分'
|
||||
|
@ -206,7 +206,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
render: (_, record) => {
|
||||
if (record.scoreMethod == 2) {
|
||||
return (
|
||||
<Input readOnly={dis} type="number" min={0} defaultValue={record.lowScore}
|
||||
<Input readOnly={dis} type="number" defaultValue={record.lowScore}
|
||||
onBlur={(event) => {
|
||||
record.lowScore = event.target.value;
|
||||
}} placeholder='最低分'
|
||||
@ -414,7 +414,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
const success = await save(allData);
|
||||
if (success) {
|
||||
await queryDetData();
|
||||
}else{
|
||||
} else {
|
||||
setSpin(false);
|
||||
}
|
||||
},
|
||||
@ -838,7 +838,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
!checkEmpty(item.detailList, '商务', item.name) && (pass = false);
|
||||
})
|
||||
score = score + typeScore1;
|
||||
if(score == NaN){
|
||||
if (score == NaN) {
|
||||
pass = false;
|
||||
message.error('商务类细则所录分值有误,请检查。')
|
||||
}
|
||||
@ -854,7 +854,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
!checkEmpty(item.detailList, '技术', item.name) && (pass = false);
|
||||
})
|
||||
score = score + typeScore2;
|
||||
if(score == NaN){
|
||||
if (score == NaN) {
|
||||
pass = false;
|
||||
message.error('技术类细则所录分值有误,请检查。')
|
||||
}
|
||||
@ -870,7 +870,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
|
||||
!checkEmpty(item.detailList, '服务', item.name) && (pass = false);
|
||||
})
|
||||
score = score + typeScore3;
|
||||
if(score == NaN){
|
||||
if (score == NaN) {
|
||||
pass = false;
|
||||
message.error('服务类细则所录分值有误,请检查。')
|
||||
}
|
||||
|
Reference in New Issue
Block a user