|
@@ -213,6 +213,8 @@ const handleSubmit = ({ values, errors }) => {
|
|
delete formVal.settlementCycleMap
|
|
delete formVal.settlementCycleMap
|
|
formVal.userId = Number(values.userId)
|
|
formVal.userId = Number(values.userId)
|
|
formVal.simDataPlanId = String(values.simDataPlanId)
|
|
formVal.simDataPlanId = String(values.simDataPlanId)
|
|
|
|
+ formVal.simDataPlanId = String(values.simDataPlanId)
|
|
|
|
+ formVal.pricing = Number(values.pricing)
|
|
if (values.settlementCycleMap.starTime && values.settlementCycleMap.starTime) {
|
|
if (values.settlementCycleMap.starTime && values.settlementCycleMap.starTime) {
|
|
formVal.settlementCycle = values.settlementCycleMap.starTime + '~' + values.settlementCycleMap.endTime
|
|
formVal.settlementCycle = values.settlementCycleMap.starTime + '~' + values.settlementCycleMap.endTime
|
|
} else {
|
|
} else {
|
|
@@ -303,6 +305,8 @@ watch(() => formState.value.billingMethod, val => {
|
|
formState.value.trafficBillingType = ''
|
|
formState.value.trafficBillingType = ''
|
|
formState.value.trafficBilling = ''
|
|
formState.value.trafficBilling = ''
|
|
formState.value.trafficBillingAmount = ''
|
|
formState.value.trafficBillingAmount = ''
|
|
|
|
+ }else{
|
|
|
|
+ formState.value.pricing = ''
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
@@ -338,6 +342,6 @@ watch(() => FormDataList.value, val => {
|
|
formState.value.settlementCycleMap.endTime = val.settlementCycle.split('~')[1] || ''
|
|
formState.value.settlementCycleMap.endTime = val.settlementCycle.split('~')[1] || ''
|
|
}
|
|
}
|
|
formState.value.id = val.id
|
|
formState.value.id = val.id
|
|
-})
|
|
|
|
|
|
+},{deep:true})
|
|
</script>
|
|
</script>
|
|
<style scoped></style>
|
|
<style scoped></style>
|