提交 9d293dab authored 作者: jinrongbin's avatar jinrongbin

回显修改

上级 f87c991c
...@@ -90,13 +90,13 @@ ...@@ -90,13 +90,13 @@
</div> </div>
</template> </template>
<template #sfWr="{ model }"> <template #sfWr="{ model }">
<a-radio-group name="radioGroup" @change="(e) => handleRadio(e, model, 'sfWr')" v-model:value="model['sfWr']"> <a-radio-group name="radioGroup" v-model:value="model['sfWr']">
<a-radio value="1"></a-radio> <a-radio :value="1"></a-radio>
<a-radio value="0"></a-radio> <a-radio :value="0"></a-radio>
<a-select <a-select
v-model:value="model['wcccy']" v-model:value="model['wccCy']"
style="width: 220px" style="width: 220px"
v-if="model['sfWr'] === '0'" v-if="model['sfWr'] ==0"
placeholder="请选择类型" placeholder="请选择类型"
> >
<a-select-option value="采样结果不超标">采样结果不超标</a-select-option> <a-select-option value="采样结果不超标">采样结果不超标</a-select-option>
...@@ -285,6 +285,12 @@ ...@@ -285,6 +285,12 @@
component: 'Input', component: 'Input',
show: false, show: false,
}, },
{
label: 'wccCy',
field: 'wccCy',
component: 'Input',
show: false,
},
{ {
label: 'trswcdSxz', label: 'trswcdSxz',
field: 'trswcdSxz', field: 'trswcdSxz',
...@@ -438,7 +444,6 @@ ...@@ -438,7 +444,6 @@
field: 'sfWr', field: 'sfWr',
defaultValue: 0, defaultValue: 0,
component: 'RadioGroup', component: 'RadioGroup',
slot: 'sfWr',
required: true, required: true,
// componentProps: { // componentProps: {
// options: [ // options: [
...@@ -629,6 +634,8 @@ ...@@ -629,6 +634,8 @@
} else if(type == 'sxz'){ } else if(type == 'sxz'){
model['sxzSfsjyqywrw'] = e.target.value model['sxzSfsjyqywrw'] = e.target.value
sxzyhfwrw.value = e.target.value sxzyhfwrw.value = e.target.value
} else if(type == 'sfWr'){
model['sfWr'] = e.target.value
} else if(type == 'dsxswr'){ } else if(type == 'dsxswr'){
model['dxsswrcd'] = e.target.value model['dxsswrcd'] = e.target.value
} else { } else {
...@@ -730,6 +737,7 @@ ...@@ -730,6 +737,7 @@
defaultValue: 0, defaultValue: 0,
component: 'RadioGroup', component: 'RadioGroup',
required: val1 ? true : false, required: val1 ? true : false,
slot: 'sfWr',
componentProps: { componentProps: {
options: [ options: [
{ label: '否', value: 0 }, { label: '否', value: 0 },
......
...@@ -113,10 +113,10 @@ ...@@ -113,10 +113,10 @@
v-model:value="model[field]" v-model:value="model[field]"
style="width: 120px;" style="width: 120px;"
> >
<a-select-option :value="0"></a-select-option> <a-select-option value="0"></a-select-option>
<a-select-option :value="1"></a-select-option> <a-select-option value="1"></a-select-option>
</a-select> </a-select>
<span style="color:red;font-size:14px; flex:1;" v-show="model[field]===1">说明:基于地质高背景原因导致的超筛选值的地块需进入后期管理。</span> <span style="color:red;font-size:14px; flex:1;" v-show="model[field]==1">说明:基于地质高背景原因导致的超筛选值的地块需进入后期管理。</span>
</div> </div>
</template> </template>
</BasicForm> </BasicForm>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论