Просмотр исходного кода

采购入库和退货入库不需要同步

Qukatie 4 дней назад
Родитель
Сommit
7e518edfcd

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

@@ -132,18 +132,6 @@ export default {
           });
         } else {
           this.data.splice(index, 1);
-          if (this.query.historyList.length) {
-            let sum = 0;
-            for (let item of this.data) {
-              sum += Number(item.quantity);
-            }
-            let obj = {
-              ...this.query,
-              sendNum: sum,
-              historyList: this.data
-            };
-            this.$emit("areaData", obj, this.index);
-          }
           this.$message.success("操作成功!");
         }
       });

+ 1 - 0
src/views/tirePartsMall/salesManagement/Inventory/detailsPage.vue

@@ -1219,6 +1219,7 @@ export default {
             this.editDisabled = true;
             this.optionForm.disabled = true;
           }
+          this.mingxibaocun=true
           this.form = res.data.data;
           this.$nextTick(() => {
             this.$refs.formContacts.doLayout();

+ 0 - 12
src/views/tirePartsMall/salesService/inStorage/components/viewArea.vue

@@ -133,18 +133,6 @@ export default {
           });
         } else {
           this.data.splice(index, 1);
-          if (this.query.historyList.length) {
-            let sum = 0;
-            for (let item of this.data) {
-              sum += Number(item.quantity);
-            }
-            let obj = {
-              ...this.query,
-              sendNum: sum,
-              historyList: this.data
-            };
-            this.$emit("areaData", obj, this.index);
-          }
           this.$message.success("操作成功!");
         }
       });