lxf 1 tahun lalu
induk
melakukan
ca496487b2
1 mengubah file dengan 7 tambahan dan 5 penghapusan
  1. 7 5
      src/components/order/deliveryNote/index.vue

+ 7 - 5
src/components/order/deliveryNote/index.vue

@@ -12,13 +12,13 @@
         <table class="table-class" border="0" cellpadding="0" cellspacing="0">
           <tr>
             <td style="font-size: 18px; font-weight: 700" colspan="3">胜德集团</td>
-            <td style="border-right: 0; font-size: 18px; padding-right: 400px" colspan="7">送货单</td>
+            <td style="border-right: 0; font-size: 18px; padding-right: 400px" colspan="8">送货单</td>
           </tr>
           <tr>
             <td colspan="2">单号</td>
             <td colspan="2">{{ deliveryCode }}</td>
             <td colspan="2">单据日期</td>
-            <td colspan="2"></td>
+            <td colspan="2">{{ date }}</td>
             <td style="width: 60px">页次</td>
             <td style="border-right: 0" colspan="2"></td>
           </tr>
@@ -26,9 +26,9 @@
             <td colspan="2">送货公司</td>
             <td colspan="2">福清市胜德体育用品有限公司</td>
             <td colspan="2">联系人</td>
-            <td colspan="2"></td>
+            <td colspan="2">{{ selectSupplier.contactPerson1 }}</td>
             <td style="width: 60px">电话</td>
-            <td style="border-right: 0" colspan="2"></td>
+            <td style="border-right: 0" colspan="2">{{ selectSupplier.contactNumber1 }}</td>
           </tr>
           <tr>
             <td colspan="2">收货公司</td>
@@ -117,7 +117,10 @@
 </template>
 
 <script setup>
+import moment from "moment";
+
 const { proxy } = getCurrentInstance();
+const date = ref(moment().format("yyyy-MM-DD"));
 const supplierId = ref("");
 const supplierList = ref([]);
 const props = defineProps({
@@ -178,7 +181,6 @@ const changeSupplier = () => {
   } else {
     selectSupplier.value = {};
   }
-  console.log(selectSupplier.value);
 };
 </script>