zxz 3 năm trước cách đây
mục cha
commit
cff8e99d5a
1 tập tin đã thay đổi với 10 bổ sung8 xóa
  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() {