Browse Source

销售询价单/采购询价单-选择船重置行id

jingbb 3 months ago
parent
commit
e08450443f

+ 1 - 0
src/views/saleCode/quotation/components/quotationFormForm.vue

@@ -643,6 +643,7 @@
         data.map((item) => {
           item.shipowner = item.relateCustomer;
           item.shipId = item.id;
+          item.id=undefined;
         });
         var xTable = saleQuotationFormShipTableRef.value!.getXTable();
         var arr = xTable.data.concat(data);

+ 1 - 0
src/views/saleCode/saleInquiryForm/components/SaleInquiryFormForm.vue

@@ -403,6 +403,7 @@
         data.map(item=>{
           item.shipowner = item.relateCustomer
           item.shipId = item.id;
+          item.id=undefined;
         })
         var xTable = saleInquiryFormShipTableRef.value!.getXTable()
         var arr = xTable.data.concat(data)