From e7e014b02e52297c5de0c4c7951c0086debde9b8 Mon Sep 17 00:00:00 2001 From: mayf <m13160102112@163.com> Date: 星期一, 09 九月 2024 16:08:40 +0800 Subject: [PATCH] 订单列表增加备注展示并且高亮 订单详情增加备注字段 --- pages/order/list/_id.vue | 7 +++++++ pages/order/list/index.vue | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/pages/order/list/_id.vue b/pages/order/list/_id.vue index 87dd692..5a1cb0c 100644 --- a/pages/order/list/_id.vue +++ b/pages/order/list/_id.vue @@ -354,6 +354,13 @@ { label: '合伙人:', id: 'partnerName', type: 'input' }, { label: '库区:', id: 'warehouseName', type: 'input' }, { label: '库位:', id: 'warehouseLocationCode', type: 'input' }, + { + label: '备注:', + id: 'remarks', + type: 'input', + el: { type: 'textarea' }, + span: 24, + }, ], }, ], diff --git a/pages/order/list/index.vue b/pages/order/list/index.vue index 537798e..bc7e38b 100644 --- a/pages/order/list/index.vue +++ b/pages/order/list/index.vue @@ -27,7 +27,6 @@ import { dateRangeOptions } from '@/utils/options' import CustomDateRange from '@/components/custom-date-range.vue' import PrintList from '@/components/order/print-list' -import GoodsTableItemList from '@/components/order/goods-table-item-list.vue' export default { components: { PrintList, @@ -79,6 +78,13 @@ { label: '订单状态', prop: 'statusBackendStr', minWidth: 120 }, { label: '下单时间', prop: 'createTime', minWidth: 180 }, { label: '合伙人', prop: 'partnerName', minWidth: 120 }, + { + label: '备注', + formatter: (row) => ( + <simple-text value={row.remarks} type="primary"></simple-text> + ), + minWidth: 200, + }, ], searchFormAttrs: { labelWidth: 'auto', -- Gitblit v1.9.3