소스 검색

财务核对表

jbb 2 년 전
부모
커밋
7e13375fcf
2개의 변경된 파일31개의 추가작업 그리고 7개의 파일을 삭제
  1. 9 0
      src/api/document/inancialReconciliation.js
  2. 22 7
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 9 - 0
src/api/document/inancialReconciliation.js

@@ -0,0 +1,9 @@
+/** 单证 -- 成本分配汇总 **/
+
+import { getAction, postAction, deleteAction } from '@/api/manage'
+
+// 分页列表查询
+const checkList = params => getAction('/orderData/syCostLossReview/list', params)
+
+
+export { checkList}

+ 22 - 7
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -1,5 +1,5 @@
 <template>
-  <!-- 【单证】 成本分配汇总 -->
+  <!-- 【单证】 财务核对表 -->
   <div id="costAllocationTotal">
     <!-- 查询区域 -->
     <a-card :bordered="false">
@@ -98,7 +98,7 @@ import moment from 'moment'
 
 import costDetailDrawer from '@views/cost-allocation-total/costDetailDrawer.vue'
 
-import { costList, itemCheck, cancelItemCheck } from '@api/document/cost-allocation-total.js'
+import { checkList } from '@api/document/inancialReconciliation.js'
 
 export default {
   name: 'inancialReconciliation', // 成本分配汇总 单证
@@ -202,10 +202,10 @@ export default {
       costAllocationData: [],
       // 查询条件
       queryParam: {
-        index: '',
-        planNum: '',
-        customerShortame: '',
-        pageNo: '' // 点击的页数
+        // index: '',
+        // planNum: '',
+        // customerShortame: '',
+        // pageNo: '' // 点击的页数
       },
       // 分页
       pagination: {
@@ -218,7 +218,22 @@ export default {
     this.getCostList()
   },
   methods: {
-   
+   // 分页查询
+   getCostList() {
+      this.$nextTick(() => {
+        checkList(this.queryParam).then(res => {
+          if (res.success) {
+            // this.costAllocationData = res.result.records
+            // console.log('成本分配汇总数据', this.costAllocationData)
+            // this.pagination = {
+            //   total: res.result.total,
+            //   current: res.result.current,
+            //   pageSize: res.result.size
+            // }
+          }
+        })
+      })
+    },
   },
   computed: {},
   mounted() {}