main
吕天方 1 month ago
parent b1614b0f10
commit c42506f952

@ -11,11 +11,11 @@
<el-col :span="12">
<el-form-item label="所属单位" prop="ssdw">
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入所属单位"></el-input> -->
<!-- @select="handleSelect" -->
<el-autocomplete
v-model="ruleForm.ssdw"
:fetch-suggestions="querySearchAsync"
placeholder="请输入所属单位"
></el-autocomplete>
</el-form-item>
</el-col>
@ -323,11 +323,16 @@ export default {
results.push({
value: item.nickName,
id: item.id,
tyshxydm:item.userName
})
})
})
cb(results);
},
//
handleSelect(item){
this.ruleForm.tyshxydm = item.tyshxydm
},
//
newAssets(){
this.$refs['ruleForm'].validate((valid) => {

@ -132,44 +132,7 @@ export default {
size:10,
},
total:0,
tableData:[
{
number:20230001,
name:"XXX资产",
type:"1类资产",
unit:"太仓市XXX局",
time:"2023-07-30 16:30:21",
status:0,
},{
number:20230001,
name:"XXX资产",
type:"1类资产",
unit:"太仓市XXX局",
time:"2023-07-30 16:30:21",
status:1,
},{
number:20230001,
name:"XXX资产",
type:"1类资产",
unit:"太仓市XXX局",
time:"2023-07-30 16:30:21",
status:2,
},{
number:20230001,
name:"XXX资产",
type:"1类资产",
unit:"太仓市XXX局",
time:"2023-07-30 16:30:21",
status:3,
},{
number:20230001,
name:"XXX资产",
type:"1类资产",
unit:"太仓市XXX局",
time:"2023-07-30 16:30:21",
status:4,
},
],
tableData:[],
loading:false,
tabHeader: undefined,
}

Loading…
Cancel
Save