修复 模板编号输入框无响应bug
This commit is contained in:
parent
c331d95c92
commit
4a09c9a5bb
|
@ -708,16 +708,14 @@ export default class addKnockGold extends Component {
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
{this.state.model.channel == 1 ? (
|
{this.state.model.channel == 1 ? (
|
||||||
<FormItem
|
<FormItem labelname='卷模板编号' prop='temp_no' id='batch_number'>
|
||||||
labelname='卷模板编号'
|
|
||||||
prop='temp_no '
|
|
||||||
id='batch_number'>
|
|
||||||
<Ipt
|
<Ipt
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
this.onHandleChange(value, 'temp_no ')
|
console.log(value)
|
||||||
|
this.onHandleChange(value, 'temp_no')
|
||||||
}}
|
}}
|
||||||
onClearItem={() => {
|
onClearItem={() => {
|
||||||
this.onHandleChange('', 'temp_no ')
|
this.onHandleChange('', 'temp_no')
|
||||||
}}
|
}}
|
||||||
disabled={this.props?.data?.id ? true : false}
|
disabled={this.props?.data?.id ? true : false}
|
||||||
value={this.state.model.temp_no}
|
value={this.state.model.temp_no}
|
||||||
|
|
|
@ -11,7 +11,7 @@ export default {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
/* 模板编号 */
|
/* 模板编号 */
|
||||||
templateNumber: [
|
temp_no: [
|
||||||
{ type: 'required', message: '请输入模板编号' },
|
{ type: 'required', message: '请输入模板编号' },
|
||||||
{
|
{
|
||||||
type: 'regExp',
|
type: 'regExp',
|
||||||
|
|
Loading…
Reference in New Issue