Commit f1815e1f authored by liwenhong's avatar liwenhong

add

parent 43e47646
......@@ -221,6 +221,7 @@
format="YYYY-MM-DD HH:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
:disabled="checkedAddTime.online_type!=2"
@change="pickAddTime"
>
</el-date-picker>
</span>
......@@ -387,6 +388,9 @@ export default {
console.log(this.searchProps);
this.getCommodityList();
},
pickAddTime(val) {
if(val[1] < new Date()) {this.addTimeRange[1] = new Date();this.$message.warning('结束时间不能小于当前时间');}
},
// 重置表单
resetList() {
this.searchProps = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment