bug 78324
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
<template>
|
||||
<div class="selection-wrapper">
|
||||
<div class="box-title-text">
|
||||
<a-input class="box-input" :value="value" :title="value" @input="indexClick($event)"
|
||||
:disabled="disabled" :readonly="selectOnly ? 'readonly' : null" :max-length="500"
|
||||
<a-input class="box-input"
|
||||
:value="value"
|
||||
:title="value"
|
||||
@input="indexClick($event)"
|
||||
:disabled="disabled || selectOnly"
|
||||
: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">
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
@nameChange="handleStandardNumberChange"
|
||||
:select-only="true"
|
||||
:can-selected-source="[StandardSource.DOMESTIC.value, StandardSource.ENTERPRISE.value]"
|
||||
class="readonly-input"
|
||||
v-decorator="['serialNumber', validatorRules.serialNumber]" />
|
||||
</a-form-item>
|
||||
<!--标准名称-->
|
||||
@@ -210,4 +211,10 @@ export default {
|
||||
flex: 1;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.readonly-input {
|
||||
/deep/ .ant-input[disabled] {
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user