瀏覽代碼

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

002201 2 年之前
父節點
當前提交
87f5c15bff
共有 1 個文件被更改,包括 7 次插入6 次删除
  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) {
    async handleTabReferChange(val,  type, source) {
 
 
-      // 触发物料参照询价   && source.qty && source.qty != ""
+      // 触发物料参照询价 
       if (type == "MATERIAL_PARAM" && source.qty && source.qty != "") {
       if (type == "MATERIAL_PARAM" && source.qty && source.qty != "") {
 
 
         source['qty'] = 0;
         source['qty'] = 0;
@@ -449,17 +449,18 @@ export default {
     // 询价 getPrice
     // 询价 getPrice
     async handleGetPrice() {
     async handleGetPrice() {
       try {
       try {
-        // let { puOrg, priceType, customer, assignSupplier, material, } = data;
+
         let { code, data } = await orderApi.getPrice({ ...this.params });
         let { code, data } = await orderApi.getPrice({ ...this.params });
+
         if (code == 200) {
         if (code == 200) {
+
           this.params = data;
           this.params = data;
+
         }
         }
-      } catch (error) {
-      } finally {
-      }
-    },
 
 
+      } catch (error) {} 
     
     
+    },
 
 
   },
   },
   created() {
   created() {