新增结算表,结束时间需大于开始时间

master
OathK1per 2023-01-03 10:36:46 +08:00
parent eb26bcf326
commit e24300b98c
1 changed files with 4 additions and 0 deletions

View File

@ -416,11 +416,15 @@
layui.use('laydate', function(){
var laydate = layui.laydate;
var startMonth = $("#startMonth").val();
console.log("startMonth: " + startMonth);
laydate.render({
elem: '#endMonth',
type: 'month',
btns: ['confirm'],
trigger: 'click',
min: startMonth + '-1',
ready: function(date){
console.log(date);
}