Explorar o código

成本分配表申请按钮显示

fenghaifu %!s(int64=2) %!d(string=hai) anos
pai
achega
52bc1d3931
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  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: {