新增结算表,结束时间需大于开始时间
parent
eb26bcf326
commit
e24300b98c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue