|
@@ -253,12 +253,14 @@ const intData = async () => {
|
|
|
const sourceName = sourceList.value.find(val => val.value == item.source)?.label
|
|
|
const billingCycleName = cycleist.value.find(val => val.value == item.billingCycle)?.label
|
|
|
const pricingCurrty = currency.value.find(val => val.value == item.currency)?.label
|
|
|
+ const Activated = item.trafficBilling+'/'+item.trafficBillingType
|
|
|
+
|
|
|
return {
|
|
|
...item,
|
|
|
sourceName,
|
|
|
pricingName: item.pricing !== '' ? item.pricing + '/' + pricingCurrty : '',
|
|
|
billingCycleName,
|
|
|
- feeCode: "NR0" + (index + 1),
|
|
|
+ Activated:Activated,
|
|
|
status: "正常"
|
|
|
}
|
|
|
})
|
|
@@ -509,6 +511,14 @@ watch(
|
|
|
{immediate: true}
|
|
|
);
|
|
|
|
|
|
+watch(()=>formState.value.billingMethod,val=>{
|
|
|
+ if(val==2){
|
|
|
+ formState.value.trafficBillingType = ''
|
|
|
+ formState.value.trafficBilling = ''
|
|
|
+ formState.value.trafficBillingAmount = ''
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
// -------------------------------------------------------
|
|
|
// 获取字典
|
|
|
const handleDictValue = async () => {
|