盘点入库页面优化

This commit is contained in:
BianLzhaoMin 2024-05-28 18:42:17 +08:00
parent 6b89c6f089
commit 7de764f72c
2 changed files with 7 additions and 13 deletions

View File

@ -16,6 +16,7 @@ export const dialogConfig = {
{ t_width: '', t_props: 'typeName', t_label: '设备类型' }, { t_width: '', t_props: 'typeName', t_label: '设备类型' },
{ t_width: '', t_props: 'typeModelName', t_label: '规格型号' }, { t_width: '', t_props: 'typeModelName', t_label: '规格型号' },
{ t_width: '', t_props: 'maCode', t_label: '设备编码' }, { t_width: '', t_props: 'maCode', t_label: '设备编码' },
{ t_width: '', t_props: 'num', t_label: '设备数量' },
{ t_width: '', t_props: 'modelName', t_label: '入库人' }, { t_width: '', t_props: 'modelName', t_label: '入库人' },
{ t_width: '', t_props: 'createDate', t_label: '入库日期' }, { t_width: '', t_props: 'createDate', t_label: '入库日期' },
], ],

View File

@ -764,12 +764,11 @@
@closeDialogOuter="closeDialogOuter" @closeDialogOuter="closeDialogOuter"
> >
<template slot="outerContent"> <template slot="outerContent">
<el-table data="detailsList"> <TableMode
<el-table-column></el-table-column> :config="dialogConfig"
<el-table-column></el-table-column> :sendParams="sendParams"
<el-table-column></el-table-column> :sendApi="getInventoryWarehousingApi"
<el-table-column></el-table-column> />
</el-table>
</template> </template>
</DialogModel> </DialogModel>
</div> </div>
@ -948,7 +947,6 @@ export default {
dialogConfig, dialogConfig,
getInventoryWarehousingApi, getInventoryWarehousingApi,
sendParams: {}, sendParams: {},
detailsList: [],
} }
}, },
created() { created() {
@ -1484,12 +1482,7 @@ export default {
/* 查看详情 */ /* 查看详情 */
async queryDetails(row) { async queryDetails(row) {
this.sendParams.kindName = row.kindName this.sendParams.kindName = row.kindName
const { data: res } = await getInventoryWarehousingApi( this.dialogConfig.outerVisible = true
this.sendParams,
)
this.detailsList = res.rows
console.log(res, '详情--')
// this.dialogConfig.outerVisible = true
}, },
/* 外层弹框关闭 */ /* 外层弹框关闭 */