dev201310
张群 2 years ago
parent 00bb2402c7
commit cc056268d4
  1. 7
      pages/highWay/runData/form.vue
  2. 2
      pages/railway/railwayRunData/form.vue

@ -486,7 +486,8 @@
"exitVehicleCountMom": '', "exitVehicleCountMom": '',
"exitVehicleCountYoy": '', "exitVehicleCountYoy": '',
"highwayId": "", "highwayId": "",
"highwayName": item.managementUnitName, "highwayName": item.managementUnitName,
"stationCode": item.stationCode,
"submitPersonnelContact": this.userInfo.username + (this "submitPersonnelContact": this.userInfo.username + (this
.userInfo.mobile ? ',' + this .userInfo.mobile ? ',' + this
.userInfo.mobile : ''), .userInfo.mobile : ''),
@ -508,6 +509,7 @@
}); });
if (idx > -1) { if (idx > -1) {
item.isFinish = checkNotEmpty(arr[idx].entranceVehicleCount) && checkNotEmpty(arr[idx].exitVehicleCount) ? true : false; item.isFinish = checkNotEmpty(arr[idx].entranceVehicleCount) && checkNotEmpty(arr[idx].exitVehicleCount) ? true : false;
arr[idx].stationCode = item.stationCode;
this.form.highwaySubDataList.push(arr[idx]); this.form.highwaySubDataList.push(arr[idx]);
} else { } else {
item.isFinish = false; item.isFinish = false;
@ -520,7 +522,8 @@
"exitVehicleCountMom": '', "exitVehicleCountMom": '',
"exitVehicleCountYoy": '', "exitVehicleCountYoy": '',
"highwayId": "", "highwayId": "",
"highwayName": item.managementUnitName, "highwayName": item.managementUnitName,
"stationCode": item.stationCode,
"submitPersonnelContact": this.userInfo.username + (this "submitPersonnelContact": this.userInfo.username + (this
.userInfo.mobile ? ',' + this .userInfo.mobile ? ',' + this
.userInfo.mobile : ''), .userInfo.mobile : ''),

@ -771,7 +771,7 @@
title: '提交中...', title: '提交中...',
mask: true mask: true
}) })
let _data = JSON.parse(JSON.stringify(this.form.bizRailwayDataSaveOrUpdateDTOList)); let _data = JSON.parse(JSON.stringify(this.form.bizRailwayRunDataSaveOrUpdateDTOList));
_data.map(item => { _data.map(item => {
item.statDate = this.form.statDate; item.statDate = this.form.statDate;
item.statPeriod = this.form.statPeriod; item.statPeriod = this.form.statPeriod;

Loading…
Cancel
Save