修复了小bug
parent
0579658b6f
commit
ac67f16655
|
@ -135,7 +135,6 @@ class ReimbursementCreate extends React.Component<any, any> {
|
|||
};
|
||||
|
||||
submitCheck = () => {
|
||||
//TODO: check
|
||||
let msgContent:string = ""
|
||||
if(this.state.departureName == "" ) {
|
||||
msgContent = "未填写出发地"
|
||||
|
@ -143,7 +142,7 @@ class ReimbursementCreate extends React.Component<any, any> {
|
|||
msgContent = "未填写目的地"
|
||||
} else if(this.state.departureInvoice == null) {
|
||||
msgContent = "未上传出发票据"
|
||||
} else if(this.state.selectedDepartment == null || this.state.selectedDepartment.isEmpty()) {
|
||||
} else if(this.state.selectedDepartment == null) {
|
||||
msgContent = "未选择报销部门"
|
||||
} else {
|
||||
return {ok: true, msg: ""}
|
||||
|
|
Loading…
Reference in New Issue