|
@@ -310,13 +310,13 @@ const rptCustomObj = (function () {
|
|
|
if (gsObj.setting.type === 'zone') $('#gather-by-zone').show();
|
|
|
if (gsObj.setting.type === 'stage') $('#gather-by-stage').show();
|
|
|
if (gsObj.setting.type === 'stage-zone') $('#gather-by-stage-zone').show();
|
|
|
- if (gsObj.setting.type === 'checked-zone') $('#gather-by-checked-zone').show();
|
|
|
+ if (gsObj.setting.type === 'custom-zone') $('#gather-by-custom-zone').show();
|
|
|
|
|
|
if (gsSelect) {
|
|
|
if (gsSelect.zone) {
|
|
|
$('#gather-zone').val(gsSelect.zone ? gsSelect.zone : '');
|
|
|
- } else if (gsSelect.checked_zone) {
|
|
|
- $('#gather-checked-zone').val(gsSelect.checked_zone ? gsSelect.checked_zone : '');
|
|
|
+ } else if (gsSelect.custom_zone) {
|
|
|
+ $('#gather-custom-zone').val(gsSelect.custom_zone ? gsSelect.custom_zone : '');
|
|
|
} else if (gsSelect.month) {
|
|
|
$('#gather-month').val(gsSelect.month ? gsSelect.month: '');
|
|
|
} else if (gsSelect.stage) {
|
|
@@ -618,12 +618,12 @@ const rptCustomObj = (function () {
|
|
|
return;
|
|
|
}
|
|
|
data[sGatherSelect].stage_zone = stageBegin + ':' + stageEnd;
|
|
|
- } else if (gsObj.setting.type === 'checked-zone') {
|
|
|
- data[sGatherSelect].checked_zone = $('#gather-checked-zone').val();
|
|
|
- if (data[sGatherSelect].checked_zone === '') {
|
|
|
+ } else if (gsObj.setting.type === 'custom-zone') {
|
|
|
+ data[sGatherSelect].custom_zone = $('#gather-custom-zone').val();
|
|
|
+ if (data[sGatherSelect].custom_zone === '') {
|
|
|
hintObj.html('请选择 汇总周期').show();
|
|
|
return;
|
|
|
- } else if(data[sGatherSelect].checked_zone.indexOf(' - ') < 0) {
|
|
|
+ } else if(data[sGatherSelect].custom_zone.indexOf(' - ') < 0) {
|
|
|
hintObj.html('请选择 完整汇总周期').show();
|
|
|
return;
|
|
|
}
|