Commit 0584c2397f7acd7bb3fa48dab90387ee53b345b9
1 parent
d8842205
油量电量平衡表南汇公司只能修改最近三天的数据
Showing
2 changed files
with
13 additions
and
13 deletions
src/main/resources/static/pages/electricity/list/list.html
| @@ -281,7 +281,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -281,7 +281,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 281 | if ($("#rq").val() != "") { | 281 | if ($("#rq").val() != "") { |
| 282 | var params=getParamsList(); | 282 | var params=getParamsList(); |
| 283 | $get('/ylb/checkDate',params,function(status){ | 283 | $get('/ylb/checkDate',params,function(status){ |
| 284 | - if(status=='3'){ | 284 | + if(status=='2'){ |
| 285 | layer.msg('只能操作三天内数据.'); | 285 | layer.msg('只能操作三天内数据.'); |
| 286 | }else{ | 286 | }else{ |
| 287 | var i = layer.load(2); | 287 | var i = layer.load(2); |
| @@ -302,7 +302,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -302,7 +302,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 302 | if ($("#rq").val() != "") { | 302 | if ($("#rq").val() != "") { |
| 303 | var params=getParamsList(); | 303 | var params=getParamsList(); |
| 304 | $get('/ylb/checkDate',params,function(status){ | 304 | $get('/ylb/checkDate',params,function(status){ |
| 305 | - if(status=='3'){ | 305 | + if(status=='2'){ |
| 306 | layer.msg('只能操作三天内数据.'); | 306 | layer.msg('只能操作三天内数据.'); |
| 307 | }else{ | 307 | }else{ |
| 308 | var i = layer.load(2); | 308 | var i = layer.load(2); |
| @@ -322,7 +322,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -322,7 +322,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 322 | $("#saveButton").on('click',function(){ | 322 | $("#saveButton").on('click',function(){ |
| 323 | var params_=getParamsList(); | 323 | var params_=getParamsList(); |
| 324 | $get('/ylb/checkDate',params_,function(status){ | 324 | $get('/ylb/checkDate',params_,function(status){ |
| 325 | - if(status=='3'){ | 325 | + if(status=='2'){ |
| 326 | layer.msg('只能操作三天内数据.'); | 326 | layer.msg('只能操作三天内数据.'); |
| 327 | }else{ | 327 | }else{ |
| 328 | var ylArray = []; | 328 | var ylArray = []; |
| @@ -434,7 +434,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -434,7 +434,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 434 | if ($("#rq").val() != "") { | 434 | if ($("#rq").val() != "") { |
| 435 | var params=getParamsList(); | 435 | var params=getParamsList(); |
| 436 | $get('/ylb/checkDate',params,function(status){ | 436 | $get('/ylb/checkDate',params,function(status){ |
| 437 | - if(status=='3'){ | 437 | + if(status=='2'){ |
| 438 | layer.msg('只能操作三天内数据.'); | 438 | layer.msg('只能操作三天内数据.'); |
| 439 | }else{ | 439 | }else{ |
| 440 | var i = layer.load(2); | 440 | var i = layer.load(2); |
| @@ -599,7 +599,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -599,7 +599,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 599 | var params=getParamsList(); | 599 | var params=getParamsList(); |
| 600 | var id = $(this).data('id'); | 600 | var id = $(this).data('id'); |
| 601 | $get('/ylb/checkDate',params,function(status){ | 601 | $get('/ylb/checkDate',params,function(status){ |
| 602 | - if(status=='3'){ | 602 | + if(status=='2'){ |
| 603 | layer.msg('只能操作三天内数据.'); | 603 | layer.msg('只能操作三天内数据.'); |
| 604 | }else{ | 604 | }else{ |
| 605 | var jsy=$('.in_carpark_jsy[data-id='+id+']', '#dl_oil_list').val(); | 605 | var jsy=$('.in_carpark_jsy[data-id='+id+']', '#dl_oil_list').val(); |
| @@ -743,7 +743,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -743,7 +743,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 743 | $('#removeButton').on('click', function () { | 743 | $('#removeButton').on('click', function () { |
| 744 | var params_=getParamsList(); | 744 | var params_=getParamsList(); |
| 745 | $get('/ylb/checkDate',params_,function(status){ | 745 | $get('/ylb/checkDate',params_,function(status){ |
| 746 | - if(status=='3'){ | 746 | + if(status=='2'){ |
| 747 | layer.msg('只能操作三天内数据.'); | 747 | layer.msg('只能操作三天内数据.'); |
| 748 | }else{ | 748 | }else{ |
| 749 | var idArray = []; | 749 | var idArray = []; |
src/main/resources/static/pages/oil/list_ph.html
| @@ -359,7 +359,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -359,7 +359,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 359 | if ($("#rq").val() != "") { | 359 | if ($("#rq").val() != "") { |
| 360 | var params=getParamsList(); | 360 | var params=getParamsList(); |
| 361 | $get('/ylb/checkDate',params,function(status){ | 361 | $get('/ylb/checkDate',params,function(status){ |
| 362 | - if(status=='3'){ | 362 | + if(status=='2'){ |
| 363 | layer.msg('只能操作三天内数据.'); | 363 | layer.msg('只能操作三天内数据.'); |
| 364 | }else{ | 364 | }else{ |
| 365 | var i = layer.load(2); | 365 | var i = layer.load(2); |
| @@ -381,7 +381,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -381,7 +381,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 381 | if ($("#rq").val() != "") { | 381 | if ($("#rq").val() != "") { |
| 382 | var params=getParamsList(); | 382 | var params=getParamsList(); |
| 383 | $get('/ylb/checkDate',params,function(status){ | 383 | $get('/ylb/checkDate',params,function(status){ |
| 384 | - if(status=='3'){ | 384 | + if(status=='2'){ |
| 385 | layer.msg('只能操作三天内数据.'); | 385 | layer.msg('只能操作三天内数据.'); |
| 386 | }else{ | 386 | }else{ |
| 387 | var i = layer.load(2); | 387 | var i = layer.load(2); |
| @@ -401,7 +401,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -401,7 +401,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 401 | 401 | ||
| 402 | var params_=getParamsList(); | 402 | var params_=getParamsList(); |
| 403 | $get('/ylb/checkDate',params_,function(status){ | 403 | $get('/ylb/checkDate',params_,function(status){ |
| 404 | - if(status=='3'){ | 404 | + if(status=='2'){ |
| 405 | layer.msg('只能操作三天内数据.'); | 405 | layer.msg('只能操作三天内数据.'); |
| 406 | }else{ | 406 | }else{ |
| 407 | var ylArray = []; | 407 | var ylArray = []; |
| @@ -465,7 +465,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -465,7 +465,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 465 | if ($("#rq").val() != "") { | 465 | if ($("#rq").val() != "") { |
| 466 | var params_=getParamsList(); | 466 | var params_=getParamsList(); |
| 467 | $get('/ylb/checkDate',params_,function(status){ | 467 | $get('/ylb/checkDate',params_,function(status){ |
| 468 | - if(status=='3'){ | 468 | + if(status=='2'){ |
| 469 | layer.msg('只能操作三天内数据.'); | 469 | layer.msg('只能操作三天内数据.'); |
| 470 | }else{ | 470 | }else{ |
| 471 | //拆分前先保存全部 | 471 | //拆分前先保存全部 |
| @@ -633,7 +633,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -633,7 +633,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 633 | if ($("#rq").val() != "") { | 633 | if ($("#rq").val() != "") { |
| 634 | var params=getParamsList(); | 634 | var params=getParamsList(); |
| 635 | $get('/ylb/checkDate',params,function(status){ | 635 | $get('/ylb/checkDate',params,function(status){ |
| 636 | - if(status=='3'){ | 636 | + if(status=='2'){ |
| 637 | layer.msg('只能操作三天内数据.'); | 637 | layer.msg('只能操作三天内数据.'); |
| 638 | }else{ | 638 | }else{ |
| 639 | var i = layer.load(2); | 639 | var i = layer.load(2); |
| @@ -790,7 +790,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -790,7 +790,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 790 | var params=getParamsList(); | 790 | var params=getParamsList(); |
| 791 | $get('/ylb/checkDate',params,function(status){ | 791 | $get('/ylb/checkDate',params,function(status){ |
| 792 | var id = $(this).data('id'); | 792 | var id = $(this).data('id'); |
| 793 | - if(status=='3'){ | 793 | + if(status=='2'){ |
| 794 | layer.msg('只能操作三天内数据.'); | 794 | layer.msg('只能操作三天内数据.'); |
| 795 | }else{ | 795 | }else{ |
| 796 | var jsy=$('.in_carpark_jsy[data-id='+id+']', '#ll_oil_list').val(); | 796 | var jsy=$('.in_carpark_jsy[data-id='+id+']', '#ll_oil_list').val(); |
| @@ -927,7 +927,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | @@ -927,7 +927,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep | ||
| 927 | $('.removeButton').on('click', function () { | 927 | $('.removeButton').on('click', function () { |
| 928 | var params_=getParamsList(); | 928 | var params_=getParamsList(); |
| 929 | $get('/ylb/checkDate',params_,function(status){ | 929 | $get('/ylb/checkDate',params_,function(status){ |
| 930 | - if(status=='3'){ | 930 | + if(status=='2'){ |
| 931 | layer.msg('只能操作三天内数据.'); | 931 | layer.msg('只能操作三天内数据.'); |
| 932 | }else{ | 932 | }else{ |
| 933 | var idArray = []; | 933 | var idArray = []; |