|
|
|
|
@ -9,10 +9,12 @@
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-button type="primary" @click="GetList()" style="margin-left: 10px;">查询</el-button>
|
|
|
|
|
<el-button type="danger" @click="Del()" style="margin-left: 10px;">删除</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<el-table :data="tableData" style="width: 100%;" row-key="id" v-loading="loading">
|
|
|
|
|
<el-table :data="tableData" style="width: 100%;" row-key="id" v-loading="loading" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
|
|
<el-table-column prop="id" label="Id" width="100" v-if="false" />
|
|
|
|
|
<el-table-column prop="date" label="日期" />
|
|
|
|
|
<el-table-column prop="type_0_count" label="预留" />
|
|
|
|
|
@ -156,6 +158,13 @@
|
|
|
|
|
const toDetail=(date)=>{
|
|
|
|
|
window.location.href = "./#/planMngr/plan?date="+date
|
|
|
|
|
}
|
|
|
|
|
const handleSelectionChange=(e)=>{
|
|
|
|
|
selectedDate.value=[]
|
|
|
|
|
e.forEach((v,i)=>{
|
|
|
|
|
selectedDate.value.push(v.date)
|
|
|
|
|
})
|
|
|
|
|
console.log(selectedDate.value)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
|