diff --git a/src/components/CustomPages/SK/SK004CheckPost.js b/src/components/CustomPages/SK/SK004CheckPost.js index 33e123c..efd2c25 100644 --- a/src/components/CustomPages/SK/SK004CheckPost.js +++ b/src/components/CustomPages/SK/SK004CheckPost.js @@ -283,11 +283,22 @@ class SK004CheckPost extends React.Component { inputText2: record?.NAME }) }; - handleSearch3 = (value) => { + // handleSearch3 = (value) => { + // this.setState({ + // inputText3: value + // }) + // } + handleSearch3 = ({data, record}) => { this.setState({ - inputText3: value + depart: { + ...this.state.depart, + PRODUCTION_UNIT_ID: data[0], + Nav_ProductionUnit: { NAME: record?.NAME }, + }, + inputText3: record?.NAME, + productionId: record?.ID }) - } + }; render() { const formItemLayout = { labelCol: { span: 8 }, @@ -379,7 +390,7 @@ class SK004CheckPost extends React.Component {

- @@ -395,7 +406,18 @@ class SK004CheckPost extends React.Component { - + */} + + { + params.OrderType = 1 + // params.Keyword = this.state.inputText3 + params.OrgId = this.props.login.OrgId + }} /> + {/*