Commit b5185f2b authored by 前端-钟卫鹏's avatar 前端-钟卫鹏
parents 8e828c96 ce53c2e0
......@@ -178,7 +178,7 @@ const Details = (props: any) => {
return (
<div>
<EyePreview
url={`/memberCenter/afterService/returnApplication/returnQuery/detail?id=${record.orderId}`}
url={record.orderType === 1 ? `/memberCenter/tranactionAbility/purchaseOrder/orderList/preview?id=${record.orderId}` : `/memberCenter/afterService/returnApplication/returnQuery/detail?id=${record.orderId}`}
>
{text}
</EyePreview>
......
......@@ -120,7 +120,7 @@ const FormList = (props: any) => {
if (res.code === 1000) {
let data = res.data.data.map((item, index) => {
return {
materielId: _filterArr(sourceType, item, ['', 'productId', 'id', '']),
materielId: _filterArr(sourceType, item, ['', 'goodsId', 'id', '']),
code: _filter(sourceType, item, ['', 'number', 'code', 'number']),// 物料编号
name: _filter(sourceType, item, ['', 'name', 'name', 'name']),//物料名称
type: _filter(sourceType, item, ['', 'model', 'type', 'model']),//物料规格
......
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