|
@@ -26,7 +26,7 @@ import { defineEmits, defineProps, toRefs, ref, onMounted } from 'vue';
|
|
|
import { CheckTariffPackages } from '@/api/path/tariffManagement.api'
|
|
|
import { Getdictionary, tableFunction, filterDict } from '@/mixins/index.js'
|
|
|
import Search from '@/components/Search/index.vue'
|
|
|
-import { columnsTarrit ,SetMealSearchForm} from './config'
|
|
|
+import { columnsTarrit, SetMealSearchForm } from './config'
|
|
|
import { tariffList } from "@/api/path/tariffManagement.api"
|
|
|
const props = defineProps({
|
|
|
id: [Array, String]
|
|
@@ -55,8 +55,8 @@ const processData = (data) => {
|
|
|
typeName: item.type == 1 ? '服务时长' : "购买流量",
|
|
|
profitPrice: item.billingMethod == 1 ? '---' : item.profitPrice + item.currency,
|
|
|
billingMethod: filterDict(billingMethodList.value, item.billingMethod),
|
|
|
- costPrice: item.costPrice + item.trafficCurrency,
|
|
|
- oldPrice: item.billingMethod == 1 ? '---' : item.oldPrice + item.trafficCurrency,
|
|
|
+ costPrice: item.billingMethod == 1 ? item.trafficBilling + item.trafficBillingType + '/' + item.trafficBillingAmount + item.trafficCurrency : item.costPrice + item.trafficCurrency,
|
|
|
+ oldPrice: item.billingMethod == 1 ? item.oldTrafficBilling + item.oldTrafficBillingType + '/' + item.oldTrafficBillingAmount + item.trafficCurrency : item.oldPrice + item.trafficCurrency,
|
|
|
}
|
|
|
})
|
|
|
}
|