|
@@ -34,7 +34,7 @@ import { formatDate } from '@/filters'
|
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { queryHisTradeOrderDetail } from '@/services/api/order'
|
|
import { queryHisTradeOrderDetail } from '@/services/api/order'
|
|
|
-import { getBuildTypeName, getWRTradeOrderStatusName, getBuyOrSellName } from '@/constants/order'
|
|
|
|
|
|
|
+import { getBuildTypeName, getWRTradeOrderStatusName, getBuyOrSellName, getWRTradeOrderStatusList } from '@/constants/order'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppFilter from '@pc/components/base/table-filter/index.vue'
|
|
import AppFilter from '@pc/components/base/table-filter/index.vue'
|
|
|
|
|
|
|
@@ -48,6 +48,15 @@ const { loading, dataList, run } = useRequest(queryHisTradeOrderDetail, {
|
|
|
manual: true
|
|
manual: true
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+filterOptons.selectList = [
|
|
|
|
|
+ {
|
|
|
|
|
+ key: 'orderStatus',
|
|
|
|
|
+ selectedValue: 3,
|
|
|
|
|
+ options: getWRTradeOrderStatusList().filter(e => { return [1, 2, 3, 4, 6, 7, 8, 9, 10, 11].includes(e.value)}),
|
|
|
|
|
+ locked: true,
|
|
|
|
|
+ }
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
{ prop: 'goodscode', label: '订单合约' },
|
|
{ prop: 'goodscode', label: '订单合约' },
|
|
|
{ prop: 'buyorsell', label: '方向' },
|
|
{ prop: 'buyorsell', label: '方向' },
|