diff --git a/public/components/property/prestoreAccount/prestoreAccount.js b/public/components/property/prestoreAccount/prestoreAccount.js
index ddfd97e4a..eab78a46e 100644
--- a/public/components/property/prestoreAccount/prestoreAccount.js
+++ b/public/components/property/prestoreAccount/prestoreAccount.js
@@ -1,4 +1,4 @@
-(function (vc) {
+(function(vc) {
vc.extends({
data: {
prestoreAccountInfo: {
@@ -8,21 +8,20 @@
amount: '',
remark: '',
acctTypes: [],
- acctType: '',
+ acctType: '2003',
}
},
- _initMethod: function () {
- },
- _initEvent: function () {
- vc.on('prestoreAccount', 'openAddModal', function () {
+ _initMethod: function() {},
+ _initEvent: function() {
+ vc.on('prestoreAccount', 'openAddModal', function() {
$('#prestoreAccountModel').modal('show');
//与字典表单位关联
- vc.getDict('account', "acct_type", function (_data) {
+ vc.getDict('account', "acct_type", function(_data) {
vc.component.prestoreAccountInfo.acctTypes = _data;
});
});
- vc.on('prestoreAccount', 'openAddModalWithParams', function (_param) {
+ vc.on('prestoreAccount', 'openAddModalWithParams', function(_param) {
vc.component.prestoreAccountInfo.amount = _param.redepositAmount;
$('#prestoreAccountModel').modal('show');
});
@@ -32,15 +31,12 @@
return vc.validate.validate({
prestoreAccountInfo: vc.component.prestoreAccountInfo
}, {
- 'prestoreAccountInfo.ownerId': [
- {
- limit: "required",
- param: "",
- errInfo: "业主不能为空"
- }
- ],
- 'prestoreAccountInfo.amount': [
- {
+ 'prestoreAccountInfo.ownerId': [{
+ limit: "required",
+ param: "",
+ errInfo: "业主不能为空"
+ }],
+ 'prestoreAccountInfo.amount': [{
limit: "required",
param: "",
errInfo: "金额不能为空"
@@ -51,23 +47,19 @@
errInfo: "金额格式错误"
},
],
- 'prestoreAccountInfo.acctType': [
- {
- limit: "required",
- param: "",
- errInfo: "请选择账户类型"
- }
- ],
- 'prestoreAccountInfo.remark': [
- {
- limit: "maxLength",
- param: "200",
- errInfo: "备注长度不能超过200位"
- }
- ]
+ 'prestoreAccountInfo.acctType': [{
+ limit: "required",
+ param: "",
+ errInfo: "请选择账户类型"
+ }],
+ 'prestoreAccountInfo.remark': [{
+ limit: "maxLength",
+ param: "200",
+ errInfo: "备注长度不能超过200位"
+ }]
});
},
- savePrestoreAccountInfo: function () {
+ savePrestoreAccountInfo: function() {
if (!vc.component.prestoreAccountValidate()) {
vc.toast(vc.validate.errInfo);
return;
@@ -75,11 +67,10 @@
vc.component.prestoreAccountInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.apiPost(
'/account/ownerPrestoreAccount',
- JSON.stringify(vc.component.prestoreAccountInfo),
- {
+ JSON.stringify(vc.component.prestoreAccountInfo), {
emulateJSON: true
},
- function (json, res) {
+ function(json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) {
//关闭model
@@ -91,12 +82,12 @@
}
vc.component.prestoreAccountInfo.errorInfo = json;
},
- function (errInfo, error) {
+ function(errInfo, error) {
console.log('请求失败处理');
vc.component.prestoreAccountInfo.errorInfo = errInfo;
});
},
- clearPrestoreAccountInfo: function () {
+ clearPrestoreAccountInfo: function() {
vc.component.prestoreAccountInfo = {
tel: '',
ownerId: '',
@@ -104,27 +95,28 @@
amount: '',
remark: '',
acctTypes: [],
- acctType: '',
+ acctType: '2003',
};
},
- _changeTel: function () {
+ _changeTel: function() {
var param = {
- params: {
- communityId: vc.getCurrentCommunity().communityId,
- row: 50,
- page: 1,
- link: $that.prestoreAccountInfo.tel,
- ownerTypeCd: '1001'
+ params: {
+ communityId: vc.getCurrentCommunity().communityId,
+ row: 50,
+ page: 1,
+ link: $that.prestoreAccountInfo.tel,
+ ownerTypeCd: '1001'
+ }
}
- }
- //发送get请求
+ //发送get请求
vc.http.get('listOwner',
'list',
param,
- function (json, res) {
+ function(json, res) {
var listOwnerData = JSON.parse(json);
vc.component.prestoreAccountInfo.owners = listOwnerData.owners;
- }, function (errInfo, error) {
+ },
+ function(errInfo, error) {
console.log('请求失败处理');
vc.component.prestoreAccountInfo.owners = [];
}
diff --git a/public/pages/property/printPayFeeXinShiDai/printPayFeeXinShiDai.html b/public/pages/property/printPayFeeXinShiDai/printPayFeeXinShiDai.html
index 18786f5f6..792267353 100644
--- a/public/pages/property/printPayFeeXinShiDai/printPayFeeXinShiDai.html
+++ b/public/pages/property/printPayFeeXinShiDai/printPayFeeXinShiDai.html
@@ -5,19 +5,18 @@
{{printPayFeeInfo.payObjName}}
-
+
{{printPayFeeInfo.feeReceipt[0].objName}}
-
- |
- |
- |
- |
- |
+
+ |
+ |
+ |
+ |
+ |
@@ -34,13 +33,13 @@
{{vc.dateFormat(item.startTime)}}{{vc.dateSubOneDay(vc.dateFormat(item.startTime),vc.dateFormat(item.endTime),item.feeFlag)}}
|
- 0.00 |
+ {{item.discountPrice}} |
{{item.amount}} |
|
- |
-
+ | |
+
(大写){{vc.changeNumMoneyToChinese(printPayFeeInfo.amount)}}
|
: |
@@ -48,33 +47,33 @@
|
- |
- |
+ |
+ |
{{printPayFeeInfo.feeTime}} |
|
- |
+ |
|
{{printPayFeeInfo.receiptNum}} |
|
- |
+ |
|
{{printPayFeeInfo.carName}} |
|
- |
- |
+ |
+ |
|
|
- |
- |
+ |
+ |
{{printPayFeeInfo.userName}} |
|
@@ -87,10 +86,9 @@
-