diff --git a/src/views/distribution/deliverylist/distributionDeliveryListdis.vue b/src/views/distribution/deliverylist/distributionDeliveryListdis.vue index 91a4d0f1..334e4713 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListdis.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListdis.vue @@ -99,56 +99,147 @@ - -
- -
- - - - 新增商配 - 批量打印 - 导出 - -
- -
- - - -
-
-
- - - - - + + + + + + + + + @@ -375,6 +466,7 @@ export default { form: {}, // 选择行 selectionList: [], + activeName:'first', columnList: [ { prop: 'serialNumber', @@ -736,6 +828,33 @@ export default { }, }, methods: { + //tabs切换 + handleClick(tab, event) { + console.log('tab------------------>', tab.props.name); + this.query = {}; + switch (tab.props.name) { + + case 'first': + break; + case 'second': + //待配送 + this.query.deliveryStatus = '1'; + break; + case 'third': + //配送中 + this.query.deliveryStatus = '2'; + break; + case 'fourth': + //已完成 + this.query.deliveryStatus = '3'; + break; + } + this.onLoad(this.page); + + console.log('tab------------------>', tab); + console.log('event--------------->', event); + }, + /** * 导出 * */ @@ -1243,6 +1362,10 @@ export default { :deep(.el-dialog) { width: fit-content; } + :deep(.el-row){ + flex-direction: column; + flex-wrap: nowrap; + } } .order-info { ul { @@ -1336,4 +1459,5 @@ export default { display: flex; align-items: flex-end; } +