From de977c01003212c841faddb3b27ef894c8aa890c Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 10 Jul 2024 17:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8A=E4=BC=A0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../toolsAcceptance/component/queryTools.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue index fec85629..b0912c01 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue @@ -996,9 +996,11 @@ export default { fileUrl += e.url + ',' fileName += e.name + ',' }) - this.form.checkUrl = fileUrl.substring(fileUrl.length - 1, 1) - this.form.checkUrlName = fileName.substring(fileName.length - 1, 1) - + this.form.checkUrl = fileUrl.substring(fileUrl.length - 1, ',') + this.form.checkUrlName = fileName.substring( + fileName.length - 1, + ',', + ) // console.log(this.form) // console.log(equipments) this.$refs['form'].validate((valid) => { @@ -1030,8 +1032,11 @@ export default { fileUrl += e.url + ',' fileName += e.name + ',' }) - this.aform.checkUrl = fileUrl.substring(fileUrl.length - 1, 1) - this.aform.checkUrlName = fileName.substring(fileName.length - 1, 1) + this.aform.checkUrl = fileUrl.substring(fileUrl.length - 1, ',') + this.aform.checkUrlName = fileName.substring( + fileName.length - 1, + ',', + ) this.$refs['aform'].validate((valid) => { if (valid) {