资产允许 修改所属单位

main
吕天方 5 days ago
parent 5d87744ca3
commit a4ea509445

@ -16,8 +16,8 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="单位名称" required prop="dwmc"> <el-form-item label="单位名称" required prop="dwmc">
<!-- <el-input v-model="ruleForm.dwmc" placeholder="请输入单位名称"></el-input> --> <!-- <el-input v-model="ruleForm.dwmc" placeholder="请输入单位名称"></el-input> -->
<!-- :disabled="!disabledTwo" -->
<el-autocomplete <el-autocomplete
:disabled="!disabledTwo"
v-model="ruleForm.dwmc" v-model="ruleForm.dwmc"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入单位名称" placeholder="请输入单位名称"
@ -3016,7 +3016,7 @@ export default {
}, },
disabled:false, disabled:false,
loading:false, loading:false,
disabledTwo:true, // disabledTwo:true,
} }
}, },
props:['pageType', 'id', 'queryData'], props:['pageType', 'id', 'queryData'],
@ -3038,7 +3038,7 @@ export default {
} else if(this.pageType == 'change') { } else if(this.pageType == 'change') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = false; this.disabled = false;
this.disabledTwo = false; // this.disabledTwo = false;
this.isMore = true; this.isMore = true;
} }
}, },

@ -12,8 +12,8 @@
<el-form-item label="所属单位" prop="ssdw"> <el-form-item label="所属单位" prop="ssdw">
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入所属单位"></el-input> --> <!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入所属单位"></el-input> -->
<!-- @select="handleSelect" --> <!-- @select="handleSelect" -->
<!-- :disabled="disabledTwo" -->
<el-autocomplete <el-autocomplete
:disabled="!disabledTwo"
v-model="ruleForm.ssdw" v-model="ruleForm.ssdw"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入所属单位" placeholder="请输入所属单位"
@ -291,7 +291,7 @@ export default {
}, },
loading:false, loading:false,
disabled:false, disabled:false,
disabledTwo:true // disabledTwo:true
} }
}, },
props:['pageType', 'id', 'queryData'], props:['pageType', 'id', 'queryData'],
@ -312,7 +312,7 @@ export default {
} else if(this.pageType == 'change') { } else if(this.pageType == 'change') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = false; this.disabled = false;
this.disabledTwo = false; // this.disabledTwo = false;
} }
}, },
methods:{ methods:{

@ -11,8 +11,8 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属单位" prop="ssdw"> <el-form-item label="所属单位" prop="ssdw">
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> --> <!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> -->
<!-- :disabled="!disabledTwo" -->
<el-autocomplete <el-autocomplete
:disabled="!disabledTwo"
v-model="ruleForm.ssdw" v-model="ruleForm.ssdw"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入所属单位" placeholder="请输入所属单位"
@ -418,7 +418,7 @@ export default {
}, },
loading:false, loading:false,
disabled:false, disabled:false,
disabledTwo:true, // disabledTwo:true,
} }
}, },
props:['pageType', 'id', 'queryData'], props:['pageType', 'id', 'queryData'],
@ -439,7 +439,7 @@ export default {
} else if(this.pageType == 'change') { } else if(this.pageType == 'change') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = false; this.disabled = false;
this.disabledTwo = false; // this.disabledTwo = false;
} }
}, },

@ -11,8 +11,8 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属单位" prop="ssdw"> <el-form-item label="所属单位" prop="ssdw">
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> --> <!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> -->
<!-- :disabled="!disabledTwo" -->
<el-autocomplete <el-autocomplete
:disabled="!disabledTwo"
v-model="ruleForm.ssdw" v-model="ruleForm.ssdw"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入所属单位" placeholder="请输入所属单位"
@ -231,7 +231,7 @@ export default {
}, },
loading:false, loading:false,
disabled:false, disabled:false,
disabledTwo:true, // disabledTwo:true,
} }
}, },
props:['pageType', 'id', 'queryData'], props:['pageType', 'id', 'queryData'],
@ -252,7 +252,7 @@ export default {
} else if(this.pageType == 'change') { } else if(this.pageType == 'change') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = false; this.disabled = false;
this.disabledTwo = false; // this.disabledTwo = false;
} }
}, },
methods:{ methods:{

@ -11,8 +11,8 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属单位" required prop="ssdw"> <el-form-item label="所属单位" required prop="ssdw">
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> --> <!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> -->
<!-- :disabled="!disabledTwo" -->
<el-autocomplete <el-autocomplete
:disabled="!disabledTwo"
v-model="ruleForm.ssdw" v-model="ruleForm.ssdw"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入所属单位" placeholder="请输入所属单位"
@ -207,7 +207,7 @@ export default {
}, },
loading:false, loading:false,
disabled:false, disabled:false,
disabledTwo:true, // disabledTwo:true,
} }
}, },
props:['pageType', 'id', 'queryData'], props:['pageType', 'id', 'queryData'],
@ -228,7 +228,7 @@ export default {
} else if(this.pageType == 'change') { } else if(this.pageType == 'change') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = false; this.disabled = false;
this.disabledTwo = false; // this.disabledTwo = false;
} }
}, },
methods:{ methods:{

Loading…
Cancel
Save