mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化 抄表导入
This commit is contained in:
parent
84bb187091
commit
a44cd99a4c
@ -119,7 +119,7 @@
|
|||||||
param,
|
param,
|
||||||
function (json, res) {
|
function (json, res) {
|
||||||
var _meterTypeManageInfo = JSON.parse(json);
|
var _meterTypeManageInfo = JSON.parse(json);
|
||||||
$that.addMeterWaterInfo.meterTypes = _meterTypeManageInfo.data;
|
$that.importMeterWaterFeeInfo.meterTypes = _meterTypeManageInfo.data;
|
||||||
}, function (errInfo, error) {
|
}, function (errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -99,12 +99,12 @@
|
|||||||
},
|
},
|
||||||
_exportMeterWaterFeeTemplate2: function () {
|
_exportMeterWaterFeeTemplate2: function () {
|
||||||
let _feeName = "";
|
let _feeName = "";
|
||||||
let _meterType = $that.importMeterWaterFeeInfo.meterType;
|
let _meterType = $that.importMeterWaterFee2Info.meterType;
|
||||||
if (!vc.notNull(_meterType)) {
|
if (!vc.notNull(_meterType)) {
|
||||||
vc.toast('请选择抄表类型');
|
vc.toast('请选择抄表类型');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let _meterTypes = $that.importMeterWaterFeeInfo.meterTypes;
|
let _meterTypes = $that.importMeterWaterFee2Info.meterTypes;
|
||||||
_meterTypes.forEach(item => {
|
_meterTypes.forEach(item => {
|
||||||
if (_meterType == item.typeId) {
|
if (_meterType == item.typeId) {
|
||||||
_feeName = item.typeName
|
_feeName = item.typeName
|
||||||
@ -126,7 +126,7 @@
|
|||||||
param,
|
param,
|
||||||
function (json, res) {
|
function (json, res) {
|
||||||
var _meterTypeManageInfo = JSON.parse(json);
|
var _meterTypeManageInfo = JSON.parse(json);
|
||||||
$that.addMeterWaterInfo.meterTypes = _meterTypeManageInfo.data;
|
$that.importMeterWaterFee2Info.meterTypes = _meterTypeManageInfo.data;
|
||||||
}, function (errInfo, error) {
|
}, function (errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user