Browse Source

bug 修复

lilei 3 years ago
parent
commit
81e9e85311

+ 9 - 1
src/views/Home.vue

@@ -359,7 +359,15 @@ export default {
             }
           ],
           [
-            {},
+            {
+              icon: require('@/assets/home-icon/home_icon_finance_pay.png'),
+              name: '财务付款',
+              styleC: 'red-color',
+              url: '/financialManagement/financialPayment/list',
+              params: JSON.stringify({ bizType: 'PURCHASE', billState: 'UNSETTLE' }),
+              permission: 'M_financialPaymentList',
+              orderNum: 'sparePartsPurchaseFinancialWaitCount'
+            },
             {
               icon: require('@/assets/home-icon/home_icon_finance_pay.png'),
               name: '财务收款',

+ 1 - 1
src/views/financialManagement/financialCollection/list.vue

@@ -321,7 +321,7 @@ export default {
   },
   activated () {
     // 如果是新页签打开,则重置当前页面
-    if (this.$store.state.app.isNewTab) {
+    if (this.$store.state.app.isNewTab || this.$route.query.pageParams) {
       this.resetData()
       if (this.$route.query.pageParams) {
         this.queryParam.bizType = JSON.parse(this.$route.query.pageParams).bizType

+ 1 - 1
src/views/financialManagement/financialPayment/list.vue

@@ -319,7 +319,7 @@ export default {
   },
   activated () {
     // 如果是新页签打开,则重置当前页面
-    if (this.$store.state.app.isNewTab) {
+    if (this.$store.state.app.isNewTab || this.$route.query.pageParams) {
       this.resetData()
       if (this.$route.query.pageParams) {
         this.queryParam.bizType = JSON.parse(this.$route.query.pageParams).bizType