|
|
@@ -33,7 +33,7 @@ layui.config({
|
|
|
var layConfirmTime = laydate.render({
|
|
|
elem: '#ConfirmTime',
|
|
|
trigger: 'click',
|
|
|
- type: 'datetime',
|
|
|
+ type: 'date',
|
|
|
range: true,
|
|
|
change: function (value, date, endDate) {
|
|
|
var op = true;
|
|
|
@@ -57,6 +57,33 @@ layui.config({
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ var layReBindTime = laydate.render({
|
|
|
+ elem: '#ReBindTime',
|
|
|
+ trigger: 'click',
|
|
|
+ type: 'date',
|
|
|
+ range: true,
|
|
|
+ change: function (value, date, endDate) {
|
|
|
+ var op = true;
|
|
|
+ if (date.year == endDate.year && endDate.month - date.month <= 1) {
|
|
|
+ if (endDate.month - date.month == 1 && endDate.date > date.date) {
|
|
|
+ op = false;
|
|
|
+ layReBindTime.hint('日期范围请不要超过1个月');
|
|
|
+ setTimeout(function () {
|
|
|
+ $(".laydate-btns-confirm").addClass("laydate-disabled");
|
|
|
+ }, 1);
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ op = false;
|
|
|
+ layReBindTime.hint('日期范围请不要超过1个月');
|
|
|
+ setTimeout(function () {
|
|
|
+ $(".laydate-btns-confirm").addClass("laydate-disabled");
|
|
|
+ }, 1);
|
|
|
+ }
|
|
|
+ if (op) {
|
|
|
+ $('#ReBindTime').val(value);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
|
|
|
//excel导入
|
|
|
@@ -93,12 +120,12 @@ layui.config({
|
|
|
{ type: 'checkbox', fixed: 'left' }
|
|
|
// , { field: 'Id', fixed: 'left', title: 'ID', width: 80, sort: true, unresize: true }
|
|
|
, { field: 'Status', width: 200, title: '状态', sort: true }
|
|
|
- , { field: 'CreateTime', width: 200, title: '创建时间', sort: true }
|
|
|
+ , { field: 'CreateDate', width: 200, title: '创建时间', sort: true }
|
|
|
, { field: 'AgentNo', width: 200, title: '机构号', sort: true }
|
|
|
, { field: 'AgentName', width: 200, title: '机构名称', sort: true }
|
|
|
, { field: 'MerNo', width: 200, title: '商户编号', sort: true }
|
|
|
, { field: 'MerName', width: 200, title: '商户名称', sort: true }
|
|
|
- , { field: 'MerSnNo', width: 200, title: '终端机身号', sort: true }
|
|
|
+ , { field: 'MerSnNo', width: 200, title: '原终端机身号', sort: true }
|
|
|
, { field: 'ProductType', width: 200, title: '产品类型', sort: true }
|
|
|
, { field: 'MerNewSnNo', width: 200, title: '新终端机身号', sort: true }
|
|
|
, { field: 'ConfirmTime', width: 200, title: '提交时间', sort: true }
|