Authored by 李奇

商品退库详情修改

@@ -27,8 +27,8 @@ @@ -27,8 +27,8 @@
27 }, 27 },
28 created() { 28 created() {
29 const returnId = this.$route.params.id; 29 const returnId = this.$route.params.id;
30 - const supplierId = this.$route.params.supplierId;  
31 - const supplierName = this.$route.params.supplierName; 30 + const supplierId = this.$route.query.sId;
  31 + const supplierName = this.$route.query.sName;
32 const params = { supplierId, returnedSupplierId: returnId }; 32 const params = { supplierId, returnedSupplierId: returnId };
33 33
34 this.returnId = returnId; 34 this.returnId = returnId;
@@ -168,9 +168,11 @@ @@ -168,9 +168,11 @@
168 this.$router.push({ 168 this.$router.push({
169 name: 'repository.prodReturn.detail', 169 name: 'repository.prodReturn.detail',
170 params: { 170 params: {
171 - supplierId,  
172 - supplierName,  
173 id: returnId 171 id: returnId
  172 + },
  173 + query: {
  174 + sId: supplierId,
  175 + sName: supplierName
174 } 176 }
175 }); 177 });
176 178