|
@@ -75,7 +75,9 @@ watch(
|
|
|
const Initdata = (val: any) => {
|
|
const Initdata = (val: any) => {
|
|
|
MilestoneOceanListInit.value = val.Milestone_Update.OceanCheckBoxList
|
|
MilestoneOceanListInit.value = val.Milestone_Update.OceanCheckBoxList
|
|
|
OceanCheckList.value = []
|
|
OceanCheckList.value = []
|
|
|
|
|
+ OceanCheckCode.value = []
|
|
|
MilestoneOceanListChecked.value = val.Milestone_Update.OceanCheckedList
|
|
MilestoneOceanListChecked.value = val.Milestone_Update.OceanCheckedList
|
|
|
|
|
+ OceanCheckCode.value = val.Milestone_Update.OceanCheckedList
|
|
|
// 遍历选中的value值,找到对应的label值
|
|
// 遍历选中的value值,找到对应的label值
|
|
|
MilestoneOceanListChecked.value.forEach((value) => {
|
|
MilestoneOceanListChecked.value.forEach((value) => {
|
|
|
const option = MilestoneOceanListInit.value.find((item) => item.value === value)
|
|
const option = MilestoneOceanListInit.value.find((item) => item.value === value)
|
|
@@ -83,8 +85,10 @@ const Initdata = (val: any) => {
|
|
|
OceanCheckList.value.push(option.label)
|
|
OceanCheckList.value.push(option.label)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ AirCheckListCode.value = []
|
|
|
MilestoneAirListInit.value = val.Milestone_Update.AirCheckBoxList
|
|
MilestoneAirListInit.value = val.Milestone_Update.AirCheckBoxList
|
|
|
MilestoneAirListChecked.value = val.Milestone_Update.AirCheckedList
|
|
MilestoneAirListChecked.value = val.Milestone_Update.AirCheckedList
|
|
|
|
|
+ AirCheckListCode.value = val.Milestone_Update.AirCheckedList
|
|
|
AirCheckList.value = []
|
|
AirCheckList.value = []
|
|
|
// 遍历选中的value值,找到对应的label值
|
|
// 遍历选中的value值,找到对应的label值
|
|
|
MilestoneAirListChecked.value.forEach((value) => {
|
|
MilestoneAirListChecked.value.forEach((value) => {
|
|
@@ -93,8 +97,10 @@ const Initdata = (val: any) => {
|
|
|
AirCheckList.value.push(option.label)
|
|
AirCheckList.value.push(option.label)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ ContainerOceanCode.value = []
|
|
|
ContainerOceanListInit.value = val.Container_Status_Update.CtnrCheckBoxList
|
|
ContainerOceanListInit.value = val.Container_Status_Update.CtnrCheckBoxList
|
|
|
ContainerOceanListChecked.value = val.Container_Status_Update.CtnrCheckedList
|
|
ContainerOceanListChecked.value = val.Container_Status_Update.CtnrCheckedList
|
|
|
|
|
+ ContainerOceanCode.value = val.Container_Status_Update.CtnrCheckedList
|
|
|
ContainerOceanList.value = []
|
|
ContainerOceanList.value = []
|
|
|
// 遍历选中的value值,找到对应的label值
|
|
// 遍历选中的value值,找到对应的label值
|
|
|
ContainerOceanListChecked.value.forEach((value) => {
|
|
ContainerOceanListChecked.value.forEach((value) => {
|
|
@@ -402,6 +408,8 @@ const Savesubscribe = () => {
|
|
|
missingmessage.value = missingmessage.value.substring(0, missingmessage.value.length - 2)
|
|
missingmessage.value = missingmessage.value.substring(0, missingmessage.value.length - 2)
|
|
|
UnableSaveVisible.value = true
|
|
UnableSaveVisible.value = true
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ console.log(OceanCheckCode.value)
|
|
|
|
|
+ console.log(AirCheckListCode.value)
|
|
|
savesubscribeobj.ocean_milestone = OceanCheckCode.value
|
|
savesubscribeobj.ocean_milestone = OceanCheckCode.value
|
|
|
savesubscribeobj.air_milestone = AirCheckListCode.value
|
|
savesubscribeobj.air_milestone = AirCheckListCode.value
|
|
|
str =
|
|
str =
|