Commit be2612ce authored by 黄奎's avatar 黄奎

前端js调整

parent 0041f961
......@@ -2280,7 +2280,7 @@
}}
</td>
<td>
{{ priceFormat2(item.VisaPrice) }}(-{{
{{ priceFormat(item.VisaPrice) }}(-{{
item.BackVisaPrice | priceFormat(item.BackVisaPrice)
}})
</td>
......@@ -2942,25 +2942,7 @@ export default {
}
return x1 + x2;
},
priceFormat2(value) {
if (value == null) {
return this.$t('objFill.yibaohan');
}
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");
}
let result = x1 + x2;
if (result === "0.00") {
result = this.$t('objFill.yibaohan');
}
return result;
},
},
methods: {
GetSupperOrderEditAuth() {
......
......@@ -28,8 +28,6 @@
<span @click="resGetList">{{$t('objFill.v101.administrative.fenxianggwd')}}</span>
<span v-for="(item,index) in NavList" @click="getNavTree(item,index)">{{item.name}}</span>
</div>
<table class="singeRowTable myDocumentsTable" border="0" cellspacing="0" cellpadding="0">
<tbody v-if='!isChildFiles'>
<tr>
......
......@@ -84,7 +84,7 @@
<tr v-for="(item,index) in DataList">
<td>{{item.MenuName}}</td>
<td>{{item.MenuUrl}}</td>
<td>{{item.Tier | tierFormat(item.Tier)}}</td>
<td>{{tierFormat(item.Tier)}}</td>
<td>{{item.MenuStatus==0?$t('pub.openSel'):$t('pub.closeSel')}}</td>
<td>{{item.Sort}}</td>
<td>{{item.LowVersion}}</td>
......
......@@ -60,7 +60,7 @@
<tr v-for="(item,index) in DataList">
<td>{{item.MenuName}}</td>
<td>{{item.MenuUrl}}</td>
<td>{{item.Tier | tierFormat(item.Tier)}}</td>
<td>{{tierFormat(item.Tier)}}</td>
<td>{{item.MenuStatus==0?$t('pub.openSel'):$t('pub.closeSel')}}</td>
<td>
{{item.GroupingCode}}
......
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