|
@@ -17,9 +17,9 @@
|
|
|
</template>
|
|
</template>
|
|
|
<div class="search_wrapper">
|
|
<div class="search_wrapper">
|
|
|
<el-input
|
|
<el-input
|
|
|
- v-model="code"
|
|
|
|
|
|
|
+ v-model="keyWord"
|
|
|
class="search_input"
|
|
class="search_input"
|
|
|
- placeholder="请输入编码"
|
|
|
|
|
|
|
+ placeholder="编码/名称/固资编码"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
<el-button type="primary" @click="doSearch">搜索</el-button>
|
|
<el-button type="primary" @click="doSearch">搜索</el-button>
|
|
|
<el-button type="primary" @click="reset">重置</el-button>
|
|
<el-button type="primary" @click="reset">重置</el-button>
|
|
@@ -54,7 +54,7 @@
|
|
|
@selection-change="selectItem"
|
|
@selection-change="selectItem"
|
|
|
:header-cell-style="{ background: '#F0F3F3' }"
|
|
:header-cell-style="{ background: '#F0F3F3' }"
|
|
|
>
|
|
>
|
|
|
- <!-- <el-table-column prop="code" label="物品编码"></el-table-column> -->
|
|
|
|
|
|
|
+ <el-table-column prop="code" label="编码"></el-table-column>
|
|
|
<el-table-column prop="name" label="物品名称"></el-table-column>
|
|
<el-table-column prop="name" label="物品名称"></el-table-column>
|
|
|
<el-table-column prop="fixCode" label="固资编码"></el-table-column>
|
|
<el-table-column prop="fixCode" label="固资编码"></el-table-column>
|
|
|
<el-table-column prop="codeNumber" label="编号"></el-table-column>
|
|
<el-table-column prop="codeNumber" label="编号"></el-table-column>
|
|
@@ -127,7 +127,7 @@
|
|
|
return {
|
|
return {
|
|
|
fullscreen: false,
|
|
fullscreen: false,
|
|
|
dialogVisible: false,
|
|
dialogVisible: false,
|
|
|
- code: '',
|
|
|
|
|
|
|
+ keyWord: '',
|
|
|
tableLoading: false,
|
|
tableLoading: false,
|
|
|
tableData: [],
|
|
tableData: [],
|
|
|
currentTreeData: {},
|
|
currentTreeData: {},
|
|
@@ -160,7 +160,7 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
async reset() {
|
|
async reset() {
|
|
|
- this.code = '';
|
|
|
|
|
|
|
+ this.keyWord = '';
|
|
|
this._getClassificationList();
|
|
this._getClassificationList();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -192,7 +192,7 @@
|
|
|
size: this.pageSize,
|
|
size: this.pageSize,
|
|
|
categoryLevelId: this.currentTreeData.id,
|
|
categoryLevelId: this.currentTreeData.id,
|
|
|
rootCategoryLevelId: this.rootId,
|
|
rootCategoryLevelId: this.rootId,
|
|
|
- code: this.code
|
|
|
|
|
|
|
+ keyWord: this.keyWord
|
|
|
};
|
|
};
|
|
|
const res = await getAssetList(params);
|
|
const res = await getAssetList(params);
|
|
|
this.tableLoading = false;
|
|
this.tableLoading = false;
|