Browse Source

Merge branch 'purchaseDev' of http://172.16.100.139/new-business/drp-web into purchaseDev

002201 2 years ago
parent
commit
87f5c15bff
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/views/purchase/purchase-order/add/index.vue

+ 7 - 6
src/views/purchase/purchase-order/add/index.vue

@@ -379,7 +379,7 @@ export default {
     // 子表参照改变之后
    async handleTabReferChange(val,  type, source) {
 
-      // 触发物料参照询价   && source.qty && source.qty != ""
+      // 触发物料参照询价 
       if (type == "MATERIAL_PARAM" && source.qty && source.qty != "") {
 
         source['qty'] = 0;
@@ -449,17 +449,18 @@ export default {
     // 询价 getPrice
     async handleGetPrice() {
       try {
-        // let { puOrg, priceType, customer, assignSupplier, material, } = data;
+
         let { code, data } = await orderApi.getPrice({ ...this.params });
+
         if (code == 200) {
+
           this.params = data;
+
         }
-      } catch (error) {
-      } finally {
-      }
-    },
 
+      } catch (error) {} 
     
+    },
 
   },
   created() {