Pārlūkot izejas kodu

销售合同修改完成

sunlupeng 1 gadu atpakaļ
vecāks
revīzija
dd1e1e824e

+ 1 - 1
src/router/index.js

@@ -239,7 +239,7 @@ export const constantRoutes = [
     component: Layout,
     hidden: true,
     children: [{
-      path: 'type/data/:Id(\\d+)',
+      path: 'customer/historyData/:id',
       component: (resolve) => require(['@/views/finance/contract/customer/data'], resolve),
       name: 'CustomerHistoryData',
       meta: { title: '销售合同信息变更记录', icon: '', activeMenu: '/finance/contract/customer' }

+ 1 - 1
src/views/finance/contract/customer/data.vue

@@ -172,7 +172,7 @@ export default {
     };
   },
   created() {
-    const dataId = this.$route.params && this.$route.params.Id;
+    const dataId = this.$route.params && this.$route.params.id;
     this.getList(dataId);
   },
   methods: {

+ 2 - 7
src/views/finance/contract/customer/index.vue

@@ -91,13 +91,8 @@
     <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" align="center" width="55" />
       <el-table-column label="合同编号" align="center" prop="customerContractCode" min-width="350">
-        <!-- <template v-slot="scope">
-          <router-link :to="'/finance/expense/type/data/' + scope.row.id" class="link-type">
-            <span>{{ scope.row.customerContractCode }}</span>
-          </router-link>
-        </template> -->
       <template v-slot="scope">
-          <router-link :to="'/finance/contract/type/data/' + scope.row.customerContractCode" class="link-type">
+          <router-link :to="'/finance/contract/customer/historyData/' + scope.row.customerContractCode" class="link-type">
             <span>{{ scope.row.customerContractCode }}</span>
           </router-link>
         </template>
@@ -799,7 +794,7 @@ export default {
         this.exportLoading = true;
         return exportCustomer(params);
       }).then(response => {
-        this.$download.excel(response, '客户信息.xls');
+        this.$download.excel(response, '销售合同信息.xls');
         this.exportLoading = false;
       }).catch(() => { });
     }