Commit 95a7d25d authored by 李苏's avatar 李苏 💬

排查选中模型逻辑调整

parent 7972ccd2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: * @Description:
* @Author: lisu lisu@gavelinfo.com * @Author: lisu lisu@gavelinfo.com
* @LastEditors: lisu lisu@gavelinfo.com * @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-25 09:45:27 * @LastEditTime: 2024-10-31 16:47:55
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue * @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
--> -->
<template> <template>
...@@ -819,6 +819,9 @@ ...@@ -819,6 +819,9 @@
// a.remove() // a.remove()
this.pdfBytes = res.data.records.pdfBytes this.pdfBytes = res.data.records.pdfBytes
let gnwz=res.data.records.gnwz
/* - /* -
...@@ -890,9 +893,9 @@ ...@@ -890,9 +893,9 @@
// this.clickTag(this.jzReMaterialQue[0].model.name) // this.clickTag(this.jzReMaterialQue[0].model.name)
let model = false let model = false
let sbxxCode = this.sypcQueryParams.gnwz.replace(/\s+/g, ''); let sbxxCode = gnwz|| this.sypcQueryParams.gnwz.replace(/\s+/g, '');
this.jzReMaterialQue.forEach(jzitem => { this.jzReMaterialQue.forEach(jzitem => {
if (jzitem.model && jzitem.model.name && jzitem.model.name == sbxxCode) { if (jzitem.model && jzitem.model.name && this.getFirstPartOfString(jzitem.model.name) == sbxxCode) {
model = jzitem.model model = jzitem.model
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment