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

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(){ layui.use('laydate', function(){
var laydate = layui.laydate; var laydate = layui.laydate;
var startMonth = $("#startMonth").val();
console.log("startMonth: " + startMonth);
laydate.render({ laydate.render({
elem: '#endMonth', elem: '#endMonth',
type: 'month', type: 'month',
btns: ['confirm'], btns: ['confirm'],
trigger: 'click', trigger: 'click',
min: startMonth + '-1',
ready: function(date){ ready: function(date){
console.log(date); console.log(date);
} }