From 431ba13eeafb381dc0eaf500980d36e9d8beceb6 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 21 Aug 2024 15:24:18 +0800 Subject: [PATCH] =?UTF-8?q?task#14504,=E8=AE=B0=E8=B4=A6=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E8=BE=93=E5=85=A5=E6=A1=86=E5=8F=AA=E8=83=BD=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=95=B4=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workOrder/accounting.vue | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/views/workOrder/accounting.vue b/src/views/workOrder/accounting.vue index edf4ebed..e98dc874 100644 --- a/src/views/workOrder/accounting.vue +++ b/src/views/workOrder/accounting.vue @@ -155,43 +155,43 @@ 到事发地距离:{{ orderInfo.settleMileageAb + '公里' }} - + 拖车里程:{{ orderInfo.settleMileageBc + '公里' }} - + 返程里程:{{ orderInfo.settleMileageCa + '公里' }} - + ab路桥费:{{ orderInfo.bridgeAmountAb + '元' }} - + bc路桥费:{{ orderInfo.bridgeAmountBc + '元' }} - + ca路桥费:{{ orderInfo.bridgeAmountCa + '元' }} - + 小轮费:{{ orderInfo.bridgeAmount + '元' }} - + 困境费:{{ orderInfo.dilemmaAmount + '元' }} - + 等候费:{{ orderInfo.waitAmount + '元' }} - + 地库费:{{ orderInfo.basementFee + '元' }} - + 基本费用:{{ orderInfo.basePrice + '元' }} @@ -416,6 +416,12 @@ export default { }, }, methods: { + validateIntegerInput(event) { + const regex = /^\d*$/; + if (!regex.test(event.target.value)) { + event.target.value = event.target.value.replace(/[^\d]/g, ''); + } + }, viewSettlementDoc() {//查看结算单 this.$router.push({ name: "settlementDetail",