Jelajahi Sumber

成本分配表申请按钮显示

fenghaifu 2 tahun lalu
induk
melakukan
52bc1d3931
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 1 1
      src/config/router.config.js
  2. 2 1
      src/views/cost-allocation-total/list.vue

+ 1 - 1
src/config/router.config.js

@@ -390,7 +390,7 @@ export const constantRouterMap = [
 
   /* 不带左上的页面,oa引用 */
   {
-    path: '/reportFormsSimple/list',
+    path: '/reportFormsSimple/costAllocationTotallist',
     component: () => import('@/views/cost-allocation-total/list')
   },
   {

+ 2 - 1
src/views/cost-allocation-total/list.vue

@@ -175,7 +175,7 @@ export default {
         { title: '实际出货数量', width: 120, dataIndex: 'actualShipquantity', ellipsis: true, className: 'replacecolor' },
         { title: '短出数', width: 120, dataIndex: 'shortseveral', ellipsis: true, className: 'replacecolor' },
         { title: '制单人', width: 120, dataIndex: 'preparedBy', ellipsis: true, className: 'replacecolor' },
-        { title: '操作', width: 120, dataIndex: 'option', ellipsis: true, className: 'replacecolor', scopedSlots: { customRender: 'option' } },
+        { title: '操作', width: 120, dataIndex: 'option', ellipsis: true, className: 'replacecolor', scopedSlots: { customRender: 'action' } },
       ],
       costAllocationData: [],
       outdata:'',
@@ -197,6 +197,7 @@ export default {
   },
   created() {
     this.apply = this.$route.query.apply;
+    console.log(this.$route.query)
     this.getCostList()
   },
   methods: {