Commit aea74cd9 authored by Bill's avatar Bill

feact: 金发二开销售订单自测完成

parent 820dfebc
...@@ -448,7 +448,9 @@ export default { ...@@ -448,7 +448,9 @@ export default {
'saleOrder.yizhifu': 'paid', 'saleOrder.yizhifu': 'paid',
'saleOrder.dingdanhao': 'Order number', 'saleOrder.dingdanhao': 'Order number',
'saleOrder.dingdanzhaiyao': 'Order summary', 'saleOrder.dingdanzhaiyao': 'Order summary',
'saleOrder.dingdanfenlei': 'Order classification',
'saleOrder.caigouhuiyuan': 'purchasing member', 'saleOrder.caigouhuiyuan': 'purchasing member',
'saleOrder.yewuleixin': 'Business types',
'saleOrder.zongjine/yi': 'Total amount/paid (yuan)', 'saleOrder.zongjine/yi': 'Total amount/paid (yuan)',
'saleOrder.zongjine:': 'Total amount:', 'saleOrder.zongjine:': 'Total amount:',
'saleOrder.yizhifu:': 'paid:', 'saleOrder.yizhifu:': 'paid:',
...@@ -456,6 +458,7 @@ export default { ...@@ -456,6 +458,7 @@ export default {
'saleOrder.dingdanleixing': 'Order Type', 'saleOrder.dingdanleixing': 'Order Type',
'saleOrder.waibuzhuangtai': 'External state', 'saleOrder.waibuzhuangtai': 'External state',
'saleOrder.neibuzhuangtai': 'Internal State', 'saleOrder.neibuzhuangtai': 'Internal State',
'saleOrder.yewuleixing': 'Business types',
'saleOrder.queren': 'Confirm', 'saleOrder.queren': 'Confirm',
'saleOrder.qingshurudingdanOrderNo': 'Please enter the order number', 'saleOrder.qingshurudingdanOrderNo': 'Please enter the order number',
'saleOrder.qingshurudingdanDigest': 'Please enter the order summary', 'saleOrder.qingshurudingdanDigest': 'Please enter the order summary',
......
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
'transaction_components.weifahuo': 'Not Shipped', 'transaction_components.weifahuo': 'Not Shipped',
'transaction_components.yishouhuo': 'Received', 'transaction_components.yishouhuo': 'Received',
'transaction_components.chayishuliang': 'Number of differences', 'transaction_components.chayishuliang': 'Number of differences',
'transaction_components.wuliaopaihao': 'material brand',
'transaction_components.wuliaobianhao': 'material number', 'transaction_components.wuliaobianhao': 'material number',
'transaction_components.wuliaomingchengguige': 'Material name/specification', 'transaction_components.wuliaomingchengguige': 'Material name/specification',
'transaction_components.guanlianbaojiashangpinIDming': 'Associated offer product ID/name/specification/category/brand', 'transaction_components.guanlianbaojiashangpinIDming': 'Associated offer product ID/name/specification/category/brand',
...@@ -158,6 +159,8 @@ export default { ...@@ -158,6 +159,8 @@ export default {
'transaction_components.fahuoriqi': 'Ship date', 'transaction_components.fahuoriqi': 'Ship date',
'transaction_components.qingxuanzefahuoriqi': 'Please select the delivery date', 'transaction_components.qingxuanzefahuoriqi': 'Please select the delivery date',
'transaction_components.shouhuoxinxi': 'Receipt Information', 'transaction_components.shouhuoxinxi': 'Receipt Information',
'transaction_components.daohuoquyu': 'arrival area',
'transaction_components.daohuogangko': 'arrival port',
'transaction_components.jiaofuriqi': 'Delivery Date', 'transaction_components.jiaofuriqi': 'Delivery Date',
'transaction_components.jiaofudizhi': 'Delivery address', 'transaction_components.jiaofudizhi': 'Delivery address',
'transaction_components.xuyaofapiao': 'Invoice required', 'transaction_components.xuyaofapiao': 'Invoice required',
......
...@@ -446,7 +446,9 @@ export default { ...@@ -446,7 +446,9 @@ export default {
'saleOrder.yizhifu': '지불됨', 'saleOrder.yizhifu': '지불됨',
'saleOrder.dingdanhao': '주문 번호', 'saleOrder.dingdanhao': '주문 번호',
'saleOrder.dingdanzhaiyao': '주문 요약', 'saleOrder.dingdanzhaiyao': '주문 요약',
'saleOrder.dingdanfenlei': '주문 분류',
'saleOrder.caigouhuiyuan': '구매 회원', 'saleOrder.caigouhuiyuan': '구매 회원',
'saleOrder.yewuleixin': '비즈니스 종류',
'saleOrder.zongjine/yi': '총 금액/지급(위안)', 'saleOrder.zongjine/yi': '총 금액/지급(위안)',
'saleOrder.zongjine:': '총 금액:', 'saleOrder.zongjine:': '총 금액:',
'saleOrder.yizhifu:': '지불됨:', 'saleOrder.yizhifu:': '지불됨:',
...@@ -454,6 +456,7 @@ export default { ...@@ -454,6 +456,7 @@ export default {
'saleOrder.dingdanleixing': '주문 유형', 'saleOrder.dingdanleixing': '주문 유형',
'saleOrder.waibuzhuangtai': '외부 상태', 'saleOrder.waibuzhuangtai': '외부 상태',
'saleOrder.neibuzhuangtai': '내부 상태', 'saleOrder.neibuzhuangtai': '내부 상태',
'saleOrder.yewuleixing': '비즈니스 종류',
'saleOrder.queren': '확인', 'saleOrder.queren': '확인',
'saleOrder.qingshurudingdanOrderNo': '주문 번호를 입력하십시오.', 'saleOrder.qingshurudingdanOrderNo': '주문 번호를 입력하십시오.',
'saleOrder.qingshurudingdanDigest': '주문 요약 정보를 입력하십시오.', 'saleOrder.qingshurudingdanDigest': '주문 요약 정보를 입력하십시오.',
......
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
'transaction_components.weifahuo': '배송되지 않음', 'transaction_components.weifahuo': '배송되지 않음',
'transaction_components.yishouhuo': '이미 수령한 물품', 'transaction_components.yishouhuo': '이미 수령한 물품',
'transaction_components.chayishuliang': '차이 수량', 'transaction_components.chayishuliang': '차이 수량',
'transaction_components.wuliaopaihao': '자재 브랜드',
'transaction_components.wuliaobianhao': '재료 번호', 'transaction_components.wuliaobianhao': '재료 번호',
'transaction_components.wuliaomingchengguige': '재료 이름/사양', 'transaction_components.wuliaomingchengguige': '재료 이름/사양',
'transaction_components.guanlianbaojiashangpinIDming': '관련 견적 품목 ID/이름/사양/품목/브랜드', 'transaction_components.guanlianbaojiashangpinIDming': '관련 견적 품목 ID/이름/사양/품목/브랜드',
...@@ -158,6 +159,8 @@ export default { ...@@ -158,6 +159,8 @@ export default {
'transaction_components.fahuoriqi': '출하 일자', 'transaction_components.fahuoriqi': '출하 일자',
'transaction_components.qingxuanzefahuoriqi': '배송일 선택', 'transaction_components.qingxuanzefahuoriqi': '배송일 선택',
'transaction_components.shouhuoxinxi': '납품 정보', 'transaction_components.shouhuoxinxi': '납품 정보',
'transaction_components.daohuoquyu': '입하 지역',
'transaction_components.daohuogangko': '입하 항구',
'transaction_components.jiaofuriqi': '배송 일자', 'transaction_components.jiaofuriqi': '배송 일자',
'transaction_components.jiaofudizhi': '배송 주소', 'transaction_components.jiaofudizhi': '배송 주소',
'transaction_components.xuyaofapiao': '청구서 필요', 'transaction_components.xuyaofapiao': '청구서 필요',
......
...@@ -446,7 +446,9 @@ export default { ...@@ -446,7 +446,9 @@ export default {
'saleOrder.yizhifu': '已支付', 'saleOrder.yizhifu': '已支付',
'saleOrder.dingdanhao': '订单号', 'saleOrder.dingdanhao': '订单号',
'saleOrder.dingdanzhaiyao': '订单摘要', 'saleOrder.dingdanzhaiyao': '订单摘要',
'saleOrder.dingdanfenlei': '订单分类',
'saleOrder.caigouhuiyuan': '采购会员', 'saleOrder.caigouhuiyuan': '采购会员',
'saleOrder.yewuleixin': '业务类型',
'saleOrder.zongjine/yi': '总金额/已支付(元)', 'saleOrder.zongjine/yi': '总金额/已支付(元)',
'saleOrder.zongjine:': '总金额:', 'saleOrder.zongjine:': '总金额:',
'saleOrder.yizhifu:': '已支付:', 'saleOrder.yizhifu:': '已支付:',
...@@ -454,6 +456,7 @@ export default { ...@@ -454,6 +456,7 @@ export default {
'saleOrder.dingdanleixing': '订单类型', 'saleOrder.dingdanleixing': '订单类型',
'saleOrder.waibuzhuangtai': '外部状态', 'saleOrder.waibuzhuangtai': '外部状态',
'saleOrder.neibuzhuangtai': '内部状态', 'saleOrder.neibuzhuangtai': '内部状态',
'saleOrder.yewuleixing': '业务类型',
'saleOrder.queren': '确认', 'saleOrder.queren': '确认',
'saleOrder.qingshurudingdanOrderNo': '请输入订单编号', 'saleOrder.qingshurudingdanOrderNo': '请输入订单编号',
'saleOrder.qingshurudingdanDigest': '请输入订单摘要', 'saleOrder.qingshurudingdanDigest': '请输入订单摘要',
......
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
'transaction_components.weifahuo': '未发货', 'transaction_components.weifahuo': '未发货',
'transaction_components.yishouhuo': '已收货', 'transaction_components.yishouhuo': '已收货',
'transaction_components.chayishuliang': '差异数量', 'transaction_components.chayishuliang': '差异数量',
'transaction_components.wuliaopaihao': '物料牌号',
'transaction_components.wuliaobianhao': '物料编号', 'transaction_components.wuliaobianhao': '物料编号',
'transaction_components.wuliaomingchengguige': '物料名称/规格', 'transaction_components.wuliaomingchengguige': '物料名称/规格',
'transaction_components.guanlianbaojiashangpinIDming': '关联报价商品ID/名称/规格/品类/品牌', 'transaction_components.guanlianbaojiashangpinIDming': '关联报价商品ID/名称/规格/品类/品牌',
...@@ -158,6 +159,8 @@ export default { ...@@ -158,6 +159,8 @@ export default {
'transaction_components.fahuoriqi': '发货日期', 'transaction_components.fahuoriqi': '发货日期',
'transaction_components.qingxuanzefahuoriqi': '请选择发货日期', 'transaction_components.qingxuanzefahuoriqi': '请选择发货日期',
'transaction_components.shouhuoxinxi': '收货信息', 'transaction_components.shouhuoxinxi': '收货信息',
'transaction_components.daohuoquyu': '到货区域',
'transaction_components.daohuogangko': '到货港口',
'transaction_components.jiaofuriqi': '送货日期', 'transaction_components.jiaofuriqi': '送货日期',
'transaction_components.jiaofudizhi': '送货地址', 'transaction_components.jiaofudizhi': '送货地址',
'transaction_components.xuyaofapiao': '需要发票', 'transaction_components.xuyaofapiao': '需要发票',
......
...@@ -57,6 +57,16 @@ export const useOrderDetail = (options: OrderDetailHookProps) => { ...@@ -57,6 +57,16 @@ export const useOrderDetail = (options: OrderDetailHookProps) => {
render: (text, record) => <StatusColors type={type === 'saleOrder' ? 'saleInside' : 'inside'} status={text} text={record.innerStatusName} /> render: (text, record) => <StatusColors type={type === 'saleOrder' ? 'saleInside' : 'inside'} status={text} text={record.innerStatusName} />
}, },
{ {
label: intl.formatMessage({ id: 'saleOrder.dingdanfenlei' }, {default: '订单分类'}),
name: 'documentTypeName',
span: 8,
},
{
label: intl.formatMessage({ id: 'saleOrder.yewuleixing' }, {default: '业务类型'}),
name: 'businessTypeName',
span: 8,
},
{
label: intl.formatMessage({ id: 'purchaseRequisition.laiyuanshangcheng' }), label: intl.formatMessage({ id: 'purchaseRequisition.laiyuanshangcheng' }),
name: 'shopName', name: 'shopName',
span: 8, span: 8,
......
...@@ -47,6 +47,7 @@ const OrderDetailSection:React.FC<OrderDetailSectionProps> = ({formContext, type ...@@ -47,6 +47,7 @@ const OrderDetailSection:React.FC<OrderDetailSectionProps> = ({formContext, type
<PaymentInfoCard <PaymentInfoCard
currencyTypeName={formContext.data?.currencyTypeName} currencyTypeName={formContext.data?.currencyTypeName}
paymentTypeName={formContext.data?.paymentTypeName} paymentTypeName={formContext.data?.paymentTypeName}
paymentClauseTypeName={formContext.data?.paymentClauseTypeName}
/> />
) : null} ) : null}
......
...@@ -16,6 +16,8 @@ import themeConfig from '@/../config/lingxi.theme.config' ...@@ -16,6 +16,8 @@ import themeConfig from '@/../config/lingxi.theme.config'
const intl = getIntl(); const intl = getIntl();
export interface OrderMergeInfoProps { } export interface OrderMergeInfoProps { }
const payInfo = [ const payInfo = [
{ title: intl.formatMessage({id: 'transaction_components.daohuoquyu'}, {default: '到货区域'}), name: 'arrivalArea' },
{ title: intl.formatMessage({id: 'transaction_components.daohuogangko'}, {default: '到货港口'}), name: 'arrivalPort' },
{ title: intl.formatMessage({id: 'transaction_components.jiaofuriqi'}), name: 'deliverDate' }, { title: intl.formatMessage({id: 'transaction_components.jiaofuriqi'}), name: 'deliverDate' },
{ {
title: intl.formatMessage({id: 'transaction_components.jiaofudizhi'}), name: 'areaName', render: (_, record) => title: intl.formatMessage({id: 'transaction_components.jiaofudizhi'}), name: 'areaName', render: (_, record) =>
......
...@@ -14,10 +14,14 @@ interface PaymentInfoCardProps extends Omit<CustomizeColumnProps, 'data'> { ...@@ -14,10 +14,14 @@ interface PaymentInfoCardProps extends Omit<CustomizeColumnProps, 'data'> {
* 付款方式 * 付款方式
*/ */
paymentTypeName: string, paymentTypeName: string,
/**
* 付款条件
*/
paymentClauseTypeName: string
} }
const PaymentInfoCard: React.FC<PaymentInfoCardProps> = (props) => { const PaymentInfoCard: React.FC<PaymentInfoCardProps> = (props) => {
const { currencyTypeName, paymentTypeName, ...rest } = props; const { currencyTypeName, paymentTypeName, paymentClauseTypeName, ...rest } = props;
return ( return (
<CustomizeColumn <CustomizeColumn
title="付款信息" title="付款信息"
...@@ -31,6 +35,10 @@ const PaymentInfoCard: React.FC<PaymentInfoCardProps> = (props) => { ...@@ -31,6 +35,10 @@ const PaymentInfoCard: React.FC<PaymentInfoCardProps> = (props) => {
title: '付款方式', title: '付款方式',
value: paymentTypeName, value: paymentTypeName,
}, },
{
title: '付款条件',
value: paymentClauseTypeName
}
]} ]}
style={{ style={{
marginTop: themeConfig['@margin-md'], marginTop: themeConfig['@margin-md'],
......
...@@ -683,6 +683,12 @@ const SaleOrderProductTable: React.FC<OrderProductTableProps> = (props) => { ...@@ -683,6 +683,12 @@ const SaleOrderProductTable: React.FC<OrderProductTableProps> = (props) => {
// 订单物料 // 订单物料
const materialInfo: any[] = [ const materialInfo: any[] = [
{ {
title: intl.formatMessage({id: 'transaction_components.wuliaopaihao'},{default: '物料牌号'}),
dataIndex: 'productBrandNo',
key: 'productBrandNo',
width: 80,
},
{
title: intl.formatMessage({ id: 'transaction_components.wuliaobianhao' }), title: intl.formatMessage({ id: 'transaction_components.wuliaobianhao' }),
dataIndex: 'productNo', dataIndex: 'productNo',
key: 'productNo', key: 'productNo',
......
...@@ -112,6 +112,12 @@ export const baseOrderListColumns: any = (authCode?: string) => { ...@@ -112,6 +112,12 @@ export const baseOrderListColumns: any = (authCode?: string) => {
), ),
}, },
{ {
title: intl.formatMessage({ id: 'saleOrder.dingdanfenlei', defaultMessage: '订单分类' }),
dataIndex: 'documentTypeName',
key: 'documentTypeName',
width: COLUMNS_NORMAL_WIDTH,
},
{
title: intl.formatMessage({ id: 'saleOrder.caigouhuiyuan', defaultMessage: '采购会员' }), title: intl.formatMessage({ id: 'saleOrder.caigouhuiyuan', defaultMessage: '采购会员' }),
dataIndex: 'memberName', dataIndex: 'memberName',
key: 'memberName', key: 'memberName',
...@@ -119,6 +125,12 @@ export const baseOrderListColumns: any = (authCode?: string) => { ...@@ -119,6 +125,12 @@ export const baseOrderListColumns: any = (authCode?: string) => {
width: COLUMNS_NORMAL_WIDTH, width: COLUMNS_NORMAL_WIDTH,
}, },
{ {
title: intl.formatMessage({ id: 'saleOrder.yewuleixin', defaultMessage: '业务类型' }),
dataIndex: 'businessTypeName',
key: 'businessTypeName',
width: COLUMNS_NORMAL_WIDTH,
},
{
title: intl.formatMessage({ id: 'saleOrder.xiadanshijian', defaultMessage: '下单时间' }), title: intl.formatMessage({ id: 'saleOrder.xiadanshijian', defaultMessage: '下单时间' }),
dataIndex: 'createTime', dataIndex: 'createTime',
key: 'createTime', key: 'createTime',
......
...@@ -41,12 +41,22 @@ export const useSelfTable = () => { ...@@ -41,12 +41,22 @@ export const useSelfTable = () => {
width: 200 width: 200
}, },
{ {
title: intl.formatMessage({ id: 'saleOrder.dingdanfenlei', defaultMessage: '订单分类' }),
dataIndex: 'documentTypeName',
key: 'documentTypeName',
},
{
title: intl.formatMessage({ id: 'saleOrder.caigouhuiyuan', defaultMessage: '采购会员' }), title: intl.formatMessage({ id: 'saleOrder.caigouhuiyuan', defaultMessage: '采购会员' }),
align: 'left', align: 'left',
dataIndex: 'memberName', dataIndex: 'memberName',
key: 'memberName', key: 'memberName',
}, },
{ {
title: intl.formatMessage({ id: 'saleOrder.yewuleixin', defaultMessage: '业务类型' }),
dataIndex: 'businessTypeName',
key: 'businessTypeName',
},
{
title: intl.formatMessage({ id: 'saleOrder.zongjine', defaultMessage: '总金额' }), title: intl.formatMessage({ id: 'saleOrder.zongjine', defaultMessage: '总金额' }),
dataIndex: 'amount', dataIndex: 'amount',
......
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