-
+
-
+
+
{{ $t('btn.search') }}
@@ -37,27 +47,28 @@
border
header-cell-class-name="el-table-header-cell"
highlight-current-row
- @sort-change="sortChange">
-
-
-
-
-
-
-
-
+ @sort-change="sortChange"
+ :default-sort="{ prop: 'createdTime', order: 'descending' }">
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
-
-
+
@@ -202,6 +212,7 @@ import {
updateMmRecordOutbound,
getMmRecordOutbound
} from '@/api/materialManagement/productionMaterial/mmrecordoutbound.js'
+import dateOptions from '@/utils/dateOptions.js'
const { proxy } = getCurrentInstance()
const ids = ref([])
const loading = ref(false)
@@ -213,7 +224,8 @@ const queryParams = reactive({
sortType: 'asc'
})
const columns = ref([
- { visible: true, align: 'center', type: '', prop: 'id', label: '主键ID' },
+ // { visible: true, align: 'center', type: '', prop: 'id', label: '主键ID' },
+ { visible: true, align: 'center', type: '', prop: 'createdTime', label: '创建时间', showOverflowTooltip: true },
{ visible: true, align: 'center', type: '', prop: 'outboundNo', label: '出库单号', showOverflowTooltip: true },
{ visible: true, align: 'center', type: '', prop: 'materialCode', label: '物料编码', showOverflowTooltip: true },
{ visible: true, align: 'center', type: '', prop: 'materialName', label: '物料名称', showOverflowTooltip: true },
@@ -221,14 +233,13 @@ const columns = ref([
{ visible: true, align: 'center', type: '', prop: 'warehouseName', label: '仓库名称', showOverflowTooltip: true },
{ visible: true, align: 'center', type: '', prop: 'locationCode', label: '库位编码', showOverflowTooltip: true },
{ visible: true, align: 'center', type: '', prop: 'locationName', label: '库位名称', showOverflowTooltip: true },
- { visible: false, align: 'center', type: '', prop: 'quantity', label: '出库数量' },
+ { visible: true, align: 'center', type: '', prop: 'quantity', label: '出库数量' },
{ visible: false, align: 'center', type: '', prop: 'unit', label: '计量单位', showOverflowTooltip: true },
- { visible: false, align: 'center', type: 'dict', prop: 'transactionType', label: '出库类型', showOverflowTooltip: true },
+ { visible: true, align: 'center', type: 'dict', prop: 'transactionType', label: '出库类型', showOverflowTooltip: true },
{ visible: false, align: 'center', type: '', prop: 'batchNo', label: '批次号', showOverflowTooltip: true },
- { visible: false, align: 'center', type: '', prop: 'orderNo', label: '关联订单号', showOverflowTooltip: true },
- { visible: false, align: 'center', type: '', prop: 'operator', label: '操作员', showOverflowTooltip: true },
- { visible: false, align: 'center', type: '', prop: 'remarks', label: '备注', showOverflowTooltip: true },
- { visible: false, align: 'center', type: '', prop: 'createdTime', label: '创建时间', showOverflowTooltip: true }
+ { visible: true, align: 'center', type: '', prop: 'orderNo', label: '关联订单号', showOverflowTooltip: true },
+ { visible: true, align: 'center', type: '', prop: 'operator', label: '操作员', showOverflowTooltip: true },
+ { visible: false, align: 'center', type: '', prop: 'remarks', label: '备注', showOverflowTooltip: true }
//{ visible: false, prop: 'actions', label: '操作', type: 'slot', width: '160' }
])
const total = ref(0)