Bladeren bron

修改业务 采购

huangbin 4 jaren geleden
bovenliggende
commit
b9eee19a28

+ 2 - 2
src/views/business/purchase/list/all/index.vue

@@ -42,7 +42,7 @@
 
 <script lang="ts">
 import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList } from '@/common/export/table';
-import { getFilterTableCB, queryTableList, Ermcp3ContractRsp } from '../index';
+import { getFilterTableCB, queryTableList, Ermcp3SellBuyContract } from '../index';
 import { Detail, filterCustomTable, Settlement, Funds, Invoice, Storage, SomePrice } from '../../components';
 
 export default defineComponent({
@@ -62,7 +62,7 @@ export default defineComponent({
         // 表头数据
         const { columns, registerColumn, updateColumn, filteredInfo } = getTableColumns();
         // 表格事件
-        const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<Ermcp3ContractRsp>({});
+        const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<Ermcp3SellBuyContract>({});
         // 表格操作按钮列表
         const { commonBtn, forDataBtn } = getBtnList('purchase_all', true);
         // 表格列表数据

+ 3 - 2
src/views/business/purchase/list/index.ts

@@ -1,5 +1,6 @@
-import { Ermcp3ContractRsp } from '@/services/go/ermcp/spot-contract/interface';
+import { Ermcp3SellBuyContract } from '@/services/go/ermcp/purchase/interface';
 import { getFilterTableCB, queryTableList } from './setup';
 
 export { queryTableList, getFilterTableCB };
-export type { Ermcp3ContractRsp };
+export type { Ermcp3SellBuyContract };
+

+ 2 - 2
src/views/business/purchase/list/pending/index.vue

@@ -34,7 +34,7 @@
 
 <script lang="ts">
 import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList } from '@/common/export/table';
-import { getFilterTableCB, queryTableList, Ermcp3ContractRsp } from '../index';
+import { getFilterTableCB, queryTableList, Ermcp3SellBuyContract } from '../index';
 import { Detail, SomePrice, filterCustomTable } from '../../components';
 
 export default defineComponent({
@@ -50,7 +50,7 @@ export default defineComponent({
         // 表头数据
         const { columns, registerColumn, updateColumn, filteredInfo } = getTableColumns();
         // 表格事件
-        const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<Ermcp3ContractRsp>({});
+        const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<Ermcp3SellBuyContract>({});
         // 表格操作按钮列表
         const { commonBtn, forDataBtn } = getBtnList('purchase_pending', true);
         // 表格列表数据

+ 2 - 2
src/views/business/purchase/list/performance/index.vue

@@ -40,7 +40,7 @@
 
 <script lang="ts">
 import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList } from '@/common/export/table';
-import { getFilterTableCB, queryTableList, Ermcp3ContractRsp } from '../index';
+import { getFilterTableCB, queryTableList, Ermcp3SellBuyContract } from '../index';
 import { Detail, filterCustomTable, Settlement, Funds, Invoice, Storage } from '../../components';
 
 export default defineComponent({
@@ -59,7 +59,7 @@ export default defineComponent({
         // 表头数据
         const { columns, registerColumn, updateColumn, filteredInfo } = getTableColumns();
         // 表格事件
-        const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<Ermcp3ContractRsp>({});
+        const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<Ermcp3SellBuyContract>({});
         // 表格操作按钮列表
         const { commonBtn, forDataBtn } = getBtnList('purchase_performance', true);
         // 表格列表数据