Browse Source

去掉多余的参数

Qukatie 1 day ago
parent
commit
2402daf212

+ 0 - 12
src/views/tirePartsMall/purchasingManagement/warehouseEntryOrder/detailsPage.vue

@@ -763,7 +763,6 @@ export default {
     };
   },
   props: {
-    onLoad: Object,
     detailData: Object
   },
 
@@ -858,11 +857,6 @@ export default {
       this.editDisabled = true;
       this.optionForm.disabled = true;
       this.refresh(this.detailData.id, true);
-    } else if (this.onLoad.id) {
-      this.editButton = true;
-      this.editDisabled = true;
-      this.optionForm.disabled = true;
-      this.refresh(this.onLoad.id, true);
     }
 
     if (this.$route.query.srcId) {
@@ -871,12 +865,6 @@ export default {
       this.optionForm.disabled = true;
       this.refresh(this.$route.query.srcId);
     }
-    if (this.$route.query.id) {
-      this.editButton = true;
-      this.editDisabled = true;
-      this.optionForm.disabled = true;
-      this.refresh(this.$route.query.id);
-    }
     this.$store.commit("DOMIO_IN_DETAIL");
     isProcurement({ param: "number.decimal" }).then(res => {
       this.numberDecimal = res.data.data ? Number(res.data.data) : 0;

+ 1 - 1
src/views/tirePartsMall/purchasingManagement/warehouseEntryOrder/index.vue

@@ -43,7 +43,7 @@
         </template>
       </avue-crud>
     </basic-container>
-    <detailsPage v-if="detailsOpen" :onLoad="form" :detailData="detailData" @backToList="backToList"></detailsPage>
+    <detailsPage v-if="detailsOpen" :detailData="detailData" @backToList="backToList"></detailsPage>
   </div>
 </template>