| pages/gongxuOut/form.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pages/gongxuOut/form.vue
@@ -1448,7 +1448,7 @@ }else{ // 从对象数组中提取所有日期字段并找到最大值 const maxDate = listData.reduce((max, obj) => { const date = new Date(obj[出站时间]); const date = new Date(obj.出站时间); return date > max ? date : max; }, new Date(0)); // 初始值为最小日期 // 比较最大日期和今天的日期部分(不比较时间) @@ -1514,6 +1514,9 @@ }) }, submit() { //去除分号以免后端分解报错 this.hform.HMaterName= this.hform.HMaterName.replace(/;/g, ''); this.hform.HMaterModel = this.hform.HMaterModel.replace(/;/g, ''); if (!this.hform.HBarCode) { uni.showToast({ title: '请扫描设备条形码',