diff --git a/src/api/property/pay.js b/src/api/property/pay.js
index 3e38689..60fbb25 100644
--- a/src/api/property/pay.js
+++ b/src/api/property/pay.js
@@ -79,4 +79,13 @@ export function getCountMoney (params) {
method: 'get',
params: params
})
+}
+
+// 获取顺序号
+export function getNextsnr(params){
+ return request({
+ url: '/admin/snrtab/nextsnr',
+ method: 'get',
+ params: params
+ })
}
\ No newline at end of file
diff --git a/src/components/receiptPrinting.vue b/src/components/receiptPrinting.vue
index 3d01d02..9b4cedb 100644
--- a/src/components/receiptPrinting.vue
+++ b/src/components/receiptPrinting.vue
@@ -2,6 +2,7 @@
物业费收款收据
{{ data.contracttab.serialnumber }}
+
{{ printSerialNumber }}
小区楼名称:{{ data.cidName }}
楼楼号:{{ data.propertyid }}
@@ -89,12 +90,15 @@ export default {
default: {
contracttab: {}
}
+ },
+ printSerialNumber:{
+ default:''
}
},
watch: {
data: {
handler(newData) {
- console.log(JSON.stringify(newData));
+ console.log(newData);
},
immediate: true,
deep: true
@@ -180,6 +184,11 @@ span {
top: 70px;
left: 70px;
}
+.printSerialNumber {
+ position: absolute;
+ top: 70px;
+ right: 70px;
+}
#details-wrap {
margin-top: 37px;
margin-bottom: 5px;
diff --git a/src/views/property/otherPay.vue b/src/views/property/otherPay.vue
index 5ae7502..96b97cc 100644
--- a/src/views/property/otherPay.vue
+++ b/src/views/property/otherPay.vue
@@ -102,7 +102,7 @@
:disabled="!data.charge_money > 0"
:loading="loading"
@click="payEvent">缴费
- 打印
@@ -117,14 +117,15 @@
-
+
diff --git a/src/views/property/payCopy.vue b/src/views/property/payCopy.vue
index 634c9d6..056665a 100644
--- a/src/views/property/payCopy.vue
+++ b/src/views/property/payCopy.vue
@@ -327,7 +327,7 @@
@click="payEvent"
>缴费
-
+
打印
@@ -356,13 +356,14 @@
-
+