Commit 83a64d75 authored by rainbowmorel@163.com's avatar rainbowmorel@163.com

修改文案

parent f35972d4
...@@ -97,7 +97,7 @@ const Remarks: AnchorsItem = { ...@@ -97,7 +97,7 @@ const Remarks: AnchorsItem = {
const DeliveryNoteQuery: AnchorsItem[] = [ const DeliveryNoteQuery: AnchorsItem[] = [
BillsInfo, BillsInfo,
Distribution, Harvest,
DeliveryInfo, DeliveryInfo,
LogisticsInfo, LogisticsInfo,
] ]
......
...@@ -87,6 +87,7 @@ const DeliveryNoticeManagementAwaitB2BDetails: React.FC<PropsType> = ({ type, id ...@@ -87,6 +87,7 @@ const DeliveryNoticeManagementAwaitB2BDetails: React.FC<PropsType> = ({ type, id
if (code === 1000) { if (code === 1000) {
// history.goBack() // history.goBack()
// 兼容从送货计划协同跳转生成送货通知单 // 兼容从送货计划协同跳转生成送货通知单
handleLeave(false)
history.push('/memberCenter/order/deliveryNoticeManagement/query') history.push('/memberCenter/order/deliveryNoticeManagement/query')
} }
}).finally(() => { }).finally(() => {
......
...@@ -86,6 +86,7 @@ const DeliveryNoticeManagementAwaitSRMDetails: React.FC<PropsType> = ({ type, id ...@@ -86,6 +86,7 @@ const DeliveryNoticeManagementAwaitSRMDetails: React.FC<PropsType> = ({ type, id
setLoading(true) setLoading(true)
requestApi(params).then(({ code, data }) => { requestApi(params).then(({ code, data }) => {
if (code === 1000) { if (code === 1000) {
handleLeave(false)
history.goBack() history.goBack()
} }
}).finally(() => { }).finally(() => {
......
...@@ -279,7 +279,7 @@ function DeliveryNoticeFromCreate() { ...@@ -279,7 +279,7 @@ function DeliveryNoticeFromCreate() {
render: (t, rcode, index) => { render: (t, rcode, index) => {
return ( return (
<HarvestMaterialInput <HarvestMaterialInput
value={rcode[OrderNumColumn.key]} value={rcode?.deliveryCount}
index={index} index={index}
keyup="deliveryCount" keyup="deliveryCount"
disabled={true} disabled={true}
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
import AnchorPage from '@/components/AnchorPage' import AnchorPage from '@/components/AnchorPage'
import { BaseInfo as ListInfo } from '@/components/BaseInfo' import { BaseInfo as ListInfo } from '@/components/BaseInfo'
import { BillsInfo, DeliveryInfo, DeliveryNoteQuery, Distribution, ExternalRoamRecord, Harvest, LogisticsInfo, Material } from '../../constants' import { BillsInfo, DeliveryInfo, DeliveryNoteQuery, Distribution, ExternalRoamRecord, Harvest, HarvestMaterial, LogisticsInfo, Material } from '../../constants'
import { Space, Spin, Table, Tag } from 'antd'; import { Space, Spin, Table, Tag } from 'antd';
import ReceiveNoteFacotry from '../../assets/handles/ReceiveNotePage'; import ReceiveNoteFacotry from '../../assets/handles/ReceiveNotePage';
import { useLocation } from 'umi'; import { useLocation } from 'umi';
...@@ -45,9 +45,9 @@ const DeliveryNoteManageDetails: React.FC = () => { ...@@ -45,9 +45,9 @@ const DeliveryNoteManageDetails: React.FC = () => {
setAnchors([ setAnchors([
...anchors, ...anchors,
{ {
...Material, ...HarvestMaterial,
...{ ...{
name: `${Material.name}(${values[1].totalCount})` name: `${HarvestMaterial.name}(${values[1].totalCount})`
} }
}, },
{ {
...@@ -69,11 +69,11 @@ const DeliveryNoteManageDetails: React.FC = () => { ...@@ -69,11 +69,11 @@ const DeliveryNoteManageDetails: React.FC = () => {
> >
<ListInfo className='mt-15' title={BillsInfo.name} id={BillsInfo.key}> <ListInfo className='mt-15' title={BillsInfo.name} id={BillsInfo.key}>
<ListInfoItem className="mt-16" label='收货单号'> <ListInfoItem className="mt-16" label='收货单号'>
{info?.receiveNo} {info?.receiveNo}
</ListInfoItem> </ListInfoItem>
<ListInfoItem label='采购会员'> <ListInfoItem label='供应会员'>
{info?.buyerMemberName} {info?.buyerMemberName}
</ListInfoItem> </ListInfoItem>
...@@ -95,7 +95,7 @@ const DeliveryNoteManageDetails: React.FC = () => { ...@@ -95,7 +95,7 @@ const DeliveryNoteManageDetails: React.FC = () => {
<ListInfo className='mt-15' title={Harvest.name} id={Harvest.key}> <ListInfo className='mt-15' title={Harvest.name} id={Harvest.key}>
<div> <div>
<ListInfoItem className="mt-16" label='收货日期'> <ListInfoItem className="mt-16" label='收货时间'>
{info?.receiveTime} {info?.receiveTime}
</ListInfoItem> </ListInfoItem>
...@@ -152,7 +152,7 @@ const DeliveryNoteManageDetails: React.FC = () => { ...@@ -152,7 +152,7 @@ const DeliveryNoteManageDetails: React.FC = () => {
</ListInfo> </ListInfo>
<ListInfo className='mt-15' title={Material.name} id={Material.key} cols={1}> <ListInfo className='mt-15' title={HarvestMaterial.name} id={HarvestMaterial.key} cols={1}>
<Table <Table
rowKey={row => row.orderNo} rowKey={row => row.orderNo}
columns={ columns={
...@@ -164,6 +164,11 @@ const DeliveryNoteManageDetails: React.FC = () => { ...@@ -164,6 +164,11 @@ const DeliveryNoteManageDetails: React.FC = () => {
return rcode.deliveryCount return rcode.deliveryCount
} }
} }
, {
title: '收货数量',
dataIndex: 'receiveCount',
key: 'receiveCount'
}
]} ]}
dataSource={tableDataSource} dataSource={tableDataSource}
/> />
......
...@@ -71,7 +71,7 @@ const DeliveryNoteManage: React.FC = () => { ...@@ -71,7 +71,7 @@ const DeliveryNoteManage: React.FC = () => {
{ title: '收货日期', dataIndex: 'receiveTime', key: 'receiveTime' }, { title: '收货日期', dataIndex: 'receiveTime', key: 'receiveTime' },
{ title: '送货单号', dataIndex: 'deliveryNo', key: 'deliveryNo' }, { title: '送货单号', dataIndex: 'deliveryNo', key: 'deliveryNo' },
{ title: '送货日期', dataIndex: 'deliveryTime', key: 'deliveryTime' }, { title: '送货日期', dataIndex: 'deliveryTime', key: 'deliveryTime' },
{ title: '供应会员', dataIndex: 'buyerMemberName', key: 'buyerMemberName' }, { title: '供应会员', dataIndex: 'vendorMemberName', key: 'vendorMemberName' },
{ title: '单据时间', dataIndex: 'createTime', key: 'createTime' }, { title: '单据时间', dataIndex: 'createTime', key: 'createTime' },
{ {
title: '外部状态', title: '外部状态',
......
...@@ -91,7 +91,7 @@ const DeliveryNoteQuery: React.FC = () => { ...@@ -91,7 +91,7 @@ const DeliveryNoteQuery: React.FC = () => {
}, },
{ title: '送货单摘要', dataIndex: 'digest', key: 'digest' }, { title: '送货单摘要', dataIndex: 'digest', key: 'digest' },
{ title: '送货日期', dataIndex: 'deliveryTime', key: 'deliveryTime' }, { title: '送货日期', dataIndex: 'deliveryTime', key: 'deliveryTime' },
{ title: '供应会员', dataIndex: 'buyerMemberName', key: 'buyerMemberName' }, { title: '供应会员', dataIndex: 'vendorMemberName', key: 'vendorMemberName' },
{ title: '单据时间', dataIndex: 'createTime', key: 'createTime' }, { title: '单据时间', dataIndex: 'createTime', key: 'createTime' },
{ {
title: '外部状态', title: '外部状态',
......
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