完善订单详情组件

master
panqihua 2 years ago
parent 46ce111c87
commit bb96ecabe9
  1. 10
      src/views/platform/components/order_detail.vue
  2. 2
      src/views/platform/components/progress.vue
  3. 2
      src/views/platform/order_management/delivery_order.vue
  4. 2
      src/views/platform/self-operated-mall/order.vue

@ -107,9 +107,7 @@ export default {
components: { OrderProgress },
props: {
// dialog
open: Boolean,
//TODO: 1 2 UI
type: Number
open: Boolean
},
data() {
return {
@ -142,6 +140,12 @@ export default {
this.$modal.msgSuccess('保存成功')
this.$emit('close')
}
},
computed: {
//--:1--2
type() {
return this.$route.fullPath.includes('self-operated-mall') ? 1 : 2
}
}
}
</script>

@ -46,7 +46,7 @@
export default {
name: 'Progress',
props: {
//TODO: 1 2 UI
//1 2
type: Number
}
}

@ -59,7 +59,7 @@
</el-table-column>
</el-table>
<order-detail :open="open" @close="open = false" :type="2" />
<order-detail :open="open" @close="open = false" />
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" />

@ -77,7 +77,7 @@
</el-table>
<order-detail :open="open" @close="open = false" :type="1" />
<order-detail :open="open" @close="open = false" />
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"

Loading…
Cancel
Save