Commit a460f054 authored by LeeJiancong's avatar LeeJiancong

'处理报错'

parent 5726c027
......@@ -3,7 +3,7 @@
* @Date: 2020-09-23 10:24:42
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-09-23 18:07:31
* @LastEditTime: 2020-09-24 14:18:30
* 外部流转记录
*/
import React, { Component,useRef,ReactNode } from 'react';
......@@ -71,7 +71,7 @@ const Log: React.FC<Params> = (props) => {
const ref = useRef<any>({})
const fetchData = (params: any) => {
if(!props.id){
return
return []
}
//待提交新增物流单
......@@ -117,7 +117,7 @@ const Log: React.FC<Params> = (props) => {
};
return <StandardTable
tableProps={{rowKey:'id'}}
tableProps={{rowKey:'operatorRoleId'}}
currentRef={ref}
columns={columns}
fetchTableData={(params: any) => fetchData(params)}
......
......@@ -3,7 +3,7 @@
* @Date: 2020-08-28 10:07:45
* @LastEditors: LeeJiancong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 2020-09-18 11:18:40
* @LastEditTime: 2020-09-24 11:25:03
*/
import React, { Component, useState,useRef, useEffect,useImperativeHandle } from 'react';
import { Modal, Button,Space, Form, Radio, AutoComplete, Badge,Tabs, Input, Select, Checkbox } from 'antd'
......@@ -49,7 +49,7 @@ const layout = {
* @return {type}
*/
const fetchData = async (params) => {
const res = await PublicApi.getProductCommodityCommonGetCommodityDetailList({ ...params, environment: 1, shopType: 1 })
const res = await PublicApi.getProductCommodityCommonGetCommodityListBySeller({ ...params,priceTypeList:[1,2], environment: 1, shopType: 1 })
return res.data
}
......
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