Commit 1290b1ac authored by 我在何方's avatar 我在何方

批量特价申请审核详情组件优化

parent d6915115
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
<!-- 优惠申请 --> <!-- 优惠申请 -->
<el-descriptions-item :label="$t('申请理由')" v-if="type == 31 || type == 32" :span="4"> <el-descriptions-item :label="$t('申请理由')" v-if="type == 31 || type == 32" :span="4">
<div class="bold" v-for="(item,index) in detail.batchApplyOrderItemDetailVOList" :key="index"> <div class="bold" v-for="(item,index) in detail.batchApplyOrderItemDetailVOList" :key="index">
<div>{{index+1}}.【{{$l(item, 'prodTitle')}}</div>
<div> <div>
{{item.charging ? $t('原全包价') : $t('原运费')}}{{item.orgFreight}} {{ currencyMap[item.freightCurrency] }} / {{ unitMap[item.freightVolume] }} {{item.charging ? $t('原全包价') : $t('原运费')}}{{item.orgFreight}} {{ currencyMap[item.freightCurrency] }} / {{ unitMap[item.freightVolume] }}
{{item.charging ? $t('新全包价') : $t('新运费')}}{{item.freight}} {{ currencyMap[item.freightCurrency] }} / {{ unitMap[item.freightVolume] }} {{item.charging ? $t('新全包价') : $t('新运费')}}{{item.freight}} {{ currencyMap[item.freightCurrency] }} / {{ unitMap[item.freightVolume] }}
...@@ -154,7 +155,7 @@ export default { ...@@ -154,7 +155,7 @@ export default {
} }
}, },
type(){ type(){
if([1,2,3,4,5].indexOf(this.type) > -1){ if([1,2,3,4,5,31,32].indexOf(this.type) > -1){
// 加载费用体积单位 // 加载费用体积单位
getUnitList().then(res => this.unitList = res.data) getUnitList().then(res => this.unitList = res.data)
getCurrencyList().then(res => this.currencyList = res.data) getCurrencyList().then(res => this.currencyList = res.data)
...@@ -188,6 +189,7 @@ export default { ...@@ -188,6 +189,7 @@ export default {
getApproval(this.id).then(res => { getApproval(this.id).then(res => {
this.type = res.data.type this.type = res.data.type
this.detail = JSON.parse(res.data.details) this.detail = JSON.parse(res.data.details)
console.log(this.detail)
}) })
}, },
getOrder(){ getOrder(){
......
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