@@ -22,8 +21,7 @@
-
diff --git a/public/components/property/addFeeConfig/addFeeConfig.js b/public/components/property/addFeeConfig/addFeeConfig.js
index 660e61b98..1c51768a3 100755
--- a/public/components/property/addFeeConfig/addFeeConfig.js
+++ b/public/components/property/addFeeConfig/addFeeConfig.js
@@ -1,4 +1,4 @@
-(function (vc) {
+(function(vc) {
vc.extends({
propTypes: {
callBackListener: vc.propTypes.string,
@@ -11,8 +11,8 @@
feeTypeCd: '',
feeName: '',
feeFlag: '',
- startTime: '',
- endTime: '',
+ startTime: '2010-01-01',
+ endTime: '2050-01-01',
computingFormula: '',
squarePrice: '',
additionalAmount: '',
@@ -27,73 +27,50 @@
computingFormulaText: ''
}
},
- _initMethod: function () {
+ _initMethod: function() {
vc.component._initAddFeeConfigDateInfo();
//与字典表费用类型关联
- vc.getDict('pay_fee_config', "fee_type_cd_show", function (_data) {
+ vc.getDict('pay_fee_config', "fee_type_cd_show", function(_data) {
vc.component.addFeeConfigInfo.feeTypeCds = _data;
});
//与字典表计算公式关联
- vc.getDict('pay_fee_config', "computing_formula", function (_data) {
+ vc.getDict('pay_fee_config', "computing_formula", function(_data) {
vc.component.addFeeConfigInfo.computingFormulas = _data;
});
//与字典表费用标识关联
- vc.getDict('pay_fee_config', 'fee_flag', function (_data) {
+ vc.getDict('pay_fee_config', 'fee_flag', function(_data) {
vc.component.addFeeConfigInfo.feeFlags = _data;
});
//与字典表付费类型关联
- vc.getDict('pay_fee_config', 'payment_cd', function (_data) {
+ vc.getDict('pay_fee_config', 'payment_cd', function(_data) {
vc.component.addFeeConfigInfo.paymentCds = _data;
});
//与字典表出账类型关联
- vc.getDict('pay_fee_config', 'bill_type', function (_data) {
+ vc.getDict('pay_fee_config', 'bill_type', function(_data) {
vc.component.addFeeConfigInfo.billTypes = _data;
});
},
- _initEvent: function () {
+ _initEvent: function() {
vc.on('addFeeConfig', 'openAddFeeConfigModal',
- function () {
+ function() {
$('#addFeeConfigModel').modal('show');
});
},
methods: {
- _initAddFeeConfigDateInfo: function () {
- // vc.component.addFeeConfigInfo.startTime = vc.dateTimeFormat(new Date().getTime());
- $('.addFeeConfigStartTime').datetimepicker({
- language: 'zh-CN',
- fontAwesome: 'fa',
- format: 'yyyy-mm-dd hh:ii:ss',
- initTime: true,
- initialDate: new Date(),
- autoClose: 1,
- todayBtn: true
+ _initAddFeeConfigDateInfo: function() {
+ vc.initDate('addFeeConfigStartTime', function(_value) {
+ vc.component.addFeeConfigInfo.startTime = _value;
});
- $('.addFeeConfigStartTime').datetimepicker()
- .on('changeDate', function (ev) {
- var value = $(".addFeeConfigStartTime").val();
- vc.component.addFeeConfigInfo.startTime = value;
- });
- $('.addFeeConfigEndTime').datetimepicker({
- language: 'zh-CN',
- fontAwesome: 'fa',
- format: 'yyyy-mm-dd hh:ii:ss',
- initTime: true,
- initialDate: new Date(),
- autoClose: 1,
- todayBtn: true
+ vc.initDate('addFeeConfigEndTime', function(_value) {
+ var start = Date.parse(new Date(vc.component.addFeeConfigInfo.startTime))
+ var end = Date.parse(new Date(_value))
+ if (start - end >= 0) {
+ vc.toast("计费终止时间必须大于计费起始时间")
+ $(".addFeeConfigEndTime").val('')
+ } else {
+ vc.component.addFeeConfigInfo.endTime = _value;
+ }
});
- $('.addFeeConfigEndTime').datetimepicker()
- .on('changeDate', function (ev) {
- var value = $(".addFeeConfigEndTime").val();
- var start = Date.parse(new Date(vc.component.addFeeConfigInfo.startTime))
- var end = Date.parse(new Date(value))
- if (start - end >= 0) {
- vc.toast("计费终止时间必须大于计费起始时间")
- $(".addFeeConfigEndTime").val('')
- } else {
- vc.component.addFeeConfigInfo.endTime = value;
- }
- });
//防止多次点击时间插件失去焦点
document.getElementsByName('startTime')[0].addEventListener('click', myfunc)
@@ -110,9 +87,8 @@
addFeeConfigValidate() {
return vc.validate.validate({
addFeeConfigInfo: vc.component.addFeeConfigInfo
- },
- {
- 'addFeeConfigInfo.feeTypeCd': [{
+ }, {
+ 'addFeeConfigInfo.feeTypeCd': [{
limit: "required",
param: "",
errInfo: "费用类型不能为空"
@@ -122,8 +98,8 @@
param: "",
errInfo: "费用类型格式错误"
},
- ],
- 'addFeeConfigInfo.feeName': [{
+ ],
+ 'addFeeConfigInfo.feeName': [{
limit: "required",
param: "",
errInfo: "收费项目不能为空"
@@ -133,8 +109,8 @@
param: "1,100",
errInfo: "收费项目不能超过100位"
},
- ],
- 'addFeeConfigInfo.feeFlag': [{
+ ],
+ 'addFeeConfigInfo.feeFlag': [{
limit: "required",
param: "",
errInfo: "费用标识不能为空"
@@ -144,30 +120,30 @@
param: "",
errInfo: "费用类型格式错误"
},
- ],
- 'addFeeConfigInfo.startTime': [{
+ ],
+ 'addFeeConfigInfo.startTime': [{
limit: "required",
param: "",
errInfo: "计费起始时间不能为空"
},
{
- limit: "dateTime",
+ limit: "date",
param: "",
errInfo: "计费起始时间不是有效的时间格式"
},
- ],
- 'addFeeConfigInfo.endTime': [{
+ ],
+ 'addFeeConfigInfo.endTime': [{
limit: "required",
param: "",
errInfo: "计费终止时间不能为空"
},
{
- limit: "dateTime",
+ limit: "date",
param: "",
errInfo: "计费终止时间不是有效的时间格式"
},
- ],
- 'addFeeConfigInfo.computingFormula': [{
+ ],
+ 'addFeeConfigInfo.computingFormula': [{
limit: "required",
param: "",
errInfo: "计算公式不能为空"
@@ -177,8 +153,8 @@
param: "",
errInfo: "计算公式格式错误"
},
- ],
- 'addFeeConfigInfo.squarePrice': [{
+ ],
+ 'addFeeConfigInfo.squarePrice': [{
limit: "required",
param: "",
errInfo: "计费单价不能为空"
@@ -188,8 +164,8 @@
param: "",
errInfo: "计费单价格式错误"
},
- ],
- 'addFeeConfigInfo.additionalAmount': [{
+ ],
+ 'addFeeConfigInfo.additionalAmount': [{
limit: "required",
param: "",
errInfo: "附加费用不能为空"
@@ -199,14 +175,13 @@
param: "",
errInfo: "附加费用格式错误"
},
- ],
- 'addFeeConfigInfo.billType': [{
- limit: "required",
- param: "",
- errInfo: "出账类型不能为空"
- }
- ],
- 'addFeeConfigInfo.paymentCycle': [{
+ ],
+ 'addFeeConfigInfo.billType': [{
+ limit: "required",
+ param: "",
+ errInfo: "出账类型不能为空"
+ }],
+ 'addFeeConfigInfo.paymentCycle': [{
limit: "required",
param: "",
errInfo: "缴费周期不能为空"
@@ -216,8 +191,8 @@
param: "",
errInfo: "缴费周期必须为数字 单位月"
},
- ],
- 'addFeeConfigInfo.paymentCd': [{
+ ],
+ 'addFeeConfigInfo.paymentCd': [{
limit: "required",
param: "",
errInfo: "付费类型不能为空"
@@ -227,10 +202,10 @@
param: "",
errInfo: "付费类型格式错误"
},
- ]
- });
+ ]
+ });
},
- saveFeeConfigInfo: function () {
+ saveFeeConfigInfo: function() {
//固定费用
if (vc.component.addFeeConfigInfo.computingFormula == '2002') {
@@ -238,8 +213,8 @@
}
//自定义费用
if (vc.component.addFeeConfigInfo.computingFormula == '7007' ||
- vc.component.addFeeConfigInfo.computingFormula == '4004'||
- vc.component.addFeeConfigInfo.computingFormula == '1101'||
+ vc.component.addFeeConfigInfo.computingFormula == '4004' ||
+ vc.component.addFeeConfigInfo.computingFormula == '1101' ||
vc.component.addFeeConfigInfo.computingFormula == '9009') {
vc.component.addFeeConfigInfo.squarePrice = "0.00";
vc.component.addFeeConfigInfo.additionalAmount = "0.00";
@@ -267,9 +242,9 @@
return;
}
vc.http.post('addFeeConfig', 'save', JSON.stringify(vc.component.addFeeConfigInfo), {
- emulateJSON: true
- },
- function (json, res) {
+ emulateJSON: true
+ },
+ function(json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) {
//关闭model
@@ -280,12 +255,12 @@
return;
}
},
- function (errInfo, error) {
+ function(errInfo, error) {
console.log('请求失败处理');
vc.toast(errInfo);
});
},
- clearAddFeeConfigInfo: function () {
+ clearAddFeeConfigInfo: function() {
var _feeTypeCds = vc.component.addFeeConfigInfo.feeTypeCds;
var _computingFormulas = vc.component.addFeeConfigInfo.computingFormulas;
var _feeFlags = vc.component.addFeeConfigInfo.feeFlags;
diff --git a/public/components/property/editFeeConfig/editFeeConfig.js b/public/components/property/editFeeConfig/editFeeConfig.js
index 1818a64cf..6e3709ecb 100755
--- a/public/components/property/editFeeConfig/editFeeConfig.js
+++ b/public/components/property/editFeeConfig/editFeeConfig.js
@@ -1,4 +1,4 @@
-(function (vc, vm) {
+(function(vc, vm) {
vc.extends({
data: {
editFeeConfigInfo: {
@@ -23,71 +23,51 @@
computingFormulaText: ''
}
},
- _initMethod: function () {
+ _initMethod: function() {
vc.component._initEditFeeConfigDateInfo();
- vc.getDict('pay_fee_config', "fee_type_cd", function (_data) {
+ vc.getDict('pay_fee_config', "fee_type_cd", function(_data) {
vc.component.editFeeConfigInfo.feeTypeCds = _data;
});
- vc.getDict('pay_fee_config', "computing_formula", function (_data) {
+ vc.getDict('pay_fee_config', "computing_formula", function(_data) {
vc.component.editFeeConfigInfo.computingFormulas = _data;
});
- vc.getDict('pay_fee_config', 'fee_flag', function (_data) {
+ vc.getDict('pay_fee_config', 'fee_flag', function(_data) {
vc.component.editFeeConfigInfo.feeFlags = _data;
});
- vc.getDict('pay_fee_config', 'bill_type', function (_data) {
+ vc.getDict('pay_fee_config', 'bill_type', function(_data) {
vc.component.editFeeConfigInfo.billTypes = _data;
});
- vc.getDict('pay_fee_config', 'payment_cd', function (_data) {
+ vc.getDict('pay_fee_config', 'payment_cd', function(_data) {
vc.component.editFeeConfigInfo.paymentCds = _data;
});
},
- _initEvent: function () {
+ _initEvent: function() {
vc.on('editFeeConfig', 'openEditFeeConfigModal',
- function (_params) {
+ function(_params) {
vc.component.refreshEditFeeConfigInfo();
$('#editFeeConfigModel').modal('show');
vc.copyObject(_params, vc.component.editFeeConfigInfo);
+ vc.component.editFeeConfigInfo.startTime = vc.dateFormat(_params.startTime);
+ vc.component.editFeeConfigInfo.endTime = vc.dateFormat(_params.endTime);
vc.component.editFeeConfigInfo.communityId = vc.getCurrentCommunity().communityId;
});
},
methods: {
- _initEditFeeConfigDateInfo: function () {
+ _initEditFeeConfigDateInfo: function() {
//vc.component.editFeeConfigInfo.startTime = vc.dateTimeFormat(new Date().getTime());
- $('.editFeeConfigStartTime').datetimepicker({
- language: 'zh-CN',
- fontAwesome: 'fa',
- format: 'yyyy-mm-dd hh:ii:ss',
- initTime: true,
- initialDate: new Date(),
- autoClose: 1,
- todayBtn: true
+ vc.initDate('editFeeConfigStartTime', function(_value) {
+ vc.component.editFeeConfigInfo.startTime = _value;
});
- $('.editFeeConfigStartTime').datetimepicker()
- .on('changeDate', function (ev) {
- var value = $(".editFeeConfigStartTime").val();
- vc.component.editFeeConfigInfo.startTime = value;
- });
- $('.editFeeConfigEndTime').datetimepicker({
- language: 'zh-CN',
- fontAwesome: 'fa',
- format: 'yyyy-mm-dd hh:ii:ss',
- initTime: true,
- initialDate: new Date(),
- autoClose: 1,
- todayBtn: true
+ vc.initDate('editFeeConfigEndTime', function(_value) {
+ var start = Date.parse(new Date(vc.component.editFeeConfigInfo.startTime))
+ var end = Date.parse(new Date(_value))
+ if (start - end >= 0) {
+ vc.toast("计费终止时间必须大于计费起始时间")
+ $(".editFeeConfigEndTime").val('')
+ } else {
+ vc.component.editFeeConfigInfo.endTime = _value;
+ }
});
- $('.editFeeConfigEndTime').datetimepicker()
- .on('changeDate', function (ev) {
- var value = $(".editFeeConfigEndTime").val();
- var start = Date.parse(new Date(vc.component.editFeeConfigInfo.startTime))
- var end = Date.parse(new Date(value))
- if (start - end >= 0) {
- vc.toast("计费终止时间必须大于计费起始时间")
- $(".editFeeConfigEndTime").val('')
- } else {
- vc.component.editFeeConfigInfo.endTime = value;
- }
- });
//防止多次点击时间插件失去焦点
document.getElementsByClassName("form-control editFeeConfigStartTime")[0].addEventListener('click', myfunc)
@@ -101,12 +81,11 @@
e.currentTarget.blur();
}
},
- editFeeConfigValidate: function () {
+ editFeeConfigValidate: function() {
return vc.validate.validate({
editFeeConfigInfo: vc.component.editFeeConfigInfo
- },
- {
- 'editFeeConfigInfo.feeTypeCd': [{
+ }, {
+ 'editFeeConfigInfo.feeTypeCd': [{
limit: "required",
param: "",
errInfo: "费用类型不能为空"
@@ -116,8 +95,8 @@
param: "",
errInfo: "费用类型格式错误"
},
- ],
- 'editFeeConfigInfo.feeName': [{
+ ],
+ 'editFeeConfigInfo.feeName': [{
limit: "required",
param: "",
errInfo: "收费项目不能为空"
@@ -127,8 +106,8 @@
param: "1,100",
errInfo: "收费项目不能超过100位"
},
- ],
- 'editFeeConfigInfo.feeFlag': [{
+ ],
+ 'editFeeConfigInfo.feeFlag': [{
limit: "required",
param: "",
errInfo: "费用标识不能为空"
@@ -138,30 +117,30 @@
param: "",
errInfo: "费用类型格式错误"
},
- ],
- 'editFeeConfigInfo.startTime': [{
+ ],
+ 'editFeeConfigInfo.startTime': [{
limit: "required",
param: "",
errInfo: "计费起始时间不能为空"
},
{
- limit: "dateTime",
+ limit: "date",
param: "",
errInfo: "计费起始时间不是有效的时间格式"
},
- ],
- 'editFeeConfigInfo.endTime': [{
+ ],
+ 'editFeeConfigInfo.endTime': [{
limit: "required",
param: "",
errInfo: "计费终止时间不能为空"
},
{
- limit: "dateTime",
+ limit: "date",
param: "",
errInfo: "计费终止时间不是有效的时间格式"
},
- ],
- 'editFeeConfigInfo.computingFormula': [{
+ ],
+ 'editFeeConfigInfo.computingFormula': [{
limit: "required",
param: "",
errInfo: "计算公式不能为空"
@@ -171,8 +150,8 @@
param: "",
errInfo: "计算公式格式错误"
},
- ],
- 'editFeeConfigInfo.squarePrice': [{
+ ],
+ 'editFeeConfigInfo.squarePrice': [{
limit: "required",
param: "",
errInfo: "计费单价不能为空"
@@ -182,8 +161,8 @@
param: "",
errInfo: "计费单价格式错误,如1.5000"
},
- ],
- 'editFeeConfigInfo.additionalAmount': [{
+ ],
+ 'editFeeConfigInfo.additionalAmount': [{
limit: "required",
param: "",
errInfo: "附加费用不能为空"
@@ -193,18 +172,18 @@
param: "",
errInfo: "附加费用格式错误"
},
- ],
- 'editFeeConfigInfo.configId': [{
- limit: "required",
- param: "",
- errInfo: "费用项ID不能为空"
- }],
- 'editFeeConfigInfo.billType': [{
- limit: "required",
- param: "",
- errInfo: "出账类型不能为空"
- }],
- 'editFeeConfigInfo.paymentCycle': [{
+ ],
+ 'editFeeConfigInfo.configId': [{
+ limit: "required",
+ param: "",
+ errInfo: "费用项ID不能为空"
+ }],
+ 'editFeeConfigInfo.billType': [{
+ limit: "required",
+ param: "",
+ errInfo: "出账类型不能为空"
+ }],
+ 'editFeeConfigInfo.paymentCycle': [{
limit: "required",
param: "",
errInfo: "缴费周期不能为空"
@@ -214,8 +193,8 @@
param: "",
errInfo: "缴费周期必须为数字 单位月"
},
- ],
- 'editFeeConfigInfo.paymentCd': [{
+ ],
+ 'editFeeConfigInfo.paymentCd': [{
limit: "required",
param: "",
errInfo: "付费类型不能为空"
@@ -225,20 +204,20 @@
param: "",
errInfo: "付费类型格式错误"
},
- ]
- });
+ ]
+ });
},
- editFeeConfig: function () {
-
+ editFeeConfig: function() {
+
//固定费用
if (vc.component.editFeeConfigInfo.computingFormula == '2002') {
vc.component.editFeeConfigInfo.squarePrice = "0.00";
}
//自定义费用
- if (vc.component.editFeeConfigInfo.computingFormula == '7007'
- || vc.component.editFeeConfigInfo.computingFormula == '4004'
- || vc.component.editFeeConfigInfo.computingFormula == '1101'
- || vc.component.editFeeConfigInfo.computingFormula == '9009') {
+ if (vc.component.editFeeConfigInfo.computingFormula == '7007' ||
+ vc.component.editFeeConfigInfo.computingFormula == '4004' ||
+ vc.component.editFeeConfigInfo.computingFormula == '1101' ||
+ vc.component.editFeeConfigInfo.computingFormula == '9009') {
vc.component.editFeeConfigInfo.squarePrice = "0.00";
vc.component.editFeeConfigInfo.additionalAmount = "0.00";
}
@@ -258,9 +237,9 @@
return;
}
vc.http.post('editFeeConfig', 'update', JSON.stringify(vc.component.editFeeConfigInfo), {
- emulateJSON: true
- },
- function (json, res) {
+ emulateJSON: true
+ },
+ function(json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) {
//关闭model
@@ -270,12 +249,12 @@
return;
}
},
- function (errInfo, error) {
+ function(errInfo, error) {
console.log('请求失败处理');
vc.toast(errInfo);
});
},
- refreshEditFeeConfigInfo: function () {
+ refreshEditFeeConfigInfo: function() {
var _feeTypeCds = vc.component.editFeeConfigInfo.feeTypeCds;
var _computingFormulas = vc.component.editFeeConfigInfo.computingFormulas;
var _feeFlags = vc.component.editFeeConfigInfo.feeFlags;
diff --git a/public/components/property/simplifyFeeReceipt/simplifyFeeReceipt.html b/public/components/property/simplifyFeeReceipt/simplifyFeeReceipt.html
index 6acdefcd5..6eb769522 100755
--- a/public/components/property/simplifyFeeReceipt/simplifyFeeReceipt.html
+++ b/public/components/property/simplifyFeeReceipt/simplifyFeeReceipt.html
@@ -1,8 +1,7 @@
-
-
+
-
+
-
+
@@ -37,16 +33,13 @@
-
+
打印
-
+
打印小票
-
+
申请单
@@ -56,11 +49,11 @@
|
-
+
|
费用类型 |
{{_getFeeObjName(simplifyFeeReceiptInfo.objType)}} |
+ 业主 |
费用项目 |
总金额 |
缴费时间 |
@@ -70,11 +63,11 @@
|
-
+
|
{{_getFeeObjName(feeReceipt.objType)}}费 |
{{feeReceipt.objName}} |
+ {{feeReceipt.payObjName}} |
{{feeReceipt.feeName}} |
{{feeReceipt.amount}} |
{{feeReceipt.createTime}} |
diff --git a/public/pages/property/feeConfigManage/feeConfigManage.html b/public/pages/property/feeConfigManage/feeConfigManage.html
index 673ac2bca..43c1f2cbc 100755
--- a/public/pages/property/feeConfigManage/feeConfigManage.html
+++ b/public/pages/property/feeConfigManage/feeConfigManage.html
@@ -153,7 +153,19 @@
-
+
+
+
出账类型:出账类型只是表示欠费催收功能,每月1日表示每月1日推送业主微信进行催收;
+
计费起始时间:只是表示这个费用项开始时间,和房屋上费用开始时间没有关系;
+
计费结束时间:只是表示这个费用项结束时间,和房屋上费用结束时间没有关系;
+
费用标识:分为周期费用和一次性费用,周期费是连续收费的费用比如物业费每年都会收取,所以物业费建议用周期费;
+
一次性费用表示费用只收取一次比如押金,下次收费时还需要手工创建到房屋上;
+
付费类型:分为预付费和后付费,预付费表示费用提前收费 后付费表示之后收取;
+
+
+
+
+
diff --git a/public/pages/property/feeReceipt/feeReceipt.html b/public/pages/property/feeReceipt/feeReceipt.html
index b8fa160ea..fdb415957 100755
--- a/public/pages/property/feeReceipt/feeReceipt.html
+++ b/public/pages/property/feeReceipt/feeReceipt.html
@@ -5,8 +5,7 @@
查询条件
-
+
{{feeReceiptManageInfo.moreCondition == true ? '隐藏' : '更多'}}
@@ -22,13 +21,11 @@
-
+
@@ -46,15 +43,12 @@
@@ -91,45 +85,46 @@
diff --git a/public/pages/property/listOweFee/listOweFee.html b/public/pages/property/listOweFee/listOweFee.html
index 0c5ab4c0a..3b335492c 100755
--- a/public/pages/property/listOweFee/listOweFee.html
+++ b/public/pages/property/listOweFee/listOweFee.html
@@ -11,11 +11,9 @@
-
+
查询
-
+
重置
@@ -51,8 +47,7 @@
-
+
@@ -88,14 +82,12 @@
@@ -129,43 +121,42 @@
-
-
+
+
+
房屋状态 分为:未销售,未入住,已交房,已装修,已入住 等状态
+
1、未销售表示 房屋和业主之间还没有任何关系,所以修改时状态不能手工修改 需要业主入住房屋的方式 将未销售改为已入住
+
2、未入住 已交房 已装修 已入住 状态表示业主和房屋之间已经有关系 可以相互修改,主要作用为在房屋创建费用时根据不同的状态去创建不同的费用
+
租金:主要用于园区类或者房屋出租比较多的物业使用,小区物业忽略
+
+
+
+
+
diff --git a/public/pages/property/room/room.js b/public/pages/property/room/room.js
index 7084b0660..93eec9b95 100755
--- a/public/pages/property/room/room.js
+++ b/public/pages/property/room/room.js
@@ -240,6 +240,11 @@
},
_openImportRoomInfo: function() {
vc.emit('importOwnerRoom', 'openImportOwnerRoomModal', {})
+ },
+ _resetRoomInfo: function() {
+ vc.resetObject($that.roomInfo.conditions);
+ $that.roomInfo.conditions.roomType = '1010301';
+ vc.component.listRoom(DEFAULT_PAGE, DEFAULT_ROW);
}
}