Commit d608ccd7 authored by 黄媛媛's avatar 黄媛媛

修改单据

parent 4d228f09
...@@ -832,7 +832,7 @@ export default { ...@@ -832,7 +832,7 @@ export default {
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
}, },
AddFinancial(z){ //保存 AddFinancial(z){ //保存
if(this.orderObj.CurrencyId){ if(this.orderObj&&this.orderObj.CurrencyId){
this.msg.detailList=[]; this.msg.detailList=[];
this.msg.detailList.push(this.detailList); this.msg.detailList.push(this.detailList);
} }
...@@ -1255,17 +1255,16 @@ export default { ...@@ -1255,17 +1255,16 @@ export default {
if (!JSON.parse(sessionStorage.getItem("saveGuestInfo"))){ if (!JSON.parse(sessionStorage.getItem("saveGuestInfo"))){
this.Description = this.orderObj.laRemark?this.orderObj.laRemark:''; this.Description = this.orderObj.laRemark?this.orderObj.laRemark:'';
} }
if(this.orderObj.CurrencyId){
this.detailList.CurrencyId=Number(this.orderObj.CurrencyId);
this.detailCurrDis=true;
this.detailList.CostTypeId=this.orderObj.CostType?this.orderObj.CostType: '';
this.getRate(this.detailList.CostTypeId,this.detailList.CurrencyId,1)
} }
if(this.orderObj.CurrencyId){
this.detailList.CurrencyId=Number(this.orderObj.CurrencyId);
this.detailCurrDis=true;
this.detailList.CostTypeId=this.orderObj.CostType?this.orderObj.CostType: '';
this.getRate(this.detailList.CostTypeId,this.detailList.CurrencyId,1)
} }
if(data.VorcherInos){ if(data.VorcherInos){
data.VorcherInos.forEach(x=>{ data.VorcherInos.forEach(x=>{
x.Url = x.Content; x.Url = x.Content;
......
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