| | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.props.dict['main.action.confirm.selectline'], |
| | | duration: 10 |
| | | duration: 5 |
| | | }) |
| | | return |
| | | } else if (item.Ot === 'requiredSgl' && datalist.length > 1) { |
| | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.props.dict['main.action.confirm.selectSingleLine'], |
| | | duration: 10 |
| | | duration: 5 |
| | | }) |
| | | return |
| | | } |
| | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.props.dict['main.action.primarykey.required'], |
| | | duration: 10 |
| | | duration: 5 |
| | | }) |
| | | return |
| | | } else if (ID.length > 1) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.props.dict['main.action.primarykey.repetition'], |
| | | duration: 10 |
| | | duration: 5 |
| | | }) |
| | | return |
| | | } |
| | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.props.dict['main.action.primarykey.repetitionbid'], |
| | | duration: 10 |
| | | duration: 5 |
| | | }) |
| | | return |
| | | } |
| | |
| | | notification.error({ |
| | | top: 92, |
| | | message: result.message, |
| | | duration: 15 |
| | | duration: 10 |
| | | }) |
| | | iserror = true |
| | | } |
| | |
| | | notification.error({ |
| | | top: 92, |
| | | message: res.message, |
| | | duration: 15 |
| | | duration: 10 |
| | | }) |
| | | } |
| | | } |
| | |
| | | notification.error({ |
| | | top: 92, |
| | | message: result.message, |
| | | duration: 15 |
| | | duration: 10 |
| | | }) |
| | | iserror = true |
| | | } |
| | |
| | | notification.error({ |
| | | top: 92, |
| | | message: res.message, |
| | | duration: 15 |
| | | duration: 10 |
| | | }) |
| | | } |
| | | } |
| | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.props.dict['main.action.settingerror'], |
| | | duration: 10 |
| | | duration: 5 |
| | | }) |
| | | } |
| | | } |
| | |
| | | notification.error({ |
| | | top: 92, |
| | | message: result.message, |
| | | duration: 15 |
| | | duration: 10 |
| | | }) |
| | | } |
| | | }) |