zxz 3 سال پیش
والد
کامیت
e7afea6d26

+ 3 - 1
src/views/contractManagement/futuresPurchaseContractExamine.vue

@@ -287,6 +287,7 @@ export default {
       },
       },
       mainReportAdd: {},
       mainReportAdd: {},
       list: {},
       list: {},
+      id : '',
       // contractNo:this.deptBudgetList.contractNo,
       // contractNo:this.deptBudgetList.contractNo,
       // contractType : this.deptBudgetList.contractType
       // contractType : this.deptBudgetList.contractType
 
 
@@ -301,6 +302,7 @@ export default {
   methods: {
   methods: {
     loaddata() {
     loaddata() {
       // 数据
       // 数据
+      this.id = this.$route.query.id
       examineList({ id: this.$route.query.id })
       examineList({ id: this.$route.query.id })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
@@ -381,7 +383,7 @@ export default {
     },
     },
     confirmationsheet() {
     confirmationsheet() {
       this.$router.push({ path: 'priceConfirmationSheet',
       this.$router.push({ path: 'priceConfirmationSheet',
-      query: { contractNo: this.deptBudgetList.contractNo , contractType: this.deptBudgetList.contractType } })
+      query: { contractNo: this.deptBudgetList.contractNo , contractType: this.deptBudgetList.contractType,id:this.id } })
     },
     },
   },
   },
 }
 }

+ 3 - 1
src/views/contractManagement/futuresSalesContractExamine.vue

@@ -287,6 +287,7 @@ export default {
       },
       },
       mainReportAdd: {},
       mainReportAdd: {},
       list: {},
       list: {},
+      id : '',
     }
     }
   },
   },
 
 
@@ -298,6 +299,7 @@ export default {
   methods: {
   methods: {
     loaddata() {
     loaddata() {
       // 数据
       // 数据
+      this.id = this.$route.query.id
       examineList({ id: this.$route.query.id })
       examineList({ id: this.$route.query.id })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
@@ -378,7 +380,7 @@ export default {
     },
     },
     confirmationsheet() {
     confirmationsheet() {
       this.$router.push({ path: 'priceConfirmationSheet',
       this.$router.push({ path: 'priceConfirmationSheet',
-      query: { contractNo: this.deptBudgetList.contractNo , contractType: this.deptBudgetList.contractType } })
+      query: { contractNo: this.deptBudgetList.contractNo , contractType: this.deptBudgetList.contractType , id : this.id} })
     },
     },
   },
   },
 }
 }

+ 6 - 4
src/views/contractManagement/priceConfirmationSheet.vue

@@ -236,12 +236,14 @@ export default {
     },
     },
     returnsales() {
     returnsales() {
       if(this.$route.query.contractType == '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.push({ path: 'futuresSalesContractExamine'
+        ,query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType , id:this.$route.query.id } 
+        })
         // this.$router.go(-1)
         // this.$router.go(-1)
       }else{
       }else{
-        this.$router.push({ path: 'futuresPurchaseContractExamine',
-        query: { contractNo: this.$route.query.contractNo, contractType: this.$route.query.contractType } })
+        this.$router.push({ path: 'futuresPurchaseContractExamine'
+        ,query: { contractNo: this.$route.query.contractNo, contractType: this.$route.query.contractType , id: this.$route.query.id } 
+        })
         // this.$router.go(-1)
         // this.$router.go(-1)
       }
       }
       // 
       // 

+ 3 - 0
src/views/contractManagement/priceConfirmationSheetAdd.vue

@@ -280,6 +280,8 @@ export default {
       this.selectedOptions1 = value
       this.selectedOptions1 = value
     },
     },
     returnsales() {
     returnsales() {
+      this.priceConfirmationSheet = {}
+      this.deptBudgetList = {}
       this.$router.push({ path: 'priceConfirmationSheet',
       this.$router.push({ path: 'priceConfirmationSheet',
       query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType } })
       query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType } })
     },
     },
@@ -494,6 +496,7 @@ export default {
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
           this.$message.success('添加成功')
           this.$message.success('添加成功')
+          this.deptBudgetList = {}
           this.priceConfirmationSheet = {}
           this.priceConfirmationSheet = {}
           this.$router.push({ path: 'priceConfirmationSheet'
           this.$router.push({ path: 'priceConfirmationSheet'
           ,query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType } })
           ,query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType } })