From 02dace886cbdc66fc12e563d27f80436a09a0f4f Mon Sep 17 00:00:00 2001 From: DouDou <877258667@qq.com> Date: Tue, 18 Jun 2024 13:59:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E5=BA=94=E6=96=B0=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E8=A7=84=E5=88=99=20site,rollNo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/scheduleReport/com_scan_material.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/modules/scheduleReport/com_scan_material.vue b/src/views/modules/scheduleReport/com_scan_material.vue index f4535da..0e378de 100644 --- a/src/views/modules/scheduleReport/com_scan_material.vue +++ b/src/views/modules/scheduleReport/com_scan_material.vue @@ -177,7 +177,9 @@ export default { this.$message.error('卷号不能为空!'); return false; } else { - this.pageData.rmRollNo = this.pageData.rmRollNo.trim(); + //分拆site 和 卷号 + let siteAndRollNo = this.pageData.rmRollNo.trim().split(','); + this.pageData.rmRollNo = siteAndRollNo[1]; } this.pageData.rollNo = this.pageData.rmRollNo;