Commit 4d8f035b authored by youjie's avatar youjie

Pak返佣

parent 7e4e9f67
......@@ -8130,7 +8130,7 @@ export const obj = {
zuixiaors: '最小人数',
qingsrzxrs: '请输入最小人数',
qingsrzdrs: '请输入最大人数',
chakpakfy: '查看pak返佣信息',
chakpakfy: '查看PAK返佣信息',
},
//#endregion
}
......
......@@ -268,7 +268,9 @@
font-weight: bold;
margin: 5px 0;
">
{{ $t("objFill.v101.zhongxinjge") }}:¥{{
<span style="font-size: 14px;">{{ $t("objFill.v101.zhongxinjge") }}:</span>
</br>
¥{{
item.B2BMemberPrice | priceFormat(item.B2BMemberPrice)
}}
</p>
......@@ -579,6 +581,23 @@
location.reload()
},
},
filters: {
priceFormat(value) {
if (value == null) {
return 0.0
}
let nStr = value.toFixed(2)
nStr += ''
let x = nStr.split('.')
let x1 = x[0]
let x2 = x.length > 1 ? '.' + x[1] : ''
var rgx = /(\d+)(\d{3})/
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2')
}
return x1 + x2
}
},
methods: {
//删除包机团
DeleteTravelTeam(item) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment