Commit 62f333a7 authored by 李苏's avatar 李苏 💬

1

parent a665e38f
......@@ -2,7 +2,7 @@
* @Description:
* @Author: lisu lisu@gavelinfo.com
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-09-18 09:42:40
* @LastEditTime: 2024-09-19 14:40:49
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
-->
<template>
......@@ -290,13 +290,13 @@
<el-col :span="8" class="search-col">
<div class="search-item">
<span class="search-span">功能位置:</span>
<el-input v-model="sypcQueryParams.sbxxCode"></el-input>
<el-input v-model="sypcQueryParams.gnwz"></el-input>
</div>
</el-col>
<el-col :span="8" class="search-col">
<div class="search-item">
<span class="search-span">最大管径:</span>
<el-input v-model="sypcQueryParams.zdgj"></el-input>
<el-input v-model="sypcQueryParams.gj"></el-input>
</div>
</el-col>
<el-col :span="8" class="search-col flex-center">
......@@ -305,7 +305,8 @@
<RelSelect placeholder='' style="width: 100%;" :optionsData="[
{id:'Y',name:'是'},
{id:'N',name:'否'}
]" filterable clearable :match="{value:'id',label:'name'}" v-model='sypcQueryParams.jqyr'></RelSelect>
]" filterable clearable :match="{value:'id',label:'name'}" v-model='sypcQueryParams.isrRecentImport'>
</RelSelect>
</div>
</el-col>
</el-row>
......@@ -314,7 +315,7 @@
<div class="search-item">
<span class="search-span">规格:</span>
<RelSelect placeholder='' style="width: 100%;" src='sbgl/usbxx/init/ggxh ' filterable clearable
:match="{value:'id',label:'name'}" v-model='sypcQueryParams.ggxh'></RelSelect>
:match="{value:'id',label:'name'}" v-model='sypcQueryParams.gg'></RelSelect>
</div>
</el-col>
<el-col :span="8" class="search-col">
......@@ -541,11 +542,11 @@
kshZt: ''
},
sypcQueryParams: {
sbxxCode: '',
jqyr: '',
zdgj: '',
gnwz: '',
isrRecentImport: false,
gj: '',
ldtx: '',
ggxh: '',
gg: '',
cz: '',
// ywName: '异物1RIS0218',
// jzbm: '1',
......@@ -621,7 +622,7 @@
},
/* 点击按钮弹出异物,然后选中*/
sypc() {
if (!this.sypcQueryParams.sbxxCode) {
if (!this.sypcQueryParams.gnwz) {
this.$warning('请输入功能位置后进行查询!')
return
}
......@@ -644,7 +645,7 @@
this.$success(`已标记${sbxxList.length}个设备`)
const sbxxCodeList = sbxxList.map(item => item.sbxxCode)
/* 匹配设备信息length==0 */
if(sbxxCodeList.length==0){
if (sbxxCodeList.length == 0) {
return
}
/* 解决 先缓存选中色,后渲染黄色,默认选中时颜色不对
......
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