Commit 83ae454f authored by 武广's avatar 武广

fix: 修改提示语 延迟发货改为异常订单报备

parent cc60a740
...@@ -44,7 +44,7 @@ const UpdateStock = props => { ...@@ -44,7 +44,7 @@ const UpdateStock = props => {
return ( return (
<Modal <Modal
title="延迟发货" title="异常订单报备"
visible={props.visible} visible={props.visible}
okButtonProps={{ loading }} okButtonProps={{ loading }}
onCancel={onCancel} onCancel={onCancel}
...@@ -52,11 +52,11 @@ const UpdateStock = props => { ...@@ -52,11 +52,11 @@ const UpdateStock = props => {
width={500} width={500}
> >
<Form {...formItemLayout}> <Form {...formItemLayout}>
<Form.Item label="延迟原因:"> <Form.Item label="异常原因:">
{getFieldDecorator('remark', { {getFieldDecorator('remark', {
rules: [{ required: true, message: '请输入延迟原因!' }], rules: [{ required: true, message: '请输入异常原因!' }],
initialValue: valueInfo.remark, initialValue: valueInfo.remark,
})(<Input.TextArea maxLength={10} showCount />)} })(<Input.TextArea maxLength={30} showCount />)}
</Form.Item> </Form.Item>
</Form> </Form>
</Modal> </Modal>
......
...@@ -330,7 +330,7 @@ const TableList = props => { ...@@ -330,7 +330,7 @@ const TableList = props => {
className={+record.delayStatus === 1 ? style.btnWarning : ''} className={+record.delayStatus === 1 ? style.btnWarning : ''}
onClick={() => onDelay(record.orderId, +record.delayStatus, record.delayRemark)} onClick={() => onDelay(record.orderId, +record.delayStatus, record.delayRemark)}
> >
{+record.delayStatus === 1 ? '已延迟发货' : '延迟发货'} {+record.delayStatus === 1 ? '异常订单已报备' : '异常订单报备'}
</Button> </Button>
)} )}
</React.Fragment> </React.Fragment>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment