update 选择标准组件还原
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="selection-wrapper">
|
||||
<div class="box-title-text">
|
||||
<a-input class="box-input" :value="value" :title="value" @input="indexClick($event)"
|
||||
:disabled="disabled || disabledInput" readonly :max-length="500"
|
||||
:disabled="disabled" readonly :max-length="500"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:placeholder="placeholder"/>
|
||||
<a-button v-if="!disabled" type="primary" class="button-box" @click="standardClick">
|
||||
@@ -31,11 +31,6 @@ export default {
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 只禁用输入框
|
||||
disabledInput: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
<!-- 稽查依据标准号 -->
|
||||
<a-form-item :label="$t('workCenter.esInspectionPlan.inspectionBasisStandardNumber')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<standard-selection :placeholder="$t('pleaseSelect') + $t('workCenter.esInspectionPlan.inspectionBasisStandardNumber')"
|
||||
disabledInput disabledSourceSearch source="3" @nameChange="changeStandardName" type="radio"
|
||||
disabledSourceSearch source="3" @nameChange="changeStandardName" type="radio"
|
||||
v-decorator="['inspectionBasisStandardNumber', validatorRules.inspectionBasisStandardNumber]" />
|
||||
</a-form-item>
|
||||
<!-- 稽查依据标准名称 -->
|
||||
|
||||
Reference in New Issue
Block a user