From 23efa81daa45a0062cad5ac5dc50d33af1240461 Mon Sep 17 00:00:00 2001 From: lingxiao Date: Fri, 6 May 2022 16:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9C=BA=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=B5=81=E6=B0=B4=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/property/pay.js | 9 +++++++++ src/components/receiptPrinting.vue | 11 ++++++++++- src/views/property/otherPay.vue | 14 +++++++++++--- src/views/property/pay.vue | 17 ++++++++++++++--- src/views/property/payCopy.vue | 14 ++++++++++++-- 5 files changed, 56 insertions(+), 9 deletions(-) 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 @@
- +