@@ -79,7 +79,7 @@ func (this *OilSupplierCertSubController) GetEntityList() {
}
if Code != "" {
- where = where + " and Code like '" + Code + "%'"
+ where = where + " and (Code like '" + Code + "%' or Name like '%" + Code + "%')"
if Name != "" {
@@ -5,8 +5,8 @@
class="clearfix">
<span style="font-weight: bold">准入范围<span v-if="needPayAmount > 0 && !['7', '8', '11'].includes(status)" style="font-size: 12px; font-weight: normal; color: red"> (需交费:{{needPayAmount}}元)</span></span>
<span style="margin-left: 600px">
- 准入编码
- <el-input size="mini" v-model="Code" clearable style="width:10%" placeholder="准入编码"></el-input>
+ 准入范围/编码
+ <el-input size="mini" v-model="Code" clearable style="width:10%" placeholder="准入范围/编码"></el-input>
<el-button type="primary" size="mini" @click="handleSearch">查询</el-button>
</span>