‘驳回意见

git commit -m ‘驳回意见
This commit is contained in:
fz
2023-12-12 18:59:42 +08:00
parent 1cabdbeede
commit 1daa8e241b
3 changed files with 31 additions and 27 deletions
@@ -36,7 +36,7 @@
<el-col :span="12">
<el-form-item label="借款开始日期:" prop="loanStartDate">
<el-date-picker v-model="formData.loanStartDate" type="datetime" placeholder="借款开始日期"
@change="setStartTime">
>
</el-date-picker>
</el-form-item>
</el-col>
@@ -945,16 +945,16 @@ export default {
this.$emit("cancel");
},
// 校验借款开始日期与结束日期
setStartTime() {
if (
this.setTime(this.formData.loanStartDate) >=
this.setTime(this.formData.loanEndDate)
) {
this.$message.error("借款开始日期应早于借款结束日期");
this.formData.loanStartDate = "";
this.formData.loanEndDate = "";
}
},
// setStartTime() {
// if (
// this.setTime(this.formData.loanStartDate) >=
// this.setTime(this.formData.loanEndDate)
// ) {
// this.$message.error("借款开始日期应早于借款结束日期");
// this.formData.loanStartDate = "";
// this.formData.loanEndDate = "";
// }
// },
setEndTime() {
if (
this.setTime(this.formData.loanEndDate) <=