From 57973d2a25401a8137de116f4e200ab14610e7d6 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 08 十月 2026 13:32:48 +0800
Subject: [PATCH] feat(order): 新增订单编辑功能并完善表单验证 - 实现订单表单验证规则,包括送样日期必填验证 - 修复送样日期字段映射问题 - 完善文件上传组件的动态宽度计算 - 添加检验依据搜索过滤功能

---
 src/views/business/productOrder/components/printDialog.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/business/productOrder/components/printDialog.vue b/src/views/business/productOrder/components/printDialog.vue
index 4125bdf..8ef6b6d 100644
--- a/src/views/business/productOrder/components/printDialog.vue
+++ b/src/views/business/productOrder/components/printDialog.vue
@@ -38,7 +38,7 @@
                     </span>
                     <span class="label-col">
                       <span class="full-title">閫佹牱鏃ユ湡</span>:
-                      <span class="value-wrap">{{ item.sendTime }}</span>
+                      <span class="value-wrap">{{ item.sampleDate || '-' }}</span>
                     </span>
                   </div>
                   <div class="item label-row">
@@ -107,7 +107,7 @@
                 </span>
                 <span class="label-col">
                   <span class="full-title4">閫佹牱鏃ユ湡:</span>
-                  <span class="value-wrap">{{ item.sendTime }}</span>
+                  <span class="value-wrap">{{ item.sampleDate || '-' }}</span>
                 </span>
               </div>
               <div class="item label-row">
@@ -179,7 +179,7 @@
         }).then(res => {
           if (res.code === 200 && res.data.length > 0) {
             res.data.forEach(item => {
-              item.sendTime = item.sendTime && item.sendTime.substring(0, 10)
+              item.sampleDate = item.sampleDate && item.sampleDate.substring(0, 10)
               item.sampleNumber = item.qtyArrived + item.buyUnitMeas
               this.$set(item, 'barcode', item.entrustCode)
               this.$set(item, 'isLeave', item.insState === '2')

--
Gitblit v1.9.3