Commit 33a27370 authored by 黄奎's avatar 黄奎

111

parent 595176f9
...@@ -4404,26 +4404,6 @@ ...@@ -4404,26 +4404,6 @@
} }
return x1 + x2; 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: { methods: {
//显示订单联运信息 //显示订单联运信息
......
...@@ -854,7 +854,7 @@ ...@@ -854,7 +854,7 @@
}} }}
</td> </td>
<td> <td>
{{ priceFormat2(item.VisaPrice) }}(-{{ {{ priceFormat(item.VisaPrice) }}(-{{
item.BackVisaPrice | priceFormat(item.BackVisaPrice) item.BackVisaPrice | priceFormat(item.BackVisaPrice)
}}) }})
</td> </td>
...@@ -1017,25 +1017,6 @@ ...@@ -1017,25 +1017,6 @@
}, },
methods: { methods: {
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;
},
//刷新页面 //刷新页面
reSearchPage() { reSearchPage() {
this.isShowTeamOrder = false; this.isShowTeamOrder = false;
......
...@@ -1068,28 +1068,8 @@ ...@@ -1068,28 +1068,8 @@
} }
return x1 + x2; return x1 + x2;
}, },
}, },
methods: { methods: {
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;
},
//刷新页面 //刷新页面
reSearchPage() { reSearchPage() {
this.isShowTeamOrder = false; this.isShowTeamOrder = false;
......
...@@ -699,25 +699,6 @@ ...@@ -699,25 +699,6 @@
}, },
methods: { methods: {
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;
},
setDanren(e) { setDanren(e) {
e === this.addMsg.OneSex ? e === this.addMsg.OneSex ?
(this.addMsg.OneSex = 0) : (this.addMsg.OneSex = 0) :
......
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