|
|
@@ -1,21 +0,0 @@
|
|
|
-import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
-import { queryReckonPriceLog } from '@/services/go/ermcp/qhj';
|
|
|
-import { QhjReckonPriceLog, QueryReckonPriceLogReq } from '@/services/go/ermcp/qhj/interface';
|
|
|
-import { ref } from 'vue';
|
|
|
-
|
|
|
-export function queryTableList(goodsid: number, tradedate: string) {
|
|
|
- // 加载状态
|
|
|
- const loading = ref<boolean>(false);
|
|
|
- // 表格数据
|
|
|
- const tableList = ref<QhjReckonPriceLog[]>([]);
|
|
|
- function queryTable() {
|
|
|
- const param: QueryReckonPriceLogReq = {
|
|
|
-
|
|
|
- }
|
|
|
- queryResultLoadingAndInfo(queryReckonPriceLog, loading, param)
|
|
|
- .then(res => {
|
|
|
- tableList.value = res
|
|
|
- })
|
|
|
- }
|
|
|
- return { loading, tableList, queryTable }
|
|
|
-}
|