|
|
@@ -102,6 +102,14 @@ const { dataList: buyList, run: getBuyList } = useRequest(queryTjmdTradeOrderDet
|
|
|
},
|
|
|
})
|
|
|
|
|
|
+const { dataList: sellList, run: getSellList } = useRequest(queryTjmdTradeOrderDetail, {
|
|
|
+ params: {
|
|
|
+ pagesize: 20,
|
|
|
+ goodsid: props.goodsId,
|
|
|
+ buyorsell: BuyOrSell.Sell
|
|
|
+ },
|
|
|
+})
|
|
|
+
|
|
|
const onDelisting = (row: Model.TjmdTradeOrderDetailRsp) => {
|
|
|
switch (status(row)) {
|
|
|
case 4: /// 已签署
|
|
|
@@ -117,14 +125,6 @@ const onDelisting = (row: Model.TjmdTradeOrderDetailRsp) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const { dataList: sellList, run: getSellList } = useRequest(queryTjmdTradeOrderDetail, {
|
|
|
- params: {
|
|
|
- pagesize: 20,
|
|
|
- goodsid: props.goodsId,
|
|
|
- buyorsell: BuyOrSell.Sell
|
|
|
- },
|
|
|
-})
|
|
|
-
|
|
|
/// 每隔 30 秒去刷新请求数据信息
|
|
|
setTimeout(() => {
|
|
|
// 获取买大厅数据
|