lichao 3 лет назад
Родитель
Сommit
66adf1fc0c
2 измененных файлов с 22 добавлено и 8 удалено
  1. 11 4
      src/views/index.vue
  2. 11 4
      src/views/morePage/stock/index.vue

+ 11 - 4
src/views/index.vue

@@ -1231,10 +1231,17 @@ export default {
           break;
         }
         case "FYBG": {
-          this.$router.push({
-            path: "/business/costModify",
-            query: { id: row.billId }
-          })
+          if (this.sysType == 1) {
+            this.$router.push({
+              path: "/business/costModify",
+              query: { id: row.billId }
+            })
+          } else if (this.sysType == 3) {
+            this.$router.push({
+              path: "/domesticTrade/costModify",
+              query: { id: row.billId }
+            })
+          }
           break;
         }
         case "SJRK": {

+ 11 - 4
src/views/morePage/stock/index.vue

@@ -775,10 +775,17 @@ export default {
           break;
         }
         case "FYBG": {
-          this.$router.push({
-            path: "/business/costModify",
-            query: { id: row.billId }
-          });
+          if (Cookies.get("sysType") == 1) {
+            this.$router.push({
+              path: "/business/costModify",
+              query: { id: row.billId }
+            });
+          } else if (Cookies.get("sysType") == 3) {
+            this.$router.push({
+              path: "/domesticTrade/costModify",
+              query: { id: row.billId }
+            })
+          }
           break;
         }
         case "SJRK": {