Commit e549376a by chenwq

refactor(goodsOrder): 移除云中鹤订单类型的发货时间列逻辑

自营商品订单才有发货时间需求,云中鹤订单无需展示该列。直接移除相关条件判断代码,简化逻辑。
1 parent 9eaf7bde
......@@ -259,12 +259,6 @@ export default {
res.subOrderGoodsList = res?.subOrderGoodsList?.length ? res?.subOrderGoodsList : []
// res.logisticsStatus = undefined
this.orderInfo = res
// 1.云中鹤 2.自营商品;只有自营商品有发货时间
if(res.orderType != '2') {
const tableIdx = this.shipmentsParams.tableColumns.findIndex(item => item.prop == 'deliverTime')
console.log(tableIdx, 'tableIdx')
this.shipmentsParams.tableColumns.splice(tableIdx, 1)
}
}
}).catch(err => {
this.isLoading = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!