Browse Source

修改shou'ye

caojunjie 4 years ago
parent
commit
027ac752aa
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/views/index.vue

+ 9 - 9
src/views/index.vue

@@ -189,31 +189,31 @@ export default {
     approval(row){
       switch (row.refno2){
         case 'SJRK':{
-          this.$router.push({ path: '/business/inStock',query:{data:row}})
+          this.$router.push({ path: '/business/inStock',query:{data:JSON.stringify(row)}})
           break
         }
         case 'SJCK':{
-          this.$router.push({ path: '/business/outStock',query:{data:row}})
+          this.$router.push({ path: '/business/outStock',query:{data:JSON.stringify(row)}})
           break
         }
         case 'HQZY':{
-          this.$router.push({ path: '/business/goodsTransfer',query:{data:row}})
+          this.$router.push({ path: '/business/goodsTransfer',query:{data:JSON.stringify(row)}})
           break
         }
         case 'CKDB':{
-          this.$router.push({ path: '/business/transfer',query:{data:row}})
+          this.$router.push({ path: '/business/transfer',query:{data:JSON.stringify(row)}})
           break
         }
         case 'JSCCF':{
-          this.$router.push({ path: '/business/agreement',query:{data:row}})
+          this.$router.push({ path: '/business/agreement',query:{data:JSON.stringify(row)}})
           break
         }
         case 'CCF':{
-          this.$router.push({ path: '/agreement/agreementStorage',query:{data:row}})
+          this.$router.push({ path: '/agreement/agreementStorage',query:{data:JSON.stringify(row)}})
           break
         }
         case 'ZYF':{
-          this.$router.push({ path: '/agreement/agreementTask',query:{data:row}})
+          this.$router.push({ path: '/agreement/agreementTask',query:{data:JSON.stringify(row)}})
           break
         }
         case 'SF':{
@@ -221,11 +221,11 @@ export default {
           break
         }
         case 'DZ':{
-          this.$router.push({ path: '/finance/contrast',query:{data:row}})
+          this.$router.push({ path: '/finance/contrast',query:{data:JSON.stringify(row)}})
           break
         }
         case 'FF':{
-          this.$router.push({ path: '/finance/payment',query:{data:row}})
+          this.$router.push({ path: '/finance/payment',query:{data:JSON.stringify(row)}})
           break
         }
         default:{