2023-12-21
This commit is contained in:
@@ -175,25 +175,27 @@
|
|||||||
<div class="listconadd">
|
<div class="listconadd">
|
||||||
|
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<div class="item">
|
<!-- <div class="item">
|
||||||
<div class="item_text">
|
<div class="item_text">
|
||||||
<span class="item_text2" @click="handleDownload">下载模版</span>
|
<span class="item_text2" @click="handleDownload">下载模版</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="item_input"></span>
|
<span class="item_input"></span>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class="item_text">起始日期:</span>
|
<span class="item_text">起始日期:</span>
|
||||||
<el-date-picker v-model="batchInfo.startDate" @change="selectbatchInfo1" type="date"
|
<el-date-picker v-model="batchInfo.startDate" @change="selectbatchInfo1" type="date"
|
||||||
placeholder="选择日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" class="item_input">
|
placeholder="选择日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" class="item_input"
|
||||||
|
:picker-options="pickerOptions">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class="item_text">终止日期:</span>
|
<span class="item_text">终止日期:</span>
|
||||||
<el-date-picker v-model="batchInfo.endDate" @change="selectbatchInfo2" type="date"
|
<el-date-picker v-model="batchInfo.endDate" @change="selectbatchInfo2" type="date"
|
||||||
placeholder="选择日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" class="item_input">
|
placeholder="选择日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" class="item_input"
|
||||||
|
:picker-options="pickerOptions">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="margin-top: 30px;">
|
<div class="item" style="margin-top: 30px;">
|
||||||
@@ -281,6 +283,11 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(v) {
|
||||||
|
return v.getTime() < new Date().getTime() - 86400000; // - 86400000是否包括当天
|
||||||
|
}
|
||||||
|
},
|
||||||
viewState: 1,
|
viewState: 1,
|
||||||
submitdisabled: false,
|
submitdisabled: false,
|
||||||
page: {
|
page: {
|
||||||
|
|||||||
Reference in New Issue
Block a user