This commit is contained in:
bb_pan 2025-12-03 14:33:33 +08:00
parent 614bfdbaac
commit bf7db0282f
1 changed files with 6 additions and 1 deletions

View File

@ -125,7 +125,7 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="出库日期" align="center" prop="updateTime" min-width="55px"/> <el-table-column label="出库日期" align="center" prop="updateTime" width="160px"/>
<el-table-column label="退库日期" align="center" prop="useTime" width="160px"> <el-table-column label="退库日期" align="center" prop="useTime" width="160px">
<template slot-scope="scope"> <template slot-scope="scope">
@ -136,6 +136,11 @@
format="yyyy-MM-dd" format="yyyy-MM-dd"
style="width: 100%" style="width: 100%"
placeholder="选择日期" placeholder="选择日期"
:picker-options="{
disabledDate(time) {
return time.getTime() < new Date(scope.row.updateTime).getTime()
},
}"
> >
</el-date-picker> </el-date-picker>
</template> </template>