|
|
|
@ -72,7 +72,16 @@
|
|
|
|
|
<div style="position: relative;">
|
|
|
|
|
<h4>运输信息</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<BasicForm class="auto" @register="registerFormR" @linkageForm="linkageForm" />
|
|
|
|
|
<BasicForm class="auto" @register="registerFormR" @linkageForm="linkageForm">
|
|
|
|
|
<!-- 开船日期 -->
|
|
|
|
|
<template #etd="{ model }">
|
|
|
|
|
<span class="week-day">{{ getWeekday(model.etd) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 计费日 -->
|
|
|
|
|
<template #atd="{ model }">
|
|
|
|
|
<span class="week-day">{{ getWeekday(model.atd) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicForm>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -121,6 +130,14 @@
|
|
|
|
|
console.log(notifyPartyList.value)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 根据日期计算今天是周几
|
|
|
|
|
const getWeekday = (dateStr) => {
|
|
|
|
|
if (!dateStr) return
|
|
|
|
|
const weekDays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
|
|
|
|
|
const date = new Date(dateStr)
|
|
|
|
|
const weekday = date.getDay()
|
|
|
|
|
return weekDays[weekday]
|
|
|
|
|
}
|
|
|
|
|
// 打开通知人弹窗
|
|
|
|
|
const openContactModal = () => {
|
|
|
|
|
twoFlag.value = true
|
|
|
|
@ -295,6 +312,28 @@
|
|
|
|
|
height: 102px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.edt-picker {
|
|
|
|
|
.ant-form-item-label {
|
|
|
|
|
overflow: visible;
|
|
|
|
|
}
|
|
|
|
|
.week-day {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 23.5px;
|
|
|
|
|
left: 12px;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.atd-picker {
|
|
|
|
|
.ant-form-item-label {
|
|
|
|
|
overflow: visible;
|
|
|
|
|
}
|
|
|
|
|
.week-day {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 23.5px;
|
|
|
|
|
left: -28px;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.ant-divider-horizontal {
|
|
|
|
|
margin: 8px 0 8px!important;
|
|
|
|
|
background: #E8EBED;
|
|
|
|
|