Commit 9f805424 authored by dragondean@qq.com's avatar dragondean@qq.com Committed by houjn@hikoon.cn

订单重货提示

parent 8ac764d1
......@@ -477,12 +477,20 @@ export default {
},
// 满减活动如果选择的满多少金额减,则在选择满货币后需要同步减的货币,且禁用减的货币修改
checkReduceCurrency(item){
// 金额满减
if(this.form.type == 2 && item.combUnit.split('_')[0] == 'fullCurrencyId'){
this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'reduceCurrencyId', +item.combUnit.split('_')[1])
return
}
// 优惠
if(this.form.type == 5){
this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'reduceCurrencyId', +item.fullCurrencyId)
}
if(item.reduceCurrencyDisabled){
this.$set(item, 'reduceCurrencyDisabled', false)
}
......
......@@ -149,8 +149,12 @@
<!-- {{row.orderType == 2}}-->
<el-tooltip
:is="row.orderType == 2 ? 'el-tooltip' : 'div'"
class="item" effect="dark"
:content="(row.wVolume||0)+'m³'"
class="item"
:style="{
color: row.orderType == 2 ? 'red' : null
}"
effect="dark"
:content="(row.wvolume||0)+'m³'"
placement="bottom">
<div v-if="row.inWarehouseState <= 1">{{row.costVO.totalVolume}}m³ /{{row.costVO.totalWeight}}Kg</div>
<div v-else>{{row.sumVolume}}m³ /{{row.sumWeight}}Kg</div>
......
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