diff --git a/src/api/warehouse/allFind.js b/src/api/warehouse/allFind.js new file mode 100644 index 0000000..26612bb --- /dev/null +++ b/src/api/warehouse/allFind.js @@ -0,0 +1,9 @@ +import { createAPI } from "@/utils/httpRequest.js"; + + + +//查询 +export const allFindInfo= data => createAPI(`/find/info/findAll`,'post',data) + + + diff --git a/src/views/modules/material/seekByTrans.vue b/src/views/modules/material/seekByTrans.vue index 0176d6f..02effeb 100644 --- a/src/views/modules/material/seekByTrans.vue +++ b/src/views/modules/material/seekByTrans.vue @@ -671,26 +671,16 @@ export default { if(this.currentRow===''||this.currentRow===null){ this.currentRow={site:'',transNo:''} } - findByRoll(this.currentRow).then(({data}) => { //区分请求成功和失败的状况 if (data && data.code == 0) { this.dataList2 = data.rows - } else { this.dataList2 = []; } }); - }, - //根据warehouse查询warehouseId - getWareHouseList (){ - findByWarehouse(``).then(({data}) =>{ - this.wareHouseList=data.rows - } - ) - }, // 查询获取数据列表 getDataList (){ this.searchData.limit = this.pageSize diff --git a/src/views/modules/warehouse/allFind.vue b/src/views/modules/warehouse/allFind.vue new file mode 100644 index 0000000..3c86b94 --- /dev/null +++ b/src/views/modules/warehouse/allFind.vue @@ -0,0 +1,860 @@ + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row[item.columnProp] }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/warehouse/sendEmail.vue b/src/views/modules/warehouse/sendEmail.vue index be2691f..f159ce6 100644 --- a/src/views/modules/warehouse/sendEmail.vue +++ b/src/views/modules/warehouse/sendEmail.vue @@ -303,8 +303,9 @@ export default { // this.searchData.limit = this.pageSize // this.searchData.page = this.pageIndex getEmail(this.searchData).then(({data}) => { - if (data.code == 0) { - this.dataList = data.rows + if (data && data.code == 0) { + this.dataList=[] + this.dataList.push( data.rows) // this.dataList = data.page.list // this.pageIndex = data.page.currPage // this.pageSize = data.page.pageSize @@ -332,15 +333,13 @@ export default { flag: '1', site: '', creator: this.$store.state.user.name, - warehouseId: '', - warehouseName: '', - active: 'Y', - warehouseType: '', - warehouseTypeDB: '', - keeper: '', - companyId: '', - validStock: 'Y', - useLocation: 'Y' + toEmail: '', + fromEmail: '', + password: '', + host: '', + port: '', + value0: '', + value1: '', } this.modalDisableFlag = false this.modalFlag = true @@ -353,15 +352,13 @@ export default { id:row.id, site: row.site, creator: this.$store.state.user.name, - warehouseId: row.warehouseId, - warehouseName: row.warehouseName, - active: row.active, - warehouseType: row.warehouseType, - warehouseTypeDB: row.warehouseTypeDB, - keeper: row.keeper, - companyId: row.companyId, - validStock: row.validStock, - useLocation: row.useLocation + toEmail: row.toEmail, + fromEmail: row.fromEmail, + password: row.password, + host: row.host, + port: row.port, + value0: row.value0, + value1: row.value1, } this.modalDisableFlag = true this.modalFlag = true