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