Commit 13c82afc authored by 罗超's avatar 罗超

2

parent eb29c4bd
......@@ -192,7 +192,7 @@
<el-tag v-if="item.OrderStatus == 7" style="margin-left: 5px" size="small" type="danger">已取消</el-tag>
</div>
<el-button type="primary" plain style="margin-left:50px;padding:8px 10px " size="mini"
@click="yunfeizhidan(item.OrderId)">运费一键制单</el-button>
@click="yunfeizhidan(item.OrderId)" v-if="isShowzhidan(item)">运费一键制单</el-button>
<el-tooltip class="item" effect="dark" content="强制取消" placement="top-start">
<img v-if="item.OrderStatus == 1 || item.OrderStatus == 2" @click="OrderExit2(item)"
style="right: 60px" class="app-order-btnimg" src="../../assets/img/userman/force.png" alt="" />
......@@ -1892,7 +1892,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
that.i_post("/api/Supplier/GetSupplierAllList", {
that.i_post("/api/order/SetEduGoodsFreightCostFinance", {
OrderId: id
}, (res) => {
if (res.data.resultCode == 1) {
......@@ -1905,6 +1905,19 @@
}
});
})
},
isShowzhidan(item){
const flag= item.DetailList.some(e=>{
return e.CostFinanceId==0&&e.FreightCostMoney>0
})
console.log(1910,flag)
if(item.FreightMoney>0&&flag){
return true
}else{
return false
}
}
},
};
......
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