优化 抄表导入

This commit is contained in:
java110 2021-09-23 10:35:01 +08:00
parent 84bb187091
commit a44cd99a4c
2 changed files with 4 additions and 4 deletions

View File

@ -119,7 +119,7 @@
param,
function (json, res) {
var _meterTypeManageInfo = JSON.parse(json);
$that.addMeterWaterInfo.meterTypes = _meterTypeManageInfo.data;
$that.importMeterWaterFeeInfo.meterTypes = _meterTypeManageInfo.data;
}, function (errInfo, error) {
console.log('请求失败处理');
}

View File

@ -99,12 +99,12 @@
},
_exportMeterWaterFeeTemplate2: function () {
let _feeName = "";
let _meterType = $that.importMeterWaterFeeInfo.meterType;
let _meterType = $that.importMeterWaterFee2Info.meterType;
if (!vc.notNull(_meterType)) {
vc.toast('请选择抄表类型');
return;
}
let _meterTypes = $that.importMeterWaterFeeInfo.meterTypes;
let _meterTypes = $that.importMeterWaterFee2Info.meterTypes;
_meterTypes.forEach(item => {
if (_meterType == item.typeId) {
_feeName = item.typeName
@ -126,7 +126,7 @@
param,
function (json, res) {
var _meterTypeManageInfo = JSON.parse(json);
$that.addMeterWaterInfo.meterTypes = _meterTypeManageInfo.data;
$that.importMeterWaterFee2Info.meterTypes = _meterTypeManageInfo.data;
}, function (errInfo, error) {
console.log('请求失败处理');
}