|
@@ -217,6 +217,11 @@
|
|
|
{{ detailsPlanNum.queryTime }}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
+ <a-form-model-item label="订单汇率" prop="queryTime">
|
|
|
+ {{ detailsPlanNum.exchangeRate }}
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
<a-col :md="6" :sm="8" class="noprint">
|
|
|
<a-form-model-item label="" prop="" >
|
|
|
<h4 style="color:red;" v-if="color1<0">
|
|
@@ -795,7 +800,7 @@ export default {
|
|
|
// procesUnitPriceusd:procesUnitPriceusdAll.toFixed(3),
|
|
|
processCost:processCostAll.toFixed(3)
|
|
|
}
|
|
|
- this.detailsPlanNum.salesordersLocaltotal = rmbAmountAll.toFixed(2)
|
|
|
+ // this.detailsPlanNum.salesordersLocaltotal = rmbAmountAll.toFixed(2)
|
|
|
//发运明细-合计行
|
|
|
if(this.$refs.unitTabs.shipData.length!==0 ){
|
|
|
if(this.$refs.unitTabs.shipData[this.$refs.unitTabs.shipData.length-1].outdata=='合计'){
|
|
@@ -820,8 +825,9 @@ export default {
|
|
|
rmbAmountAll = 0,
|
|
|
usdAmountAll = 0,
|
|
|
priceExcludingtaxAll = 0
|
|
|
- val.map(item=>{
|
|
|
+ this.$refs.unitTabs.ingData.map(item=>{
|
|
|
if(item.goodsName!=='合计'){
|
|
|
+ item.usdAmount = ((item.priceExcludingtax?Number(item.priceExcludingtax):0)/this.detailsPlanNum.exchangeRate)
|
|
|
transferCostAll+=Number(item.transferCost)
|
|
|
rmbAmountAll+=item.rmbAmount?Number(item.rmbAmount):0
|
|
|
usdAmountAll+=item.usdAmount?Number(item.usdAmount):0
|
|
@@ -842,6 +848,11 @@ export default {
|
|
|
if(this.$refs.unitTabs.ingData[this.$refs.unitTabs.ingData.length-1].goodsName=='合计'){this.$refs.unitTabs.ingData.pop()}
|
|
|
this.$refs.unitTabs.ingData.push(allObj)
|
|
|
}
|
|
|
+ if(rmbAmountAll == usdAmountAll){
|
|
|
+ this.detailsPlanNum.excipiencostIncludestaxUsd = 0
|
|
|
+ }else{
|
|
|
+ this.detailsPlanNum.excipiencostIncludestaxUsd = usdAmountAll.toFixed(2)
|
|
|
+ }
|
|
|
},
|
|
|
//事故单合计行
|
|
|
addAccident(val){
|
|
@@ -886,6 +897,7 @@ export default {
|
|
|
if(this.costPayData[this.costPayData.length-1].setNo=='合计'){this.costPayData.pop()}
|
|
|
this.costPayData.push(obj)
|
|
|
}
|
|
|
+ this.detailsPlanNum.shuiemoney = shuiemoneyAll.toFixed(3)
|
|
|
},
|
|
|
daYin(){
|
|
|
this.showSelect = 1
|