| | |
| | | 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, |
| | |
| | | }${row.customerAddress || ''}`, |
| | | minWidth: 250, |
| | | }, |
| | | { |
| | | label: '商品信息', |
| | | formatter: (row) => <GoodsTableItemList items={row.items} />, |
| | | minWidth: 250, |
| | | }, |
| | | { label: '订单金额(元)', prop: 'totalAmount', minWidth: 150 }, |
| | | { label: '底价(元)', prop: 'supplierAmount', minWidth: 150 }, |
| | | { label: '订单状态', prop: 'statusBackendStr', minWidth: 120 }, |
| | | { label: '下单时间', prop: 'createTime', minWidth: 180 }, |
| | | { label: '合伙人', prop: 'partnerName', minWidth: 120 }, |
| | | { label: '库位', prop: 'warehouseLocationCode', minWidth: 120 }, |
| | | { label: '特殊需求', prop: 'specialNeeds', minWidth: 120 }, |
| | | { |
| | | label: '备注', |
| | | formatter: (row) => ( |
| | | <simple-text value={row.remarks} type="primary"></simple-text> |
| | | ), |
| | | minWidth: 200, |
| | | }, |
| | | ], |
| | | searchFormAttrs: { |
| | | labelWidth: 'auto', |
| | |
| | | type: 'input', |
| | | el: { placeholder: '收货人姓名/手机号' }, |
| | | }, |
| | | { label: '收货地址:', id: 'address', type: 'input' }, |
| | | { label: '库位:', id: 'warehouseLocationCode', type: 'input' }, |
| | | ], |
| | | }, |
| | | ], |
| | |
| | | for (const tr of trs) { |
| | | const tds = tr.querySelectorAll('td') |
| | | if (tds && tds.length > 0) { |
| | | tds[0].colSpan = 7 |
| | | tds[0].colSpan = 8 |
| | | tds[0].style.textAlign = 'center' |
| | | } |
| | | } |