mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
项目编号修改为下拉搜索框
This commit is contained in:
@@ -150,7 +150,8 @@
|
||||
<div class="num" v-if="projectInfo.boeFlag === 1">
|
||||
<div class="num_text">项目编号:</div>
|
||||
<div class="num_input">
|
||||
<a-input style="border-radius: 8px;" show-count allowClear maxlength="30" v-model:value="projectInfo.numValue" placeholder="请输入项目编号" />
|
||||
<!-- <a-input style="border-radius: 8px;" show-count allowClear maxlength="30" v-model:value="projectInfo.numValue" placeholder="请输入项目编号" /> -->
|
||||
<ProjectNumber v-model:value="projectInfo.numValue" v-model:label="projectInfo.numLabel"></ProjectNumber>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -275,7 +276,7 @@ import * as api2 from "../../api/indexAudit";
|
||||
import {validateName} from "@/api/index1";
|
||||
import dayjs from "dayjs";
|
||||
import {scrollLoad} from "@/api/method";
|
||||
|
||||
import ProjectNumber from "@/components/project/ProjectNumber";
|
||||
export default {
|
||||
name: "projectAdd",
|
||||
components: {
|
||||
@@ -285,6 +286,7 @@ export default {
|
||||
TrainClass,
|
||||
NameInput,
|
||||
OrgClass,
|
||||
ProjectNumber
|
||||
},
|
||||
setup() {
|
||||
const store = useStore();
|
||||
@@ -342,7 +344,8 @@ export default {
|
||||
});
|
||||
watch(()=>state.projectInfo.boeFlag,(val)=>{
|
||||
if(!val){
|
||||
state.projectInfo.numValue = ''
|
||||
state.projectInfo.numValue = null
|
||||
state.projectInfo.numLabel = null
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user