fix 79461
This commit is contained in:
+6
-1
@@ -156,7 +156,7 @@
|
||||
</span>
|
||||
</div>
|
||||
<a-form-model-item class="item-model" prop="applyDelayDate">
|
||||
<j-date date-format="YYYY-MM-DD" style="width: 100%" showType="day" :disabled="disabled"
|
||||
<j-date date-format="YYYY-MM-DD" style="width: 100%" showType="day" :disabled="disabled" :disabledDate="disabledDate"
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.esInspectionRectification.requestExtensionDate')"
|
||||
v-model="formInline.applyDelayDate" />
|
||||
</a-form-model-item>
|
||||
@@ -187,6 +187,7 @@
|
||||
|
||||
<script>
|
||||
import UploadFile from '@comp/UploadFile'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
name: 'BaseInfoForm',
|
||||
@@ -294,6 +295,10 @@ export default {
|
||||
/** 赋值给当前对应的表单文件 */
|
||||
this.$set(this.formInline, 'attachment', attIdList.join(','))
|
||||
// this.formInline.attachment = attIdList.join(',')
|
||||
},
|
||||
// 禁用日期选择大于当前天
|
||||
disabledDate (date) {
|
||||
return date.isBefore(moment().add(1, 'days'), 'day')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user