zxz 3 سال پیش
والد
کامیت
cff8e99d5a
1فایلهای تغییر یافته به همراه10 افزوده شده و 8 حذف شده
  1. 10 8
      src/views/contractManagement/priceConfirmationSheet.vue

+ 10 - 8
src/views/contractManagement/priceConfirmationSheet.vue

@@ -235,14 +235,16 @@ export default {
       this.selectedOptions1 = value
     },
     returnsales() {
-      // if(this.$route.query.contractType == '1'){
-      //   this.$router.push({ path: 'futuresSalesContractExamine',
-      //   query: { contractNo: this.deptBudgetList.contractNo , contractType: this.deptBudgetList.contractType } })
-      // }else{
-      //   this.$router.push({ path: 'futuresPurchaseContractExamine',
-      //   query: { contractNo: this.deptBudgetList.contractNo , contractType: this.deptBudgetList.contractType } })
-      // }
-      this.$router.go(-1)
+      if(this.$route.query.contractType == '1'){
+        this.$router.push({ path: 'futuresSalesContractExamine',
+        query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType } })
+        // this.$router.go(-1)
+      }else{
+        this.$router.push({ path: 'futuresPurchaseContractExamine',
+        query: { contractNo: this.$route.query.contractNo, contractType: this.$route.query.contractType } })
+        // this.$router.go(-1)
+      }
+      // 
     },
     //创建点价确认单
     sheetAdd() {