瀏覽代碼

提交木材

caojunjie 2 年之前
父節點
當前提交
15fc368fcb

+ 1 - 0
src/views/InventoryManagement/inventory/detailsPage.vue

@@ -356,6 +356,7 @@ export default {
           res.data.data.stockTime = getCurrentDate()
           res.data.data.itemsVOList.forEach(e => {
             e.surplusLoss = Number(e.inventory ? e.inventory : 0) - Number(e.storageInQuantity ? e.storageInQuantity : 0)
+            e.srcItemId = e.id
             delete e.id
           })
           this.form = res.data.data;

+ 4 - 0
src/views/InventoryManagement/inventory/index.vue

@@ -131,6 +131,10 @@ export default {
                 res.data.data;
         })
         this.getAllWorkDicts()
+        if (this.$route.query.check && this.show){
+          this.editOpen({ id: this.$route.query.check.srcBillId }, 1)
+          this.show = false;
+        }
     },
     activated() {
         setTimeout(() => {

+ 4 - 4
src/views/financing/financingLedger/detail.vue

@@ -20,7 +20,7 @@
     </basic-container>
   </div>
 </template>
-  
+
 <script>
 import { option } from "./js/optionList2";
 import { getfinancingDetailsList } from "@/api/basicData/financingLedger";
@@ -85,8 +85,9 @@ export default {
       this.show = false;
     },
     rowView(row) {
+      console.log(row)
       this.$router.push({
-        path: "/salesManagement/outStock/index",
+        path: "/financing/financingManagement/index",
         query: {
           generateId: row.id
         }
@@ -162,10 +163,9 @@ export default {
   }
 };
 </script>
-  
+
 <style scoped>
 .page-crad ::v-deep .basic-container__card {
   height: 94.2vh;
 }
 </style>
-  

+ 7 - 0
src/views/financing/financingManagement/index.vue

@@ -73,6 +73,13 @@ export default {
         this.editOpen({ id: this.$route.query.check.srcBillId }, 1)
         this.show = false;
       }
+      if (this.$route.query.generateId){
+        this.editOpen({ id: this.$route.query.generateId }, 1)
+        this.show = false;
+      }
+      if (this.$route.query.generateId){
+
+      }
     }, 100);
   },
   methods: {