mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
Merge remote-tracking branch 'zcwy/zcwy_1009_bug' into dev_master
This commit is contained in:
@@ -26,15 +26,16 @@ const emit = defineEmits(['update:value'])
|
||||
const store = useStore();
|
||||
const numValue = computed(()=>store.state.project_number.find(item=>item.value == props.value)?.name || null)
|
||||
const handleChange = (value,option)=>{
|
||||
emit('update:value',value || '')
|
||||
emit('update:value',option?.searchData || '')
|
||||
}
|
||||
onMounted(() => {
|
||||
// console.log(store.state.project_number,'store.state.project_number')
|
||||
});
|
||||
const options = computed(()=>store.state.project_number.map(e => {
|
||||
return{
|
||||
value: e.value,
|
||||
label: ' 【 ' + e.value + ' 】 ' + e.name
|
||||
value: e.value + e.name,
|
||||
label: ' 【 ' + e.value + ' 】 ' + e.name,
|
||||
searchData: e.value
|
||||
}
|
||||
}))
|
||||
</script>
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
<a-radio :style="radioStyle" :value="0">否</a-radio>
|
||||
</a-radio-group>
|
||||
</div>
|
||||
<div class="num" v-if="projectInfo.boeFlag === 1">
|
||||
<div class="num" style="flex:3" 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="请输入项目编号" /> -->
|
||||
@@ -792,15 +792,16 @@ export default {
|
||||
|
||||
.num{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
.num_text{
|
||||
color: #6f6f6f;
|
||||
font-size: 14px;
|
||||
min-width: 70px;
|
||||
// margin-right: 7px;
|
||||
}
|
||||
.num_input{
|
||||
width: 184px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user