gjy 3 years ago
parent
commit
4c3a390dd1

+ 11 - 0
src/views/contractManagement/purchaseContract.vue

@@ -356,6 +356,17 @@
       this.showType = this.isShow
       this.showType = this.isShow
     },
     },
     methods: {
     methods: {
+      handlecost(row){
+         this.$router.push({
+          name: 'buyContractcost',
+          query: {
+            id: row.id,
+            contractNo: row.contractNo,
+            status:row.status,
+            seller:row.seller
+          },
+        })
+      },
       onChange() {
       onChange() {
         this.$refs.upload
         this.$refs.upload
           .handleSaveBill()
           .handleSaveBill()

+ 11 - 0
src/views/contractManagement/salesContract.vue

@@ -369,6 +369,17 @@
       this.showType = this.isShow
       this.showType = this.isShow
     },
     },
     methods: {
     methods: {
+      handlecost(row){
+         this.$router.push({
+          name: 'salesContractcost',
+          query: {
+            id: row.id,
+            contractNo: row.contractNo,
+            status:row.status,
+            buger:row.buger
+          },
+        })
+      },
       selectstatuschange(e,row){
       selectstatuschange(e,row){
         var data={}
         var data={}
         if(e=='发运结束'){
         if(e=='发运结束'){