소스 검색

no message

linwenxin 4 달 전
부모
커밋
751d6530c9
2개의 변경된 파일61개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/api/purchaseSchedule.js
  2. 53 0
      src/views/mallManagement/purchaseScheduleManagement/purchasingPlanThreeLevelLedger/index.vue

+ 8 - 0
src/api/purchaseSchedule.js

@@ -1,5 +1,13 @@
 import request, { postBlob, getBlob, handleImport } from '@/utils/request'
 
+export function goodsPlanAccList(data) {
+  return request({
+    url: `/goods/plan/acc/list?moduleId=${data.moduleId}`,
+    method: 'post',
+    data
+  })
+}
+
 export function goodsPlanList(data) {
   return request({
     url: `/goods/plan/list?moduleId=${data.moduleId}`,

+ 53 - 0
src/views/mallManagement/purchaseScheduleManagement/purchasingPlanThreeLevelLedger/index.vue

@@ -0,0 +1,53 @@
+<template>
+  <template-page
+    ref="pageRef"
+    :get-list="getList"
+    :table-attributes="tableAttributes"
+    :table-events="tableEvents"
+    :options-evens-group="optionsEvensGroup"
+    :moreParameters="moreParameters"
+  >
+  </template-page>
+</template>
+
+<script>
+import TemplatePage from '@/components/template/template-page-1.vue'
+import import_mixin from '@/components/template/import_mixin.js'
+import operation_mixin from '@/components/template/operation_mixin.js'
+import { goodsPlanAccList } from '@/api/purchaseSchedule.js'
+export default {
+  components: { TemplatePage },
+  mixins: [import_mixin, operation_mixin],
+  data() {
+    return {
+      // 表格属性
+      tableAttributes: {
+        // 启用勾选列
+        selectColumn: false
+      },
+      // 表格事件
+      tableEvents: {
+        'selection-change': this.selectionChange
+      },
+      // 勾选选中行
+      recordSelected: []
+    }
+  },
+  computed: {
+    // 事件组合
+    optionsEvensGroup() {
+      return []
+    },
+    // 更多参数
+    moreParameters() {
+      return []
+    }
+  },
+  methods: {
+    // 列表请求函数
+    getList: goodsPlanAccList
+  }
+}
+</script>
+
+<style lang="scss" scoped></style>