提交 ebbca98d 作者: 龚洪江

修复:需求订单列表状态调整

上级 fae478c5
...@@ -658,6 +658,7 @@ export type serviceOrderFormListType = InterItemFunction< ...@@ -658,6 +658,7 @@ export type serviceOrderFormListType = InterItemFunction<
* 服务类型名称 * 服务类型名称
*/ */
serviceName?: string; serviceName?: string;
waiting: string;
}[] }[]
>; >;
// 需求订单-详情 // 需求订单-详情
......
...@@ -16,6 +16,10 @@ const flowStatusKey = [ ...@@ -16,6 +16,10 @@ const flowStatusKey = [
key: 'amountUpdate', key: 'amountUpdate',
}, },
{ {
orderStatus: '100',
key: 'releaseSuccess',
},
{
orderStatus: '200', orderStatus: '200',
key: 'requirementsServiceDTO', key: 'requirementsServiceDTO',
}, },
......
...@@ -78,7 +78,7 @@ const DemandOrderList = () => { ...@@ -78,7 +78,7 @@ const DemandOrderList = () => {
{ {
title: '订单状态', title: '订单状态',
align: 'center', align: 'center',
dataIndex: 'doing', dataIndex: 'waiting',
}, },
{ {
title: '订单属性', title: '订单属性',
......
...@@ -81,7 +81,6 @@ function ProductOrderView() { ...@@ -81,7 +81,6 @@ function ProductOrderView() {
}; };
// 跳转订单详情 // 跳转订单详情
const handleDetail = (record: TableType[0]) => { const handleDetail = (record: TableType[0]) => {
console.log('跳转订单详情 --->', record.id);
navigate(`/orderManage/productOrder/detail?${qs.stringify({ id: record.id })}`); navigate(`/orderManage/productOrder/detail?${qs.stringify({ id: record.id })}`);
}; };
// 获取订单状态 // 获取订单状态
...@@ -127,11 +126,6 @@ function ProductOrderView() { ...@@ -127,11 +126,6 @@ function ProductOrderView() {
align: 'center', align: 'center',
render: (text) => text.toLocaleString(), render: (text) => text.toLocaleString(),
}, },
// {
// title: '数量',
// dataIndex: 'userName',
// align: 'center',
// },
{ {
title: '买家', title: '买家',
dataIndex: 'uid', dataIndex: 'uid',
...@@ -265,17 +259,3 @@ function ProductOrderView() { ...@@ -265,17 +259,3 @@ function ProductOrderView() {
} }
export default ProductOrderView; export default ProductOrderView;
// <div style={{ textAlign: 'left', lineHeight: '16px' }}>
// <div style={{ color: '#1677ff', marginBottom: '10px' }}>{record.orderName}</div>
// {record.mallOrderProdListDTOList.map((i, j) => (
// <div style={{ display: 'flex', marginBottom: '10px', alignItems: 'center' }} key={j}>
// <Image src={i.prodSkuSpecImage} style={{ width: 48, height: 48 }} />
// <div style={{ marginLeft: '20px' }}>{i.prodSkuSpecName}</div>
// <div style={{ marginLeft: '20px' }}>{`x${i.buyNum}`}</div>
// <div style={{ marginLeft: '20px' }}>{`¥${i.unitPrice?.toLocaleString()}`}</div>
// </div>
// ))}
// <div>订单编号:{record.orderNo}</div>
// <div>创建时间:{record.createTime}</div>
// </div>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论