diff --git a/public/import/importCarFeeDetail.xlsx b/public/import/importCarFeeDetail.xlsx new file mode 100644 index 000000000..f495435d1 Binary files /dev/null and b/public/import/importCarFeeDetail.xlsx differ diff --git a/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.html b/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.html index 95fafc5a0..318393c1f 100644 --- a/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.html +++ b/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.html @@ -6,25 +6,39 @@
资产信息
+
+
+ +
+ +
+
- - + +
@@ -32,8 +46,8 @@
- 请注意,这里是为了将物业之前系统缴费历史数据导入,方便物业后期查账使用,只有在物业数据初始化时使用,导入前请仔细检查数据,一旦导入前台无法删除缴费历史,只有工程师 - 从数据库删除 + 请注意,这里是为了将物业之前系统缴费历史数据导入,方便物业后期查账使用,只有在物业数据初始化时使用,导入前请仔细检查数据,一旦导入前台无法删除缴费历史,只有工程师 + 从数据库删除
@@ -47,8 +61,7 @@
-
diff --git a/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.js b/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.js index fbbd5e0e2..48705d19f 100644 --- a/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.js +++ b/public/pages/property/historyFeeDetailImport/historyFeeDetailImport.js @@ -8,6 +8,7 @@ historyFeeDetailImportInfo: { communityId: vc.getCurrentCommunity().communityId, excelTemplate: '', + objType: '' } }, @@ -43,6 +44,10 @@ //下载 模板 vc.jumpToPage('/import/importFeeDetail.xlsx') }, + _openDownloadHcCarExcelTemplate: function () { + //下载 模板 + vc.jumpToPage('/import/importCarFeeDetail.xlsx') + }, getExcelTemplate: function (e) { //console.log("getExcelTemplate 开始调用") vc.component.historyFeeDetailImportInfo.excelTemplate = e.target.files[0]; @@ -65,7 +70,7 @@ var param = new FormData(); param.append("uploadFile", vc.component.historyFeeDetailImportInfo.excelTemplate); param.append('communityId', vc.component.historyFeeDetailImportInfo.communityId); - + param.append('objType', vc.component.historyFeeDetailImportInfo.objType); vc.http.upload( 'importFeeDetail', @@ -86,11 +91,11 @@ //vc.jumpToPage('/admin.html#/pages/property/roomCreateFee') return; } - vc.toast(json,10000); + vc.toast(json, 10000); }, function (errInfo, error) { console.log('请求失败处理'); - vc.toast(errInfo,10000); + vc.toast(errInfo, 10000); }); }, checkFileType: function (fileType) {