|
@@ -17,6 +17,7 @@ export const ChangeCompMap = {
|
|
|
|
|
|
|
|
const LockForm = props => {
|
|
const LockForm = props => {
|
|
|
const { longle, customerId } = props
|
|
const { longle, customerId } = props
|
|
|
|
|
+ console.log(customerId)
|
|
|
const { toggleDrawer, setDrawerProps } = useModal()
|
|
const { toggleDrawer, setDrawerProps } = useModal()
|
|
|
const changeCopInputData = {
|
|
const changeCopInputData = {
|
|
|
clientName: longle.client,
|
|
clientName: longle.client,
|
|
@@ -24,6 +25,9 @@ const LockForm = props => {
|
|
|
clientId: longle.clientId,
|
|
clientId: longle.clientId,
|
|
|
actionPayload: ChangeCompMap.LONGLE.key
|
|
actionPayload: ChangeCompMap.LONGLE.key
|
|
|
}
|
|
}
|
|
|
|
|
+ const copyAuthorizeStr = {
|
|
|
|
|
+ authorizeStr: longle.authorizeStr
|
|
|
|
|
+ }
|
|
|
const handleCompanyClick = () => {
|
|
const handleCompanyClick = () => {
|
|
|
toggleDrawer()
|
|
toggleDrawer()
|
|
|
setDrawerProps({
|
|
setDrawerProps({
|
|
@@ -37,8 +41,7 @@ const LockForm = props => {
|
|
|
})
|
|
})
|
|
|
toggleDrawer()
|
|
toggleDrawer()
|
|
|
}
|
|
}
|
|
|
- // 出库状态
|
|
|
|
|
- const longleStockStatusNum = {
|
|
|
|
|
|
|
+ const longleStatusNum = {
|
|
|
1: '生成',
|
|
1: '生成',
|
|
|
2: '接收'
|
|
2: '接收'
|
|
|
}
|
|
}
|
|
@@ -134,21 +137,21 @@ const LockForm = props => {
|
|
|
{longle.customerName}
|
|
{longle.customerName}
|
|
|
</span>
|
|
</span>
|
|
|
</Col>
|
|
</Col>
|
|
|
- <Divider style={{ margin: '12px 0' }} />
|
|
|
|
|
|
|
+ <Divider />
|
|
|
<Col span={6}>客户</Col>
|
|
<Col span={6}>客户</Col>
|
|
|
<Col span={18}>
|
|
<Col span={18}>
|
|
|
- <ChangeClient dataSource={changeCopInputData} />
|
|
|
|
|
|
|
+ <span className="textPurple" onClick={handleCompanyClick}>
|
|
|
|
|
+ {longle.customerName}
|
|
|
|
|
+ </span>
|
|
|
</Col>
|
|
</Col>
|
|
|
- <Divider style={{ margin: '12px 0' }} />
|
|
|
|
|
|
|
+ <Divider />
|
|
|
<Col span={6}>注册码</Col>
|
|
<Col span={6}>注册码</Col>
|
|
|
<Col span={18}>
|
|
<Col span={18}>
|
|
|
- <CopyAuthorizeStr authorizeStr={longle.authorizeStr} />
|
|
|
|
|
|
|
+ <CopyauthorizeStr dataSource={copyAuthorizeStr} />
|
|
|
</Col>
|
|
</Col>
|
|
|
- <Divider style={{ margin: '12px 0' }} />
|
|
|
|
|
|
|
+ <Divider />
|
|
|
<Col span={6}>升级文件</Col>
|
|
<Col span={6}>升级文件</Col>
|
|
|
- <Col span={18}>
|
|
|
|
|
- <DownUpdateFile updateFile={longle.updateFile} />
|
|
|
|
|
- </Col>
|
|
|
|
|
|
|
+ <Col span={18}>{longle.updateFile}</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|