Commit 4fe0a650 authored by 罗超's avatar 罗超

2

parent 13c82afc
...@@ -1885,6 +1885,7 @@ ...@@ -1885,6 +1885,7 @@
"&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85" "&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85"
); );
}, },
// 运费制单
yunfeizhidan(id) { yunfeizhidan(id) {
let that = this let that = this
this.$confirm('确认一键生成订单运费成本单据?', '提示', { this.$confirm('确认一键生成订单运费成本单据?', '提示', {
...@@ -1906,12 +1907,11 @@ ...@@ -1906,12 +1907,11 @@
}); });
}) })
}, },
// 是否显示运费制单按钮
isShowzhidan(item){ isShowzhidan(item){
const flag= item.DetailList.some(e=>{ const flag= item.DetailList.some(e=>{
return e.CostFinanceId==0&&e.FreightCostMoney>0 return e.FreightFinanceId==0&&e.FreightCostMoney>0
}) })
console.log(1910,flag)
if(item.FreightMoney>0&&flag){ if(item.FreightMoney>0&&flag){
return true return true
}else{ }else{
......
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