|
@@ -791,6 +791,7 @@ export default {
|
|
|
},
|
|
|
//获取币种
|
|
|
PostGroupTeamRateByDiIdAndCTableId(){
|
|
|
+ this.othercurrencys=[];
|
|
|
var url = "/api/Business/PostGroupTeamRateByDiIdAndCTableId"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
@@ -1344,7 +1345,7 @@ export default {
|
|
|
index:1,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1354,7 +1355,7 @@ export default {
|
|
|
index:2,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1364,7 +1365,7 @@ export default {
|
|
|
index:3,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1374,7 +1375,7 @@ export default {
|
|
|
index:4,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1384,7 +1385,7 @@ export default {
|
|
|
index:5,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1394,7 +1395,7 @@ export default {
|
|
|
index:6,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1404,7 +1405,7 @@ export default {
|
|
|
index:7,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
{
|
|
@@ -1414,7 +1415,7 @@ export default {
|
|
|
index:8,
|
|
|
cost:'',
|
|
|
cost:0,
|
|
|
- currency:0,
|
|
|
+ currency:'',
|
|
|
subTotal:0,
|
|
|
},
|
|
|
]
|
|
@@ -1734,9 +1735,6 @@ export default {
|
|
|
},
|
|
|
//其他币种值改变
|
|
|
othercurrencychange(val,row){
|
|
|
- // console.log(val,row);
|
|
|
-
|
|
|
- // row.currency=val;
|
|
|
var obj={};
|
|
|
var rate=0;
|
|
|
obj= this.othercurrencys.find(function(i){
|
|
@@ -1751,14 +1749,13 @@ export default {
|
|
|
},
|
|
|
//其他费用标准值改变
|
|
|
otherinput(val){
|
|
|
- console.log(val.currencyName);
|
|
|
- if (val.currencyName==undefined) {
|
|
|
+ if (val.currency=='') {
|
|
|
return
|
|
|
}
|
|
|
var obj={}
|
|
|
var rate=0
|
|
|
obj= this.othercurrencys.find(function(i){
|
|
|
- return i.currencyId ===val.currencyName
|
|
|
+ return i.currencyId ===val.currency
|
|
|
});
|
|
|
console.log(obj);
|
|
|
rate=obj.rate
|