|
|
@ -72,7 +72,16 @@
|
|
|
|
<div style="position: relative;">
|
|
|
|
<div style="position: relative;">
|
|
|
|
<h4>运输信息</h4>
|
|
|
|
<h4>运输信息</h4>
|
|
|
|
</div>
|
|
|
|
</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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -121,6 +130,14 @@
|
|
|
|
console.log(notifyPartyList.value)
|
|
|
|
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 = () => {
|
|
|
|
const openContactModal = () => {
|
|
|
|
twoFlag.value = true
|
|
|
|
twoFlag.value = true
|
|
|
@ -295,6 +312,28 @@
|
|
|
|
height: 102px;
|
|
|
|
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 {
|
|
|
|
.ant-divider-horizontal {
|
|
|
|
margin: 8px 0 8px!important;
|
|
|
|
margin: 8px 0 8px!important;
|
|
|
|
background: #E8EBED;
|
|
|
|
background: #E8EBED;
|
|
|
|