From 2a435361f7dca6e0ddf41c93acfb0506e7da51b3 Mon Sep 17 00:00:00 2001 From: "wenkuan.shi" Date: Fri, 28 Jun 2024 13:14:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/material/seekByTrans.js | 6 + src/views/modules/material/seekByNum.vue | 168 ++-- src/views/modules/material/seekByRolls.vue | 703 +++++++++++++++++ src/views/modules/material/seekByTrans.vue | 84 +- src/views/modules/material/seekInvByRolls.vue | 726 ++++++++++++++++++ 5 files changed, 1533 insertions(+), 154 deletions(-) create mode 100644 src/views/modules/material/seekByRolls.vue create mode 100644 src/views/modules/material/seekInvByRolls.vue diff --git a/src/api/material/seekByTrans.js b/src/api/material/seekByTrans.js index f696308..aa77085 100644 --- a/src/api/material/seekByTrans.js +++ b/src/api/material/seekByTrans.js @@ -6,3 +6,9 @@ export const findTrans= data => createAPI(`/seek/trans/findByTrans`,'post',data) export const findByRoll= data => createAPI(`/seek/trans/findByRoll`,'post',data) export const findByNum= data => createAPI(`/seek/trans/findNum`,'post',data) + +export const findByRolls= data => createAPI(`/seek/trans/findByRolls`,'post',data) + +export const findByNumOrRollNo= data => createAPI(`/seek/trans/findByNumOrRollNo`,'post',data) + +export const findAllByRolls= data => createAPI(`/seek/trans/findAllByRolls`,'post',data) diff --git a/src/views/modules/material/seekByNum.vue b/src/views/modules/material/seekByNum.vue index 3268577..d7dbb07 100644 --- a/src/views/modules/material/seekByNum.vue +++ b/src/views/modules/material/seekByNum.vue @@ -111,7 +111,7 @@ diff --git a/src/views/modules/material/seekByTrans.vue b/src/views/modules/material/seekByTrans.vue index 5047562..d1e0759 100644 --- a/src/views/modules/material/seekByTrans.vue +++ b/src/views/modules/material/seekByTrans.vue @@ -218,24 +218,24 @@ export default { status: true, fixed: '', }, - // { - // userId: this.$store.state.user.name, - // functionId: 200003, - // serialNumber: '200003TableTransNo', - // tableId: "200003Table", - // tableName: "出入库单号", - // columnWidth: 100, - // columnProp: 'transNo', - // headerAlign: 'left', - // align: "left", - // columnLabel: '出入库单号', - // columnHidden: false, - // columnImage: false, - // columnSortable: false, - // sortLv: 0, - // status: true, - // fixed: '', - // }, + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableTransNo', + tableId: "200003Table", + tableName: "出入库单号", + columnWidth: 100, + columnProp: 'transNo', + headerAlign: 'left', + align: "left", + columnLabel: '出入库单号', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, { userId: this.$store.state.user.name, functionId: 200003, @@ -452,24 +452,24 @@ export default { status: true, fixed: '', }, - // { - // userId: this.$store.state.user.name, - // functionId: 200003, - // serialNumber: '200003TableReceiver', - // tableId: "200003Table", - // tableName: "经手人", - // columnWidth: 100, - // columnProp: 'receiver', - // headerAlign: 'left', - // align: "left", - // columnLabel: '经手人', - // columnHidden: false, - // columnImage: false, - // columnSortable: false, - // sortLv: 0, - // status: true, - // fixed: '', - // }, + { + userId: this.$store.state.user.name, + functionId: 200003, + serialNumber: '200003TableReceiver', + tableId: "200003Table", + tableName: "经手人", + columnWidth: 100, + columnProp: 'receiver', + headerAlign: 'left', + align: "left", + columnLabel: '经手人', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + }, { userId: this.$store.state.user.name, functionId: 200003, @@ -700,12 +700,12 @@ export default { this.pageIndex = data.page.currPage this.pageSize = data.page.pageSize this.totalPage = data.page.totalCount - if(this.dataList.length>0){ - this.$refs.mainTable.setCurrentRow(this.dataList[0]); - this.changeData(this.dataList[0]) - }else { - this.changeData(null) - } + // if(this.dataList.length>0){ + // this.$refs.mainTable.setCurrentRow(this.dataList[0]); + // this.changeData(this.dataList[0]) + // }else { + // this.changeData(null) + // } } }) }, diff --git a/src/views/modules/material/seekInvByRolls.vue b/src/views/modules/material/seekInvByRolls.vue new file mode 100644 index 0000000..3d9fa04 --- /dev/null +++ b/src/views/modules/material/seekInvByRolls.vue @@ -0,0 +1,726 @@ + + + +