From 5a59e38db197ededa422540b1947ab691aff876a Mon Sep 17 00:00:00 2001 From: "wenkuan.shi" Date: Wed, 12 Jun 2024 12:16:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/material/seekByNum.vue | 52 ++++----- src/views/modules/material/seekByTrans.vue | 126 +++++++++++++++++---- 2 files changed, 131 insertions(+), 47 deletions(-) diff --git a/src/views/modules/material/seekByNum.vue b/src/views/modules/material/seekByNum.vue index 9dafc68..d199d54 100644 --- a/src/views/modules/material/seekByNum.vue +++ b/src/views/modules/material/seekByNum.vue @@ -75,32 +75,32 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/material/seekByTrans.vue b/src/views/modules/material/seekByTrans.vue index bfda51d..9775d85 100644 --- a/src/views/modules/material/seekByTrans.vue +++ b/src/views/modules/material/seekByTrans.vue @@ -75,7 +75,7 @@ - + @@ -146,6 +146,14 @@ export default { id:'', site: '', }, + searchData2: { + transNo:'', + rollNo:'', + sum:'', + manufactureDate:'', + userName:'', + enterDate:'' + }, // 导出 end searchData: { transNo:'', @@ -499,26 +507,98 @@ export default { fixed: '', }, ], - // columnList2:[ - // { - // userId: this.$store.state.user.name, - // functionId: 200003, - // serialNumber: '200003TableTransType', - // tableId: "200003Table", - // tableName: "出入库类型", - // columnWidth: 100, - // columnProp: 'transType', - // headerAlign: 'center', - // align: "center", - // columnLabel: '出入库类型', - // columnHidden: false, - // columnImage: false, - // columnSortable: false, - // sortLv: 0, - // status: true, - // fixed: '', - // }, - // ], + columnList2:[ + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableTransNo', + tableId: "200003Table", + tableName: "出入库单号", + columnWidth: 200, + columnProp: 'transNo', + headerAlign: 'center', + align: "center", + columnLabel: '出入库单号', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableRollNo', + tableId: "200003Table", + tableName: "卷号", + columnWidth: 200, + columnProp: 'rollNo', + headerAlign: 'center', + align: "center", + columnLabel: '卷号', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableNum', + tableId: "200003Table", + tableName: "数量", + columnWidth: 200, + columnProp: 'num', + headerAlign: 'center', + align: "center", + columnLabel: '数量', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableManufactureDate', + tableId: "200003Table", + tableName: "生产日期", + columnWidth: 200, + columnProp: 'manufactureDate', + headerAlign: 'center', + align: "center", + columnLabel: '生产日期', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableEnterDate', + tableId: "200003Table", + tableName: "录入时间", + columnWidth: 200, + columnProp: 'enterDate', + headerAlign: 'center', + align: "center", + columnLabel: '录入时间', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, + ], rules: { warehouseId:[ { @@ -586,6 +666,10 @@ export default { }) }, + tabClick (tab, event) { + // 刷新列表数据 + this.refreshCurrentTabTable() + }, changeData(row){ this.currentRow = JSON.parse(JSON.stringify(row)); this.headerData=row;