Commit d71461da authored by Bill's avatar Bill

fix: 修改加工生产通知单详情页不通过原因

parent 27eac8db
...@@ -288,7 +288,7 @@ const Detail: React.FC<{}> = () => { ...@@ -288,7 +288,7 @@ const Detail: React.FC<{}> = () => {
const handleManualDeliver = (value) => { const handleManualDeliver = (value) => {
const postData = { const postData = {
produceNoticeOrderId: id, produceNoticeOrderId: id,
manualDeliverBO: value, manualDeliver: value,
} }
PublicApi.postEnhanceProcessToBeDeliveryManualDeliver(postData) PublicApi.postEnhanceProcessToBeDeliveryManualDeliver(postData)
.then(({data, code}) => { .then(({data, code}) => {
...@@ -354,6 +354,11 @@ const Detail: React.FC<{}> = () => { ...@@ -354,6 +354,11 @@ const Detail: React.FC<{}> = () => {
text={info.innerStatusName}></Badge> text={info.innerStatusName}></Badge>
</Descriptions.Item> </Descriptions.Item>
</Descriptions> </Descriptions>
{
info?.cause
? <div style={{marginLeft: '32px'}}>不通过原因: {info.cause}</div>
: null
}
</Col> </Col>
<Col span={4}> <Col span={4}>
{ {
...@@ -376,10 +381,10 @@ const Detail: React.FC<{}> = () => { ...@@ -376,10 +381,10 @@ const Detail: React.FC<{}> = () => {
<DeliverGood <DeliverGood
mode="view" mode="view"
deliveryType={info.deliveryType} deliveryType={info.deliveryType}
deliveryAddress={info.manualDeliverBO?.deliveryAddress} deliveryAddress={info.manualDeliver?.deliveryAddress}
deliveryTime={info.manualDeliverBO?.deliveryTime} deliveryTime={info.manualDeliver?.deliveryTime}
deliveryNo={info.manualDeliverBO?.deliveryNo} deliveryNo={info.manualDeliver?.deliveryNo}
logisticsName={info.manualDeliverBO?.logisticsName} logisticsName={info.manualDeliver?.logisticsName}
handleManualReceiver={handleManualReceiver} handleManualReceiver={handleManualReceiver}
> >
<Button type="primary" >确认手工收货</Button> <Button type="primary" >确认手工收货</Button>
......
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