Browse Source

采购订单-选择销售订单不带出子表备注

jingbb 2 weeks ago
parent
commit
d4d42b39c7

+ 2 - 1
src/views/purchase/purchaseOrder/components/PurchaseOrderFormForm.vue

@@ -671,6 +671,8 @@
           item.sourceCode = item.billCode;
           item.taxPrice = item.taxPriceGys;
           item.taxAmount = (item.taxPrice * item.quantity).toFixed(2);
+          formData.notes = data[0].notes;
+          item.notes = ''
           // item.productClass =data[0].productClass
         });
         var xTable = purOrderFormShipFormProductTableRef.value!.getXTable();
@@ -701,7 +703,6 @@
           formData.currency = data[0].currencyGys;
           formData.tradeTerms = data[0].deliveryTerms;
           formData.attachs = data[0].attachs;
-          formData.notes = data[0].notes;
           getShipList(data[0].headId, 'contract');
         }
       }