mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
优化 抄表导入
This commit is contained in:
parent
84bb187091
commit
a44cd99a4c
@ -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('请求失败处理');
|
||||
}
|
||||
|
||||
@ -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('请求失败处理');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user