Browse Source

运费采购订单-选择产品改为选择虚拟产品

jingbb 4 months ago
parent
commit
06b6abf9ad

+ 4 - 4
src/views/purchase/freightPurchaseOrder/components/FreightPurOrderForm.vue

@@ -47,7 +47,7 @@
 		<!-- 子表单区域 -->
     <a-tabs v-model:activeKey="activeKey" animated  style=" padding: 24px;padding-top: 0px;">
       <a-tab-pane tab="运费采购订单 - 运费产品明细(freight product details)" key="FreightProductDetails" :forceRender="true">
-        <a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;" @click="SelectProduct"> 选择产品(select product)</a-button>
+        <a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;" @click="selectVirtualProducts">  选择虚拟产品(select virtual products)</a-button>
         <j-vxe-table
           :keep-source="true"
           resizable
@@ -290,8 +290,8 @@
           formData.supplierName = ''
         }
       }
-      function SelectProduct(){
-        SelectPrpductModalRef.value.getTable()
+      function selectVirtualProducts(){
+        SelectPrpductModalRef.value.getTableVirtual()
       }
       function addProduct(data){
         if(data.length!==1){
@@ -350,7 +350,7 @@
         Supplierlist,
         changeSupplier,
         SelectPrpductModalRef,
-        SelectProduct,
+        selectVirtualProducts,
         addProduct,
         SelectDeliveryNoticeModalRef,
         addDelivery,