Browse Source

采购订单维护-修订数量需要按照单据状态调用不同价格接口

002390 1 year ago
parent
commit
d25c930c03
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/purchase/purchase-order/edit/index.vue

+ 8 - 1
src/views/purchase/purchase-order/edit/index.vue

@@ -805,7 +805,14 @@ export default {
               };
             });
           this.params.puOrderItemList = [...invariant, ...change];
-          this.handleGetPrice();
+          if (this.params.status === "2") {
+            // 修订
+            this.handleCalculateOrderAmount();
+          } else {
+            // row['whetherCompleteInquiry'] = false;
+
+            this.handleGetPrice();
+          }
         }
       }
     },